Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.28 KB

File metadata and controls

65 lines (46 loc) · 2.28 KB

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.

The CloudHub DLB name cannot start with internal-.

Enable TLS 1.0 on a DLB Using the CLI

To enable TLS 1.0 support on a DLB using the CLI:

  1. Run the following command to re-create the SSL endpoint for the myLB_name load balancer and add TLS 1.0 support:

    cloudhub load-balancer ssl-endpoint add --tlsv1 myLB_name certificateName privateKey
  2. Run the following command to set certificateName as the default SSL endpoint for the myLB_name load balancer:

    cloudhub load-balancer ssl-endpoint set-default myLB_name certificateName
  3. Using the API, change the default cipher suite to OldDefault.