- Lab
- A Cloud Guru
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.
Path 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
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.