Daniel's Tech Blog

Cloud Computing, Cloud Native & Kubernetes

Microsoft Azure Stack Technical Preview – Custom ARM templates

When you have written custom ARM templates for your Azure deployments you can reuse them for the Azure Stack Technical Preview. There are only two things you have to look for.

First one is the deployment location. Instead of specifying a region like northeurope or westeurope you can only set local for the Azure Stack TP.

"location": {
    "type": "string",
    "defaultValue": "local",
    "allowedValues": [
        "local",
        "northeurope",
        "westeurope"
    ],
    "metadata": {
        "description": "Deployment location"
    }
}

Second one is the blob storage endpoint. For Azure it is blob.core.windows.net and for the Azure Stack TP it is blob.azurestack.local. So you have to add a parameter for the blob storage endpoint to get a flexible template.

"blobStorageEndpoint": {
    "type": "string",
    "defaultValue": "blob.azurestack.local",
    "allowedValues": [
        "blob.azurestack.local",
        "blob.core.windows.net"
    ],
    "metadata": {
        "description": "Blob storage endpoint"
    }
}
WordPress Cookie Notice by Real Cookie Banner