VMware Aria Automation supports automating VMware Avi Load Balancer to deliver a Load Balancer as a Service (LBaaS) offering on VMware clouds. You can configure Avi Load Balancer as a cloud account to establish a connection to the Avi Load Balancer Controller and provision Avi Load Balancer resources in Automation Assembler.

Prerequisites

  • For VMware Aria Automation, verify that you have the following permissions.
  • For VMware Avi Load Balancer, verify that you have the following Write privileges:
    • Application Profile
    • Health Monitor
    • Persistence Profile
    • Pool
    • TCP/UDP Profile
    • Virtual Service

    You can leave all other permissions as Read.

    For more information about Avi Load Balancer roles, see User Roles in the VMware NSX Advanced Load Balancer Administration guide.

Step 1: Add a cloud account

  1. Select Infrastructure > Connections > Cloud Accounts and click Add Cloud Account.
  2. Select the VMware Avi Load Balancer account type and enter name and credentials.
  3. Click Validate.
  4. Add a default Avi Load Balancer tenant and cloud connector.

    Defaults are used in case you don't specify an Avi Load Balancer tenant and a cloud connector reference when designing a template.

  5. If you need to add tags to support a tagging strategy, enter capability tags.

    You can use tags to distinguish between multiple Avi Load Balancer cloud accounts when designing a template. You can use Avi Load Balancer tags in combination with tags for vCenter cloud accounts.

    You can add or remove capability tags later. See How do I use tags to manage Automation Assembler resources and deployments and Creating a tagging strategy.

  6. Click Add.

Once the cloud account is added to VMware Aria Automation, a cloud zone is automatically created. To verify, select Infrastructure > Configure > Cloud Zones.

Step 2: Add the cloud zone to a project

Each Avi Load Balancer cloud account is associated with one cloud zone. You must assign the cloud zone to a project so you can control access to the Avi Load Balancer Controller. If you don't add the cloud zone to a project, you must specify the cloud account in the resource, otherwise your deployments will fail. You also need the cloud zone if you want to use allocation helpers with your Avi Load Balancer resources, like the cloud zone allocation helper.

Multiple cloud zones can be assigned to a project to supprot deploying to multiple Avi Load Balancer Controllers. Multiple projects can be allowed to provision to the same cloud zone.

Note that cloud zones for compute resources are separate. You must add a cloud zone for compute and a cloud zone for Avi Load Balancer to provision to both.

  1. Select Infrastructure > Administration > Projects and create a new project.

    You can also use an existing project.

  2. On the Provisioning tab, select Add Zone > Cloud Zone.
    1. Search for the cloud zone that was automatically created for you when you added the Avi Load Balancer cloud account.
    2. Configure the cloud zone parameters.
    3. Click Add.
  3. Click Create.

What to do next

Provision Avi Load Balancer resources. See Setting up plug-in based VMware Avi Load Balancer resources.