Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
azuredeploy-fd-tm.json
azuredeploy.json

README.md

Azure Front Door (AFD) with Azure Container Instances (ACI) across multiple regions using Azure Resource Manager (ARM) Templates

Azure Portal

If you would like to deploy via the Azure Portal you can use the following link:

Deploy to Azure

The link above was was generated via the following snippet:

TEMPLATE_URL='https://raw.githubusercontent.com/aaronmsft/aaronmsft-com/master/azure-front-door-container-instances-arm/azuredeploy.json'
OUTPUT_URL='https://portal.azure.com/#create/Microsoft.Template/uri/'$(echo $TEMPLATE_URL | jq -s -R -r @uri )
echo $OUTPUT_URL

Azure CLI

RESOURCE_GROUP='190400-afd-aci'
LOCATION='eastus'

az group create -n $RESOURCE_GROUP -l $LOCATION

# deploy azure front door from url
az group deployment create -g $RESOURCE_GROUP --mode Complete --template-uri https://raw.githubusercontent.com/aaronmsft/aaronmsft-com/master/azure-front-door-container-instances-arm/azuredeploy.json

# deploy azure front door locally with parameter
az group deployment create -g $RESOURCE_GROUP --mode Complete --template-file azuredeploy.json \
    --parameters image=nginx

# deploy front door and azure traffic manager locally with parameter
az group deployment create -g $RESOURCE_GROUP --mode Complete --template-file azuredeploy-fd-tm.json \
    --parameters image=nginx

# deploy an empty template to delete our resources
az group deployment create -g $RESOURCE_GROUP --mode Complete --template-uri https://raw.githubusercontent.com/aaronmsft/aaronmsft-com/master/azure-container-instances-arm/empty.json
You can’t perform that action at this time.