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 Respostas
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
ESPECIALISTA
respondido há um ano
  • 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
ENGENHEIRO DE SUPORTE
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas