AWS ALB Target Groups

A target group routes requests to targets (e.g. instances or Kubernetes service).

First, a listener rule is creates which specifies the target group and conditions. i.e. when a rule condition is met, traffic is forwarded to the target group.

 

For more on

Routing Configuration
Target Type
Registered Targets
Target Group Attributes
Deregistration Delay
Slow Start Mode
Sticky Sessions
Create a Target Group
Health Checks for Your Target Groups
Register Targets with Your Target Group
Tags for Your Target Group
Delete a Target Group

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html

E.g.

Sticky sessions route requests to the same target in a target group.  To use sticky sessions, the clients must support cookies. Useful for stateful apps.

Note: WebSockets are inherently sticky ‘cos target returns an HTTP 101 (Switching Protocols: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101 ) and then, after WebSockets upgrade is complete, cookie-based stickiness is not used.

Leave a Reply

Your email address will not be published. Required fields are marked *