Hey there! 👋 If you want to get a website live quickly without fuss or cost, AWS S3 is your best friend. It’s perfect for hosting simple static sites by just uploading your files to the cloud.
index.html
, plus images, CSS, or JavaScript files.index.html
so AWS knows what to show first.index.html
.error.html
).S3 buckets are private by default, so we need to allow public read access:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}
Replace your-bucket-name
with your actual bucket name, then paste this into the Bucket Policy under the Permissions tab.
Back in Properties > Static website hosting, you’ll see an Endpoint URL. Open that link in your browser and ta-da! Your site is live.
If you follow these steps, you’ll have your website up in no time — no stress, just simple cloud magic. 💪
Got questions or want me to add screenshots? Just shout!