Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.47 KB

File metadata and controls

62 lines (43 loc) · 2.47 KB

Bicep Deployment

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.

Prerequisites

Installing azlocal CLI

pip install azlocal

Architecture Overview

The deploy.sh script first builds and pushes the Docker image to ACR, then the main.bicep template creates the following Azure resources:

  1. Azure Storage Account: Provides blob storage for vacation activity data.
  2. Azure Key Vault: Stores the storage connection string as a secret.
  3. Azure Container Registry: Hosts the Docker container image.
  4. Azure Container Instances: Runs the containerized Flask application.

For more information on the sample application, see ACI Blob Storage.

Configuration

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'

Deployment

cd samples/aci-blob-storage/python
bash bicep/deploy.sh

Cleanup

bash scripts/cleanup.sh

Related Documentation