Itm Group of Institution: Lab File OF Cloud Computing (Cs-8002)
Itm Group of Institution: Lab File OF Cloud Computing (Cs-8002)
Lab File
OF
Cloud Computing(Cs-8002)
Vishal Jain
Contents
4. Introduction of Hadoop
6. Deployment Model
Vishal Jain
Experiment No. 1
Objective:Introduction of Cloud Computing.
Definition: -
Examples: -
Web-based email services like Gmail and Hotmail deliver a cloud
computing service: users can access their email "in the cloud" from any
computer with a browser and Internet connection, regardless of what
kind of hardware is on that particular computer. The emails are hosted
on Google's and Microsoft's servers, rather than being stored locally on
the client computer.
Over the last few years we've seen tremendous growth in cloud
computing, as witnessed by the many popular Web apps used today,
including VoIP (e.g., Skype, Google Voice), social applications (e.g.,
Facebook, Twitter, LinkedIn), media services (e.g., Picasa, YouTube,
Flickr), content distribution (e.g., Bit Torrent) etc.
1. Google: -
Vishal Jain
demand grows for clients. Google account is required to access
this facility. For easy access Google Drive, can be downloaded
into a PC or a similar gadget.
2.Microsoft: -
Microsoft Sky Drive (Microsoft Cloud Computing)
3.Salesforce: -
Vishal Jain
ADVANTAGES
6.Scalability
8.Easy to update
CHARACTERISTICS
Vishal Jain
PARADIGM SHIFT
When you choose a cloud service provider, you are renting or leasing a
part of an enormous infrastructure of data centers, computers, storage
and networking capacity. Many of these data centers are multi-million-
dollar investment by the companies that run them, to give you some
sense of scale, it has been established that a state-of-the-art microchip
fabrication facility can cost anywhere from $2 to $5 billion. By
comparison a state-of-the-art cloud computing data center run in the
range of $100 million. Most of the large cloud computing service
providers have multiple data centers located all over the world, an
accurate count can be difficult to obtain but the location of some 20
datacenters in Amazon Web Service’s cloud are detailed. Google cloud
includes perhaps some 35-data center worldwide. In the 1960’s, military
initiatives aimed at miniaturizing electronic funded many of the
semiconductor production lines that led to advanced microprocessors,
dense memory arrays, and the sophisticated integrated circuit
technology that makes computers, mobile devices, and so much more
possible today. the 1990s, the commercialization of the Internet gave
rise to some very large companies that were forced to build very large
computing infrastructures to support their businesses.
Amazon.com infrastructure was built to support elastic demand so the
system can accommodate peak traffic on a busy shopping day such as
“Black Monday” because much of the capacity was idle, Amazon.com
first open its network to partners then as Amazon Web Service to
customers. Google business has also grown exponentially and required
the building of data centers worldwide. One of its data center in Dallas,
Oregon built in 2006 on the banks of Columbia River. As these various
data centers grew in size, businesses have developed their data center
as “Greenfield” projects. Data centers have been sited to do the
following-
• Have access to low cost power
• Leverage renewable power source
• Be near abundant water
• Be sited where high speed network backbone connections can be
made
• Keep land cost modest and occupation unobtrusive
• Obtain tax breaks
• Optimize the overall system latency
Vishal Jain
These characteristics made cloud computing network highly
sufficient and capture enough margin to make utility computing
profitable.
Essential Characteristics
Broad network access. Capabilities are available over the network and
accessed through standard mechanisms that promote use by
heterogeneous thin or thick client platforms (e.g., mobile phones, tablets,
laptops, and workstations).
Vishal Jain
Service Models
Vishal Jain
The capability provided to the consumer is to provision processing,
storage, networks, and other fundamental computing resources where
the consumer is able to deploy and run arbitrary software, which can
include operating systems and applications. The consumer does not
manage or control the underlying cloud infrastructure but has control
over operating systems, storage, and deployed applications; and
possibly limited control of select networking components (e.g., host
firewalls).
Vishal Jain
Experiment No. 2
Objective:Cloud Computing Security.
Vishal Jain
Cloud Security Services
B. Authorization
C. Confidentiality
D. Integrity
Vishal Jain
E. Non-Repudiation
F. Availability
Vishal Jain
Experiment No. 3
Objective:Performance Evaluation of Cloud.
Vishal Jain
• Processor power
• Latency
Vishal Jain
Experiment No. 4
Objective:Introduction of Hadoop.
Vishal Jain
Why Hadoop?
Vishal Jain
Hadoop Challenges
Vishal Jain
Hadoop node types
Hadoop has a variety of types within each cluster, these include Data
Nodes, Name Nodes, and Edge Nodes.
Names of these nodes can vary from site to site, but the functionality is
common across the sites. Hadoop’s architecture is modular, allowing
individual components to be scaled up and down as the needs of the
environment changes. The base nodes types for a Hadoop cluster are:
Vishal Jain
Hadoop Key Features
1. Accessible
2. Robust
3. Scalable
4. Simple
Vishal Jain
Hadoop Uses
Hadoop was originally developed to be an open implementation of
Google MapReduce and Google File System. As the ecosystem
around Hadoop has matured, a variety of tools have been
developed to streamline data access, data management, security,
and specialized additions for verticals and industries, Despite this
large ecosystem, there are several primary uses and workloads for
Hadoop that can be outlined as:
Vishal Jain
with minimal code changes to existing applications. Users
will commonly employ this method for presenting data in a
SQL format for easy integration with existing system and
streamlined access by users.
Experiment No. 5
Objective:Management of Cloud Resources.
4. Cost Effective – Users finds only the hardware required for each
project. This greatly reduces the risk for institutions who may be looking
to build a scalable system. Thus providing greater flexibility since the
user is only paying for needed infrastructure while maintaining the option
to increase services as needed in the future.
Vishal Jain
Virtual Machine Abstraction
Virtualization is not specific to cloud computing. IBM originally pioneered
the concept in the 1960’s with the M44/44X systems. It has only recently
been reintroduced foe general use on X86 platforms. Today there are a
no. of clouds that offers Infrastructure as a Service (IaaS). The Amazon
Elastic Compute Cloud (EC2) is probably the most popular of which and
is used extensively in the IT industry. Eucalyptus is becoming popular in
both the scientific and industry communities. It provides the same
interface as EC2 and allows users to build and EC2- like space cloud
using their own internal resources. Other scientific cloud specific projects
exist such as OpenNebula. In-VIGO, and cluster-on-demand. They
provide their own interpretation of private cloud services within a data
center. Using a cloud deployment overlaid on a grid computing system
has been explored by the Nimbus project with the Globus Toolkit. All of
these cloud leverage the power of virtualization to create an enhanced
data center.
Vishal Jain
Resource Management Challenges
A successful resource management at the cloud scale requires a
management system to provide a rich set of resource controls and
enforce the controls by providing services such as resource pool
management, initial placement and load balancing. The problems with
scaling the existing solutions can be broadly classified as the following:
2.Hetrogeneity of clusters:
3.Frequency of operations:
Vishal Jain
4.Resitance to failures:
Hierarchical-Scaling
Flat-Scaling
Vishal Jain
structured Peer-to-Peer technologies where all hosts are part of a P2P
network. An aggregation layer similar to SDIMS or Astrolab can collect
and aggregate stats across all hosts. A query infrastructure on top of this
P2P substrate can find hosts that are overloaded and under-loaded
using technologies like any cast and multicast. This layer has the benefit
that it can do optimization at a global scale rather than limiting itself to
local optimization as done by hierarchical solution. For example, power
management may yield more benefit in this case because hosts spare
capacity is not binned into smaller sized clusters.
Statistical-Scaling
Vishal Jain
Experiment No. 6
Objective:Deployment Model.
There are four common deployment models for cloud services loosely
determined by who can access to the cloud services:
• Public Cloud
• Private Cloud
• Community Cloud
• Hybrid Cloud
Public Cloud:
Vishal Jain
Private Cloud:
Vishal Jain
Community Cloud:
Vishal Jain
Hybrid Cloud:
Vishal Jain
Experiment No. 7
Objective:Working of Google Drive to make spreadsheet and notes.
Theory:
Google Docs, Sheets, and Slides are productivity apps that let you
create different kinds of online documents, work on them in real time
with other people, and store them in your Google Drive online — all for
free. You can access the documents, spreadsheets, and presentations
you create from any computer, anywhere in the world. (There's even
some work you can do without an Internet connection!) This guide will
give you a quick overview of the many things that you can do with
Google Docs, Sheets, and Slides.
Google Docs
Google Docs is an online word processor that lets you create and format
text documents and collaborate with other people in real time. Here's
what you can do with Google Docs:
Vishal Jain
• Collaborate online in real time and chat with other collaborators —
right from inside the document
• View your document's revision history and roll back to any
previous version
• Download a Google document to your desktop as a Word,
OpenOffice, RTF, PDF, HTML or zip file
• Translate a document to a different language
• Email your documents to other people as attachments
Google Sheets
Google Sheets is an online spreadsheet app that lets you create and
format spreadsheets and simultaneously work with other people. Here's
what you can do with Google Sheets:
• Import and convert Excel, .csv, .txt and .ods formatted data to a
Google spreadsheet
• Export Excel, .csv, .txt and .ods formatted data, as well as PDF
and HTML files
• Use formula editing to perform calculations on your data, and use
formatting make it look the way you'd like
• Chat in real time with others who are editing your spreadsheet
• Create charts with your data
• Embed a spreadsheet — or individual sheets of your spreadsheet
— on your blog or website
Google Slides
Google Slides is an online presentations app that allows you to show off
your work in a visual way. Here's what you can do with Google Slides:
Vishal Jain
Create, name or delete a Google document
Create a Google document
To create a new document, go to your Drive, click the Create button,
and select Document.
A window with a new Google document will open, and you'll be able to
edit the document, share it with other people, and collaborate on it in
real-time. Google Docs saves your document automatically, and you can
always access it from your Drive.
Name a document
When you create a new document, Google Docs will name it Untitled by
default.
To choose a name other than Untitled, click the File menu, and select
Rename. From here you can choose and confirm your document's title.
You can also edit the name by clicking the title displayed at the top of
the page, and making your changes in the dialog that appears. Titles
can be up to 255 characters long.
Delete a document
Delete an item that you own from your Drive
Vishal Jain
To create a new document, go to your Drive, click the red Create button,
and select Document from the drop-down menu.
As soon as you name the document or start typing, Google Docs will
automatically save your work every few seconds. At the top of the
document, you'll see text that indicates when your document was last
saved. You can access your document at any time by opening your
Drive at http://drive.google.com.
Upload a document
You can upload existing documents to Google documents at any time.
When you're uploading, you can either keep your document in its original
file type or convert it to Google Docs format. Converting your document
to Google Docs format allows you to edit and collaborate online from any
computer.
• .html
• .txt
• .odt
• .rtf
• .doc and .docx
• .pdf
1. Click the Upload icon in the top left of your Documents List.
2. Click Files..., and select the document you'd like to upload.
3. Click Open.
4. Check the box next to 'Convert documents, presentations,
spreadsheets, and drawings to the corresponding Google Docs
format' if you'd like to be able to edit and collaborate on the
Vishal Jain
document online. Uploaded document files that are converted to
Google documents format can't be larger than 1 MB.
5. Click Start upload. The uploaded file will appear in your
Documents List.
Experiment No. 8
Objective:Installation and Configuration of Justcloud.
Theory:
Professional Cloud Storage from JustCloud is Simple, Fast and Secure.
Just Cloud will automatically backup the documents, photos, music and
videos stored on your computer, to the cloud so you are never without
files again.
Installation:
1. Download Software this link
Vishal Jain
http://www.justcloud.com/download/
Vishal Jain