Day 74: Project-3 (AWS S3)
Table of contents
About the project
The project involves hosting a static website using an AWS S3 bucket.
Amazon S3 is an object storage service that provides a simple web services interface to store and retrieve any amount of data. The website files will be uploaded to an S3 bucket and configured to function as a static website. The bucket will be configured with the appropriate permissions and a unique domain name, making the website publicly accessible. Overall, the project aims to leverage the benefits of AWS S3 to host and scale a static website in a cost-effective and scalable manner.
Host a Website
Go to AWS S3 service and create a bucket.
and enter the following Policy version under "Bucket Policy"
The access is now public after editing the policy
Select the bucket --> Properties
Scroll down --> Static website hosting --> click on "edit"
Enable the static website hosting
Scroll down and enter the document name. In this case- index.html
The index.html file is stored inside the S3 bucket.
Coming back to "Edit static website hosting", once the document name is entered, scroll down and save the changes
Click on the generated link.
The link can be connected to a specific domain using Route 53.
Conclusion:
In conclusion, this project demonstrates the straightforward process of hosting a static website using an AWS S3 bucket. By configuring the bucket, setting the appropriate permissions, and enabling static website hosting, you can create a publicly accessible website, making the most of AWS S3's cost-effective and scalable capabilities.
Hope you like my post. Don't forget to like, comment, and share.
Subscribe to my newsletter
Read articles from AMIN CHIVILKAR directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
AMIN CHIVILKAR
AMIN CHIVILKAR
Experienced Sr. Member Technical with a demonstrated history of working in the human resources industry. Skilled in Python, AWS, Jenkins, K8s, Terraform and other DevOps tools. Strong professional with a Bachelor's degree focused in Computer Science from Abeda Inamdar Senior College - India.