VPC: internal load balancing
Balance traffic between two tiers in your VPC, for example from a web tier to an application tier.
What internal load balancing is
In a VPC you can use load balancing in two ways:
- External: traffic from the internet is balanced across servers in a single tier.
- Internal: traffic BETWEEN two tiers is balanced -- for example from a web tier onward to an application tier.
A tier can only use one of the two at a time: a tier that already has external LB cannot also have internal LB, and vice versa.
Create an internal LB rule
- Open your VPC and click Configure.
- Find the tier you want to configure and click Internal LB.
- Click Add Internal LB and specify:
- Name and description.
- Source IP (optional): taken automatically from the tier's own address range if not specified.
- Source port and instance port.
- Algorithm: Round-robin, Least connections or Source.