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.
Prerequisites
Before adding a Load Balancer, you need to create the necessary services:
For Kubernetes: See the DuploCloud documentation for creating an AKS Service.
For Docker: Ensure Docker containers are set up and accessible within your infrastructure. For detailed instructions, see the DuploCloud documentation.
To create a Shared Application Gateway Load Balancer, refer to the Shared Application Gateway documentation
Adding a Load Balancer
In the DuploCloud Portal, navigate to:
Kubernetes → Services for Kubernetes deployments, or
Docker → Services for Docker deployments.
On the Services page, select the Service name in the Name column.
Click the Load Balancers tab.
Click Configure Load Balancer. The Add Load Balancer Listener pane appears.
The Add Load Balancer Listener pane Fill out the required fields based on your configuration needs.
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.
From the DuploCloud Portal, navigate to Administrator -> System Settings.
Select the System Config tab and click Add. The Add Config pane displays.

From the Config Type list box, select Flags.
From the Key list box, select Deny Open Access To Public LB.
In the Value list box, select True.
Click Submit. Open access to public Load Balancers is restricted.
Last updated
Was this helpful?