0% found this document useful (0 votes)
45 views17 pages

AWS Certification Task - Mangala R

The document outlines a step-by-step guide for completing two tasks using AWS: creating a VPC with public and private subnets and deploying a static website on S3. It includes instructions for configuring the VPC, attaching an internet gateway, and setting up a static website with proper permissions. Screenshots of the AWS account and completed tasks are required for submission.

Uploaded by

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

AWS Certification Task - Mangala R

The document outlines a step-by-step guide for completing two tasks using AWS: creating a VPC with public and private subnets and deploying a static website on S3. It includes instructions for configuring the VPC, attaching an internet gateway, and setting up a static website with proper permissions. Screenshots of the AWS account and completed tasks are required for submission.

Uploaded by

mangala r
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Read the following instructions before completing the given task.

Step 1: Download the document


Step 2: Check the questions
Step 3: Complete the task and take a screenshot for each task and upload
Step 4: Save the document
Step 5: Upload the document in Google form

● AWS Account is mandatory to complete the tasks.


● Include AWS account Name in your screenshots

Task 1: Create a VPC with 2 subnets one public and the other private in different
Availability Zones(AZ’s) and attach Internet gateway.

Task 2: Deploy static website on AWS S3 and upload the output of Task 1(Screen
Shot) in the S3
Task 1:- Create a VPC with 2 subnets one public and the other private
in different Availability Zones (AZ’s) and attach Internet gateway.

i. This is mine AWS Account Screenshot

ii. Create VPC in Mumbai region


iii. Create the public subnet in AZ1

iv. Create private subnet in az2


V. Create both the public and private subnets in the different
availability zones

VI. Create internet gateways and attach to vpc


VII. Configure route table where network traffic is routed from subnets
and associated with subnets Here only public subnets can access the
internet but private subnet is not accessible from the internet but can be
given outbound internet access via a NAT Gateway located in a public
subnet.

VIII. Select the route table and edit the subnet association and public
subnet to route table.
Edit the route table and set the rules and save
I have created vpc, subnets and IGW
Task 2:- Deploy static website on AWS S3 and upload the output of Task
1(Screen Shot) in the S3

Launch S3 bucket

Click on create bucket with unique name


Successfully bucket has created

Once the bucket has created next we have upload the files inside the bucket
First select the bucket and double click on it finally the images inside the
bucket.

Upload the images (objects) inside the bucket


Now go to properties enable static website by default it is disabled
Now we can check the website by copy URL from static website content

Copy the URL and paste it is in browser it not working because we have set
the permissions.

Now go to permissions and edit Bucket Policy and click Policy Generator tool
to generate the policy
1. Choose S3 Bucket Policy
2. And in Effect we are allowing
3. So in principal we need update as * as we are allowing everyone
4. In Action we need to give “GetObjection” Action as they are trying to read
the static website content.
5. ARN number we need to update in ARN, as ARN id is generated and we can
get it in Edit Bucket Policy
Click on policy generator and edit it and save it
Once you generate the policy the JSON code is generated
Paste this JSON document in Edit Bucket Policy
Just change the resource by adding /*, as we are allowing everyone
Go to properties and copy the URL in static website content and paste it in
browser

[Link]

To get the static website

I have created the static website by using the s3 bucket.

You might also like