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
エキスパート
回答済み 1年前
  • 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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ