Table of contents
No headings in the article.
Project Description
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.
Project: Host a static website using AWS S3 bucket.
In the AWS management console, Go to Amazon S3 service.
- Create an S3 Bucket:
First, create an S3 bucket in the AWS Management Console.
- Choose a unique bucket name and select a region
To enable public access to S3 bucket, Set the "Block public access" settings to "Off"
-
Click on 'Create bucket'
Bucket is successfully created.
2. Upload Website Files:
Once bucket is created, upload your website files to the bucket.
Click on 'Upload'
Click on 'Add files' to add website files.
Website files are uploaded to the bucket
3. Configure Static Website Hosting:
Go to the "Properties" tab
After enabling static website hosting, It will generate a link to access the static website.
4. Set Permissions:
Set the bucket permissions to allow public access to your website.
Go to the "Permissions" tab and click on "Bucket Policy".
add the following bucket policy to make your bucket publicly accessible
Browse bucket website URL.
we should be able to access static website using the bucket's URL.
Thanks for Reading!!