hot to make ALB forward traffic to API Gateway

0

I want to expose my service to public through ALB, is there any way to call API Gateway through ALB? It seems ALB just support instance, ip and lambda as target?

Thanks, Mingtong

3 réponses
0

Can you explain your use-case? API Gateway itself can expose your service to the public. API Gateway supports Regional or Edge Optimized endpoints that are external facing. So why do you want to add ALB in front of API Gateway again. What are you planning to achieve with that architecture?

profile pictureAWS
EXPERT
répondu il y a un an
  • We plan to use ALB to expose our portal, API gateway works for backend. API gateway cannot be access from public for china regions aws account default configuration(some china regions policy), so we want to use ALB to handle all request from public, and then forward to API Gateway.

0

Can you try using the private IP from Network Interfaces attached to the API Gateway as the ALB Target. But the Private IP can change so you need to have some custom solution(may be lambda) to monitor the IP change.

profile pictureAWS
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions