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

B - 05 - 1149 - ICC - Lab - Assignment - 9

Uploaded by

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

B - 05 - 1149 - ICC - Lab - Assignment - 9

Uploaded by

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

School of Computer Science and Artificial Intelligence

Lab Assignment # 9

Program : B. Tech (CSE)


Specialization :CSE
Course Title : Introduction to Cloud Computing
Course Code : 22CS142
Semester :V
Academic Session : 2024-2025
Name of Student : P. Srivatsav
Enrollment No. : 2203A51149
Batch No. : 05
Date :17-11-2024

Submission Instructions:

(All instructions should be followed strictly to avoid deduction of marks)

1. Use the same file to complete the assignment and don’t change the settings.
2. Minimum 10 screen shots of your account should be taken to showcase your work.
3. File Format:
• Submit your assignment as a PDF document (pdf). Ensure the file is named
according to the following convention:
B_No._StudentName_ICC_A- 9.
Sample: B_10_Rohit_22A523421_ICC_A9
4. Fill all the entries mentioned on top section.
5. Mention your AWS Academy Virtual Lab Account details as shown in the next page.
6. Don’t write on this page.
7. All answers should be answered from next page only.

Activity:
Create a Virtual Private Cloud (VPC) on AWS
A VPC allows you to launch resources such as EC2 instances, RDS databases, and VPNs
within a private network on AWS.

Step 1: Access the VPC Dashboard

1. Log in to your AWS Management Console.


2. In the search bar, type “VPC” and select VPC from the dropdown menu. This takes
you to the VPC Dashboard.
Step 2: Create a VPC

1. Choose the region where you want your VPC to be created (found at the top-right
corner of the AWS Console).
2. On the VPC Dashboard, click on Create VPC.
3. Select VPC only.
4. Enter a name for your VPC and specify the IPv4 CIDR block (e.g., 10.0.0.0/16),
which determines the IP address range for your VPC.
5. Click Create to confirm. A success message should appear once your VPC is created.

Step 3: Configure Subnets

1. In the VPC Dashboard, go to Subnets.


2. Click Create subnet.
3. Choose the VPC you just created from the dropdown menu.
4. Provide a name for your subnet, select an Availability Zone, and enter an IPv4 CIDR
block for the subnet (e.g., 10.0.1.0/24), which defines the IP range within the subnet.
5. Click Create to create the subnet. You should see a success message, along with the
new subnet status set to “available.”

Step 4: Set Up an Internet Gateway

1. Go to Internet Gateways on the VPC Dashboard.


2. Click Create Internet Gateway.
3. Enter a name for your internet gateway and click Create Internet Gateway.
4. Once created, click on Attach to VPC at the top.
5. Choose your VPC and click Attach Internet Gateway.

Step 5: Create a Route Table

1. In the VPC Dashboard, click Route Tables.


2. Select Create route table.
3. Name your route table and choose the VPC you created.
4. Click Create route table and wait for the success message.
5. Now, click Edit Routes (located at the bottom-right of the page).
6. Add a new route:
o Destination: 0.0.0.0/0 (enables internet access) o
Target: Choose the Internet Gateway you created.
7. Click Save changes to confirm the route settings.
Step 6: Associate the Subnet with the Route Table

1. Return to the Subnets section on the VPC Dashboard.


2. Select the subnet you created, go to Actions, and click Edit route table
association.
3. Choose the route table created in Step 5 and click Save.

Step 7: Configure Security Groups

1. Go to Security Groups under the Security tab on the VPC Dashboard.


2. Click Create security group.
3. Provide a name, description, and select the VPC created earlier.
4. Configure inbound and outbound rules:
o Inbound rule example: To allow HTTP traffic, set Type to HTTP, Source to
0.0.0.0/0. o Outbound rule example: To allow outgoing traffic, set Type
to All Traffic, Destination to 0.0.0.0/0.
5. Click Create security group once rules are configured.

After successfully creating a VPC, configured subnets, set up internet access, and
secured your environment with security groups. Your VPC is now ready to host EC2
instances and other resources in an isolated, secure network environment on AWS.

Submission Starts here

Enrollment No. : 2203A51149


AWS Academy Account Details:

Screenshots:

You might also like