Skip to content

Create ALB on Edge Optimized Public Api Gateway endpoint to integrate with Global Accelerator

0

I have an Edge Optimized Public API Gateway without custom domain deployed which is invoking Lambda(Custom VPC) on API request. There is a requirement where i can access API Gateway endpoint through custom DNS with Static IP as well. So plan to have a Global Accelerator which can provide an Endpoint and 2 static IPs as well to access the same but to deploy GA it needs an ALB/EC2/IP and as per document "Problem to put an ALB in front of API Gateway as the target group can be IP, EC2 instance, Lambda or another ALB, it doesn't have API Gateway has target group". So in this case how Accelerator can be setup so that i can have both DNS endpoint with Static IP as well.

1 Answer
0

If you need a static IP for your API, you need to deploy your API as a Private API, and then have a proxy in a VPC which will forward the requests to the API Gateway. The proxy can be just an NLB that point to API Gateway's VPC Link ENI in the VPC.

AWS
EXPERT
answered a year ago
EXPERT
reviewed a year ago
  • In this case, it will not be a Public API. I need a Public API endpoint with static ip.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.