To add a Let's Encrypt SSL certificate to an Amazon S3 static site, you will need to use Amazon CloudFront as an intermediary, since S3 does not support SSL certificates directly. Here are the detailed steps to achieve this:
-
Create an S3 Bucket:
- Go to the AWS Management Console.
- Create a new S3 bucket with a unique name (this will be your static website).
- Enable static website hosting in the bucket properties.
-
Upload Your Website Files: