- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Copying Files Using Azure Container Instance
In this hands-on lab, you will be copying files from one Azure Files share to another Azure Files share using a combination of the AzCopy utility and Azure Container Instances (ACI). By doing this, you are performing a real-world task by running jobs and tasks on the Azure resources using an ACI container. It is expected that you will have some experience using the AzCopy command-line utility and running jobs and tasks in Azure Container Instances.

Lab Info
Table of Contents
-
Challenge
Create azcopy Copy Command
Craft a command that will copy files from a source Azure File share to a destination Azure File share using the
azcopy
command. Hint: The--recursive
flag is required when copying files between share endpoints. AzCopy Documentation -
Challenge
Save Command as PowerShell Variable
Save the
azcopy
copy command you crafted into a variable declaration in a PowerShell environment. Hint: The Cloud Shell can act as your PowerShell environment. PowerShell Variables Documentation -
Challenge
Run Command to Deploy ACI
Deploy an Azure Container Instances (ACI) container using PowerShell Az cmdlets. Hint: Subsitute the
-Command
parameter with the$command
variable. ACI Cmdlet Documentation
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.