- Storage Account
- Container Instances
- Creates Share (Azure CLI)
- Processes Files (Custom Image)
- Initialize
- Resource Group (command)
- ARM Deployment (command 1.deploy.json)
- Creates Storage Account
- Creates Azure Container Instance
- Container creates File Share
- Upload Files (script)
- ARM Deployment (command 2.deploy.json)
- Deploy Custom Image to ACI
- With Mapped File Share
- Deploy Custom Image to ACI
- Wait for processing to complete (manually)
- Download Files (script)
- Delete all resources (command)
- Resource Group Name (alpha-numeric)
- Resource Group Location (West US 2)
- Customer Name (alpha-numeric)
- Container Image Name
az group create -g <resourceGroupName> --location "West US 2"
az group deployment create --name setup --resource-group <resourceGroupName> --template-file 1.deploy.json --parameters customerName=<customerName>
azcopy --source /mnt/<customerName> --destination https://<storageAccountName>.file.core.windows.net/<customerName> --dest-key <storageAccountKey>
az group deployment create --name process --resource-group <resourceGroupName> --template-file 2.deploy.json --parameters 2.parameters.json
azcopy --source https://<storageAccountName>.file.core.windows.net/<customerName> --destination /mnt/<customerName> --source-key <storageAccountKey> --recursive
az group delete -n <resourceGroupName>
- Container Registry
- Code changes
- Process terminates when done
- Don't delete files
- ini -> data store (later)
- processing can be per file (later)
- Template Changes
- CPU/Memory ACI
- Automation
- Uploads
- Waiting for processing to complete
- Downloads
- DevOps
- CI
- CD