An S3 static website can be created in under 5 minutes.
First create a bucket and make it public.
![](https://johndobie.com/wp-content/uploads/2019/10/create_s3_bucket-1024x526.png)
Give the bucket a name.
![](https://johndobie.com/wp-content/uploads/2019/10/create_bucket-1024x518.png)
Then make it public
![](https://johndobie.com/wp-content/uploads/2019/10/make_public-1024x517.png)
Click create bucket to finish
![](https://johndobie.com/wp-content/uploads/2019/10/create_bucket_2-1024x623.png)
Click on the new bucket.
![](https://johndobie.com/wp-content/uploads/2019/10/new_bucket-1024x630.jpg)
Choose properties and fill in the static website hosting details.
Take note of the endpoint.
![](https://johndobie.com/wp-content/uploads/2019/10/static_website-1024x634.jpg)
Create a simple HTML File index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Static Website</title>
</head>
<body>
<div class="center">
<b>Static Website on S3</b>
</div>
</body>
</html>
Upload the new HTML File and make sure it is public.
![](https://johndobie.com/wp-content/uploads/2019/10/index_html-1024x633.jpg)
Test the new site using the endpoint from above.
http://dobie.co.uk.s3-website-us-east-1.amazonaws.com
![](https://johndobie.com/wp-content/uploads/2019/10/finished_s3-1024x852.jpg)
Leave a Reply
You must be logged in to post a comment.