1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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!
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 9 Monaten
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
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.