1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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!
respondido há um ano
Conteúdo relevante
- Como uso o AWS Cloud Map para configurar a descoberta de serviços entre contas para serviços do ECS?AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 3 meses
- AWS OFICIALAtualizada há 9 meses
- AWS OFICIALAtualizada há 2 anos
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.