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 Antworten
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
EXPERTE
beantwortet vor einem Jahr
  • 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-TECHNIKER
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen