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

0% found this document useful (0 votes)
99 views5 pages

Cloud Computing Lab File

This document is a practical file for a Cloud Computing course at Chitkara University, detailing various experiments related to AWS services. It includes a comprehensive index of practicals such as launching EC2 instances, configuring web servers, and setting up databases. Each practical features objectives, step-by-step procedures, and learning outcomes to guide students through hands-on cloud computing tasks.

Uploaded by

revabindra23
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)
99 views5 pages

Cloud Computing Lab File

This document is a practical file for a Cloud Computing course at Chitkara University, detailing various experiments related to AWS services. It includes a comprehensive index of practicals such as launching EC2 instances, configuring web servers, and setting up databases. Each practical features objectives, step-by-step procedures, and learning outcomes to guide students through hands-on cloud computing tasks.

Uploaded by

revabindra23
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
You are on page 1/ 5

Department of Computer Science & Engineering

Chitkara University Institute of Engineering & Technology


(Accredited by NAAC with Grade ‘A+’)

Practical File

Cloud Computing (22CS035)

BACHELOR OF ENGINEERING

in

Computer Science and Engineering

Submitted by: Submitted to:


Student name- Faculty Name-
Roll No- Designation-
Group No-
Semester-
Year-

CHITKARA UNIVERSITY, PUNJAB


CHANDIGARH-PATIALA NATIONAL HIGHWAY
RAJPURA (PATIALA) PUNJAB-140401 (INDIA)
Department of Computer Science & Engineering
Chitkara University Institute of Engineering & Technology
(Accredited by NAAC with Grade ‘A+’)

INDEX
Practica Practical Name Page No.
l No.
1. Sign up for AWS, explore free-tier services, and launch EC2
instances using Ubuntu and Windows operating systems.
2. Connect to an EC2 instance via EC2 Connect, SSH Client, AWS
CLI, and PuTTY SSH Client using a key pair file.
Access and modify Security Group inbound and outbound rules to
control traffic for EC2 instances.
3. Set up and configure web servers on EC2 instances, including
Apache and Nginx server. Configure auto-scaling for EC2
instances to handle variable traffic.
4. Create an Amazon S3 bucket, upload objects, set up access
controls with bucket policies, and use it for hosting static content.
5. Create a custom AMI (Amazon Machine Image) from EC2
instance.
6. Set up an AWS Elastic Load Balancer (ELB) to distribute traffic
among EC2 instances.
7. Set up Amazon VPC networking, including subnets, route tables,
security groups.
Scenario 1: VPC With a Public Subnet Only (Standalone Web)
Scenario 2: VPC with Public and Private Subnets (3 Tier App)
8. Set up an Amazon RDS MySQL instance and connect to it using a
MySQL client.
Create an Amazon DynamoDB table, insert data, and perform
queries using the AWS Management Console.
9. Launch a Docker container on an EC2 instance, build and push a
Docker image to Amazon Elastic Container Registry (ECR).
10. Configure Amazon CloudWatch to monitor EC2 instance metrics
and set up alarms.
11. Create an SNS, subscribe and publish a message, set up an SQS
queue, integrate it with an EC2 instance, and use SES to send
event notifications via email.
12. Set up and use data analytics tools in AWS, including AWS Glue
and AWS Data Pipeline, for analyzing and visualizing data.
Department of Computer Science & Engineering
Chitkara University Institute of Engineering & Technology
(Accredited by NAAC with Grade ‘A+’)

Practical Format for Each Experiment

Practical No. 1

Practical Title:

Objective:

Step-by-Step Procedure with Screenshots:

1. Login to AWS Console


2. Create an EC2 Instance
3. Connect to EC2 Instance
4. Deploying a Web Server
5. Verify Deployment

Learning Outcomes:

Cloud Computing /22CS035 Student Roll No./Group No.


Page | 1
Department of Computer Science & Engineering
Chitkara University Institute of Engineering & Technology
(Accredited by NAAC with Grade ‘A+’)

[SAMPLE]

Practical No. 1:

Practical Title: Sign up for AWS, Explore Free-Tier Services, and Launch
EC2 Instances using Ubuntu and Windows

Objective:
• To create an AWS account and explore free-tier services.
• To launch an EC2 instance with Ubuntu and Windows OS.

Step-by-Step Procedure with Screenshots:


Step 1: AWS Account Signup
1. Visit AWS Portal: Open AWS Official Website (https://aws.amazon.com/) and click on
"Create an AWS Account".
2. Enter Account Details: Provide your email address, set an AWS account name, and click
"Continue".
3. Billing Information: Enter credit/debit card details (AWS Free Tier is available but requires
card verification).
4. Identity Verification: Enter the OTP received on your registered mobile number.
5. Select Support Plan: Choose "Free Tier (Basic Support)".
6. Sign in to AWS Console: Once the account is activated, log in using your credentials.

Screenshot: [Insert AWS Signup to Confirmation Screenshots]

Step 2: Exploring AWS Free-Tier Services

1. Navigate to AWS Management Console and explore services like EC2, S3, Lambda, RDS,
and more.
2. Check Free-Tier Dashboard: Go to Billing Dashboard → Free Tier to view available services.

Screenshot: [Insert AWS Free Tier Services Screenshots]

Step 3: Launching EC2 Instances (Ubuntu & Windows)

(a) Launching an Ubuntu EC2 Instance

1. Open EC2 Service: Navigate to AWS Management Console → EC2 → Launch Instance.
2. Choose Amazon Machine Image (AMI): Select Ubuntu 22.04 LTS (Free-Tier Eligible).
3. Choose Instance Type: Select t2.micro (1 vCPU, 1GB RAM, Free-Tier Eligible).

Cloud Computing /22CS035 Student Roll No./Group No.


Page | 2
Department of Computer Science & Engineering
Chitkara University Institute of Engineering & Technology
(Accredited by NAAC with Grade ‘A+’)

4. Configure Instance: Keep default settings.


5. Add Storage: Default 8GB EBS is selected.
6. Add Tags: Add Name → Ubuntu_Instance (optional).
7. Configure Security Group: Allow SSH (Port 22) for remote access.
8. Create Key Pair: Create a new key pair (e.g., ubuntu-key.pem) and download it.
9. Review and Launch: Click "Launch" and wait for the instance to start.
10. Connect to Ubuntu Instance using SSH: ssh -i ubuntu-key.pem ubuntu@<Public_IP>

Screenshot: [Insert Ubuntu EC2 Instance launch to Running Screenshots]

(b) Launching Windows EC2 Instance

1. Repeat Steps 1-3 from Ubuntu EC2 Instance and choose Windows Server 2022 AMI.
2. Configure Security Group: Allow RDP (Port 3389) for remote desktop access.
3. Create a Key Pair: Download the key file for decrypting the administrator password.
4. Launch and Connect: Click "Launch" and wait for the instance to start.
5. Get Password: Select Windows instance, click "Get Password", upload key file, and decrypt.
6. Open Remote Desktop Connection (RDP) and enter credentials.

Screenshot: [Insert Windows EC2 RDP Connection Screenshots]

Learning Outcomes:

 Successfully signed up for AWS and explored free-tier services.


 Launched and connected to EC2 instances using both Ubuntu and Windows.
 AWS provides a free-tier environment for cloud computing. We created EC2 instances and
accessed them using SSH (Ubuntu) and RDP (Windows). This experiment demonstrated the
fundamentals of launching and managing virtual machines on AWS.

Cloud Computing /22CS035 Student Roll No./Group No.


Page | 3

You might also like