You must gather some information and complete an appropriate configuration in order to use a Microsoft Azure instance with a Automation Assembler cloud account.
This task describes the process of configuring Microsoft Azure at a high level. Because Microsoft Azure is a third party product, the interface can be changed or updated at any time independently of VMware Aria Automation Assembler, the accuracy of specific steps might vary. You should regard this procedure as representative rather than definitive.
- Subscription ID - Click the Subscriptions icon on the left toolbar in your Azure portal to view the subscription ID.
- Tenant ID - Click the Help icon and select Show Diagnostics in your Azure portal. Search for tenant and record the ID when you have located it.
- Client Application ID - You can locate this under App registrations on the Manage menu.
- Client Application Secret Key - The Client Application Secret Key functions like a password that Automation will use to authenticate with Azure. You must generate a secret key when you set up Azure. See Step 7 below for specific instructions.
Procedure
What to do next
It is highly recommended that you install the Microsoft Azure command line interface tools. These tools are freely available for both Windows and Mac operating systems. See the Microsoft documentation for more information about downloading and installing these tools.
When you have the command line interface installed, you can use it to authenticate your new subscription.
- Open a terminal window and type your Microsoft Azure login. You will receive a URL and a shortcode that will allow you to authenticate.
- In a browser, enter the code that you received from the application on your device.
- Enter your Auth Code and click Continue.
- Select your Azure account and login.
If you have multiple subscriptions, ensure that the correct one is selected using the
azure account set --subscription <subscription-name>
command. - Before you proceed, you must register the
Microsoft.Compute
provider to your new Azure subscription using theazure provider register --namespace "Microsoft.Compute"
command.If the command times out and generates an error the first time your run it, run it again.
When you have completed configuration, you can use the azure vm image list
command to retrieve available Azure virtual machine marketplace image names. You can choose the desired image and record the URN provided for it and later use it in blueprints.
“az vm image terms accept --urn jetware-srl:postgresql:postgresql96-ubuntu-1604:1.0.170503”
az account list az login --identity --username <client_id|object_id|resource_id>
Automation Assembler allows any subscription user to map a marketplace image. This does not indicate that the user has access to the image. The user account used to accept all Azure image term agreements must be the same one that was used to create the Automation Assembler cloud account.