Advanced Azure users can also launch BlueCat Azure Virtual Appliances instances using
the Azure command line interface.
To launch instances using the Azure CLI, you need to find the VM image on the Azure
marketplace, and use the information from the image to run the command to launch to the
instance.
For detailed information about installing and configuring the Azure CLI,
refer to the following Azure documentation: https://docs.microsoft.com/en-us/cli/azure/overview
If you are deploying the virtual appliance on Azure
Government, refer to the following Azure documentation: https://docs.microsoft.com/en-us/azure/azure-government/documentation-government-get-started-connect-with-cli
Launch BlueCat virtual appliance using
the Azure CLI
-
Find the VM image on the Azure Marketplace. For information, see https://docs.microsoft.com/en-us/%0Aazure/virtual-machines/linux/cli-ps-findimage.
You'll receive the following VM image information, which you need to use to
run the command in step 2.
Table.
VM image column |
Parameter |
urn |
--image |
sku |
--plan-name |
publisher |
--plan-publisher |
offer |
--plan-product |
-
Run the following command:
computerName:MS-Azure userName$ az vm create --resource-group rg-resourceGroupName --location
locationCode --name bddsName --storage-account storageaccountName --size Standard_D2_v2 --
authentication-type ssh --admin-username bluecat --ssh-key-value sshKey.pub --custom-data cloud-
init.txt --image <image URN> --use-unmanaged-disk --nics bddsName-nic-eth0 bddsName-nic-eth2 --
plan-name <image SKU> --plan-publisher <image publisher> --plan-product <image Offer>
For example:
computerName:MS-Azure yourName$ az vm create --resource-group rg-exampleGroup --location westus --
name bdds1 --storage-account examplestorageaccount --size Standard_D2_v2 --authentication-type
ssh --admin-username bluecat --ssh-key-value mysshKey.pub --custom-data cloud-init.txt --image
bluecat:bluecat-dns-for-azure:bddsforazure831:8.3.1 --use-unmanaged-disk --nics bdds1-nic-eth0
bdds1-nic-eth2 --plan-name bddsforazure831 --plan-publisher bluecat --plan-product bluecat-dns-for-azure
Where the cloud-init.txt file contains the following license
information:
#cloud-config
bluecat_license:
key: "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
id: "your client id"
Note: #cloud-config
must be in a valid YAML format. Spaces are required before line 3
(Activation key) and line 4 (Client ID).