Use CloudFront in front of EC2

I made an api server in my side project. I'd like to provide it in https, not http. ACM certificate is not applicable to EC2 but ALB, CloudFront. ALB need some cost. So I chose CloudFront.

I think this is a simple way to apply https to your server.

This will give me a chance to apply TLS(SSL) certificate.

The certificate can be attached to ALB, CloudFront. But ALB costs.

Last updated