Is it possible to use ALB/NLB infront of an API Gateway.

0

Hi AWS, is it possible to use ALB or NLB infront of an API Gateway. Workflow is Client --> ALB/NLB ---> API Gateway ---> ***

Please respond.

Thanks

  • What would be the use case or objective for doing that configuration?

2 Answers
3

Hi Arjun, Why would you want this kind of architecture? What are you trying to achieve?

ALB is possible behind API Gateway, not the other way around.

profile pictureAWS
answered 2 years ago
profile picture
EXPERT
reviewed 21 days ago
profile picture
EXPERT
reviewed 3 months ago
1

You can put both an NLB or an ALB in from of a REST API, as long as the API is a private API which can be accessed only from the VPC where you place the load balancer. You configure the load balancer to use IP address for the target group and you specify the IP addresses of the API Gateway VPC Endpoints. The following extrenal blog shows how to do it for creating custom domain names for private APIs.

profile pictureAWS
EXPERT
Uri
answered 2 years ago
profile picture
EXPERT
reviewed 21 days ago

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.

Guidelines for Answering Questions