2. Cloud Computing Service Layers
SaaS
(Software as a Service)
Cloud Application
PaaS
(Platform as a Service) Cloud Software Environment
Cloud Software Infrastructure
IaaS
(Infrastructure as a Service)
www.themegallery.com
3. Details
cooperation
CRM/ERP/HR
transaction Enterprise Application
Software as a Service
S middleware Web 2.0
a High Volume Java
Transactions
a P database Development tools
S a
a I Platform as a Service
S a
a Data Center
Servers network storage
S Fabric
Dynamic scaling
Infrastructure as a Service
4. IAAS
• Infrastructure as a Service is a provision model
in which an organization outsources the
equipment used to support operations, including
storage, hardware, servers and networking
components.
servers storage networking
5. Characteristics and components of IAAS
• Automation of administrative tasks
• Virtualization
• Dynamic scaling
• Desktop virtualization
• Policy-based services
• Internet connectivity
7. Applications Applications
… … …
One
…
Windows/Linux Windows/Linux
KVM / Xen / VMware Or
Windows/Linux
More
Physical Resources
Eucalyptus
(Used to Manage/Control a set of physical machines with virtual machines running in them)
8. Eucalyptus Introduction
• A software platform for the implementation of
private cloud computing on computer clusters.
• There is an open-core enterprise edition and an
open-source edition.
• Began as a research project in the field of high
performance computing (HPC) under the
direction of Professor Rich Wolski in the
Computer Science Department at the University
of California, Santa Barbara.
9. Eucalyptus Architecture
• Distributed System
– Components implemented as webservice
• Components run on top of existing resources
– Linux distribution agnostic
• Ubuntu, RHEL, CentOS, Debian, opens USE
– Hypervisor agnostic
• Xen, KVM, VMware
11. Eucalyptus Architecture
• CLC(Cloud Controller)
– User interface to interact with the cloud
• Standard SOAP API matching the Amazon EC2 API
• Query Interface
– Euca2ools and ElasticFox
– Talks with the Cluster Controllers(CC)
• Holds all information linking users to running instances
• Collection of available machines to be run
• View of the load of the entire system
12. Eucalyptus Architecture
• WS3(Walrus Storage Controller)
– Storing the machine images (MI) that can be
instantiated on the cloud
– Accessing and storing data (either from a running
instance or from anywhere on the web)
Note: Currently the machine on which the Cloud
Controller runs also hosts the Walrus Storage Controller
(WS3), this limitation will be removed in a forthcoming
version
13. Eucalyptus Architecture
• CC(Cluster Controller)
– Receive requests to allocate MI (machine images)
from the Cloud Controller
– Decides which Node Controller will run the Minst
(machine instance)
– Manage any virtual networks that the MInst run in
and routing traffic to and from them
– Runs the EBS Controller
• EBS(Elastic Block Storage Controller)
– Provides block-level network storage that can be
dynamically attached by VMs
14. Eucalyptus Architecture
• NC(Node Controller)
– Runs on the physical machines on which the
MI(machine image) will be instantiated
– When request to start a it will:
• 1. Verify the authenticity of the user request
• 2. Download the image from WS3
• 3. Create the requested virtual network interface
• 4. Start the instance of the machine image running as a
virtual machine (VM)
– Stopping a virtual machine corresponds to performing
the opposite operations
16. Deploy of Eucalyptus
Different eucalyptus packages should be install into
different controllers(CLC, CC, NC). Below is a typical
structure of a NC.
VMI (Virtual Applications Applications
Machine Instances)
… … …
Linux Linux
A Node Controller
Eucalyptus packages for NC
Hypervisor KVM / Xen
Host OS Linux
Physical Resources
17. Our Eucalyptus Cloud
We have two machines to deploy the Cloud. One is an IBM
Server with 16G memory, we use it as a Node Controller.
The other is a ordinary PC with 3G memory .
18. Our Eucalyptus Cloud
The Command
to show the
running
instances
EMI
EKI
ERI
Instance
Id
Internal External VM Type
IP IP
19. • EMI(Eucalyptus Machine Image), EKI(Eucalyptus
Kernel Image), ERI(Eucalyptus Ramdisk Image)
– To run an instance of a VM image, the image must be
associated with a qualified kernel and ramdisk image.
• Internal IP
– Private IP used to communicate between instances in the
same security group
• External IP
– Public IP connects to the instance and is subjected to the
security group rules
• VM Types
– The type of the running instances
20. Our Eucalyptus Cloud
We can manage and control
the cloud by provided web
interface.
URL:
http://10.214.10.196:8843.
From the web interface we
can configure many
attributes for the cloud.
e.g. There are five VM types
provided by eucalyptus. We
can manually configure the
size for them.
21. Comparison between enterprise
and open source
Eucalyptus Feature
Open Source Enterprise Edition
Comparison
Amazon AWS interface
Compatibility O O
Flexible Clustering and
Availability O O
Network Management,
security Groups , Traffic
Isolation
O O
Cloud Semantics and Self-
Service Capability O O
Bucket-Based Storage
Abstraction(S3-Compatible) O O
Xen and KVM Hypervisor
Supported O O
22. Eucalyptus Feature
Open Source Enterprise Edition
Comparison
VMWare Hypervisor Support X O
Virtual-Virtual Image
Conversion for VMWare X O
Microsoft Windows Guest
Support X O
Direct SAN Integration X O
Quota Management and
Accounting
X O
User and Group Access
Management X O
High-Performance MySQL
Database Backend X O