...

AWS Project – How to Create a Static Website for Free Using Amazon S3, Step by Step

aws-project-how-to-create-a-static-website-for-free-using-amazon-s3-step-by-step

How to Create a Static Website for Free Using Amazon S3 | AWS Tutorials for Beginners

Amazon Simple Storage Service (S3) can be used as inexpensive object storage (think: files, images, videos, logs, etc.). But did you know it can also be used to host a static website? Static meaning no server-side code, but it’s perfect for simple HTML, images and even some client-side scripts.

In a hands-on tutorial, I’ll show you how to create a bucket, enable it for static website hosting, update permissions, and then upload a simple html file and image. Then voila—our website is working!

You might also be interested in this video about the basics of S3: https://youtu.be/mDRoyPFJvlU

The JSON code for the bucket policy can be found here: https://docs.google.com/document/d/1Y9Vjom6lbdKdfbw672FWGJ0WVO8gbemFUMsE72LqDac/edit?usp=sharing.

??If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
– AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
– AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d

00:00 – Host a static website on Amazon S3 for free or almost free!
00:22 – Reviewing the Free Tier for Amazon S3
01:04 – S3 can only host static websites (no server-side code)
01:25 – Creating a new S3 bucket to host our website
01:52 – Enabling static website hosting on the S3 bucket
02:32 – Access denied! Allowing public access to the bucket
03:12 – Updating the bucket policy to allow read access to everyone
04:03 – Creating the HTML pages for your static website
04:28 – Uploading the index.html and image files to the S3 bucket
04:45 – Viewing the static webpage in S3
05:20 – Deleting the S3 bucket

Discover more from WIREDGORILLA

Subscribe now to keep reading and get access to the full archive.

Continue reading