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

Modified Lab Final

Uploaded by

itsamanbidu
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)
3 views17 pages

Modified Lab Final

Uploaded by

itsamanbidu
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

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Experiment No: 1.2

Student name: Aman Kumar Gupta UID: 23BCS10036


Branch: B.E./C.S.E. Section: 23BCS-FS-608(A)
Semester: 6th Date of Performance: 17/01/2026
Subject Name: Cloud Computing
Subject Code: 23CSH-307

AIM: To create and launch an Amazon EC2 Linux instance using the Infrastructure as a Service (IaaS)
model on AWS and to connect to it securely using SSH for performing basic Linux operations.

Objective:
 To understand the concept of cloud computing and Infrastructure as a Service (IaaS).
 To learn how to create and launch an Amazon EC2 Linux instance using AWS Management Console.
 To understand the role of AMI and instance types in EC2.
 To create and configure a key pair for secure authentication.
 To configure a security group to allow SSH access to the instance.

Procedure:
Part A – Launching a Linux EC2 Instance
1. Open a web browser and sign in to the AWS Management Console.
2. In the search bar, type EC2 and open the EC2 service dashboard.
3. Click on Launch Instance.
4. Under Name and Tags, enter the instance name (for example: MyFirstEC2Instance).
5. Under Application and OS Images (AMI), select Amazon Linux / Amazon Linux 2 (Free Tier
eligible).
6. Under Instance Type, choose [Link] (Free Tier eligible).

Part B – Creating or Selecting a Key Pair


7. In the Key Pair (login) section, click on Create new key pair.
8. Enter a key pair name (for example: my-keypair).
9. Select Key type: RSA and choose .pem or .ppk format as required.
10. Click Create key pair and download the key file to a secure location.

Part C – Configuring Network and Security Group


11. In Network Settings, click Edit.
12. Enable Auto-assign Public IP.
13. Create a new security group (for example: my-sg).
14. Add inbound rule for:
o SSH (Port 22) – Source: My IP
15. (Optional) Add inbound rule for:
Aman Gupta 23BCS10036
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

o HTTP (Port 80) – Source: Anywhere ([Link]/0)


16. Keep the storage settings as default.
17. Click on Launch Instance.

Part D – Verifying Instance Status


18. Go to EC2 → Instances.
19. Wait until the instance state changes to Running and status checks are passed.
20. Note the Public IPv4 Address of the instance.

Part E – Connecting to the Instance using SSH


For Linux / macOS:
21. Open Terminal.
22. Change the permission of the key file using:
chmod 400 [Link]
23. Connect using the command:
ssh -i [Link] ec2-user@<Public-IP>
For Windows (PuTTY):
24. Convert .pem to .ppk using PuTTYgen (if required).
25. Open PuTTY and enter the public IP address.
26. Select SSH as the connection type and provide the private key file.
27. Click Open to connect.

Part F – Verifying Access


28. After successful login, execute the following commands:
 whoami
 uname -a
 pwd
 ls
29. Observe the output.

Part G – Terminating the Instance


30. Go to EC2 → Instances.
31. Select the created instance.
32. Click Instance State → Terminate to avoid additional charges.

Aman Gupta 23BCS10036


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Output:

Fig: (Instance Summary)

Learning Outcome:
 Understand the concept of cloud computing and the Infrastructure as a Service (IaaS) model.
 Create and launch a Linux-based virtual server using Amazon EC2.
 Identify the role of AMI, instance types, key pairs, and security groups in EC2.
 Configure secure access to a cloud instance using SSH authentication.
 Connect to a remote Linux server and execute basic Linux commands.

Aman Gupta 23BCS10036


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment No: 1.1

Student name: Aman Kumar Gupta UID: 23BCS10036


Branch: B.E./C.S.E. Section: 23BCS-FS-608(A)
Semester: 6th Date of Performance: 10/01/2026
Subject Name: Cloud Computing
Subject Code: 23-CSH-307

AIM: To create an account on a public cloud platform (AWS) using the AWS Free Tier.

Objective:
To register an AWS Free Tier account by using a valid email address and mobile number, complete the
identity verification process, and add a payment method for authentication purposes. After successfully
logging in to the AWS Management Console, review the Free Tier information from the Billing section.
Additionally, configure billing alerts or budgets to prevent unexpected charges and enable Multi-Factor
Authentication (MFA) to enhance account security.

Procedure:
Step:1 : Creating an AWS Free Tier Account
1. Launch any web browser and go to the AWS Free Tier official website.
2. Click on the option “Create a Free Account” or “Create an AWS Account.”
3. Enter the required account details such as:
 Email address
 Password
 AWS account name
3. Verify your email address by entering the verification code (OTP) received in your inbox.
4. Choose the account type as Personal (recommended for students).
5. Provide the necessary contact information including:
 Full name
 Residential address
 Mobile number
6. Submit valid debit or credit card details for payment verification.
 A small temporary amount may be charged by AWS and will be refunded automatically.
7. Complete mobile number verification by entering the OTP sent to your phone.
8. Select the Basic Support Plan (Free) to continue.
9. Finish the registration process.
10. Log in to the AWS Management Console using the newly created credentials.

Aman Gupta 23BCS10036


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Step:2: Verifying Console Access and Free Tier Status


1. After signing in, open the AWS Management Console.
2. Go to the following sections:
 Billing Dashboard
 Cost Management → Free Tier Usage
3. Verify that:
 The AWS Console dashboard is opening and functioning properly.
 Free Tier usage details and service limits are displayed (interface may differ
slightly).
4. Confirm that the AWS account has been successfully activated and is ready for use.

Output:

Fig:Console Home

Aman Gupta 23BCS10036


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Fig:Account ID Created

Learning Outcome:
1. Gain a clear understanding of cloud computing fundamentals and the global
infrastructure of AWS.
2. Learn how to create, access, and manage an AWS account in a secure manner.
3. Develop the ability to deploy and handle basic AWS services such as EC2, S3, and IAM.
4. Understand how to store, access, and manage data efficiently using cloud-based storage
services.
5. Acquire practical knowledge of configuring security through IAM users, roles, and
access policies.

Aman Gupta 23BCS10036


EXPERIMENT–4

Student Name: Aman Kumar Gupta UID :23BCS10036


Branch: BE–CSE Section/Group: 608/A
Semester: 6th Date of Performance : 19/02/2026
Subject Name: Cloud Computing Subject Code: 23CSH-307

1. Aim:
Create a Virtual Private Cloud (VPC).

2. Objectives
● To understand the concept of Virtual Private Cloud.

● To create a VPC with a custom CIDR block.

● To create and attach an Internet Gateway.

● To create a subnet inside the VPC.

● To configure a route table for internet access.

3. Procedure
Part A: Creating a VPC

1. Sign in to the AWS Management Console.

2. Search for VPC and open the VPC service.

3. Click Your VPCs from the left menu.

4. Click Create VPC.

5. Select VPC only.

23BCS10036
6. Enter Name: VPC-Experiment-4

7. Enter IPv4 CIDR: [Link]/16.

8. Select No IPv6 CIDR block.

9. Keep Tenancy: Default.

10. Click Create VPC and note the VPC ID.

Part B: Creating and Attaching Internet Gateway

1. Click Internet Gateways from the left menu.

2. Click Create Internet Gateway.

3. Enter Name: IGW-Experiment-4.

4. Click Create Internet Gateway.

5. Select the created gateway.

6. Click Actions → Attach to VPC.

7. Select VPC-Experiment-4 and attach.

Part C: Creating a Subnet

1. Click Subnets in the left menu.

2. Click Create Subnet.

3. Select VPC-Experiment-4.

4. Enter Subnet Name: Subnet-Experiment-4.

5. Select Availability Zone: ap-south-1a.

6. Enter Subnet CIDR: [Link]/24.

7. Click Create Subnet.

23BCS10036
Part D: Creating Route Table and Associating Subnet
1. Click Route Tables in the sidebar.

2. Click Create Route Table.

3. Enter Name: VPC-Experiment-4-RT.

4. Select VPC-Experiment-4.

5. Click Create Route Table.

Part E: Adding Internet Route and Association

1. Select VPC-Experiment-4-RT.

2. Open Routes tab → Click Edit Routes.

3. Add route:

○ Destination: [Link]/0

○ Target: IGW-Experiment-4.

4. Click Save Changes.

5. Open Subnet Associations tab → Click Edit subnet associations.

6. Select Subnet-Experiment-4 and click Save.

23BCS10036
4. Output:

Fig. 4.1. Created Virtual Private Cloud (VPC).

Fig.4.2. Created subnet and connected to VPC.

23BCS10036
Fig.4.3. Created route table and connected it to the subnet.

Fig.4.4. Resource map showing VPC, subnet and associated route table.

23BCS10036
5. Observations:

· VPC was successfully created with CIDR block [Link]/24..

· Internet Gateway was created and attached to the VPC.

· Subnet was created inside the VPC.

· Route table was created and configured.

· Route [Link]/0 was added to allow internet access.

· Subnet was successfully associated with route table.

6. Learning Outcomes:

· Gained knowledge about the working and concept of Virtual Private Cloud (VPC).

· Learned how to create and set up a VPC in the AWS environment.

· Understood how to define and configure CIDR blocks and create subnets.

· Learned the process of creating and attaching an Internet Gateway to enable internet connectivity.

· Understood how to configure route tables and associate them with subnets for proper network
routing.

23BCS10036
INDEX

Name: Aman Kumar Gupta UID: 23BCS10036

Ex. Name of Experiments Date Conduct Viva Worksheet Total Remarks Signature
No (MM: 12) (MM: 10) (Record) (MM: 30) (with date)
(MM: 8)

Create a Free Tier Account


1 on AWS Portal

Create and Launch an EC2


2 Instance (IaaS)

Create and Configure S3


3 Bucket for Storage

Create a Virtual Private


4 Cloud (VPC)

Deploy Container on
5 Amazon ECS

Configure Load Balancer


6 with EC2 Instances

Create and Test AWS


7 Lambda Function

Configure S3 Storage
8 Classes and Lifecycle
Policies

9 Create IAM User and


Configure MFA

Lab Based Mini Project


10
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Experiment No. 3

Student Name: Aman Kumar Gupta UID: 23BCS10036


Branch: BE-CSE Section/Group: 608-A
Semester: 6th Date of Performance: 29/01/26
Subject Name: Cloud Computing Subject Code: 23CSH-307

Aim: Create and configure an S3 bucket for storage.

Objective:
 To understand the concept of object storage using Amazon S3.
 To create and configure an S3 bucket with versioning and encryption enabled.
 To upload and manage objects (files) within an S3 bucket.
 To organize stored objects using folders in Amazon S3.
 To verify object properties, versions, and data retrieval from S3.

Procedure:

1. Sign in to AWS Management Console.


2. Search S3 and open the S3 service.
3. Click Create bucket.
4. Enter bucket name (must be unique globally).
5. Select Region Asia Pacific (Mumbai).
6. Leave ACLs disabled.
7. Keep Block all public access checked.
8. Enable Bucket Versioning.
9. Enable Default encryption.
10. Click Create bucket.
11. Click on your created bucket name.
12. Click Upload.
13. Click Add files.
14. Select 2–3 files from your computer and click Open.
15. Click Upload and wait for completion.
16. Click Close and verify files are visible in the bucket.
17. Click Create folder.
18. Enter folder name documents and click Create folder.
19. Select any uploaded file using the checkbox.
20. Click Actions → Move.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

21. Select the destination folder (documents/) and click Move.


22. Open the folder and verify the file is moved.
23. Click the bucket name to return to the bucket root.
24. Click a file name to open its details and view properties.
25. Click the Versions tab to view version information.
26. Click Download to download and verify retrieval.

Output:

Fig. 1 Successfully created bucket


DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

Fig. 3 Created folder in bucket

Learning Outcomes:
• Understand the fundamentals of object storage using Amazon S3.
• Gain hands-on experience in creating and configuring an S3 bucket.
• Learn to apply security features such as versioning and encryption.
• Develop skills to upload, organize, and manage objects within a bucket.
• Verify object properties, versions, and data retrieval from Amazon S3.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

You might also like