This directory contains the Bicep template and a deployment script for provisioning Azure services in LocalStack for Azure. Refer to the ACI Blob Storage guide for details about the sample application.
- LocalStack for Azure: Local Azure cloud emulator for development and testing
- Docker: Container runtime required for LocalStack
- Azure CLI: Azure command-line interface
- Bicep extension: VS Code extension for Bicep language support
- azlocal CLI: LocalStack Azure CLI wrapper
- jq: JSON processor for scripting
pip install azlocalThe deploy.sh script first builds and pushes the Docker image to ACR, then the main.bicep template creates the following Azure resources:
- Azure Storage Account: Provides blob storage for vacation activity data.
- Azure Key Vault: Stores the storage connection string as a secret.
- Azure Container Registry: Hosts the Docker container image.
- Azure Container Instances: Runs the containerized Flask application.
For more information on the sample application, see ACI Blob Storage.
Update the main.bicepparam file with your specific values:
using 'main.bicep'
param prefix = 'local'
param suffix = 'test'
param imageName = 'vacation-planner'
param imageTag = 'v1'
param loginName = 'paolo'cd samples/aci-blob-storage/python
bash bicep/deploy.shbash scripts/cleanup.sh