1 Answers
Hi Daniel,
Not really sure what you’re trying to run on ECS, but the easiest and secure way to connect a private VPC to ECS would probably be to use a VPC endpoint (AWS PrivateLink). You could use a load balancer in front of that too….not sure what API Gateway is doing in this architecture. If you are trying to publically connect to an ECS cluster in a private VPC, I’d probably go with an LB (ALB or NLB depending on your needs) or API Gateway into a LB then to your ECS cluster.
–Scott