You need to deploy a container to Azure Container Instances (ACI). The container must mount a persistent volume to store application logs. You decide to use an Azure Files share for the volume. Which three actions should you perform in sequence to deploy the container? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
- 1Create an Azure Storage account and a file share.
- 2Retrieve the storage account access key by running the az storage account keys list command.
- 3Deploy the container group by running the az container create command and specifying the volume parameters.
Cevap
Create an Azure Storage account and file share, retrieve the storage account access key, and then run the az container create command specifying the volume parameters.
To mount an Azure Files share to a container in Azure Container Instances, you must first create the storage account and the file share. Next, you retrieve the storage account key, which is required by ACI for authentication. Finally, you execute the deployment using the az container create command, passing the file share name, storage account name, storage account key, and the mount path.
Adım Adım Çözüm
Anahtar Kavram
Mounting persistent storage to Azure Container Instances using Azure Files