1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
What you are looking for is an API management layer.
It goes like this:
ALB -> API Gateway -> ALB ACCOUNT A -> ECS
ALB -> API Gateway -> ALB ACCOUNT B -> ECS
Now, your account A needs properly setup networking and routing tables in your subnets able to resolve to ALB ACCOUNT B IPs.
The API Gateway can be either AWS API Gateway, or Istio, or Kong, or others....
And yes, you need at least 3 ALBs, One in front of each ECS, and one in front of the API gateway.
Hope that helps!
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a un an
What exactly is API Gateway doing in this scenario within both the accounts? Is that an API GW in each account or just one?
Its just 1 API gateway for both or "n" accounts. To clarify, with an API Gateway or an Ingress Controller layer at that point you can route your traffic to any targets.