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 Answers
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
EXPERT
answered a year ago
  • 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
SUPPORT ENGINEER
answered a year 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