Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
41 views2 pages

Mini Project 2 - Website

The document outlines steps to host a static website on AWS S3 by creating an S3 bucket and configuring it for static website hosting. It provides 10 detailed steps to log in to AWS, access S3, create a uniquely named bucket, adjust its access settings, enable static website hosting, and note the endpoint URL.

Uploaded by

DINESH GAWANDE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

Mini Project 2 - Website

The document outlines steps to host a static website on AWS S3 by creating an S3 bucket and configuring it for static website hosting. It provides 10 detailed steps to log in to AWS, access S3, create a uniquely named bucket, adjust its access settings, enable static website hosting, and note the endpoint URL.

Uploaded by

DINESH GAWANDE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Mini Project : Hosting a Website on AWS

Background :
You are playing a Cloud Engineer Role at Innovant Technologies

Scope :

As a Cloud Engineer at Innovant Technologies, your role is crucial as the company prepares
to launch a new website. The marketing team has designed a sample website that they want
to share with potential investors before making it accessible to the public. The website's
code is securely stored in a repository. In response to this, you recommend leveraging the
company's AWS account to host the website.

Recognizing that the sample website primarily comprises static files, you propose using an
S3 bucket. This choice offers a cost-effective and highly scalable solution to serve the
website effectively. In line with this, you take the initiative to create an S3 bucket and ensure
it's correctly configured to serve the website as intended.

Solution :
STEP 1: LOG IN TO AWS CONSOLE
To get started, log in to the AWS web console using the provided credentials.

STEP 2: ACCESS S3
Once logged in, type "S3" into the search bar at the top of the page and select S3
from the Services section.

STEP 3: CREATE A BUCKET


Click on "Create bucket" and enter a globally unique name for your bucket.
Remember, bucket names cannot contain spaces or uppercase letters.

STEP 4: ADJUST ACCESS SETTINGS


Uncheck the checkbox next to "Block all public access" and acknowledge that the
current settings might make the bucket and its objects public.

STEP 5: CREATE THE BUCKET


Leave the rest of the options unchanged and click "Create bucket".
If there are any errors, check the page for details.
If the bucket name is already taken, add additional characters to make it unique.
STEP 6: CONFIGURE STATIC WEBSITE HOSTING
Once the bucket is created, click on its name in the Buckets table.
Then, go to the Properties tab and scroll down to "Static website hosting".
Click on "Edit".

STEP 7: ENABLE STATIC WEBSITE HOSTING


Under "Static website hosting", select the radio button next to "Enable".
Make sure "Host a static website" is selected as the hosting type.
Set "index.html" as the index document and "error.html" as the error document.

STEP 8: SAVE CHANGES


Scroll to the bottom of the page and click "Save changes".

STEP 9: NOTE THE BUCKET URL


After the page reloads, scroll down to "Static website hosting" and note the URL
under "Bucket website endpoint".
Click the link to open the URL in a new tab.

STEP 10: ACCESS DENIED


You will see a "403 Forbidden" error, indicating that access is denied.
In the next challenge, we will configure the permissions to allow access to the bucket
contents using the URL.
And that's it!
You have successfully created an S3 bucket for hosting
a website on AWS.
Stay tuned for the next video on configuring bucket permissions.

You might also like