ezgh lb <command>A load balancer is a public IPv4 address, an IPv6 address or both in front of a VPC’s instances, with TCP, TLS, HTTP and HTTPS listeners. A listener sends connections to a target group, whose targets are private network interfaces or addresses in the VPC.
Create a target group and register its targets, create a load balancer, then add a listener. Targets see connections from an address in the load balancer’s subnet, unless the target group enables PROXY protocol; an http target group’s targets get the client’s address in X-Forwarded-For. On their own firewalls, a rule whose peer is the load balancer admits them.
Everything is in a project (--project, EZGH_PROJECT or the profile’s). <load-balancer> is its ID (lbr_…) or UUID, and <target-group> its ID (tgp_…) or UUID.
Flags
This command also takes the global flags.
Subcommands
| Command | Description |
|---|---|
ezgh lb listeners |
A load balancer’s listeners |
ezgh lb load-balancers |
Load balancers |
ezgh lb operations |
Load balancer creates and deletes in progress |
ezgh lb target-groups |
Target groups |
ezgh lb targets |
A target group’s targets |