Os modelos de Início Rápido do Azure estão atualmente disponíveis em inglês
This template helps you setup the resources needed to deploy BOSH and Cloud Foundry across two regions on Azure.
Este modelo de Gestor de Recursos do Azure (Azure Resource Manager, ARM) foi criado por um membro da comunidade e não pela Microsoft. Cada modelo de ARM está licenciado para si ao abrigo de um contrato de licença pelo respetivo proprietário e não pela Microsoft. A Microsoft não é responsável por modelos de ARM fornecidos e licenciados por membros da comunidade e não os analisa quanto a a segurança, compatibilidade ou desempenho. Os modelos de ARM da comunidade não são suportados ao abrigo de nenhum programa de suporte ou serviço da Microsoft e são disponibilizados TAL COMO ESTÃO sem qualquer tipo de garantia.
Parâmetros
Nome do Parâmetro | Descrição |
---|---|
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 |
Utilizar o modelo
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 deploymentInstalar e configurar o PowerShell para Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/bosh/bosh-cf-crossregion/azuredeploy.json
Linha de comandos
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 deploymentInstalar e Configurar a Interface de Linha de Comandos para Várias Plataformas do Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/bosh/bosh-cf-crossregion/azuredeploy.json