BOSH CF Cross Region

Last updated: 21/06/2016

This template helps you setup the resources needed to deploy BOSH and Cloud Foundry across two regions on Azure.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
vmName name of the vm, will be used as DNS Name for the Public IP used to access the Virtual Machine
adminUsername User name for the Virtual Machine
sshKeyData Please copy the content of your SSH RSA public key and paste it here. You can use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.
environment AzureCloud is Global Azure
tenantID ID of the tenant. See https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/blob/master/docs/guidance.md
clientID ID of the client. See https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/blob/master/docs/guidance.md
clientSecret secret of the client. See https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/blob/master/docs/guidance.md
autoDeployBosh The flag that enables automatic deployment of Bosh
primaryLocation The primary location to provision resources for Bosh and CF
secondaryLocation The secondary location to provision resources for Bosh and CF
vpnGwSharedKey Please provide a shared key for the VPN gateway. This field should not be blank.
systemdomain Domain name used for Cloud Foundry system domain
dbendpoint Database host endpoint that has ccdb and uaadb provisioned with default admin account used in this template
nfsendpoint NFS endpoint for Cloud Foundry

Use the template

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/bosh-cf-crossregion/azuredeploy.json
Installing and configuring Azure PowerShell
Command line
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/bosh-cf-crossregion/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface