Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

Pick the target type for an ALB serving Lambda, instances and IPs in the same system.

IntermediateScenarioEC2, Auto Scaling and Load Balancing
Answer

Situation read → Target groups can be instance, IP or Lambda type.

What I'd do →

  1. Instance for ASG-managed hosts
  2. IP for containers on awsvpc networking, peered or on-prem addresses
  3. Lambda for serverless endpoints, invoked synchronously
  4. Weighted forwarding lets you migrate gradually between types

Why → One ALB can front mixed backends during migrations.

Interview tip → ECS with awsvpc must use IP targets.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing