Benefits of using Amazon CloudFront together with HTTP Amazon API Gateway

0

This question is related to https://repost.aws/questions/QUGMi_eNmkTB-nVwLdze9eKA/what-are-the-benefits-of-using-amazon-cloud-front-together-with-amazon-api-gateway where REST API Gateway performance benefits were discussed when using along with CloudFront.

What about CloudFront distribution in front of HTTP API Gateway. Does it provide the same benefits in terms of performance? As far as I'm concerned this type of API Gateway uses Regional API endpoints. I wonder if I would benefit from a CloudFront distribution pointing to a HTTP API Gateway in a single region?

2回答
1

Hi, Apart from providing same benefits for performance, it is also a way to enable WAF on http api via CloudFront, given that you cannot directly attach a WAF to an http api gateway type.

Hope it helps

profile picture
エキスパート
回答済み 1年前
  • Hi @alatech , thanks for posting. The WAF indeed is an additional benefit in this case. However, I still have some doubts about the performance. In particular I wonder how the traffic between CF and HTTP API Gateway flow? Does it leverage on the AWS backbone or public internet? Since HTTP API Gateway endpoint is PUBLIC I expect that the traffic goes via the Internet.

0

Regarding your query: I wonder how the traffic between CF and HTTP API Gateway flow? Does it leverage on the AWS backbone or public internet?

Answer: The traffic will flow through public internet

AWS
サポートエンジニア
回答済み 1年前

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

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

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

関連するコンテンツ