'Multiple AWS Application Load Balancers in One VPC?
What AWS technology is used in front of ECS services if those services are in both private and public subnets? Multiple application load balancers?
I currently have three RESTful endpoints in three ECS clusters in private and public subnets. At the moment I have an ALB in front of the public API:
VPC: "Development"
Subnet: "Public"
ALB:
ECS Cluster: "Member UX API"
ECS Cluster: "Admin UX API"
Subnet: "Private"
ECS Cluster: "Management API"
Subnet: "Data"
ECS Cluster: "Logging API"
ECS Cluster: "Message API"
ECS Cluster: "Session API"
Obviously, I need a single IP or endpoint in front of the multiple instances of each API. I just don't know what that thing should be.
Solution 1:[1]
You could have a single ALB in front of all the ECS clusters. Or you could have a separate ALB (or NLB) in front of each ECS cluster. You can even have multiple ALBs or NLBs in front of a single ECS cluster.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mark B |
