Menu

1 / 8

Hosting a Static Website on Amazon S3

DEV Community·Esther Ninyo·7 months ago
#7nNbvkUl
#aws#beginners#webdev#cloud#bucket
Reading 0:00
15s threshold

Deploying a static website just got easier with S3 on AWS. You don't have to manage servers, and Amazon S3 is one of the easiest and most cost-effective ways to host a static website.

In this project, I will walk you through how to deploy your project on S3 step-by-step. This is a beginner-friendly project.

I will be making use of an HTML website I cloned in 2020 when I just started learning how to code. Feel free to use any HTML project of your choice. The steps are the same.

If you don't have an HTML project, you can create a simple index.html file and paste the code below into the file:

<!DOCTYPE html> <html> <head> <title>My AWS Website</title> </head> <body> <h1>Hello from AWS S3!</h1> </body> </html>

Enter fullscreen mode

Exit fullscreen mode

What we will do:

Create an S3 bucket

Upload project files

Enable static website hosting

Make the website publicly available

Resources to be created:

AWS S3 bucket

Prerequisite :

AWS account

HTML project/Basic HTML Knowledge

STEP 1 : Create S3…

Continue reading — create a free account

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