---
schema_version: "1"
id: 665e00a8f0c4e602940ba94b110b8b90b0418a2985be1380cd9c18bd3b42de1c
title: Create a Load Balancer with the CloudHub API
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/cloudhub/lb-create-api.md
canonical_url: https://docs.mulesoft.com/cloudhub/lb-create-api
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b0ede029c803a9ad9cb51ae72a877e04af455a45bbf0bd54924a8fecb7fa190f
description: MuleSoft Documentation Site
latest: true
---
---
product: CloudHub
---

# Create a Load Balancer with the CloudHub API

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

You can create a dedicated load balancer (DLB) using the CloudHub API.

## Prerequisites

To create a load balancer using the CloudHub API, ensure that you perform the following:

- Ensure that you are an administrator in the organization where you are creating the load balancer.

- Create an Anypoint Virtual Private Cloud (Anypoint VPC) in the organization where you want to
  create a load balancer.

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

## Create a Load Balancer

To create a load balancer using the CloudHub API, use the following endpoints:

- `anypoint.mulesoft.com/cloudhub/api/organizations/_orgid_/loadbalancers`

- `anypoint.mulesoft.com/cloudhub/api/organizations/_orgid_/vpcs`

> [!IMPORTANT] 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-`. Starting the DLB name with `internal-` results
in error message: `LB name=internal-dlb-name cannot start with -internal`.

## See Also

- [CloudHub API Create New Load Balancer](https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/cloudhub-api/1.0.13/console/method/%233964/)

- [Access Management](https://docs.mulesoft.com/access-management/)

- [Add Certificates to a Dedicated Load Balancer](https://docs.mulesoft.com/cloudhub/lb-cert-upload)

- [Certificate Validation in Dedicated Load Balancers](https://docs.mulesoft.com/cloudhub/lb-cert-validation)
