Support Documents
No data found.

How to Create a static website using Amazon S3

Lab Details

  1. This lab walks you through how to create a static HTML website using AWS S3 and also how to make it accessible from the internet.

  2. Duration: 30 minutes

  3. AWS Region: US East (N. Virginia) us-east-1


What is a Static Website?

  • These are the most basic types of websites and are the easiest to create.

  • A static web page is a web page that is delivered to the user's web browser exactly as stored.

  • It holds fixed content, where each page is coded in HTML and displays the same information to every visitor.

  • No web programming or database design is required when working with them.

  • They are a safe bet when it comes to security, since we do not have any interaction with databases or plugins.

  • They are reliable, i.e., if any attack happens on the server, a redirection to the nearest safest node happens.

  • Static websites are very fast, because there is no true backend to fetch information from.

  • Hosting the website is cheap due to the non-existence of any other components.

  • Scaling of the website is easy, and can be done by just increasing the bandwidth.

Architecture Diagram

Task Details

  1. Log into the AWS Management Console.

  2. Create an S3 bucket and upload a sample HTML page to the bucket.

  3. Enable static website settings in the S3 bucket.

  4. Make the bucket public.

  5. Test the website URL.

  6. Validation of the lab