0% found this document useful (0 votes)
23 views

Project Report: Hosting A Website On Amazon S3: Aws For Cloud Computing - Bece355L

Uploaded by

shivkanya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Project Report: Hosting A Website On Amazon S3: Aws For Cloud Computing - Bece355L

Uploaded by

shivkanya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

PROJECT REPORT: HOSTING A WEBSITE ON AMAZON S3

AWS FOR CLOUD COMPUTING – BECE355L

SHIVKANYA BALAMURUGAN (22BEE1063)

Introduction
Amazon Simple Storage Service (S3) is a scalable and secure cloud storage service that allows users
to store and retrieve large amounts of data, including files such as HTML, CSS, and JavaScript, which
can be used to host static websites. This report outlines the steps involved in hosting a website on S3,
focusing on its setup and features.

Steps to Host a Website on S3


To host an HTML file on Amazon Educate S3:
Step 1: Create an AWS Educate Account and navigate to the "AWS Management Console" from your
Educate account.
Step 2: Access S3 Service and on the S3 Dashboard, click on “Create bucket”.
Step 3: Create an S3 Bucket by following these steps:
a. Bucket name: Enter a unique bucket name (`museum-viewing-bucket`).
b. Block Public Access: Uncheck the option that blocks public access.
c. Click “Create bucket”
Step 4: Go to your newly created bucket and click on it.
Step 5: Click “Upload”, and in the next screen, click “Add files” to select your HTML file
(index.html). After selecting your file, click “Upload”.

Step 6: In the S3 bucket, go to the Properties tab -> Static website hosting -> Enable. Enter the
name of your HTML file (`index.html`) and save changes.
Step 7: Make Your HTML File Public by going to “Permissions” tab -> “Bucket policy” and add the
following policy to make your file public:

Step 8: In the ‘Properties’ tab, scroll back to ‘Static website hosting’ and we can see the Endpoint
URL. Open the URL in your browser to see your HTML file live.

The HTML file is now hosted on Amazon S3.


Benefits of Hosting a Website on S3
 Scalability: S3 automatically scales to handle traffic spikes without requiring user
intervention, making it ideal for websites with unpredictable traffic.
 Cost-Effective: Hosting static websites on S3 is inexpensive because you only pay for the
storage and bandwidth you use, and there is no need to maintain a server.
 High Availability: Amazon S3 is designed for 99.99% availability, ensuring that websites are
accessible to users with minimal downtime.
 Security: S3 provides robust security features, including bucket policies, encryption, and
access control lists, ensuring that the website remains secure.

Conclusion
Hosting a static website on Amazon S3 is a straightforward and cost-effective solution, particularly
for static content such as HTML, CSS, and JavaScript. By following a few simple steps—creating a
bucket, uploading files, enabling static website hosting, and configuring public access—users can
have their website live and accessible on the internet in a matter of minutes. This solution is especially
appealing for developers and businesses looking to quickly deploy a scalable, low-maintenance
website without the need for server management.

You might also like