Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
1 / 9
0

Enable HTTPS with CloudFront for an S3 Static Website

DEV Community·Esther Ninyo·about 1 month ago
#rINY2WKJ
#aws#cloudfront#s3#webdev#static#amazon
Reading 0:00
15s threshold

Amazon CloudFront accelerates the delivery of static and dynamic web content to end users. To read more on what CloudFront does, check the official page here . In this article, we will enable HTTPS on a static website hosted on Amazon S3. Note: If a website is hosted on Amazon S3 static hosting, the default S3 website endpoint only supports HTTP. Prerequisites : Amazon account Static website already hosted on S3 (Use this link to access my previous article on how to create a static website on Amazon S3) Steps to follow : Open the AWS console and log in. Search for CloudFront in the search bar and click on create distribution. The free tier is sufficient for this learning purpose. Name your distribution and click next. Use the static website endpoint under origin. Review and create distribution. Voila! Your CloudFront distribution is ready for use. You can access your secured website using the CloudFront distribution domain name. You can also take this further by adding a custom domain.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More