SnigJi
SnigJi

Reputation: 1411

Can we have 2 APIgateway for one NLB?

We have 2 internal service in a single VPC that is open to internet via

For green blue deployment APIGateway is only fix point for us.

Now one of the service have to talk to other service, and we do that via hitting APIgateway, and because the other service is within a VPC we have to use proxy to connect to that APIgateway(Regional). But we still need a Regional APIgateway as we have other service outside the VPC.

Service A -> Proxy -> Regional API Gateway of Service B


Now the question is can we have a Private APIgateway also Regional APIgateway working in parallel and hit the same ECS service? In this case we will not have to go via proxy at all.

Upvotes: 2

Views: 1307

Answers (1)

Chris Williams
Chris Williams

Reputation: 35258

A VPCLink can be reused across numerous API Gateway endpoints, this will work as long as the API Gateway and Network Load Balancer are within the same account.

The Network Load Balancer and API must be owned by the same AWS account.

Upvotes: 2

Related Questions