Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Cloud computing lab manual, Lab Reports of Computer Science

Cloud computing lab manual for graduation student for University

Typology: Lab Reports

2019/2020
On special offer
30 Points
Discount

Limited-time offer


Uploaded on 12/13/2020

sam-kumar-3
sam-kumar-3 🇮🇳

1 document

1 / 49

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Cloud Computing Lab File
CS 4113
Name – Sahil Nair Submitted to-
Class – CSE-A Dr. Surjeet Dalal
SEM – 7th Associate Professor
Year – 4th Department of CSE
Roll No. 10317210053
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
Discount

On special offer

Partial preview of the text

Download Cloud computing lab manual and more Lab Reports Computer Science in PDF only on Docsity!

Cloud Computing Lab File

CS 4113

Name – Sahil Nair Submitted to- Class – CSE-A Dr. Surjeet Dalal SEM – 7th^ Associate Professor Year – 4th^ Department of CSE Roll No. 10317210053

INDEX

Experiment No. Name Of Experiment Page No.

01 Basic Concept Of Cloud Computing With Its History 01 02 Software As A Service In Detail 04 03 Basics Of PaaS & Discuss Their Use Cases 06 04 Basics Of IaaS & Discuss Their Use Cases 10 05 Steps To Create Multiple VMs & Configure Them Using Virtual Box 13 06 Steps To Create Multiple Virtual Machine In VM Ware 18 07 Write down the steps to install and run the Google App Engine on Windows 25 08 Write down the steps to simulate a cloud scenario using Cloud Sim 32 09 Write down the steps to run a scheduling algorithm on Cloud Environment using Cloud Sim 34 10 Write down the steps to Install Hadoop Single Node Cluster and run simple applications 37

On the basis of above computing, there was emerged of cloud computing concepts that later implemented. At around in 1961, John Mac Charty suggested in a speech at MIT that computing can be sold like a utility, just like a water or electricity. It was a brilliant idea, but like all brilliant ideas, it was ahead if its time, as for the next few decades, despite interest in the model, the technology simply was not ready for it. But of course time has passed and the technology caught that idea and after few years we mentioned that: In 1999, Salesforce.com started delivering of applications to users using a simple website. The applications were delivered to enterprises over the Internet, and this way the dream of computing sold as utility were true. In 2002, Amazon started Amazon Web Services, providing services like storage, computation and even human intelligence. However, only starting with the launch of the Elastic Compute Cloud in 2006 a truly commercial service open to everybody existed. In 2009, Google Apps also started to provide cloud computing enterprise applications. Of course, all the big players are present in the cloud computing evolution, some were earlier, and some were later. In 2009, Microsoft launched Windows Azure, and companies like Oracle and HP have all joined the game. This proves that today, cloud computing has become mainstream.

C loud Computing Tools

I nfrastructure As A Service ( IaaS )

It is one of the layers of the cloud computing platform. It allows customers to outsource their IT infrastructures such as servers, networking, processing, storage, virtual machines, and other resources. Customers access these resources on the Internet using a pay as per use model. In traditional hosting services, IT infrastructure was rented out for a specific period of time, with pre determined hardware configuration. The client paid for the configuration and time, regardless of the actual use. With the help of the IaaS cloud computing platform layer, clients can dynamically scale the configuration to meet changing requirements and are billed only for the services actually used. IaaS cloud computing platform layer eliminates the need for every organization to maintain the IT infrastructure. 2

Platform As A Service ( PaaS )

Platform as a Service (PaaS) provides a runtime environment. It allows programmers to easily create, test, run, and deploy web applications. You can purchase these applications from a cloud service provider on a pay as per use basis and access them using the Internet connection. In PaaS, back end scalability is managed by the cloud service provider, so end- users do not need to worry about managing the infrastructure. PaaS includes infrastructure and platform to support the web application life cycle for example Google App Engine, Force.com, Joyent, Azure.

S oftware As A Service ( SaaS )

It is a software distribution model in which services are hosted by a cloud service provider. These services are available to end-users over the internet so, the end-users do not need to install any software on their devices to access these services. There are the following services provided by SaaS providers - Business Services - SaaS Provider provides various business services to start-up the business. The SaaS business services include ERP (Enterprise Resource Planning), CRM (Customer Relationship Management), billing and sales. Document Management - SaaS document management is a software application offered by a third party to create, manage, and track electronic documents. Social Networks - As we all know, social networking sites are used by the general public, so social networking service providers use SaaS for their convenience and handle the general public's information. Mail Services - To handle the unpredictable number of users and load on e-mail services, many e- mail providers offering their services using SaaS.

C omparison Between IaaS, PaaS & SaaS

Use Cases Of Software As A Service ( SaaS ) Most are familiar with the public cloud Software-as-a-Service offerings for enterprise environments such as Office 365, Basecamp, Salesforce, etc., that allow organizations to have software offerings over the Internet. Today, Microsoft Azure is becoming a powerful offering not only for software but also for infrastructure. Examples of SaaS use cases are Cisco WebEx, Zendesk, (^) and even Facebook.

Experiment No. 3

AIM: Write down the basics of PaaS and discuss their use cases

P latform As A Service

Platform as a service (PaaS) is a complete development and deployment environment in the cloud, with resources that enable you to deliver everything from simple cloud-based apps to sophisticated, cloud-enabled enterprise applications. You purchase the resources you need from a cloud service provider on a pay-as-you-go basis and access them over a secure Internet connection. Like I aaS, PaaS includes infrastructure servers, storage and networking but also middleware, development tools, business intelligence (BI) services, database management systems and more. PaaS is designed to support the complete web application lifecycle: building, testing, deploying, managing and updating. PaaS allows you to avoid the expense and complexity of buying and managing software licenses, the underlying application infrastructure and middleware, container orchestrators such as Kubernetes or the development tools and other resources. You manage the applications and services you develop and the cloud service provider typically manages everything else.

client’s legacy product suite. To perform custom calculation of points, serialization of objects and persistence, and for handling interactive events, we used JavaScript technology in our solution. We produced a rich user interface using HTML5 canvas, JavaScript, and JQuery frameworks. Our team has created all the geometric calculations to transform the objects on various mouse click operations and used Web Services for seamless integration into legacy systems. We re-platform the client's existing Flash based tool into a highly interactive cloud based solution through Raphael JS & HTML5 canvas. With this cloud solution, we were able to build an interactive application to dynamically customize housing floor plans to its end users. Users can dynamically zoom and change floor plans because of the rich user interface we have provided. With this cloud solution, the client is handling more than 100 web services and accelerating their performance rate.

C omparison

 Scalability^ –^ On premises solutions are rather difficult to scale, as the type of hardware^ needed

depends on your application’s demands. If your app experiences heavy traffic, you might need to significantly upgrade on-premises hardware. This problem doesn’t exist with a cloud service, which you can quickly scale up or down with a few clicks. Cloud services are a perfect solution for handling peak loads. With cloud-based services, businesses can use whatever computing resources they need.

 Cost Effectiveness - Cloud computing removes hardware expenses, as hardware is provided by a

vendor. There’s no need to buy, install, configure, and maintain servers, databases, and other components of your runtime environment. Moreover, using cloud-based solutions, you pay only for what you use, so if you don’t need extra resources you can simply scale down and not pay for them.  8

 Immediate Availability^ - Cloud solutions are available as soon as you’ve paid for them, so you can

start using a cloud service right away. There’s no need to install and configure hardware.

 Performance^ - Cloud companies equip their data centers with high-performance computing

infrastructure that guarantees low network latency for your applications.

 Security^ -^ Cloud infrastructure is kept in safe data centers to ensure a top level of^ security. Data is

backed up and can easily be recovered. Moreover, cloud vendors ensure the security of your data by using networking firewalls, encryption, and sophisticated tools for detecting cybercrime and fraud.  9 Experiment No. 4 AIM: Write down the basis of IaaS and discuss their use cases

Infrastructure As A Service

Infrastructure as a service (IaaS) is an instant computing infrastructure, provisioned and managed over the internet. It is one of the four types of cloud services, along with software as a service (S aaS) , platform as a service (PaaS) and serverless.

 Disaster Recovery  Program Testing & Development  Hosting Complex Websites  High Computing Performance  Big Data Analysis

C omparison

Scalability – On premises solutions are rather difficult to scale, as the type of hardware needed depends on your application’s demands. If your app experiences heavy traffic, you might need to significantly upgrade on-premises hardware. This problem doesn’t exist with a cloud service, which you can quickly scale up or down with a few clicks. Cloud services are a perfect solution for handling peak loads. With cloud-based services, businesses can use whatever computing resources they need.  Cost Effectiveness - Cloud computing removes hardware expenses, as hardware is provided by a vendor. There’s no need to buy, install, configure, and maintain servers, databases, and other components of your runtime environment. Moreover, using cloud-based solutions, you pay only for what you use, so if you don’t need extra resources you can simply scale down and not pay for them.  Immediate Availability -^ Cloud solutions are available as soon as you’ve paid for^ them,^ so you can start using a cloud service right away. There’s no need to install and configure hardware. 11Performance^ -^ Cloud^ companies^ equip^ their^ data^ centers^ with^ high-performance^ computing infrastructure that guarantees low network latency for your applications.  Security - Cloud infrastructure is kept in safe data centers to ensure a top level of security. Data is backed up and can easily be recovered. Moreover, cloud vendors ensure the security of your data by using networking firewalls, encryption, and sophisticated tools for detecting cybercrime and fr

E xperiment – 5

AIM: Write down the steps to create multiple VMs and configure them using Virtual Box. These are the steps to install multiple VMs through VirtualBox. It uses various VirtualBox Manage commands to prepare the Virtual Machine. The VirtualBox Manage unattended install command is then used to install and configure the operating system.

1. Create the virtual machine.

Note the following:

 The^ $VM^ variable represents the name of the^ VM.  The^ VirtualBox Manage list os types^ command lists the OS

Experiment – 6 AIM: Write down the steps to install multiple virtual machines in VM Ware Step 1: Set up a VMware Virtual Machine Start by opening VMware and selecting “Create a New Virtual Machine” We’ll go with a Typical configuration. If you’re feeling fancy and really want to tweak the parameters, you can pick a Custom one, but we won’t be going through a full Custom setup. 18