Contact Us 1-800-596-4880

Create a Load Balancer with the Anypoint Platform CLI

You can create a dedicated load balancer (DLB) using the Anypoint Platform CLI.

Prerequisites

Before you create a load balancer:

  • Ensure that you are an administrator in the organization where you are creating the DLB.

  • Create an Anypoint Virtual Private Cloud (Anypoint VPC) instance in the organization where you want to create a DLB.

  • Create at least one certificate and private key for your certificate.

Create a Load Balancer Using the CLI

Use this command to create a DLB from the CLI:

cloudhub load-balancer create myVPC myLB_name certificateName privateKey

This command specifies the Anypoint VPC instance myVPC in which to create the DLB and the certificateName and privateKey that the DLB uses.

You cannot change the name of a DLB after you create it. To change the name, delete and re-create it using the new name.

The CloudHub DLB name cannot start with internal-.