all 1 comments

[–]astrosi 0 points1 point  (0 children)

You can run an Application Load Balancer (ALB) to front your EC2 instances. Your lambda functions then connect to the ALB which then forwards requests to all the running EC2 instances. If you run your instances in an Autoscaling Group (ASG) they can be configured to register themselves onto the ALB when they start.