Load Balancers

Add and configure Load Balancers with DuploCloud Azure

Load Balancers are essential when running a service. They expose the containers and images in which your application resides. When your containers are run inside a private network, you need a load balancer to listen on the correct ports to access the application. DuploCloud integrates seamlessly with Azure Load Balancers to expose Kubernetes services or Docker containers.

DuploCloud allows no more than one (1) Load Balancer per DuploCloud Service.

Prerequisites

Before adding a Load Balancer, you need to create the necessary services:

To create a Shared Application Gateway Load Balancer, refer to the Shared Application Gateway documentation

Adding a Load Balancer

  1. In the DuploCloud Portal, navigate to:

    • Kubernetes Services for Kubernetes deployments, or

    • DockerServices for Docker deployments.

  2. On the Services page, select the Service name in the Name column.

  3. Click the Load Balancers tab.

  4. Click Configure Load Balancer. The Add Load Balancer Listener pane appears.

    The Add Load Balancer Listener pane
  5. Fill out the required fields based on your configuration needs.

  6. Click Add to create the Load Balancer.

Configuring a Load Balancer using rules

Rules define specific configurations for different types of Load Balancers.

For an example of how to configure Load Balancers using rules, see the Ingress use case.

Restricting Open Access to Public Load Balancers

Restrict open access to your public Load Balancers by enforcing controlled access policies.

  1. From the DuploCloud Portal, navigate to Administrator -> System Settings.

  2. Select the System Config tab and click Add. The Add Config pane displays.

The Add Config pane in the DuploCloud Portal
  1. From the Config Type list box, select Flags.

  2. From the Key list box, select Deny Open Access To Public LB.

  3. In the Value list box, select True.

  4. Click Submit. Open access to public Load Balancers is restricted.

Last updated

Was this helpful?