Azure Startup Guide¶
The Aviatrix cloud network solution consists of two components, the Controller and Gateways, both of which are Azure VMs (Virtual Machines). Gateways are launched from the Controller console to specific VNets. This guide helps you to launch the Controller VM in Azure.
Follow the instructions to also subscribe to the Aviatrix Companion Gateway described in this guide:
- Subscribing to the Aviatrix Metered Offer
- Subscribing to the Aviatrix Controller BYOL Offer
- Launching the Controller VM from the Azure Marketplace Portal
- Onboarding your Azure Account in the Aviatrix Controller
These instructions apply generally to both Azure commercial and Azure Government clouds for deploying an Aviatrix Controller. Note that some screenshots may show regions that are only available for commercial Azure accounts. Commercial Azure offers multiple regions worldwide while Azure Government offers four US regions: (US) USGov Virginia, (US) UsGov Arizona, (US) UsGov Iowa, and (US) UsGov. For more information about Azure regions, click here.
Subscribing to the Aviatrix Metered Offer¶
Launching a new Controller, or migrating Controller images, requires two offers from the Azure Marketplace:
- Aviatrix Secure Networking Platform Metered 2208-Universal 24x7 Support
- Aviatrix Secure Network Platform BYOL (Bring Your Own License)
Both offers are required. Subscribe to the metered offer to receive your Customer ID, and then subscribe to the BYOL offer to deploy your Controller using that Customer ID. You will only be billed for the metered offer.
- Go to the Azure Marketplace to subscribe to the Aviatrix Secure Networking Platform Metered 2208-Universal 24x7 Support offer.
- Click Get it Now on the left side of the page.
- Mark the permissions checkbox and click Continue.
- Click Subscribe.
- Enter your Subscription name, Resource group, Name, and Recurring billing preference. Then, click Review + subscribe.
- Click Subscribe.
- After the configuration completes, click Configure account now.
- Enter your email address in the Email field and click Submit.
- You receive a new email from email@example.com with the subject line “License key for Aviatrix Metered Controller and CoPilot.” This email contains your Controller customer ID, Copilot customer ID, and offer subscription ID. Save these values in a secure place to use later for onboarding.
Note with the Aviatrix Metered License, you are billed monthly. No upfront cost and pay as you go.
(Optional) Subscribing to an Aviatrix Companion Gateway¶
This step is not required for most of deployment scenarios as Aviatrix Controller automatically subscribes to the Aviatrix Companion Gateway when it is launched.
There are exceptional cases, such as if you provide Managed Service on Azure, the Aviatrix Companion Gateway requires manual subscription.
To subscribe manually, follow the steps in this doc.
Launching the Controller¶
After subscribing to the metered offer and receiving your license key, click the link in the “License key for Aviatrix Metered Controller and Copilot” email you received. This link opens the Azure marketplace to the Aviatrix Secure Networking Platform BYOL (Bring Your Own License) page.
As explained above, this BYOL offer activates the metered subscription.
Launching the Controller VM from the Azure Marketplace Portal¶
On the Aviatrix Secure Network Platform BYOL page, click Get it Now.
Under Create this app in Azure, click Continue.
Under Aviatrix Secure Networking Platform BYOL, click Create.
Create a new Resource Group titled “aviatrix.” The virtual machine name can be “aviatrixController.” For the instance size, at least 8GB of RAM is recommended; the B2ms instance size should be sufficient.
Next, enter a username, password, and Resource group. Please do not use “ubuntu” as username if you use password as the authentication type.
Click Review + create.
Under Generate new key pair, click Download private key and create resources to download your secret key.
When you receive the message that your deployment is compete, click Go to resource.
At the networking header, this will be preconfigured with a default subnet and security group. You should not need to change anything here. For Public IP, click Create New.
At Assignment, select Static and click OK.
The management, advanced, and tag headers should not need any configuration changes.
Click Create to finish launching the VM.
Find the VM’s public IP address, as shown below:
Use a browser to access the controller VM. In this example, it is https://184.108.40.206
At the login page, enter “admin” as the username. The initial password is the internal IP address of the VM, as shown below.
Log into your new Controller.
After logging in, click on the Onboarding tab.
Any resources created by the Controller, such as Aviatrix gateways, Azure routing entries, subnets, etc, must be deleted from the Controller. If you delete them directly on Azure console, The Controller’s view of the resources will be incorrect, which will lead to features not working properly.
Onboarding your Azure Account in the Aviatrix Controller¶
The purpose of onboarding is to help you setup an account on the Aviatrix Controller that corresponds to an Azure account with policies so that the Controller can launch gateways using Azure APIs.
Follow the instructions here to create an Aviatrix account that corresponds to your Azure account credential.
Note: you can create a single Aviatrix account that corresponds to AWS, Azure, and GCloud account credentials. This is a multi-cloud platform.
If the Controller fails to launch an Aviatrix gateway in Azure RM, check out this troubleshooting guide.