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개 답변
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
전문가
답변함 일 년 전
  • 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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠