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.
- Verify that you have the required administrator credentials and have enabled HTTPS access on port 443. See Credentials required for working with cloud accounts in VMware Aria Automation.
- Verify that you have the cloud administrator user role. See What are the VMware Aria Automation user roles.
- 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
- Select Add Cloud Account. and click
- Select the VMware Avi Load Balancer account type and enter name and credentials.
- Click Validate.
- 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.
- 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.
- Click Add.
Once the cloud account is added to VMware Aria Automation, a cloud zone is automatically created. To verify, select .
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.
- Select
You can also use an existing project.
and create a new project. - On the Provisioning tab, select .
- Search for the cloud zone that was automatically created for you when you added the Avi Load Balancer cloud account.
- Configure the cloud zone parameters.
- Click Add.
- Click Create.
What to do next
Provision Avi Load Balancer resources. See Using VMware Avi Load Balancer resources.