In the Using HTTPS with CloudFront domain recipe of Chapter 5, Web Hosting with S3, Route53, and CloudFront, we used an SSL certificate. In this recipe, we will see how we can create such an SSL certificate using ACM. ACM is a free service for domains with a HostedZone in Route 53. ACM can also be used to import certificates created outside of AWS.
Creating SSL/TLS certificate with ACM
Getting ready
We should have a domain registered with AWS or with an outside registrar, and the domain should have a HostedZone available in Route 53. You may register a domain by following the Registering a domain with Route 53 recipe of Chapter 5, Web Hosting with S3, Route53, and CloudFront.