I want to connect to my ECS cluster in a private VPC and am a bit confused on what would be the best way to do so.
As I've understood it my options are:
- API Gateway -> VPC Link -> Private NLB -> Private ECS cluster
- Public ALB -> Private ECS Cluster
- API Gateway HTTP API -> Private ALB -> Private ECS cluster
Ideally I want Cognito authorization, and from what I understand, all three options would support that.
What option should I go with and why?