William Work

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

[Date] INTRODUCTION

TO CLOUD
COMPUTING
Laboratory Manual

Mr Mensah Sitti
UNIVERSITY OF MINES AND TECHNOLOGY JAN 2023

1
INTRODUCTION TO CLOUD COMPUTING
LAB MANUAL

Program Educational Objectives [PEO’s]

PEO-1: The graduate of Cybersecurity will have successful career in technology or managerial
functions.
PEO-2: The graduate of the program will have solid technical and professional foundation to
continue higher studies.
PEO-3: The graduate of the program will have skills to develop products, offer services and
create new knowledge.
PEO-4: The graduate of the program will have fundamental awareness of Industry processes,
tools and technologies.

Program Outcomes (PO’s):

A. Engineering knowledge: Apply the knowledge of mathematics, science, engineering


fundamentals, and an engineering specialization to the solution of complex engineering
problems related to Computer Science and Engineering.
B. Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems related to Computer Science and Engineering and reaching substantiated
conclusions using first principles of mathematics, natural sciences, and engineering sciences.
C. Design/development of solutions: Design solutions for complex engineering problems
related to Computer Science and Engineering and design system components or processes that
meet the specified needs with appropriate consideration for the public health and safety, and
the cultural, societal, and environmental considerations.
D. Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data, and
synthesis of the information to provide valid conclusions.
E. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities
with an understanding of the limitations.
F. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to
the Computer Science and Engineering professional engineering practice.

2
G. Environment and sustainability: Understand the impact of the Computer Science and
Engineering professional engineering solutions in societal and environmental contexts, and
demonstrate the knowledge of, and need for sustainable development.
H. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
I. Individual and team work: Function effectively as an individual, and as a member or leader
in diverse teams, and in multidisciplinary settings.
J. Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and write
effective reports and design documentation, make effective presentations, and give and receive
clear instructions.
K. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
L. Life-long learning: Recognize the need for, and have the preparation and ability to engage
in independent and life-long learning in the broadest context of technological change.

LAB OBJECTIVE

In this on-line course we plan to give students an overview of the field of Cloud Computing,
and an in-depth study into its enabling technologies and main building blocks. Students
will gain hands-on experience solving relevant problems through projects that will utilize
existing public cloud tools. It is our objective that students will develop the skills needed
to become a practitioner or carry out research projects in this domain. Specifically, the
course has the following objectives: Students will learn:
 the fundamental ideas behind Cloud Computing, the evolution of the paradigm, its
applicability; benefits, as well as current and future challenges;
 the basic ideas and principles in data centre design; cloud management techniques
and cloud software deployment considerations;
 different CPU, memory and I/O virtualization techniques that serve in offering
software, computation and storage services on the cloud; Software Defined
Networks (SDN) and Software Defined Storage (SDS);
 cloud storage technologies and relevant distributed file systems, NoSQL databases
and object storage;
 the variety of programming models and develop working experience in several of
them

3
LAB OUTCOME

Upon successful completion of this Lab, the student will be able to:
1. Explain the core concepts of the cloud computing paradigm: how and why this
paradigm shift came about, the characteristics, advantages and challenges brought about
by the various models and services in cloud computing.
2. Apply fundamental concepts in cloud infrastructures to understand the trade-offs in
power, efficiency and cost, and then study how to leverage and manage single and
multiple datacentres to build and deploy cloud applications that are resilient, elastic and
cost-efficient.
3. Discuss system, network and storage virtualization and outline their role in enabling
the cloud computing system model.
4. Illustrate the fundamental concepts of cloud storage and demonstrate their use in
storage systems such as Amazon S3 and HDFS.
5. Analyse the trade-offs between deploying applications in the cloud and over the local
infrastructure.
6. Compare the advantages and disadvantages of various cloud computing platforms.
7. Deploy applications over commercial cloud computing infrastructures such as Amazon
Web Services.
8. Program data intensive parallel applications in the cloud.
9. Analyse the performance, scalability, and availability of the underlying cloud
technologies and software.
10. Identify security and privacy issues in cloud computing.
11. Explain recent research results in cloud computing and identify their pros and cons.
12. Solve a real-world problem using cloud computing through group collaboration.

Reference Books

i. Velte, AT, Toj Velte & Elsenpeter, RC 2010, Cloud computing: a practical approach,
Mcgraw-Hill, New York, 354 pp.
ii. Hurwitz, JS & Kirsch, D 2020, Cloud Computing: For Dummies., John Wiley & Sons Inc,
Us, p. 294.
iii. Buyya, R, Broberg, J and Gościński A. M. (2011), Cloud Computing: principles and
paradigms, Wiley, Hoboken, N. J., 675 pp.
iv. Rajesh Daswani (2021) AWS Certified Cloud Practitioner Exam Guide ISBN 978-1-80107-
593-0
Supplentary Text(s):

4
v. Antonopoulos, Nikos; Springer, Lee Gillam, ;(2012) Cloud Computing: Principles,
Systems and Applications,
vi. Krutz, Ronald L. and Vines, Russell Dean; (2010) Cloud Security: A Comprehensive
Guide to Secure Cloud Computing, Wiley-India.
vii. Cloud industry publications, online textbooks, and research papers on various topics
connected to the various sessions.

INTRODUCTION TO WORKING IN THE LABORATORY


The steps involved in program development:-
To develop the program in high level language and translate it into machine level language
the following steps have to be practiced.
1. Writing and editing (debugging) the program.
2. Linking the program with the required library modules.
3. Compiling the program.
4. Executing the program.

Algorithm:- It is a method of representing the step by step process for solving a problem.
Each step is called an instruction. Characteristics of algorithm are:
 Finiteness:- It terminates with finite number of steps.
 Definiteness:- Each step of algorithm is exactly defined.
 Effectiveness:- All the operations used in the algorithm can be performed exactly in a fixed
duration of time.
 Input:- An algorithm must have an input before the execution of program begins.
 Output:- An algorithm has one or more outputs after the execution of the program.
Example of algorithm to find sum of two numbers:
Step1: BEGIN
Step2: READ a, b
Step3: ADD a and b and store in variable c
Step4: DISPLAY c
Step5: STOP

INSTRUCTIONS TO STUDENTS FOR PREPARING INTRODUCTION TO


CLOUD COMPUTING LAB REPORT

5
This Lab Manual is prepared to help the students with their practical understanding and
development of programming skills, and may be used as a base reference during the
lab/practical classes.
Students have to submit Lab Exercise report (Observation book) of previous lab into
corresponding next lab, and can be collected back after the instructor/course coordinator has
checked and signed. At the end of the semester, students should compile all the Lab Exercise
reports into a single report and submit during the end semester sessional examination.
A “Sample of Lab Report/Record Book” is shown for LAB Exercise #1 in this manual. For
the rest of the labs, the reporting style as provided is to be followed.
The lab report to be submitted during the end semester Sessional Examination should include
at least the following topics: -
1. Top Cover page – pg. 8 (to be used while compiling all the Lab Exercise reports into single
report)
2. Index – pg. 9 (to be used while compiling all the Lab Exercise reports into single report)
3. Cover page – pg. 10 (to be attached with every Lab Exercise)
4. Title of the program
5. Aim
6. Algorithm
7. Coding / Program Code
8. Output (compilation, debugging & testing)
9. Results
Students are to show the coding and output to the instructor/course coordinator for the
additional lab exercises given in each lab module.
Note: The lab exercises may not be completed in a single specific lab. Students are encouraged
to complete the programming questions given in the exercise prior to coming to the practical
or lab class and do the lab work for the given programs.

6
University of Mines and Technology

INTRODUCTION TO CLOUD COMPUTING


LABORATORY RECORD BOOK

SUBMITTED BY

NAME: SAM , WILLIAM JACOB EKOW


INDEX NUMBER: 9012667022
DEPARTMENT: COMPUTER SCIENCE AND ENGINEERING
DATE OF SUBMISSION: 29 MARCH , 2023

FACULTY OF ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
P. O. BOX 237 TARKWA, WESTERN REGION GHANA

7
TABLE OF CONTENT
Exercises/Assignments Page No.
1. Exercise – 1 1
1
2
(iii) Program 3………………………………………………… 3
2. Exercise – 2 ……………………………………………………. ..
3. Exercise – 3 ………………………
4.
5.

8
University of Mines and Technology

INTRODUCTION TO CLOUD COMPUTING

LAB EXERCISE 1

REPORT SUBMITTED BY

NAME: SAM , WILLIAM


JACOB EKOW
INDEX NUMBER:
9012667022

LAB DATE:29
FEBUARY, 2023
SUBMISSION DATE:
29 MARCH ,2023
9
LIST OF EXPERIMENTS
1. Install Virtualbox/VMware Workstation with different flavours of linux or windows OS on
top of windows 10/11.
2. Install a C compiler in the virtual machine created using virtual box and execute Simple
Programs.
3. Install Google App Engine (GAE). Create hello world app and other simple web
applications using python/java.
4. Use GAE launcher to launch the web applications.
5. Simulate a cloud scenario using CloudSim and run a scheduling algorithm that is not
present in CloudSim.
6. Find a procedure to transfer the files from one virtual machine to another virtual machine.
7. Find a procedure to launch virtual machine using trystack (Online Openstack Demo
Version)
8. Test ping command to test the communication between the guest OS and Host OS.
8. Install Hadoop single node cluster and run simple applications like wordcount.
9. Establish an AWS account. Use the AWS Management Console to launch an EC2 instance
and connect to it
10. Develop a Hello World application using Google App Engine.
11. Develop a Windows Azure Hello World application using.

10
Ex. No 1 Date: 08/02/2023
Title: Install Virtual box / VMware Workstation with different flavours of
linux/windows OS on top of Windows 10/11
Aim: To install virtualBox/VMware workstation with different flavours of linux
or windows
Procedure:
Steps to install Virtual Box:
1. Download the virtual box executable file (.exe) and click the .exe file and
select the next button as shown in fig 1.

Fig 1
2. Click the next button

11
Figure 2
3. Click the next button

Figure 3
12
4. Click Yes button

Figure 4

5. Click the install button…

13
Figure 5

6. Then installation was completed. A virtual box icon will show on the
desktop screen as shown in fig 6

Figure 6

How to install a C compiler in the virtual machine/virtual box created

14

You might also like