1 個回答
- 最新
- 最多得票
- 最多評論
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!
已回答 1 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
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.