Introduction
When you run multiple servers to handle web traffic, you need a way to send users to the right server. Target groups help by grouping servers so a load balancer can send traffic to them evenly and keep your app working smoothly.
When you want to spread user requests across several servers to avoid overload on one.
When you need to check if servers are healthy before sending them traffic.
When you want to organize servers by the type of traffic they handle, like web or API requests.
When you want to add or remove servers without stopping your app.
When you want to use a load balancer to manage traffic for your app.