App Layering: Publish images to multiple Azure Regions

book

Article ID: CTX695563

calendar_today

Updated On:

Description

There may be a time that you want to publish an image from App Layering to multiple regions in Azure.  This can be done using connectors to each region but you may experience significantly different times publishing to different regions.

Resolution

You can publish images to multiple regions using a single connector by specifying custom data for Layered Image deployment.  Doing this will make Azure do the replication between regions rather then having to upload the image to each region from the ELM.

// Example 1
{
    "targetRegions": [
        "eastus",
        "westus"
]
}
 
//Example 2
{
    "targetRegions": [
        {
            "name": "eastus",
            "regionalReplicaCount": 1,
            "storageAccountType": "Standard_LRS"
        },,
        {
            "name": "westus",
            "regionalReplicaCount": 5,
            "storageAccountType": "Premium_LRS"
        },
]
}
 
image.png

Issue/Introduction

There may be a time that you want to publish an image from App Layering to multiple regions in Azure.  This can be done using connectors to each region but you may experience significantly different times publishing to different regions.