Installing Avi Controller in Microsoft Azure

Introduction

About Microsoft Azure

Microsoft Azure is a cloud computing service that offers hosting and related public cloud services, as well as developer products to build a range of programs from simple websites to complex applications.

Azure provides a set of modular cloud-based services with a host of development tools, including hosting and computing, cloud storage, data storage, translation APIs and prediction APIs. Figure 1 depicts a sample Azure deployment.

Figure 1. Azure deployment

About Avi Vantage

The Avi Vantage Platform provides enterprise-grade distributed ADC solutions for on-premises as well as public-cloud infrastructure. Avi Vantage also provides built-in analytics to diagnose and improve the end-user application experience, while making operationalizing easier for network administrators.

Avi Vantage is a complete software solution which runs on commodity x86 servers or as a virtual machine and is entirely enabled by its REST API.

Purpose of This Guide

This document describes the process of provisioning Avi Controller as an application delivery controller for application workloads running inside Azure.

Note: Avi Controller installation is not required when Saas Controller is used. However, you need to create a cloud for Azure under the tenant, which has access to SaaS Controller.

Intended Audience

The document is intended for

  • Network administrators: To configure and operationalize the Avi Vantage solution.
  • Azure system administrators: To provision the Avi Vantage solution.

We assume familiarity with

  • The basics of load balancing and application delivery.
  • Basic Azure functionality. For detailed information refer to the Microsoft Azure Documentation.

Overview

Use of Avi Vantage with Azure provides the following functionality:

  • The Avi Vantage Controller is available as an Azure appliance (VHD).
  • Once the Avi Controller is deployed, Azure account details and credentials are provided to it. It then connects to the Azure infrastructure and automatically provisions Service Engines as required.
  • A single interface is available on the SE for control and data traffic (in-band management).
  • VIP addresses are allocated from Azure IPAM.
  • An optional, public VIP can be allocated automatically to a virtual service, along with a private VIP address.

Prerequisites and Assumptions

Both Microsoft Azure and Avi Vantage provide a variety of configuration and deployment options, based on individual requirements. This guide makes the following assumptions regarding the infrastructure:

Privileges

  1. For resource group where the Avi Controller is spawned, a role of contributor or higher is required.

Networking

The resource group must have an Azure Virtual Network (VNet) configured with a subnet.

For the purpose of this document, the resource group avi-vantage will be used to deploy the Avi solution. As displayed in the screenshot below, this group has avi-vantage-vnet VNet, with an available address space of 10.20.0.0/16 and a subnet of 10.20.0.0/24.

Microsoft Azure Resource Limits

Microsoft Azure objects have predefined limits to the number of instances that can be instantiated.

These limits are based on the location of a given subscription. For instance, the total number of cores that can be used by the subscription in a particular location defines these limits.

The following limits must be increased appropriately, to allow scaling Avi virtual service and object creation in Microsoft Azure:

Networking Limits

  1. Public IP addresses - Static

The default value is 20. This value should be increased if the deployment is expected to have more 20 public IPs.

Load Balancer Limits

  1. Frontend IP configuration - Basic

    The default value is 10. It is recommended to set this to a higher value. Each virtual service IP and port combination consumes one frontend IP configuration.

  2. Rules per resource - Basic

    The default value is 150. It is recommended to increase this to a higher value. Each virtual service IP and port combination consumes one rule.

  3. Load Balancers

    The default value is 100. This limit should be raised as required if more than 100 Service Engine groups are expected.

Additional Information

The above limits can be increased by submitting a request to Microsoft Azure via a support case. For more details, please refer to Azure subscription and service limits, quotas, and constraints.

Avi Controller Instantiation

Avi Vantage is available in Azure Marketplace as a Bring Your Own License (BYOL) offering.

  1. Access Azure Marketplace at https://azuremarketplace.microsoft.com/ and log in using your Azure credentials. Alternately, you can log in using your Azure credentials at https://portal.azure.com.

  2. Marketplace Link: Navigate to the Avi Vantage page on Azure Marketplace.

  3. Click on Get it Now to start the deployment process. If the deployment is via the Azure portal then create a new VM and search for Avi Networks. The Avi Vantage VM will show up in the search results.

Follow the given steps to initiate the deployment:

  1. Provide the information requested under the Basics tab.

    Click on OK to continue to the next tab.

  2. Based on deployment scale considerations, choose an appropriate VM size. The following table lists the minimum requirements for the VMs on which the Avi Controller and Avi SEs are installed.
    Component Memory vCPUs Disk
    Avi Controller 24 GB 8 64 GB
    Service Engine 2 GB 2 10 GB

    For Avi Controller, we recommend the following instance types:

    Deployment Size Virtual Service Scale Instance Type Memory vCPUs Disk (Minimum)
    Small 100 DS4V2 28 GB 8 64 GB
    Medium 1000 DS5V2 56 GB 16 64 GB
    Large 5000 F32SV2 64 GB 32 64 GB

    Refer to the Disk Capacity Allocation section in the Avi Controller Sizing KB for recommended hard disk size. The below example shows a choice of eight CPUs and 28 GB memory. (Instance: DS4_V2)

    Note: Starting with version 21.1.6, NSX Advanced Load Balancer supports the following ds_v5 flavors:

    • Standard_D16ds_v5 (16 vCPUs, 64 GB memory) - Controller
    • Standard_D8ds_v5 8 vCPUs, 32 GB memory) - Controlller
    • Standard_D2ds_v5 (2 vCPUs, 8 GB memory) - SE group
    • Standard-D4ds-v5 (4vCPUs, 16 GB memory) - SE group
  3. In the Settings tab, select the following options:

    • Availability set: It is recommended to use an availability set for Avi Controllers.
    • Storage: Select Yes for managed disks.
    • Virtual network: Create a new VNet, or use an existing VNet.
    • Subnet: Select a subnet for Avi controller management IP address to be allocated from.
    • (Optional) Public IP address: Allocate an existing or new public IP address to the controller VM.
    • Network security group (firewall): Apply an existing or new network security group to restrict traffic to the controller.
  4. Click on OK followed by Purchase to run final validations and initiate the deployment.

  5. (Optional) Create a Controller cluster
    To ensure complete redundancy, two additional Avi Controller nodes can be added to create a 3-node Avi Controller cluster.

    To create a Controller cluster,

    • If deploying from the Microsoft Azure Marketplace, use the JSON template found here.
    • If deploying from a downloaded version of VHD, use the JSON template found here.

    Once the Controller is up, it can be configured via a web browser. The FQDN will be mentioned as an output of the template execution, as in this case, avicontrollerpubip.westus.cloudapp.azure.com.

Avi Vantage Configuration Initial Configuration

Follow the given steps to complete the initial configuration. Each step is provided with an associated screenshot.

  1. Provide credentials for the administrator account (Username: admin).

  2. Provide DNS and NTP Settings (Can be edited later).

  3. Provide an email address to be used for alerts from the controller (Can be set up at a later stage).

  4. Select No Orchestrator to complete the initial configuration.

  5. Continue by clicking on No for Support multiple Tenants (Multi-tenancy can be enabled later).

  6. Once the setup is completed, the browser will automatically refresh to the Avi Controller dashboard.

  7. The next step is to configure Microsoft Azure cloud on Avi Vantage. For more information on this, refer to Configuring Avi Vantage for Application Delivery in Microsoft Azure.
  8. Once the cloud is configured on Avi Controller, complete the steps for configuring virtual service. For more information, refer to Virtual Service Creation.

Additional Information