The Azure Quickstart templates are currently available in English
This template helps you setup the resources needed to deploy BOSH and Cloud Foundry across two regions on Azure.
Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.
Параметры
Имя параметра | Описание |
---|---|
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 |
Использование шаблона
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка служб Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/bosh-cf-crossregion/azuredeploy.json
Командная строка
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка кросс-платформенного интерфейса командной стройки Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/bosh-cf-crossregion/azuredeploy.json