Professional Documents
Culture Documents
Lab Manual
Department of Computer Science and Engineering
The NorthCap University, Gurugram
Cloud Architecture
CSL337
Session 2022-23
iii
Cloud Architecture Lab Manual (CSL337)
2020-21
Published by:
© Copyright Reserved
Copying or facilitating copying of lab work comes under cheating and is considered as use
of unfair means. Students indulging in copying or facilitating copying shall be awarded zero
marks for that particular experiment. Frequent cases of copying may lead to disciplinary
action. Attendance in lab classes is mandatory.
Labs are open up to 7 PM upon request. Students are encouraged to make full use of labs
beyond normal lab hours.
iv
Cloud Architecture Lab Manual (CSL337)
2020-21
PREFACE
Cloud Architecture Lab Manual is designed to meet the course and program requirements of
NCU curriculum for B.Tech IV year students of CSE branch. The concept of the lab work is to
give brief practical experience for basic lab skills to students. It provides the space and scope for
self-study so that students can come up with new and creative ideas.
The Lab manual is written on the basis of “teach yourself pattern” and expected that students
who come with proper preparation should be able to perform the experiments without any
difficulty. Brief introduction to each experiment with information about self-study material is
provided. The laboratory exercises will include AWS mini projects. To give students hand on
experience AWS Educate Account of Faculty is linked with students account. Classrooms were
created on AWS Educate cloud and Detail of each and every practical is uploaded there. Groups
were created on cloud Educate classroom and students can go thoroughly through the experiment
that they are going to do in the lab. Students are expected to come thoroughly prepared for the
lab. General disciplines, safety guidelines and report writing are also discussed.
The lab manual is a part of curriculum for the TheNorthCap University, Gurugram. Teacher’s
copy of the experimental results and answer for the questions are available as sample guidelines.
We hope that lab manual would be useful to students of CSE, IT, ECE and BSc branches and
author requests the readers to kindly forward their suggestions / constructive criticism for further
improvement of the work book.
Author expresses deep gratitude to Members, Governing Body-NCU for encouragement and
motivation.
v
Cloud Architecture Lab Manual (CSL337)
2020-21
Authors
The NorthCap University
Gurugram, India
CONTENTS
Syllabus
1 Introduction
2 Lab Requirement
3 General Instructions
4 List of Experiments
5 Rubrics
2020-21
1. LAB REQUIREMENTS
4 Required Bandwidth NA
vii
Cloud Architecture Lab Manual (CSL337)
2020-21
2. GENERAL INSTRUCTIONS
Students must turn up in time and contact concerned faculty for the experiment they
are supposed to perform.
Students will not be allowed to enter late in the lab.
Students will not leave the class till the period is over.
Students should come prepared for their experiment.
Experimental results should be entered in the lab report format and certified/signed
by concerned faculty/ lab Instructor.
Students must get the connection of the hardware setup verified before switching on
the power supply.
Students should maintain silence while performing the experiments. If any necessity
arises for discussion amongst them, they should discuss with a very low pitch
without disturbing the adjacent groups.
Violating the above code of conduct may attract disciplinary action.
Damaging lab equipment or removing any component from the lab may invite
penalties and strict disciplinary action.
3.2 Attendance
2020-21
Students should not attend a different lab group/section other than the one assigned
at the beginning of the session.
On account of illness or some family problems, if a student misses his/her lab
classes, he/she may be assigned a different group to make up the losses in
consultation with the concerned faculty / lab instructor. Or he/she may work in the
lab during spare/extra hours to complete the experiment. No attendance will be
granted for such case.
Students should come to the lab thoroughly prepared on the experiments they are
assigned to perform on that day. Brief introduction to each experiment with
information about self study reference is provided on LMS.
Students must bring the lab report during each practical class with written records
of the last experiments performed complete in all respect.
Each student is required to write a complete report of the experiment he has
performed and bring to lab class for evaluation in the next working lab. Sufficient
space in work book is provided for independent writing of theory, observation,
calculation and conclusion.
Students should follow the Zero tolerance policy for copying / plagiarism. Zero
marks will be awarded if found copied. If caught further, it will lead to disciplinary
action.
Refer Annexure 1 for Lab Report Format
ix
Cloud Architecture Lab Manual (CSL337)
2020-21
Annexure 1
Cloud Architecture
(CSL 337
Lab Workbook
x
Cloud Architecture Lab Manual (CSL337)
2020-21
Semester: 5th
Group: CC - A
Session 2022-23
xi
Cloud Architecture Lab Manual (CSL337)
2020-21
xii
Cloud Architecture Lab Manual (CSL337)
2020-21
xiii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 1
Link to Code:
Date:
Faculty Signature:
Marks:
Objective(s):
Outcome:
Problem Statement:
In this lab environment, access to AWS services and service actions might be restricted to the ones
that are needed to complete the lab instructions. You might encounter errors if you attempt to
access other services or perform actions beyond the ones that are described in this lab.
Background Study:
Static websites have fixed content with no backend processing. They can contain HTML pages,
images, style sheets, and all files that are needed to render a website. However, static websites do
not use server-side scripting or a database. If you want your static webpages to provide interactivity
and run programming logic, you can use JavaScript that runs in the user's web browser.
xiv
Cloud Architecture Lab Manual (CSL337)
2020-21
You can easily host a static website on Amazon Simple Storage Service (Amazon S3) by uploading
the content and making it publicly accessible. No servers are needed, and you can use Amazon S3
to store and retrieve any amount of data at any time, from anywhere on the web.
2020-21
xvi
Cloud Architecture Lab Manual (CSL337)
2020-21
EXPERIMENT NO. 2
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Outcome:
Problem Statement:
2020-21
Background Study:
2020-21
xix
Cloud Architecture Lab Manual (CSL337)
2020-21
xx
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 3
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
Background Study:
An Amazon S3 bucket is a public cloud storage resource available in Amazon Web Services'
(AWS) Simple Storage Service (S3), an object storage offering. Amazon S3 buckets, which are
similar to file folders, store objects, which consist of data and its descriptive metadata.
xxi
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
xxiii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 4
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
Creating a Dynamic Website for the Cafe
Background Study:
Cloud SQL automatically ensures your databases are reliable, secure, and scalable so that your
business continues to run without disruption. Cloud SQL automates all your backups, replication,
encryption patches, and capacity increases—while ensuring greater than 99.95% availability,
anywhere in the world.
xxiv
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
xxvi
Cloud Architecture Lab Manual (CSL337)
2020-21
xxvii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 5
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
Background Study:
Decision making is required when we want to execute a code only if a certain condition is satisfied.
The if…elif…else statement is used in Python for decision making. Python if Statement Syntax is
2020-21
2020-21
xxx
Cloud Architecture Lab Manual (CSL337)
2020-21
xxxi
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 6
Link to Code:
Date:
Faculty Signature:
Marks:
Objective: Objective
2020-21
Problem Statement:
Background Study:
Cloud hosting is where your website is hosted on a cluster of servers instead of having your
site hosted on one server. In case of an issue, your site can be migrated to another server.
2020-21
Algorithm/Flowchart/Code/Sample Outputs
xxxiv
Cloud Architecture Lab Manual (CSL337)
2020-21
xxxv
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 7
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
Background Study:
AWS Lambda is a compute service that lets you run code without provisioning or managing servers.
Lambda runs your code only when needed and scales automatically, from a few requests per day
to thousands per second. You pay only for the compute time that you consume—there is no
charge when your code is not running.
xxxvi
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
xxxvii
i
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 8
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
2020-21
Problem Statement:
Background Study:
Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you
to decouple and scale microservices, distributed systems, and serverless applications. SQS
eliminates the complexity and overhead associated with managing and operating message oriented
middleware, and empowers developers to focus on differentiating work. Using SQS, you can send,
store, and receive messages between software components at any volume, without losing messages
or requiring other services to be available. Get started with SQS in minutes using the AWS console,
Command Line Interface or SDK of your choice, and three simple commands.
SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort
ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are
processed exactly once, in the exact order that they are sent.
2020-21
xli
Cloud Architecture Lab Manual (CSL337)
2020-21
xlii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No:9
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
Background Study:
Synchronous speech recognition returns the recognized text for short audio (less than ~1 minute) in
the response as soon as it is processed. To process a speech recognition request for long audio,
use Asynchronous Speech Recognition.
Audio content can be sent directly to Speech-to-Text, or it can process audio content that already
resides in Google Cloud Storage. See also the audio limits for synchronous speech recognition
requests.
xliii
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
xlv
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 10
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To control AWS Account Access by Using IAM
Background Study:
xlvi
Cloud Architecture Lab Manual (CSL337)
2020-21
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
2020-21
xlviii
Cloud Architecture Lab Manual (CSL337)
2020-21
xlix
Cloud Architecture Lab Manual (CSL337)
2020-21
l
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 11
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To create a Highly Available Environment
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
li
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
liii
Cloud Architecture Lab Manual (CSL337)
2020-21
liv
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 12
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
lv
Cloud Architecture Lab Manual (CSL337)
2020-21
Challenge Lab - Creating a Scalable and Highly Available Environment for the Cafe
Problem Statement:
To create a Scalable and Highly Available Environment for the Cafe
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
2020-21
lvii
Cloud Architecture Lab Manual (CSL337)
2020-21
lviii
Cloud Architecture Lab Manual (CSL337)
2020-21
lix
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 13
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To automate Infrastructure Deployment with AWS CloudFormation
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
lx
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
lxii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 14
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To automate Infrastructure Deployment
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
lxiii
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
lxv
Cloud Architecture Lab Manual (CSL337)
2020-21
lxvi
Cloud Architecture Lab Manual (CSL337)
2020-21
lxvii
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 15
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
lxviii
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
lxx
Cloud Architecture Lab Manual (CSL337)
2020-21
lxxi
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 16
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To Implement a Serverless Architecture with AWS Lambda
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
lxxii
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
lxxiv
Cloud Architecture Lab Manual (CSL337)
2020-21
lxxv
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 17
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Problem Statement:
To Implement a Serverless Architecture for the Cafe
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
lxxvi
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21
lxxvii
i
Cloud Architecture Lab Manual (CSL337)
2020-21
lxxix
Cloud Architecture Lab Manual (CSL337)
2020-21
Experiment No: 18
Link to Code:
Date:
Faculty Signature:
Marks:
Objective:
Guided Lab - Hybrid Storage and Data Migration with AWS Storage Gateway File Gateway
Problem Statement:
To Implement a Hybrid Storage and Data Migration with AWS Storage Gateway File Gateway
Background Study:
As a developer, facial recognition and comparison is a new challenge you will face if you are
developing an employee verification system, need to automate video editing, or provide secondary
authentication for other applications. To solve this challenge, you could develop your own machine
learning model, develop an API, and manage your own infrastructure. This option is expensive,
requires advanced knowledge, and is time intensive.
Instead of taking the difficult route, you can use Amazon Rekognition, which can detect faces in an
image or video, find facial landmarks such as the position of eyes, and detect emotions such as
happy or sad in near real-time or in batches without management of infrastructure or modeling.
lxxx
Cloud Architecture Lab Manual (CSL337)
2020-21
2020-21