DEV Community

Hosting a Static Website on Amazon S3: A Step-by-Step Guide

Aditya Rawas on January 09, 2024

Introduction: Amazon S3 provides an easy and cost-effective solution for hosting static websites with high availability and scalability....
Collapse
 
rickdelpo1 profile image
Rick Delpo

hey thanks @rawas_aditya , a well organized and concise writeup. I recently migrated to S3 on Cloudfront and ran into some issues that I outline in this article
dev.to/rickdelpo1/cloudfront-dns-m...
also wrote about enabling s3 to act more like a web server
dev.to/rickdelpo1/enabling-aws-s3-...

In both articles I go into great detail about Gotchas that no one tells u about. But overall my experience was good.

happy coding!

Collapse
 
bogomil profile image
Bogomil Shopov - Бого

Nice tutorial. How much does it cost to host a small website there?

Collapse
 
rickdelpo1 profile image
Rick Delpo

I have used S3 for a couple of years now and if u host AWS S3 using Cloudfront I pay only 50 cents per month (using route53) after a 12 month free trial. You can also host s3 on Cloudflare at no charge