SlideShare una empresa de Scribd logo
1 de 176
Descargar para leer sin conexión
Openstack => Cloud computing
at your fingertips!

Luan Cestari
February 27 , 2014

1

http://slidesha.re/1gF0PEK
Please, let me ask ...
●

●

Is it a hype? What does it means?

●

2

Have you heard about Cloud Computing?
Are you using any cloud service?

http://slidesha.re/1gF0PEK
Do you know OpenStack?
●

●

●

3

Is the OpenStack an OS?
Why would I use instead of the machine in my
enterprise?
What is this Open Source thing and what is related to
this talking?

http://slidesha.re/1gF0PEK
But what is OpenStack
●

OpenStack is an open source project for
building a private or public
infrastructure-as-a-service (IaaS) cloud

●

OpenStack solution != Virtualization -> let's see why
●

●

4

Cloud!

But that doesn't explain what is the definition of cloud

http://slidesha.re/1gF0PEK
The defining the Cloud Computing: It must be ...
●

Scalable

●

Portable

●

On-demand

●

Resource Management

●

Measureable

From: National Institute of Standards and Technology (NIST)

5

http://slidesha.re/1gF0PEK
6

http://slidesha.re/1gF0PEK
Linux Powers The Cloud
8 out of 10 clouds
are built on Linux1

Amazon EC2

RackSpace

“Linux is twice as
popular as Windows on
Amazon Web Services.”2

“On the RackSpace
cloud, the split is even
starker: 75 %to 25 %,
again in favor of Linux.”2

1 Linux Adoption Trends 2012: A Survey of Enterprise End Users, Linux Foundation, January 18, 2012
2 Windows 8? It Won’t Win Microsoft’s Biggest Battle, Robert Mcmillan, Wired, October 25, 2012

7

http://slidesha.re/1gF0PEK
Virtualization to cloud infrastructure continuum
Virtual Infrastructure Management
Private
Distributed
Cloud
Virtualization

Server
Virtualization

Drivers

Consolidation
Reduce Capital Expense









Flexibility & Speed
Reduce Operational Expense
Automation
Less Downtime






Self-Serve Agility
Standardization
IT as a Business
Usage Metering

Hybrid
Cloud




Choice of CAPEX/OPEX model
Increased Flexibility (up and down)

Visibility

Optimization

Agility

Federation

Control

Automation

Self-Service

Brokering

Derived from Gartner Roadmap: From Virtualization to Cloud Computing (reference slide)

8

http://slidesha.re/1gF0PEK
9

http://slidesha.re/1gF0PEK
Cloud deployment models

Hybrid
Cloud
Private
Cloud

Privately owned
And managed with
Restricted access (but
Could be externally
hosted)

10

Interoperable
combination
of private and
public cloud.

Community
Cloud

http://slidesha.re/1gF0PEK

Public
Clouds

Service Provider
Owned and managed,
Accessed via the web,
Pay for what you use.
Types of Cloud
●

Saas (Software as a service)

●

PaaS (Platform as a service)

●

IaaS (Infrastructure as a service)

11

http://slidesha.re/1gF0PEK
Cloud Service Models

IaaS

PaaS

SaaS

APPLICATION
APPLICATION PLATFORM
(JBOSS, PHP, RUBY, ETC)
OPERATING SYSTEM
(RHEL)
VIRTUALIZATION
(RHEV)
HARDWARE
(x86)
STORAGE
(RHS)

12

Managed and
Controlled by
Customer (IT, Dev, or
User)
Managed by the Public
or Private Cloud
Offering

Increased Control
Reduced DIY
http://slidesha.re/1gF0PEK
A cloud provider view of shared responsibility for
security

Source: Cloud Security Alliance

13

http://slidesha.re/1gF0PEK

13
14

http://slidesha.re/1gF0PEK

14
Cloud types & deployment models
Hybrid
Private
Clouds

Public
Clouds
Community
Cloud

SaaS
Google Apps

Salesforce

Many more


PaaS

IaaS

OpenShift

Force.com

Azure


Amazon AWS

RackSpace

OpenStack

vCloud Director


Software-as-a-Service
(SaaS) (hosted apps)

Platform-as-a-Service (PaaS)
(dev platform, apps middleware)

Infrastructure-as-a-Service (IaaS)
(compute, storage, network)

15

http://slidesha.re/1gF0PEK

End-users
Developers
DevOps
IT Admins
Streamlining App Dev with PaaS
Physical
How to Build an App:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.

16

Have Idea
Get Budget
Submit hardware acquisition
request
Wait
Get Hardware
Rack and Stack Hardware
Install Operating System
Install Operating System
Patches/Fix-Packs
Create user Accounts
Deploy framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod servers (and buy
them if needed)
Push to Prod
Launch
Order more servers to meet
demand
Wait…
Deploy new servers
Etc.

Virtualized
How to Build an App:
1.
2.
3.
4.
5.

6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

Have Idea
Get Budget
Submit VM Request request
Wait
Deploy
framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod VMs
Push to Prod
Launch
Request More Prod VMs to
meet demand
Wait
Deploy app to new VMs
Etc.

With PaaS
How to Build an App:
1.
2.
3.
4.
5.
6.

Have Idea
Get Budget
Code
Test
Launch
Automatically Scale

“The use of Platform-as-a-Service technologies will
enable IT organizations to become more agile and
more responsive to the business needs.” –Gartner*

More info: www.openshift.com
http://slidesha.re/1gF0PEK

16
Don’t take taxonomies too literally
●

IaaS can blend into PaaS
●

●

PaaS can blend into SaaS
●

●

“Value-add” services like DynamoDB, Elastic
MapReduce
PaaS anchored to a SaaS environment

Taxonomy part of broader ecosystem
●

●

APIs/services

●

17

Hybrid cloud IaaS management (CloudForms)
Development tooling
http://slidesha.re/1gF0PEK
Back to OpenStack, its history...
●

2010 - Rackspace and Nasa joins forces
●
●

18

Rackspace's Cloud Files platform and NASA's Nebula
OpenStack Object Store (Swift) and OpenStack
Compute Nova

http://slidesha.re/1gF0PEK
Versions
Codename
K
Juno
Icehouse
Havana
Grizzly
Folsom
Essex
Diablo
Cactus
Bexar
Austin
19

Date
?
Oct 2014
Apr 17, 2014
Oct 17, 2013
Apr 4, 2013
Sep 27, 2012
Apr 5, 2012
Sep 22, 2011
Apr 15, 2011
Feb 3, 2011
Oct 21, 2010
http://slidesha.re/1gF0PEK
Overview simplified of OpenStack

20

http://slidesha.re/1gF0PEK
Little zoom in

21

http://slidesha.re/1gF0PEK
Little more

22

http://slidesha.re/1gF0PEK
Components
●
●

OpenStack Network Service (Quantum/Neutron) - Folsom

●

OpenStack Object Storage (Swift) - Austin

●

OpenStack Block Storage (Cinder) - Folsom

●

OpenStack Identity (Keystone) - Essex

●

OpenStack Image (Glance) - Bexar

●

OpenStack Dashboard (Horizon) - Essex

●

OpenStack Orchestration (Heat) - Havana

●

23

OpenStack Compute (Nova) - Austin

OpenStack Metering (Ceilometer) – Havana

http://slidesha.re/1gF0PEK
Incubated Components
●
●

OpenStack Bare Metal (Ironic)

●

OpenStack Queue Service (Marconi)

●

OpenStack Data Processing (Savannah)

●

TripleO/Tuskar

●

Oslo

●

TaskSystem-as-a-Service (Convection)

●

DNSaaS (Designate)

●

24

OpenStack Database Service (Trove)

Application catalog (Murano)

http://slidesha.re/1gF0PEK
More projects
●
●

DevStack

●

Tempest

●

Beaker

●

25

StackForger

...

http://slidesha.re/1gF0PEK
Supported Hypervisors
●

KVM

●

LXC (through libvirt)

●

QEMU

●

UML

●

VMWare vSphere

●

Xen

●

Hyper-V

●

Bare Metal

●

Docker

More: https://wiki.openstack.org/wiki/HypervisorSupportMatrix

26

http://slidesha.re/1gF0PEK
Supported Images
●
●

vhd

●

vmdk

●

iso

●

qcow2

●

vdi

●

aki

●

ari

●

27

raw

ami

http://slidesha.re/1gF0PEK
How does it look like

28

http://slidesha.re/1gF0PEK
How does it look like

29

http://slidesha.re/1gF0PEK
How does it look like

30

http://slidesha.re/1gF0PEK
How to install OpenStack, the easy way
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
sudo yum install -y openstack-packstack
packstack --allinone

31

http://slidesha.re/1gF0PEK
RED HAT LEADS THROUGH OPEN INNOVATION

32

http://slidesha.re/1gF0PEK
OpenStack Progression

●

●

●

●

●

●

Open source, communitydeveloped (upstream)
software
Founded by Rackspace
Hosting and NASA

●

●

●

Managed by the OpenStack
Foundation
Vibrant group of developers
collaborating on open source
cloud infrastructure
Software distributed under
the Apache 2.0 license
No certifications, no support

●

●

●

●

Latest OpenStack software,
packaged in a managed
open source community

●

●

Facilitated by Red Hat
Aimed at architects and
developers who want to
create, test, collaborate

●

Freely available, not for sale

●

Six-month release cadence
mirroring community

●

No certification, no support
Installs on Red Hat and
derivatives
●

DOC144908-20130711R4

Enterprise-hardened
OpenStack software
Delivered with an
enterprise life cycle
Six-month release cadence
offset from community
releases to allow testing
Aimed at long-term
production deployments
Certified hardware and
software through the Red
Hat OpenStack Cloud
Infrastructure Partner
Network
Supported by Red Hat

RED HAT ENTERPRISE LINUX – FOUNDATION FOR THE OPEN HYBRID CLOUD
PackStack Overview
●

Installer appropriate for smaller scale OpenStack
deployments.

●

Driven by asking questions or an “answer file”

●

Uses SSH and Puppet to set up all nodes

34

http://slidesha.re/1gF0PEK
Differences between versions?
Upstream

Midstream

Downstream

Source from GIT

Packages from Brew

Unit Tests

rdopkg

Job Builder/Runner

DevStack

Torpedo / Tempest

Tempest

Tempest

RDO Environments

RHOS Environments

SmokeStack

35

SmokeStack Trunk

RDO Release / Poodle

RHOS Release

http://slidesha.re/1gF0PEK
Differences between versions?
●

Upstream:
●
●

Detect rpm based install errors via smokestack

●
●

Contribute tempest tests upstream
Enterprise Linux devstack

Midstream:
●
●

Qualify RDO across supported environments

●
●

Detect packstack, foreman based install errors
Improve the feedback to development

Downstream:
●
●

36

Qualify RHOS across supported environments
Scale and Performance test
http://slidesha.re/1gF0PEK
RHEL OPENSTACK PLATFORM VALUE
Why Red Hat vs other community versions?
●

Enterprise-grade OpenStack version with ecosystem, lifecycle, &
support customers expect from Red Hat!

●

●

Based on RHEL and includes required fixes in both OpenStack and
RHEL

●

Enterprise hardened OpenStack code

●

Longer supported lifecycle (starts with 1 year for Folsom/Grizzly)
●

●

●

37

Bug fixes, security errata, selected backports, etc.

Certified ecosystem (Red Hat Certified OpenStack Partner Program and
Red Hat Enterprise Linux ecosystem)
Full support for RHEL and Windows workloads

http://slidesha.re/1gF0PEK
Red Hat Enterprise Linux Defines the Open
Hybrid Cloud

OPEN

CLOUD

open innovation,
open standards,
open APIs,
openness vs.
lockin

38

HYBRID
hybrid deployment
models (physical,
virtual, cloud)
hybrid
architectures
public-privatehybrid cloud
scenarios

Scalable
Portable
On-demand
Resource
Management
Measureable

http://slidesha.re/1gF0PEK
Red Hat Product Portfolio

39

http://slidesha.re/1gF0PEK
More info in the notes of the slides

40

http://slidesha.re/1gF0PEK
Questions?

41

http://slidesha.re/1gF0PEK
Extra: more about OpenStack Architecture and
how to scale

From Russell Bryant (Red Hat Summit)

42

http://slidesha.re/1gF0PEK
OpenStack Identity (Keystone)

Identity

Object
Storage

43

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Identity (Keystone)
●

Important Concepts
●
●

Users

●

Roles

●

Tokens

●

44

Tenants – Groups of Users

Services

http://slidesha.re/1gF0PEK
OpenStack Identity (Keystone)

ReST API

keystone
Token

45

Identity

Services

http://slidesha.re/1gF0PEK
OpenStack Identity (Keystone) Scaling

Load Balancer

keystone

46

keystone

...

http://slidesha.re/1gF0PEK

keystone
OpenStack Dashboard (Horizon)

Identity

Object
Storage

47

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Dashboard (Horizon)
●

Python WSGI Application

●

Django framework

●

Stateless client of
OpenStack APIs

httpd
horizon

OpenStack APIs

48

http://slidesha.re/1gF0PEK
OpenStack Dashboard (Horizon) Scaling

Load Balancer

httpd
horizon

Session Storage

49

httpd
horizon

...

httpd
horizon

OpenStack APIs

http://slidesha.re/1gF0PEK
OpenStack Orchestration (Heat)

Identity

Object
Storage

50

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Orchestration (Heat)
●

Consumes all other OpenStack APIs

●

Important concept: template defined stacks

51

http://slidesha.re/1gF0PEK
OpenStack Orchestration (Heat)

ReST API / CFN API
heat-api

AMQP

heat-engine

OpenStack APIs
DB
52

http://slidesha.re/1gF0PEK
OpenStack Orchestration (Heat) Scaling
Load Balancer

heat-api

heat-api

...

heat-api

AMQP

heat-engine

heat-engine

...

heat-engine

OpenStack APIs

53

http://slidesha.re/1gF0PEK
OpenStack Metering (Ceilometer)

Identity

Object
Storage

54

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Metering (Ceilometer)
●

The foundation of billing or charge back systems

●

Concepts
●
●

Compute Pollsters

●

Central Pollster

●

Notifications

●

55

Meters

Collectors

http://slidesha.re/1gF0PEK
OpenStack Metering (Ceilometer)

Credit: Doug Hellman
http://stevedore.readthedocs.org/en/latest/essays/pycon2013.html#requirements-for-ceilometer
56

http://slidesha.re/1gF0PEK
OpenStack Metering (Ceilometer)

57

http://slidesha.re/1gF0PEK
OpenStack Object Storage (Swift)

Identity

Object
Storage

58

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Object Storage (Swift)
●

Concepts
●
●

Containers – Organize Your Data

●

Objects – Your Data

●

59

Accounts

Ring – Internal Data Structure

http://slidesha.re/1gF0PEK
OpenStack Object Storage (Swift)

API
Storage

Credit: Mark McLoughlin
60

http://slidesha.re/1gF0PEK
OpenStack Object Storage (Swift) Scaling

Load balancer

Proxy

Storage

61

Proxy

Storage

...

Proxy

...

http://slidesha.re/1gF0PEK

Storage
OpenStack Image Service (Glance)

Identity

Object
Storage

62

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Image Service (Glance)
●

Concepts
●
●

Metadata

●

63

Images
Storage Backends

http://slidesha.re/1gF0PEK
OpenStack Image Service (Glance)

ReST API
glance-api

ReS
T

Image
Storage

64

glance-registry

DB

http://slidesha.re/1gF0PEK
OpenStack Image Service (Glance) Scaling
Load Balancer

glance-api

glance-api

...

glance-api

glance-registry

Image
Storage

65

DB

http://slidesha.re/1gF0PEK

* Scales horizontally the
same way as the API
OpenStack Block Storage (Cinder)

Identity

Object
Storage

66

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Block Storage (Cinder)
●

Concepts
●
●

Snapshots

●

67

Volumes
Storage Backends

http://slidesha.re/1gF0PEK
OpenStack Block Storage (Cinder)

ReST API
cinder-api

cinder-scheduler

AMQP

cinder-volume

DB

68

http://slidesha.re/1gF0PEK
OpenStack Block Storage (Cinder) Scaling

Load Balancer

cinder-api

cinder-api

cinder-scheduler
cinder-scheduler
cinder-scheduler

...

AMQP

cinder-volume
cinder-volume
cinder-volume
69

http://slidesha.re/1gF0PEK

cinder-api
OpenStack Networking (...)

Identity

Object
Storage

70

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Networking (...)
●

Concepts
●
●

Routers

●

Subnets

●

Ports

●

71

Networks

Vendor plugins

http://slidesha.re/1gF0PEK
OpenStack Networking (...)

72

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova)

Identity

Object
Storage

73

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Compute (Nova)
●

Concepts
●
●

74

Flavors / Instance Types

●

●

Instances / Servers
Virt drivers

OpenStack API and EC2 API

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova)
ReST API
nova-api
nova-scheduler
AMQP
nova-conductor
nova-compute
Libvirt+KVM
DB

75

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova) Scaling (Step 1)
Load Balancer

nova-api
nova-scheduler
AMQP
nova-conductor

nova-compute

DB

76

Libvirt+KVM
Libvirt+KVM
Libvirt+KVM

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova) Scaling (Step 2)
API Cell

AMQP

Compute Cell

77

Compute Cell

...

Compute Cell

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova) Scaling (Step 2)

Compute Cell
nova-cells
nova-scheduler
AMQP
nova-conductor

nova-compute

DB

78

Libvirt+KVM
Libvirt+KVM
Libvirt+KVM

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova) Scaling (Step 2)
ReST API

API Cell

Load Balancer
nova-api

AMQP

nova-cells
DB

79

http://slidesha.re/1gF0PEK
OpenStack Compute (Nova) Scaling (Step 2)
API Cell

AMQP

Compute Cell

80

Compute Cell

...

Compute Cell

http://slidesha.re/1gF0PEK
OpenStack Components

Identity

Object
Storage

81

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
Boot a Server – Step 1

1

Identity

Object
Storage

82

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
Boot a Server – Step 2

1

Identity

Object
Storage

83

2

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Compute (Nova)
ReST API
nova-api
nova-scheduler
AMQP
nova-conductor
nova-compute
Libvirt+KVM
DB

84

http://slidesha.re/1gF0PEK
Boot a Server – Step 3

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

85

Image
Service

Block
Storage

Networking

http://slidesha.re/1gF0PEK

Compute
Boot a Server – Step 4

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

86

Image
Service

Block
Storage

4
Networking

http://slidesha.re/1gF0PEK

Compute
Boot a Server – Step 5

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

87

Image
Service

Block
Storage

4
Networking

http://slidesha.re/1gF0PEK

Compute
5
Boot a Server – Step 6

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

88

Image
Service

Block
Storage

4

6
Networking

http://slidesha.re/1gF0PEK

Compute
5
Openstack => Cloud computing
at your fingertips!

Luan Cestari
February 27 , 2014

1

http://slidesha.re/1gF0PEK
Please, let me ask ...
●

Have you heard about Cloud Computing?

●

Is it a hype? What does it means?

●

Are you using any cloud service?

2

Scalable
Portable
On-demand
Resource Management
Measureable

http://slidesha.re/1gF0PEK
Do you know OpenStack?
●

●

●

3

Is the OpenStack an OS?
Why would I use instead of the machine in my
enterprise?
What is this Open Source thing and what is related to
this talking?

http://slidesha.re/1gF0PEK

3
But what is OpenStack
●

OpenStack is an open source project for
building a private or public
infrastructure-as-a-service (IaaS) cloud

●

OpenStack solution != Virtualization -> let's see why
●

●

4

Cloud!

But that doesn't explain what is the definition of cloud

http://slidesha.re/1gF0PEK

The difference in http://www.slideshare.net/CAinc/cloud-expo-session-fromvirtualization-to-cloud-computing-building-an-effective-pragmatic-reliable-cloud
The defining the Cloud Computing: It must be ...
●

Scalable

●

Portable

●

On-demand

●

Resource Management

●

Measureable

From: National Institute of Standards and Technology (NIST)

5

http://slidesha.re/1gF0PEK

5
6

http://slidesha.re/1gF0PEK

Open standards: Advanced Research Projects
Agency Network (ARPANET) collaborative
process(in 60s) led to the birth of the Internet (in
1969)
GNU project, 1983, Richard Stallman
The prior slide described the CIO dilemma being
required to do more with less. This will not happen
the old fashion way and a new more disruptive
approach is needed.
1. more use of OSS
2. new service delivery models – cloud
3. new business models – pay as you go and
subscription based
Most clouds are build on OSS and 80% of the
workloads run on Linux.
Open Standards are essential to ensure portability
Linux Powers The Cloud
8 out of 10 clouds
are built on Linux1

Amazon EC2

RackSpace

“Linux is twice as
popular as Windows on
Amazon Web Services.”2

“On the RackSpace
cloud, the split is even
starker: 75 %to 25 %,
again in favor of Linux.”2

1 Linux Adoption Trends 2012: A Survey of Enterprise End Users, Linux Foundation, January 18, 2012
2 Windows 8? It Won’t Win Microsoft’s Biggest Battle, Robert Mcmillan, Wired, October 25, 2012

7

http://slidesha.re/1gF0PEK

Today, Linux is the primary platform for a majority
of cloud-based applications. As a case in point, an
October 2012 Wired magazine article cited a
report by Newvem which illustrated Linux's
dominant position, particularly pertaining to
Amazon Web Services:
At Wired’s request, Newvem — a company that
sells management services to Amazon cloud
customers — took at look at about 41,000 cloud
machines run by several hundred customers. Its
conclusion: Linux is twice as popular as Windows
on Amazon Web Services. It was running on 67
percent of machines, compared to Windows’ 33
percent.

7
Virtualization to cloud infrastructure continuum
Virtual Infrastructure Management
Private
Cloud

Server
Virtualization

Drivers

Consolidation
Reduce Capital Expense




Hybrid
Cloud

Distributed
Virtualization






Flexibility & Speed
Reduce Operational Expense
Automation
Less Downtime






Self-Serve Agility
Standardization
IT as a Business
Usage Metering




Choice of CAPEX/OPEX model
Increased Flexibility (up and down)

Visibility

Optimization

Agility

Federation

Control

Automation

Self-Service

Brokering

Derived from Gartner Roadmap: From Virtualization to Cloud Computing (reference slide)

8

http://slidesha.re/1gF0PEK

This slide is derived from the Gartner
roadmap “From Virtualization to Cloud
Computing”, and indicates the various
levels of infrastructure enablement that
IT organizations are engaging in today.
Organizations often field more than one
virtual / cloud project may be doing IT
transformation to IaaS while at the same
time running Cloud program initiatives.
Focus has been on deriving economies
and flexibility at one level via server
virtualization and consolidation. Highly
distributed and sprawled virtual
environments that tend to result form
those initiatives require management
optimization and automation to be
efffectivley controlled.
Infrastructure as a Service (IaaS)
capabilities are then engaged to support
agile, self-service access to IT systems
9

http://slidesha.re/1gF0PEK

IT must change and be able to address the questions
of the prior slide. If IT is not able to adapt and change
the business as their customer will go around IT and
buy services directly from public cloud and SaaS
providers which cannot be in the interest of IT and
the corporation overall because shadow IT will
sprawl
IT needs to provide the benefits of a public could
service by eliminating the potential negative sides of
public service like security concerns, governance,
regulatory restrictions, ...
Cloud deployment models

Hybrid
Cloud
Private
Cloud

Privately owned
And managed with
Restricted access (but
Could be externally
hosted)

10

Interoperable
combination
of private and
public cloud.

Community
Cloud

http://slidesha.re/1gF0PEK

Public
Clouds

Service Provider
Owned and managed,
Accessed via the web,
Pay for what you use.
Types of Cloud
●

Saas (Software as a service)

●

PaaS (Platform as a service)

●

IaaS (Infrastructure as a service)

11

http://slidesha.re/1gF0PEK
Cloud Service Models

IaaS

PaaS

SaaS

APPLICATION
APPLICATION PLATFORM
(JBOSS, PHP, RUBY, ETC)
OPERATING SYSTEM
(RHEL)
VIRTUALIZATION
(RHEV)
HARDWARE
(x86)
STORAGE
(RHS)

12

●

Managed and
Controlled by
Customer (IT, Dev, or
User)
Managed by the Public
or Private Cloud
Offering

Increased Control
Reduced DIY
http://slidesha.re/1gF0PEK

To set the proper context for our discussion, let’s take a look at
the three best known cloud service delivery models,
IaaS or Infrastructure as a Service,
PaaS or Platform as a Service,
And SaaS or Software as a Service.
With each of these some portion of the technology stack is
managed and controlled by the Cloud offering (whether public
or private), and the rest is responsibility of the customer of the
Cloud offering. They must manage and maintain the portion
of the stack that is not managed by the Cloud offering. The
benefit is that the customer can also CONTROL the design of
this portion of the stack.
For Infrastructure-as-a-Service, or IaaS, the customer must
manage and control everything from the Operating System up.
They must install the OS, the middleware, and the application
code. This ultimately becomes only a small reduction in effort
compared to bare-metal server management.
A cloud provider view of shared responsibility for
security

Source: Cloud Security Alliance

13

http://slidesha.re/1gF0PEK

13
14

http://slidesha.re/1gF0PEK

14
Cloud types & deployment models
Hybrid
Private
Clouds

Public
Clouds
Community
Cloud

SaaS
Google Apps
Salesforce

Many more



PaaS

IaaS

OpenShift
Force.com

Azure


Amazon AWS

RackSpace

OpenStack

vCloud Director




Software-as-a-Service
(SaaS) (hosted apps)

Platform-as-a-Service (PaaS)
(dev platform, apps middleware)

Infrastructure-as-a-Service (IaaS)
(compute, storage, network)

15

http://slidesha.re/1gF0PEK

End-users
Developers
DevOps
IT Admins
Streamlining App Dev with PaaS
Physical
How to Build an App:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.

Have Idea
Get Budget
Submit hardware acquisition
request
Wait
Get Hardware
Rack and Stack Hardware
Install Operating System
Install Operating System
Patches/Fix-Packs
Create user Accounts
Deploy framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod servers (and buy
them if needed)
Push to Prod
Launch
Order more servers to meet
demand
Wait…
Deploy new servers
Etc.

16

Virtualized
How to Build an App:
1.
2.
3.
4.
5.

6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

Have Idea
Get Budget
Submit VM Request request
Wait
Deploy
framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod VMs
Push to Prod
Launch
Request More Prod VMs to
meet demand
Wait
Deploy app to new VMs
Etc.

With PaaS
How to Build an App:
1.
2.
3.
4.
5.
6.

Have Idea
Get Budget
Code
Test
Launch
Automatically Scale

“The use of Platform-as-a-Service technologies will
enable IT organizations to become more agile and
more responsive to the business needs.” –Gartner*

More info: www.openshift.com
http://slidesha.re/1gF0PEK

16

PaaS allows us to make this leap from a Craftwork methodology
to an Assembly Line methodology. PaaS both streamlines and
standardizes the Application Development process.
Instead of the unique, one-off processes that each application
project used to go through, Utilization of a PaaS allows the
deployment of a standardized methodology with a few distinct
repeatable steps.
Once the idea and budget are secured, then the App Dev team
just simply starts working with the PaaS to code, test, and
launch their application. PaaS provides the platform
environment that allows Developers to start coding immediately.
Server deployment, configuration and administration is all
largely automated. This reduces the burden on Operations and
reduces the delays that impact Development.
And many industry analysts agree that the utilization of PaaS is
going to be the key to allowing IT to be the demands of the
business.
<next slide>
Don’t take taxonomies too literally
●

IaaS can blend into PaaS
●

●

PaaS can blend into SaaS
●

●

“Value-add” services like DynamoDB, Elastic
MapReduce
PaaS anchored to a SaaS environment

Taxonomy part of broader ecosystem
●

●

APIs/services

●

17

Hybrid cloud IaaS management (CloudForms)
Development tooling
http://slidesha.re/1gF0PEK
Back to OpenStack, its history...
●

2010 - Rackspace and Nasa joins forces
●
●

18

Rackspace's Cloud Files platform and NASA's Nebula
OpenStack Object Store (Swift) and OpenStack
Compute Nova

http://slidesha.re/1gF0PEK
Versions
Codename
K
Juno
Icehouse
Havana
Grizzly
Folsom
Essex
Diablo
Cactus
Bexar
Austin
19

Date
?
Oct 2014
Apr 17, 2014
Oct 17, 2013
Apr 4, 2013
Sep 27, 2012
Apr 5, 2012
Sep 22, 2011
Apr 15, 2011
Feb 3, 2011
Oct 21, 2010
http://slidesha.re/1gF0PEK
Overview simplified of OpenStack

20

http://slidesha.re/1gF0PEK
Little zoom in

21

http://slidesha.re/1gF0PEK
Little more

22

http://slidesha.re/1gF0PEK
Components
●
●

OpenStack Network Service (Quantum/Neutron) - Folsom

●

OpenStack Object Storage (Swift) - Austin

●

OpenStack Block Storage (Cinder) - Folsom

●

OpenStack Identity (Keystone) - Essex

●

OpenStack Image (Glance) - Bexar

●

OpenStack Dashboard (Horizon) - Essex

●

OpenStack Orchestration (Heat) - Havana

●

23

OpenStack Compute (Nova) - Austin

OpenStack Metering (Ceilometer) – Havana

http://slidesha.re/1gF0PEK
Incubated Components
●
●

OpenStack Bare Metal (Ironic)

●

OpenStack Queue Service (Marconi)

●

OpenStack Data Processing (Savannah)

●

TripleO/Tuskar

●

Oslo

●

TaskSystem-as-a-Service (Convection)

●

DNSaaS (Designate)

●

24

OpenStack Database Service (Trove)

Application catalog (Murano)

http://slidesha.re/1gF0PEK
More projects
●
●

DevStack

●

Tempest

●

Beaker

●

25

StackForger

...

http://slidesha.re/1gF0PEK
Supported Hypervisors
●

KVM

●

LXC (through libvirt)

●

QEMU

●

UML

●

VMWare vSphere

●

Xen

●

Hyper-V

●

Bare Metal

●

Docker

More: https://wiki.openstack.org/wiki/HypervisorSupportMatrix

26

http://slidesha.re/1gF0PEK

KVM - Kernel-based Virtual Machine. The virtual disk
formats that it supports is inherited from QEMU since
it uses a modified QEMU program to launch the
virtual machine. The supported formats include raw
images, the qcow2, and VMware formats.
LXC - Linux Containers (through libvirt), use to run
Linux-based virtual machines.
QEMU - Quick EMUlator, generally only used for
development purposes.
UML - User Mode Linux, generally only used for
development purposes.
VMWare vSphere 4.1 update 1 and newer, runs
VMWare-based Linux and Windows images through
a connection with a vCenter server or directly with an
Supported Images
●
●

vhd

●

vmdk

●

iso

●

qcow2

●

vdi

●

aki

●

ari

●

27

raw

ami

http://slidesha.re/1gF0PEK

KVM - Kernel-based Virtual Machine. The virtual disk
formats that it supports is inherited from QEMU since
it uses a modified QEMU program to launch the
virtual machine. The supported formats include raw
images, the qcow2, and VMware formats.
LXC - Linux Containers (through libvirt), use to run
Linux-based virtual machines.
QEMU - Quick EMUlator, generally only used for
development purposes.
UML - User Mode Linux, generally only used for
development purposes.
VMWare vSphere 4.1 update 1 and newer, runs
VMWare-based Linux and Windows images through
a connection with a vCenter server or directly with an
How does it look like

28

http://slidesha.re/1gF0PEK

Log in, using your account from keystone
How does it look like

29

http://slidesha.re/1gF0PEK

Create an instance
Give it a name
Set parameters (CPUs, RAM, Disk, ...)
Shows you how your request stacks up against your
available quota
How does it look like

30

http://slidesha.re/1gF0PEK

Manage existing instances
Networking Parameters
VNC Console
Manage VM lifecycle (such as reboot and Terminate)
How to install OpenStack, the easy way
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
sudo yum install -y openstack-packstack
packstack --allinone

31

http://slidesha.re/1gF0PEK
RED HAT LEADS THROUGH OPEN INNOVATION

32

Gerry

http://slidesha.re/1gF0PEK
OpenStack Progression

●

●

●

●

●

●

Open source, communitydeveloped (upstream)
software
Founded by Rackspace
Hosting and NASA

●

●

●

Managed by the OpenStack
Foundation
Vibrant group of developers
collaborating on open source
cloud infrastructure
Software distributed under
the Apache 2.0 license
No certifications, no support

●

●

●

●

Latest OpenStack software,
packaged in a managed
open source community

●

●

Facilitated by Red Hat
Aimed at architects and
developers who want to
create, test, collaborate

●

Freely available, not for sale

●

Six-month release cadence
mirroring community

●

No certification, no support
Installs on Red Hat and
derivatives
●

DOC144908-20130711R4

Chuck

Enterprise-hardened
OpenStack software
Delivered with an
enterprise life cycle
Six-month release cadence
offset from community
releases to allow testing
Aimed at long-term
production deployments
Certified hardware and
software through the Red
Hat OpenStack Cloud
Infrastructure Partner
Network
Supported by Red Hat

RED HAT ENTERPRISE LINUX – FOUNDATION FOR THE OPEN HYBRID CLOUD
PackStack Overview
●

Installer appropriate for smaller scale OpenStack
deployments.

●

Driven by asking questions or an “answer file”

●

Uses SSH and Puppet to set up all nodes

34

http://slidesha.re/1gF0PEK
Differences between versions?
Upstream

Midstream

Downstream

Source from GIT

Packages from Brew

Unit Tests

rdopkg

Job Builder/Runner

DevStack

Torpedo / Tempest

Tempest

Tempest

RDO Environments

RHOS Environments

SmokeStack

35

SmokeStack Trunk

RDO Release / Poodle

RHOS Release

http://slidesha.re/1gF0PEK

35
Differences between versions?
●

Upstream:
●
●

Detect rpm based install errors via smokestack

●
●

Contribute tempest tests upstream
Enterprise Linux devstack

Midstream:
●
●

Qualify RDO across supported environments

●
●

Detect packstack, foreman based install errors
Improve the feedback to development

Downstream:
●
●

36

Qualify RHOS across supported environments
Scale and Performance test
http://slidesha.re/1gF0PEK

36
●

●

●

●
●
●
●

●

In many ways, the RHOS and RHEL value propositions are identical with Red Hat
OpenStack (RHOS) being to OpenStack what Red Hat Enterprise Linux (RHEL) is to
Linux.
Red Hat has the proven capability of preparing and delivering an open source
distribution for enterprise use and providing a stable, secure, and common platform
that customers, ISV partners, IHV partners, and service provider partners can use to
test and certify their software and hardware solutions.
Operational competency necessary for maintain a stable platform with backported
bugfixes and features. World-class processes and procedures required for the
rigorous testing and QA necessary for enterprise-class products
Worldwide enterprise class support service with consulting and training services
Certified partner program
Guest certifications – include Microsoft Windows (SVVP)
Hardware certifications – broadest list of certified server, storage and networking
platforms
Leadership and influence of the upstream OpenStack product development process
with the ability and motivation to act as customer advocate with upstream community
Red Hat Enterprise Linux Defines the Open
Hybrid Cloud

OPEN

CLOUD

open innovation,
open standards,
open APIs,
openness vs.
lockin

38

HYBRID
hybrid deployment
models (physical,
virtual, cloud)
hybrid
architectures
public-privatehybrid cloud
scenarios

Scalable
Portable
On-demand
Resource
Management
Measureable

http://slidesha.re/1gF0PEK
Red Hat Product Portfolio

39

http://slidesha.re/1gF0PEK
More info in the notes of the slides

40

●
●
●

http://slidesha.re/1gF0PEK

Upstream CI http://www.youtube.com/watch?
v=v0IWQP_m_38
http://ci.openstack.org/devstack-gate.html
http://status.openstack.org/zuul
https://smokestack.openstack.org/

http://stackalytics.com/
Name:
https://wiki.openstack.org/wiki/Release_Naming
Stat:
http://activity.openstack.org/dash/browser/
http://stackalytics.com/
http://www.ohloh.net/p/openstack
https://access.redhat.com/site/documentation/enUS/Red_Hat_OpenStack/2/html/Getting_Started_Gui
de/ch01.html
Questions?

41

http://slidesha.re/1gF0PEK
Extra: more about OpenStack Architecture and
how to scale

From Russell Bryant (Red Hat Summit)

42

http://slidesha.re/1gF0PEK
OpenStack Identity (Keystone)

Identity

Object
Storage

43

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Mention code names, each project has official and
code name
Code names shorter, used in code, used in
conversation, mixed usage in docs (talk about
Identity, run the keystone command)
OpenStack Identity (Keystone)
●

Important Concepts
●

Tenants – Groups of Users

●

Users

●

Roles

●

Tokens

●

Services

44

http://slidesha.re/1gF0PEK

Tenants – Groups of users (could be a team, a whole
company, whatever you want), share resources
Users - ... users
Roles - admin or not is all it's used for so far
Tokens – auth to get a token. Token allows access to
all other OpenStack APIs.
OpenStack Identity (Keystone)

ReST API

keystone
Token

45

Identity

Services

http://slidesha.re/1gF0PEK

Presents a REST API (most services do)
Separate backends for tokens, identity, and services
Tokens – db, memcache
Identity – db, LDAP
Services – db, flat file backed
OpenStack Identity (Keystone) Scaling

Load Balancer

keystone

46

keystone

...

keystone

http://slidesha.re/1gF0PEK

Horizontal Scaling with a load balancer
This pattern will be seen all over OpenStack.
HAProxy is a software load balancer that we support.
All services use the same storage backend (if
MySQL, use strategies to scale MySQL)
OpenStack Dashboard (Horizon)

Identity

Object
Storage

47

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Web Dashboard – self-service UI for creating and
managing your own compute, networking, and
storage resources
Start off by showing some of the screens
OpenStack Dashboard (Horizon)
●

Python WSGI Application

●

Django framework

●

Stateless client of
OpenStack APIs

httpd
horizon

OpenStack APIs

48

http://slidesha.re/1gF0PEK
OpenStack Dashboard (Horizon) Scaling

Load Balancer

httpd
horizon

httpd
horizon

httpd
horizon

OpenStack APIs

Session Storage

49

...

http://slidesha.re/1gF0PEK

Horizontally scale out httpd w/ a load balancer
All horizon instances use the same OpenStack APIs
What's different: Session state shared via Django's
session engine, so whichever backends supported
there
default is local cache
others are memcached, db, db+caching, signed
cookies
OpenStack Orchestration (Heat)

Identity

Object
Storage

50

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Another clever code name - “Heat keeps the clouds
up”
OpenStack Orchestration (Heat)
●

Consumes all other OpenStack APIs

●

Important concept: template defined stacks

51

http://slidesha.re/1gF0PEK

Why Heat is awesome: Template defines your
application in terms of all of the resources needed
(instances, networks, database, load balancer)
Version your deployment like your software
Repeatable complex deployments that are fully
automated
AWS Cloudformation template compatible, but with
added OpenStack resources
AWS Cloudformation API
Also has an OpenStack API, native template syntax
in the works
Implements HA, auto scaling, was shown in keynote
this AM
OpenStack Orchestration (Heat)

ReST API / CFN API
heat-api

AMQP

heat-engine

OpenStack APIs
DB
52

http://slidesha.re/1gF0PEK

Heat-api – serves up the ReST API and/or CFN API
First time AMQP comes up. Explain it. Advanced
Message Queueing Protocol. Scalable messaging
between applications. We use Qpid.
Api talks to engine via AMQP
Engine does the real work of setting up the stack.
Makes many API calls to other OpenStack services
to set up all of the resources defined in the template
More about AMQP
http://docs.openstack.org/developer/nova/devref/rpc.
html
OpenStack Orchestration (Heat) Scaling
Load Balancer

heat-api

heat-api

...

heat-api

AMQP

heat-engine

heat-engine

...

heat-engine

OpenStack APIs

53

http://slidesha.re/1gF0PEK

Horizontal scaling like others
What's different: AMQP distribution, db per heatengine
OpenStack Metering (Ceilometer)

Identity

Object
Storage

54

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Metering (Ceilometer)
●

The foundation of billing or charge back systems

●

Concepts
●
●

Compute Pollsters

●

Central Pollster

●

Notifications

●

55

Meters

Collectors

http://slidesha.re/1gF0PEK

Meters – any type of usage data, transformed into
billable items by your own system
How much of a thing, how long, whatever makes
sense (CPU hours, bandwidth)
Notifications – Most projects emit usage notifications
via AMQP
Compute pollsters – poll for other data on compute
nodes
Central pollster – plug point, poll for data from
elsewhere
Collectors – collect meters from all of these places
and store it (in a db, mongodb, mysql/postgres)
OpenStack Metering (Ceilometer)

Credit: Doug Hellman
http://stevedore.readthedocs.org/en/latest/essays/pycon2013.html#requirements-for-ceilometer
56

http://slidesha.re/1gF0PEK

Really nice conceptual architecture diagram
OpenStack Metering (Ceilometer)

57

http://slidesha.re/1gF0PEK

Another view of the architecture, this one showing
actual services that run, including the API service
A few services funneling meters to the collector
Both collector and API access the backend store
Talk about scaling from this slide:
Horizontal scaling of API, compute pollsters, collector
OpenStack Object Storage (Swift)

Identity

Object
Storage

58

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Object Storage (Swift)
●

Concepts
●
●

Containers – Organize Your Data

●

Objects – Your Data

●

59

Accounts

Ring – Internal Data Structure

http://slidesha.re/1gF0PEK

Object Storage ... store and retrieve blobs of data
Note that swift manages replicas of data across
multiple storage nodes
Ring internal, basically a distributed hash table, but
exposed to you as an admin. You tell swift info about
your deployment so it can build the ring
OpenStack Object Storage (Swift)

API
Storage

Credit: Mark McLoughlin
60

http://slidesha.re/1gF0PEK

Basically two node types, API nodes and storage
nodes
Storage nodes hold a subset of data, one of the
replicas of it
How does scaling work with these 2 node types?
OpenStack Object Storage (Swift) Scaling

Load balancer

Proxy

Storage

61

Proxy

Storage

...

Proxy

...

Storage

http://slidesha.re/1gF0PEK

Horizontal scaling like the rest
What's different here is the storage nodes: can run
as many as you need, the ring is generated to
account for added/removed nodes, rebalancing done
as needed
OpenStack Image Service (Glance)

Identity

Object
Storage

62

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Image Service (Glance)
●

Concepts
●
●

Metadata

●

63

Images
Storage Backends

http://slidesha.re/1gF0PEK

Registry for Images – disk images for creating VMs
Example metadata:
- name of the image
- size
- access control (public or private?)
- hardware info, hw_vif_driver=e1000 vs virtio
Storage backends
- filesystem backed (local, or glusterfs)
- Swift
OpenStack Image Service (Glance)

ReST API
glance-api

ReS
T

Image
Storage

64

glance-registry

DB

http://slidesha.re/1gF0PEK
OpenStack Image Service (Glance) Scaling
Load Balancer

glance-api

glance-api

...

glance-api

glance-registry

Image
Storage

65

* Scales horizontally the
same way as the API

DB

http://slidesha.re/1gF0PEK

Horizontal scaling of the api as usual
All accessing the same backend image storage
Glance-registry simplified for the diagram, but can
horizontally scale with a load balancer as well
OpenStack Block Storage (Cinder)

Identity

Object
Storage

66

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

Compute
OpenStack Block Storage (Cinder)
●

Concepts
●
●

Snapshots

●

67

Volumes
Storage Backends

http://slidesha.re/1gF0PEK

Volumes can be hotplugged to running Vms, but
that's handled by the compute service
Storage backends
- LVM based storage the default, iSCSI
- Various storage vendors' appliances, iSCSI
- NFS, file backed
- GlusterFS, file backed
OpenStack Block Storage (Cinder)

ReST API
cinder-api

cinder-scheduler

AMQP

cinder-volume

DB

68

http://slidesha.re/1gF0PEK

ReST API for external, AMQP internal, as seen
before
Scheduler for placement logic
Volume servers for managing storage
OpenStack Block Storage (Cinder) Scaling

Load Balancer

cinder-api

cinder-api

cinder-scheduler
cinder-scheduler
cinder-scheduler

...

cinder-api

AMQP

cinder-volume
cinder-volume
cinder-volume
69

http://slidesha.re/1gF0PEK

Horizontal scaling using patterns seen before
OpenStack Networking (...)

Identity

Object
Storage

70

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Plugin is networking tech specific, Not all have
agents
Horizontal Scaling of the API
L2 agents – for some, not all plugins
DHCP agents – IP address management, networks
scheduled to DHCP agents
L3 agents – can create routers to connect multiple
networks, gateway to external networks, floating IP
support, security groups, scale by scheduling routers
New stuff happening: LbaaS and VPNaaS
Scale: horizontal API, L2 agents run on all nodes,
can run multiple DHCP agents and L3 agents
OpenStack Networking (...)
●

Concepts
●
●

Routers

●

Subnets

●

Ports

●

71

Networks

Vendor plugins

http://slidesha.re/1gF0PEK

Network. An isolated virtual layer-2 domain. Virtual
networks for your Vms, or provider networks that
map to physical networks in your data center
Routers – Connectivity to external networks, connect
multiple virtual networks together
Subnet. An IP address block. IPs assigned to ports.
Port. A virtual, or logical, switch port on a specified
network. Instances get attached to these.
Like Cinder, Quantum has lots of plugins for various
vendors' networking technologies
The default open source stuff: linux bridges,
Openvswitch
OpenStack Networking (...)

72

http://slidesha.re/1gF0PEK

Network. An isolated virtual layer-2 domain. Virtual
networks for your Vms, or provider networks that
map to physical networks in your data center
Routers – Connectivity to external networks, connect
multiple virtual networks together
Subnet. An IP address block. IPs assigned to ports.
Port. A virtual, or logical, switch port on a specified
network. Instances get attached to these.
Like Cinder, Quantum has lots of plugins for various
vendors' networking technologies
The default open source stuff: linux bridges,
Openvswitch
OpenStack Compute (Nova)

Identity

Object
Storage

73

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

http://slidesha.re/1gF0PEK

My favorite because I'm biased

Compute
OpenStack Compute (Nova)
●

Concepts
●
●

Flavors / Instance Types

●

●

Instances / Servers
Virt drivers

OpenStack API and EC2 API

74

http://slidesha.re/1gF0PEK

Instances – Vms
Flavors – resources (CPUs, RAM, disk)
Virt drivers – choice of hypervisor, KVM most
popular, even supports bare metal provisioning!
Native OpenStack ReST API
EC2 API
OpenStack Compute (Nova)
ReST API
nova-api
nova-scheduler
AMQP
nova-conductor
nova-compute
Libvirt+KVM
DB

75

http://slidesha.re/1gF0PEK

Looks very similar to Cinder, (because Cinder came
from Nova)
Api, scheduler, compute for managing hypervisor
nodes
What's different: nova-conductor
For security reasons, want to isolate compute nodes
as much as possible, so no direct db access
OpenStack Compute (Nova) Scaling (Step 1)
Load Balancer

nova-api
nova-scheduler
nova-conductor

AMQP

nova-compute

DB

76

Libvirt+KVM
Libvirt+KVM
Libvirt+KVM

http://slidesha.re/1gF0PEK

This works ... to a point (can still support many
thousands of nodes)
DB and message broker become a pain point
There's another level scaling being worked on now:
cells, will show you how cells works, starting with this
picture
OpenStack Compute (Nova) Scaling (Step 2)
API Cell

AMQP

Compute Cell

77

Compute Cell

...

Compute Cell

http://slidesha.re/1gF0PEK

Cells, each with their own message broker and
database
Communication over AMQP between the nova-cells
service in each cell
Cells can be local or geographically distributed, all
under a single API endpoint
Next diagrams show what's in a cell
OpenStack Compute (Nova) Scaling (Step 2)

Compute Cell
nova-cells
nova-scheduler
AMQP
nova-conductor

nova-compute

DB

78

Libvirt+KVM
Libvirt+KVM
Libvirt+KVM

http://slidesha.re/1gF0PEK

Removed nova-api, added nova-cells service
Its own db and message broker
OpenStack Compute (Nova) Scaling (Step 2)
ReST API

API Cell

Load Balancer
nova-api

AMQP

nova-cells
DB

79

http://slidesha.re/1gF0PEK

Removed everything but nova-api, added nova-cells
service
OpenStack Compute (Nova) Scaling (Step 2)
API Cell

AMQP

Compute Cell

80

Compute Cell

...

Compute Cell

http://slidesha.re/1gF0PEK

Again, this is what it looks like
Large amounts of nodes grouped into cells,
federated using AMQP
OpenStack Components

Identity

Object
Storage

81

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Deep breath!
Now that we've taken the deep dive, let's step back
out
Performing operations in compute often requires
interacting with multiple services
Now will go through an example (multiple slides),
start an instance
Start an instance – auth with keystone, request
instance from nova, get image from glance,
potentially attach volume from cinder, get network
info from quantum, fire off notifications consumed by
ceilometer
Boot a Server – Step 1

1

Identity

Object
Storage

Dashboard

Image
Service

82

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Step 1 – get a token
Single keystone service, stores token in its token db
Boot a Server – Step 2

1

Identity

Object
Storage

83

2

Dashboard

Image
Service

Orchestration

Block
Storage

Metering

Networking

Compute

http://slidesha.re/1gF0PEK

Step 2 – Request server from compute service
Next slide has nova diagram to talk about how it gets
processed
OpenStack Compute (Nova)
ReST API
nova-api
nova-scheduler
AMQP
nova-conductor
nova-compute
Libvirt+KVM
DB

84

http://slidesha.re/1gF0PEK

Boot a server
API -> scheduler -> compute
Boot a Server – Step 3

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

85

Image
Service

Block
Storage

Networking

Compute

http://slidesha.re/1gF0PEK

Step 3 – Download image to compue node if
necessary
Talks to the glance-api service, image data streamed
from storage backend
Boot a Server – Step 4

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

86

Image
Service

Block
Storage

4
Networking

Compute

http://slidesha.re/1gF0PEK

Step 4 –Request block storage volume info so that it
can be attached to an instance
Talks to the cinder-api service
Boot a Server – Step 5

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

87

Image
Service

Block
Storage

4
Networking

Compute
5

http://slidesha.re/1gF0PEK

Step 5 –Request network information
Talks to quantum-api service, tell it the network(s)
that were requested, quantum will allocate port
Boot a Server – Step 6

1

Identity

2

Dashboard

Orchestration

Metering

3
Object
Storage

88

Image
Service

Block
Storage

4

6
Networking

Compute
5

http://slidesha.re/1gF0PEK

Step 6 –With all info needed, boot the VM
Back to the nova-compute service, boots the VM by
giving libvirt all necessary info

Más contenido relacionado

La actualidad más candente

2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)Mirantis
 
Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"CREATE-NET
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureAlex Baretto
 
Openstack training material
Openstack training materialOpenstack training material
Openstack training materialchenvi123
 
OpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceOpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceDenis Cavalcante
 
RedHat OpenStack Platform Overview
RedHat OpenStack Platform OverviewRedHat OpenStack Platform Overview
RedHat OpenStack Platform Overviewindevlab
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...Rahul Krishna Upadhyaya
 
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Stephen Gordon
 
Swift Architecture and Practice, by Alex Yang
Swift Architecture and Practice, by Alex YangSwift Architecture and Practice, by Alex Yang
Swift Architecture and Practice, by Alex YangHui Cheng
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introductionopenstackindia
 
An Introduction to OpenStack
An Introduction to OpenStackAn Introduction to OpenStack
An Introduction to OpenStackScott Lowe
 
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Openstack architecture for the enterprise (Openstack Ireland Meet-up)Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Openstack architecture for the enterprise (Openstack Ireland Meet-up)Keith Tobin
 
Architecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseArchitecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseKeith Tobin
 
OpenStack Architecture: Past and Future
OpenStack Architecture: Past and FutureOpenStack Architecture: Past and Future
OpenStack Architecture: Past and FutureKen Pepple
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesJalal Mostafa
 
Cloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodeCloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodePalak Sood
 
Introduction to OpenStack Architecture (Grizzly Edition)
Introduction to OpenStack Architecture (Grizzly Edition)Introduction to OpenStack Architecture (Grizzly Edition)
Introduction to OpenStack Architecture (Grizzly Edition)Ken Pepple
 

La actualidad más candente (20)

2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"Webinar "Introduction to OpenStack"
Webinar "Introduction to OpenStack"
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud Infrastructure
 
Openstack training material
Openstack training materialOpenstack training material
Openstack training material
 
OpenStack Super Bootcamp.pdf
OpenStack Super Bootcamp.pdfOpenStack Super Bootcamp.pdf
OpenStack Super Bootcamp.pdf
 
OpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceOpenStack - Infrastructure as a service
OpenStack - Infrastructure as a service
 
RedHat OpenStack Platform Overview
RedHat OpenStack Platform OverviewRedHat OpenStack Platform Overview
RedHat OpenStack Platform Overview
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
 
OpenStack Framework Introduction
OpenStack Framework IntroductionOpenStack Framework Introduction
OpenStack Framework Introduction
 
Swift Architecture and Practice, by Alex Yang
Swift Architecture and Practice, by Alex YangSwift Architecture and Practice, by Alex Yang
Swift Architecture and Practice, by Alex Yang
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
 
An Introduction to OpenStack
An Introduction to OpenStackAn Introduction to OpenStack
An Introduction to OpenStack
 
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Openstack architecture for the enterprise (Openstack Ireland Meet-up)Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
 
Architecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseArchitecture Openstack for the Enterprise
Architecture Openstack for the Enterprise
 
OpenStack Architecture: Past and Future
OpenStack Architecture: Past and FutureOpenStack Architecture: Past and Future
OpenStack Architecture: Past and Future
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
Cloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodeCloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute Node
 
Introduction to OpenStack Architecture (Grizzly Edition)
Introduction to OpenStack Architecture (Grizzly Edition)Introduction to OpenStack Architecture (Grizzly Edition)
Introduction to OpenStack Architecture (Grizzly Edition)
 

Similar a Open stack

Introduction to Orchestration and DevOps with OpenStack
Introduction to Orchestration and DevOps with OpenStackIntroduction to Orchestration and DevOps with OpenStack
Introduction to Orchestration and DevOps with OpenStackAbderrahmane TEKFI
 
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...OpenShift Origin
 
VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMUG IT
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cnOpenCity Community
 
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...Rakuten Group, Inc.
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...Ambassador Labs
 
Build a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerBuild a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerK Rain Leander
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformNagaraj Shenoy
 
Adopt openjdk and how it impacts you in 2020
Adopt openjdk and how it impacts you in 2020Adopt openjdk and how it impacts you in 2020
Adopt openjdk and how it impacts you in 2020George Adams
 
Red Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechRed Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechProxyServices
 
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...Diane Mueller
 
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...OpenShift Origin
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatAmazon Web Services
 
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12XOpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12XOpenShift Origin
 
OpenShift meetup Bangalore
OpenShift meetup BangaloreOpenShift meetup Bangalore
OpenShift meetup BangaloreSuraj Deshmukh
 
OpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaKOpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaKRama Krishna B
 
Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Matt Ray
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware AdministratorsTrevor Roberts Jr.
 

Similar a Open stack (20)

Open stack
Open stackOpen stack
Open stack
 
Introduction to Orchestration and DevOps with OpenStack
Introduction to Orchestration and DevOps with OpenStackIntroduction to Orchestration and DevOps with OpenStack
Introduction to Orchestration and DevOps with OpenStack
 
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
 
VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cn
 
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
vBACD- July 2012 - Crash Course in Open Source Cloud ComputingvBACD- July 2012 - Crash Course in Open Source Cloud Computing
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
 
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
 
Build a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerBuild a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-manager
 
Openstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platformOpenstack - Enterprise cloud management platform
Openstack - Enterprise cloud management platform
 
Adopt openjdk and how it impacts you in 2020
Adopt openjdk and how it impacts you in 2020Adopt openjdk and how it impacts you in 2020
Adopt openjdk and how it impacts you in 2020
 
Red Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure TechRed Hat presentatie: Open stack Latest Pure Tech
Red Hat presentatie: Open stack Latest Pure Tech
 
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
 
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
Deploying & Scaling OpenShift on OpenStack using Heat - OpenStack Seattle Mee...
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12XOpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
 
OpenShift meetup Bangalore
OpenShift meetup BangaloreOpenShift meetup Bangalore
OpenShift meetup Bangalore
 
OpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaKOpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaK
 
Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware Administrators
 

Más de Luan Cestari

Tunning da jvm dos comandos às configurações
Tunning da jvm  dos comandos às configuraçõesTunning da jvm  dos comandos às configurações
Tunning da jvm dos comandos às configuraçõesLuan Cestari
 
Getting Started with SOA using SwitchYard
Getting Started with SOA using SwitchYardGetting Started with SOA using SwitchYard
Getting Started with SOA using SwitchYardLuan Cestari
 
Tunning jvm em java 8
Tunning jvm em java 8Tunning jvm em java 8
Tunning jvm em java 8Luan Cestari
 
Indo para as nuvens mais rápido e fácil com Docker
Indo para as nuvens mais rápido e fácil com DockerIndo para as nuvens mais rápido e fácil com Docker
Indo para as nuvens mais rápido e fácil com DockerLuan Cestari
 
Lightblue project
Lightblue project Lightblue project
Lightblue project Luan Cestari
 
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...Luan Cestari
 

Más de Luan Cestari (7)

Tunning da jvm dos comandos às configurações
Tunning da jvm  dos comandos às configuraçõesTunning da jvm  dos comandos às configurações
Tunning da jvm dos comandos às configurações
 
Getting Started with SOA using SwitchYard
Getting Started with SOA using SwitchYardGetting Started with SOA using SwitchYard
Getting Started with SOA using SwitchYard
 
Tunning jvm em java 8
Tunning jvm em java 8Tunning jvm em java 8
Tunning jvm em java 8
 
Indo para as nuvens mais rápido e fácil com Docker
Indo para as nuvens mais rápido e fácil com DockerIndo para as nuvens mais rápido e fácil com Docker
Indo para as nuvens mais rápido e fácil com Docker
 
Lightblue project
Lightblue project Lightblue project
Lightblue project
 
Big data
Big dataBig data
Big data
 
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
 

Open stack

  • 1. Openstack => Cloud computing at your fingertips! Luan Cestari February 27 , 2014 1 http://slidesha.re/1gF0PEK
  • 2. Please, let me ask ... ● ● Is it a hype? What does it means? ● 2 Have you heard about Cloud Computing? Are you using any cloud service? http://slidesha.re/1gF0PEK
  • 3. Do you know OpenStack? ● ● ● 3 Is the OpenStack an OS? Why would I use instead of the machine in my enterprise? What is this Open Source thing and what is related to this talking? http://slidesha.re/1gF0PEK
  • 4. But what is OpenStack ● OpenStack is an open source project for building a private or public infrastructure-as-a-service (IaaS) cloud ● OpenStack solution != Virtualization -> let's see why ● ● 4 Cloud! But that doesn't explain what is the definition of cloud http://slidesha.re/1gF0PEK
  • 5. The defining the Cloud Computing: It must be ... ● Scalable ● Portable ● On-demand ● Resource Management ● Measureable From: National Institute of Standards and Technology (NIST) 5 http://slidesha.re/1gF0PEK
  • 7. Linux Powers The Cloud 8 out of 10 clouds are built on Linux1 Amazon EC2 RackSpace “Linux is twice as popular as Windows on Amazon Web Services.”2 “On the RackSpace cloud, the split is even starker: 75 %to 25 %, again in favor of Linux.”2 1 Linux Adoption Trends 2012: A Survey of Enterprise End Users, Linux Foundation, January 18, 2012 2 Windows 8? It Won’t Win Microsoft’s Biggest Battle, Robert Mcmillan, Wired, October 25, 2012 7 http://slidesha.re/1gF0PEK
  • 8. Virtualization to cloud infrastructure continuum Virtual Infrastructure Management Private Distributed Cloud Virtualization Server Virtualization Drivers Consolidation Reduce Capital Expense       Flexibility & Speed Reduce Operational Expense Automation Less Downtime     Self-Serve Agility Standardization IT as a Business Usage Metering Hybrid Cloud   Choice of CAPEX/OPEX model Increased Flexibility (up and down) Visibility Optimization Agility Federation Control Automation Self-Service Brokering Derived from Gartner Roadmap: From Virtualization to Cloud Computing (reference slide) 8 http://slidesha.re/1gF0PEK
  • 10. Cloud deployment models Hybrid Cloud Private Cloud Privately owned And managed with Restricted access (but Could be externally hosted) 10 Interoperable combination of private and public cloud. Community Cloud http://slidesha.re/1gF0PEK Public Clouds Service Provider Owned and managed, Accessed via the web, Pay for what you use.
  • 11. Types of Cloud ● Saas (Software as a service) ● PaaS (Platform as a service) ● IaaS (Infrastructure as a service) 11 http://slidesha.re/1gF0PEK
  • 12. Cloud Service Models IaaS PaaS SaaS APPLICATION APPLICATION PLATFORM (JBOSS, PHP, RUBY, ETC) OPERATING SYSTEM (RHEL) VIRTUALIZATION (RHEV) HARDWARE (x86) STORAGE (RHS) 12 Managed and Controlled by Customer (IT, Dev, or User) Managed by the Public or Private Cloud Offering Increased Control Reduced DIY http://slidesha.re/1gF0PEK
  • 13. A cloud provider view of shared responsibility for security Source: Cloud Security Alliance 13 http://slidesha.re/1gF0PEK 13
  • 15. Cloud types & deployment models Hybrid Private Clouds Public Clouds Community Cloud SaaS Google Apps  Salesforce  Many more  PaaS IaaS OpenShift  Force.com  Azure  Amazon AWS  RackSpace  OpenStack  vCloud Director  Software-as-a-Service (SaaS) (hosted apps) Platform-as-a-Service (PaaS) (dev platform, apps middleware) Infrastructure-as-a-Service (IaaS) (compute, storage, network) 15 http://slidesha.re/1gF0PEK End-users Developers DevOps IT Admins
  • 16. Streamlining App Dev with PaaS Physical How to Build an App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 16 Have Idea Get Budget Submit hardware acquisition request Wait Get Hardware Rack and Stack Hardware Install Operating System Install Operating System Patches/Fix-Packs Create user Accounts Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod servers (and buy them if needed) Push to Prod Launch Order more servers to meet demand Wait… Deploy new servers Etc. Virtualized How to Build an App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Have Idea Get Budget Submit VM Request request Wait Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod VMs Push to Prod Launch Request More Prod VMs to meet demand Wait Deploy app to new VMs Etc. With PaaS How to Build an App: 1. 2. 3. 4. 5. 6. Have Idea Get Budget Code Test Launch Automatically Scale “The use of Platform-as-a-Service technologies will enable IT organizations to become more agile and more responsive to the business needs.” –Gartner* More info: www.openshift.com http://slidesha.re/1gF0PEK 16
  • 17. Don’t take taxonomies too literally ● IaaS can blend into PaaS ● ● PaaS can blend into SaaS ● ● “Value-add” services like DynamoDB, Elastic MapReduce PaaS anchored to a SaaS environment Taxonomy part of broader ecosystem ● ● APIs/services ● 17 Hybrid cloud IaaS management (CloudForms) Development tooling http://slidesha.re/1gF0PEK
  • 18. Back to OpenStack, its history... ● 2010 - Rackspace and Nasa joins forces ● ● 18 Rackspace's Cloud Files platform and NASA's Nebula OpenStack Object Store (Swift) and OpenStack Compute Nova http://slidesha.re/1gF0PEK
  • 19. Versions Codename K Juno Icehouse Havana Grizzly Folsom Essex Diablo Cactus Bexar Austin 19 Date ? Oct 2014 Apr 17, 2014 Oct 17, 2013 Apr 4, 2013 Sep 27, 2012 Apr 5, 2012 Sep 22, 2011 Apr 15, 2011 Feb 3, 2011 Oct 21, 2010 http://slidesha.re/1gF0PEK
  • 20. Overview simplified of OpenStack 20 http://slidesha.re/1gF0PEK
  • 23. Components ● ● OpenStack Network Service (Quantum/Neutron) - Folsom ● OpenStack Object Storage (Swift) - Austin ● OpenStack Block Storage (Cinder) - Folsom ● OpenStack Identity (Keystone) - Essex ● OpenStack Image (Glance) - Bexar ● OpenStack Dashboard (Horizon) - Essex ● OpenStack Orchestration (Heat) - Havana ● 23 OpenStack Compute (Nova) - Austin OpenStack Metering (Ceilometer) – Havana http://slidesha.re/1gF0PEK
  • 24. Incubated Components ● ● OpenStack Bare Metal (Ironic) ● OpenStack Queue Service (Marconi) ● OpenStack Data Processing (Savannah) ● TripleO/Tuskar ● Oslo ● TaskSystem-as-a-Service (Convection) ● DNSaaS (Designate) ● 24 OpenStack Database Service (Trove) Application catalog (Murano) http://slidesha.re/1gF0PEK
  • 26. Supported Hypervisors ● KVM ● LXC (through libvirt) ● QEMU ● UML ● VMWare vSphere ● Xen ● Hyper-V ● Bare Metal ● Docker More: https://wiki.openstack.org/wiki/HypervisorSupportMatrix 26 http://slidesha.re/1gF0PEK
  • 28. How does it look like 28 http://slidesha.re/1gF0PEK
  • 29. How does it look like 29 http://slidesha.re/1gF0PEK
  • 30. How does it look like 30 http://slidesha.re/1gF0PEK
  • 31. How to install OpenStack, the easy way sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm sudo yum install -y openstack-packstack packstack --allinone 31 http://slidesha.re/1gF0PEK
  • 32. RED HAT LEADS THROUGH OPEN INNOVATION 32 http://slidesha.re/1gF0PEK
  • 33. OpenStack Progression ● ● ● ● ● ● Open source, communitydeveloped (upstream) software Founded by Rackspace Hosting and NASA ● ● ● Managed by the OpenStack Foundation Vibrant group of developers collaborating on open source cloud infrastructure Software distributed under the Apache 2.0 license No certifications, no support ● ● ● ● Latest OpenStack software, packaged in a managed open source community ● ● Facilitated by Red Hat Aimed at architects and developers who want to create, test, collaborate ● Freely available, not for sale ● Six-month release cadence mirroring community ● No certification, no support Installs on Red Hat and derivatives ● DOC144908-20130711R4 Enterprise-hardened OpenStack software Delivered with an enterprise life cycle Six-month release cadence offset from community releases to allow testing Aimed at long-term production deployments Certified hardware and software through the Red Hat OpenStack Cloud Infrastructure Partner Network Supported by Red Hat RED HAT ENTERPRISE LINUX – FOUNDATION FOR THE OPEN HYBRID CLOUD
  • 34. PackStack Overview ● Installer appropriate for smaller scale OpenStack deployments. ● Driven by asking questions or an “answer file” ● Uses SSH and Puppet to set up all nodes 34 http://slidesha.re/1gF0PEK
  • 35. Differences between versions? Upstream Midstream Downstream Source from GIT Packages from Brew Unit Tests rdopkg Job Builder/Runner DevStack Torpedo / Tempest Tempest Tempest RDO Environments RHOS Environments SmokeStack 35 SmokeStack Trunk RDO Release / Poodle RHOS Release http://slidesha.re/1gF0PEK
  • 36. Differences between versions? ● Upstream: ● ● Detect rpm based install errors via smokestack ● ● Contribute tempest tests upstream Enterprise Linux devstack Midstream: ● ● Qualify RDO across supported environments ● ● Detect packstack, foreman based install errors Improve the feedback to development Downstream: ● ● 36 Qualify RHOS across supported environments Scale and Performance test http://slidesha.re/1gF0PEK
  • 37. RHEL OPENSTACK PLATFORM VALUE Why Red Hat vs other community versions? ● Enterprise-grade OpenStack version with ecosystem, lifecycle, & support customers expect from Red Hat! ● ● Based on RHEL and includes required fixes in both OpenStack and RHEL ● Enterprise hardened OpenStack code ● Longer supported lifecycle (starts with 1 year for Folsom/Grizzly) ● ● ● 37 Bug fixes, security errata, selected backports, etc. Certified ecosystem (Red Hat Certified OpenStack Partner Program and Red Hat Enterprise Linux ecosystem) Full support for RHEL and Windows workloads http://slidesha.re/1gF0PEK
  • 38. Red Hat Enterprise Linux Defines the Open Hybrid Cloud OPEN CLOUD open innovation, open standards, open APIs, openness vs. lockin 38 HYBRID hybrid deployment models (physical, virtual, cloud) hybrid architectures public-privatehybrid cloud scenarios Scalable Portable On-demand Resource Management Measureable http://slidesha.re/1gF0PEK
  • 39. Red Hat Product Portfolio 39 http://slidesha.re/1gF0PEK
  • 40. More info in the notes of the slides 40 http://slidesha.re/1gF0PEK
  • 42. Extra: more about OpenStack Architecture and how to scale From Russell Bryant (Red Hat Summit) 42 http://slidesha.re/1gF0PEK
  • 44. OpenStack Identity (Keystone) ● Important Concepts ● ● Users ● Roles ● Tokens ● 44 Tenants – Groups of Users Services http://slidesha.re/1gF0PEK
  • 45. OpenStack Identity (Keystone) ReST API keystone Token 45 Identity Services http://slidesha.re/1gF0PEK
  • 46. OpenStack Identity (Keystone) Scaling Load Balancer keystone 46 keystone ... http://slidesha.re/1gF0PEK keystone
  • 48. OpenStack Dashboard (Horizon) ● Python WSGI Application ● Django framework ● Stateless client of OpenStack APIs httpd horizon OpenStack APIs 48 http://slidesha.re/1gF0PEK
  • 49. OpenStack Dashboard (Horizon) Scaling Load Balancer httpd horizon Session Storage 49 httpd horizon ... httpd horizon OpenStack APIs http://slidesha.re/1gF0PEK
  • 51. OpenStack Orchestration (Heat) ● Consumes all other OpenStack APIs ● Important concept: template defined stacks 51 http://slidesha.re/1gF0PEK
  • 52. OpenStack Orchestration (Heat) ReST API / CFN API heat-api AMQP heat-engine OpenStack APIs DB 52 http://slidesha.re/1gF0PEK
  • 53. OpenStack Orchestration (Heat) Scaling Load Balancer heat-api heat-api ... heat-api AMQP heat-engine heat-engine ... heat-engine OpenStack APIs 53 http://slidesha.re/1gF0PEK
  • 55. OpenStack Metering (Ceilometer) ● The foundation of billing or charge back systems ● Concepts ● ● Compute Pollsters ● Central Pollster ● Notifications ● 55 Meters Collectors http://slidesha.re/1gF0PEK
  • 56. OpenStack Metering (Ceilometer) Credit: Doug Hellman http://stevedore.readthedocs.org/en/latest/essays/pycon2013.html#requirements-for-ceilometer 56 http://slidesha.re/1gF0PEK
  • 58. OpenStack Object Storage (Swift) Identity Object Storage 58 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 59. OpenStack Object Storage (Swift) ● Concepts ● ● Containers – Organize Your Data ● Objects – Your Data ● 59 Accounts Ring – Internal Data Structure http://slidesha.re/1gF0PEK
  • 60. OpenStack Object Storage (Swift) API Storage Credit: Mark McLoughlin 60 http://slidesha.re/1gF0PEK
  • 61. OpenStack Object Storage (Swift) Scaling Load balancer Proxy Storage 61 Proxy Storage ... Proxy ... http://slidesha.re/1gF0PEK Storage
  • 62. OpenStack Image Service (Glance) Identity Object Storage 62 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 63. OpenStack Image Service (Glance) ● Concepts ● ● Metadata ● 63 Images Storage Backends http://slidesha.re/1gF0PEK
  • 64. OpenStack Image Service (Glance) ReST API glance-api ReS T Image Storage 64 glance-registry DB http://slidesha.re/1gF0PEK
  • 65. OpenStack Image Service (Glance) Scaling Load Balancer glance-api glance-api ... glance-api glance-registry Image Storage 65 DB http://slidesha.re/1gF0PEK * Scales horizontally the same way as the API
  • 66. OpenStack Block Storage (Cinder) Identity Object Storage 66 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 67. OpenStack Block Storage (Cinder) ● Concepts ● ● Snapshots ● 67 Volumes Storage Backends http://slidesha.re/1gF0PEK
  • 68. OpenStack Block Storage (Cinder) ReST API cinder-api cinder-scheduler AMQP cinder-volume DB 68 http://slidesha.re/1gF0PEK
  • 69. OpenStack Block Storage (Cinder) Scaling Load Balancer cinder-api cinder-api cinder-scheduler cinder-scheduler cinder-scheduler ... AMQP cinder-volume cinder-volume cinder-volume 69 http://slidesha.re/1gF0PEK cinder-api
  • 74. OpenStack Compute (Nova) ● Concepts ● ● 74 Flavors / Instance Types ● ● Instances / Servers Virt drivers OpenStack API and EC2 API http://slidesha.re/1gF0PEK
  • 75. OpenStack Compute (Nova) ReST API nova-api nova-scheduler AMQP nova-conductor nova-compute Libvirt+KVM DB 75 http://slidesha.re/1gF0PEK
  • 76. OpenStack Compute (Nova) Scaling (Step 1) Load Balancer nova-api nova-scheduler AMQP nova-conductor nova-compute DB 76 Libvirt+KVM Libvirt+KVM Libvirt+KVM http://slidesha.re/1gF0PEK
  • 77. OpenStack Compute (Nova) Scaling (Step 2) API Cell AMQP Compute Cell 77 Compute Cell ... Compute Cell http://slidesha.re/1gF0PEK
  • 78. OpenStack Compute (Nova) Scaling (Step 2) Compute Cell nova-cells nova-scheduler AMQP nova-conductor nova-compute DB 78 Libvirt+KVM Libvirt+KVM Libvirt+KVM http://slidesha.re/1gF0PEK
  • 79. OpenStack Compute (Nova) Scaling (Step 2) ReST API API Cell Load Balancer nova-api AMQP nova-cells DB 79 http://slidesha.re/1gF0PEK
  • 80. OpenStack Compute (Nova) Scaling (Step 2) API Cell AMQP Compute Cell 80 Compute Cell ... Compute Cell http://slidesha.re/1gF0PEK
  • 82. Boot a Server – Step 1 1 Identity Object Storage 82 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 83. Boot a Server – Step 2 1 Identity Object Storage 83 2 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 84. OpenStack Compute (Nova) ReST API nova-api nova-scheduler AMQP nova-conductor nova-compute Libvirt+KVM DB 84 http://slidesha.re/1gF0PEK
  • 85. Boot a Server – Step 3 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 85 Image Service Block Storage Networking http://slidesha.re/1gF0PEK Compute
  • 86. Boot a Server – Step 4 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 86 Image Service Block Storage 4 Networking http://slidesha.re/1gF0PEK Compute
  • 87. Boot a Server – Step 5 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 87 Image Service Block Storage 4 Networking http://slidesha.re/1gF0PEK Compute 5
  • 88. Boot a Server – Step 6 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 88 Image Service Block Storage 4 6 Networking http://slidesha.re/1gF0PEK Compute 5
  • 89. Openstack => Cloud computing at your fingertips! Luan Cestari February 27 , 2014 1 http://slidesha.re/1gF0PEK
  • 90. Please, let me ask ... ● Have you heard about Cloud Computing? ● Is it a hype? What does it means? ● Are you using any cloud service? 2 Scalable Portable On-demand Resource Management Measureable http://slidesha.re/1gF0PEK
  • 91. Do you know OpenStack? ● ● ● 3 Is the OpenStack an OS? Why would I use instead of the machine in my enterprise? What is this Open Source thing and what is related to this talking? http://slidesha.re/1gF0PEK 3
  • 92. But what is OpenStack ● OpenStack is an open source project for building a private or public infrastructure-as-a-service (IaaS) cloud ● OpenStack solution != Virtualization -> let's see why ● ● 4 Cloud! But that doesn't explain what is the definition of cloud http://slidesha.re/1gF0PEK The difference in http://www.slideshare.net/CAinc/cloud-expo-session-fromvirtualization-to-cloud-computing-building-an-effective-pragmatic-reliable-cloud
  • 93. The defining the Cloud Computing: It must be ... ● Scalable ● Portable ● On-demand ● Resource Management ● Measureable From: National Institute of Standards and Technology (NIST) 5 http://slidesha.re/1gF0PEK 5
  • 94. 6 http://slidesha.re/1gF0PEK Open standards: Advanced Research Projects Agency Network (ARPANET) collaborative process(in 60s) led to the birth of the Internet (in 1969) GNU project, 1983, Richard Stallman The prior slide described the CIO dilemma being required to do more with less. This will not happen the old fashion way and a new more disruptive approach is needed. 1. more use of OSS 2. new service delivery models – cloud 3. new business models – pay as you go and subscription based Most clouds are build on OSS and 80% of the workloads run on Linux. Open Standards are essential to ensure portability
  • 95. Linux Powers The Cloud 8 out of 10 clouds are built on Linux1 Amazon EC2 RackSpace “Linux is twice as popular as Windows on Amazon Web Services.”2 “On the RackSpace cloud, the split is even starker: 75 %to 25 %, again in favor of Linux.”2 1 Linux Adoption Trends 2012: A Survey of Enterprise End Users, Linux Foundation, January 18, 2012 2 Windows 8? It Won’t Win Microsoft’s Biggest Battle, Robert Mcmillan, Wired, October 25, 2012 7 http://slidesha.re/1gF0PEK Today, Linux is the primary platform for a majority of cloud-based applications. As a case in point, an October 2012 Wired magazine article cited a report by Newvem which illustrated Linux's dominant position, particularly pertaining to Amazon Web Services: At Wired’s request, Newvem — a company that sells management services to Amazon cloud customers — took at look at about 41,000 cloud machines run by several hundred customers. Its conclusion: Linux is twice as popular as Windows on Amazon Web Services. It was running on 67 percent of machines, compared to Windows’ 33 percent. 7
  • 96. Virtualization to cloud infrastructure continuum Virtual Infrastructure Management Private Cloud Server Virtualization Drivers Consolidation Reduce Capital Expense   Hybrid Cloud Distributed Virtualization     Flexibility & Speed Reduce Operational Expense Automation Less Downtime     Self-Serve Agility Standardization IT as a Business Usage Metering   Choice of CAPEX/OPEX model Increased Flexibility (up and down) Visibility Optimization Agility Federation Control Automation Self-Service Brokering Derived from Gartner Roadmap: From Virtualization to Cloud Computing (reference slide) 8 http://slidesha.re/1gF0PEK This slide is derived from the Gartner roadmap “From Virtualization to Cloud Computing”, and indicates the various levels of infrastructure enablement that IT organizations are engaging in today. Organizations often field more than one virtual / cloud project may be doing IT transformation to IaaS while at the same time running Cloud program initiatives. Focus has been on deriving economies and flexibility at one level via server virtualization and consolidation. Highly distributed and sprawled virtual environments that tend to result form those initiatives require management optimization and automation to be efffectivley controlled. Infrastructure as a Service (IaaS) capabilities are then engaged to support agile, self-service access to IT systems
  • 97. 9 http://slidesha.re/1gF0PEK IT must change and be able to address the questions of the prior slide. If IT is not able to adapt and change the business as their customer will go around IT and buy services directly from public cloud and SaaS providers which cannot be in the interest of IT and the corporation overall because shadow IT will sprawl IT needs to provide the benefits of a public could service by eliminating the potential negative sides of public service like security concerns, governance, regulatory restrictions, ...
  • 98. Cloud deployment models Hybrid Cloud Private Cloud Privately owned And managed with Restricted access (but Could be externally hosted) 10 Interoperable combination of private and public cloud. Community Cloud http://slidesha.re/1gF0PEK Public Clouds Service Provider Owned and managed, Accessed via the web, Pay for what you use.
  • 99. Types of Cloud ● Saas (Software as a service) ● PaaS (Platform as a service) ● IaaS (Infrastructure as a service) 11 http://slidesha.re/1gF0PEK
  • 100. Cloud Service Models IaaS PaaS SaaS APPLICATION APPLICATION PLATFORM (JBOSS, PHP, RUBY, ETC) OPERATING SYSTEM (RHEL) VIRTUALIZATION (RHEV) HARDWARE (x86) STORAGE (RHS) 12 ● Managed and Controlled by Customer (IT, Dev, or User) Managed by the Public or Private Cloud Offering Increased Control Reduced DIY http://slidesha.re/1gF0PEK To set the proper context for our discussion, let’s take a look at the three best known cloud service delivery models, IaaS or Infrastructure as a Service, PaaS or Platform as a Service, And SaaS or Software as a Service. With each of these some portion of the technology stack is managed and controlled by the Cloud offering (whether public or private), and the rest is responsibility of the customer of the Cloud offering. They must manage and maintain the portion of the stack that is not managed by the Cloud offering. The benefit is that the customer can also CONTROL the design of this portion of the stack. For Infrastructure-as-a-Service, or IaaS, the customer must manage and control everything from the Operating System up. They must install the OS, the middleware, and the application code. This ultimately becomes only a small reduction in effort compared to bare-metal server management.
  • 101. A cloud provider view of shared responsibility for security Source: Cloud Security Alliance 13 http://slidesha.re/1gF0PEK 13
  • 103. Cloud types & deployment models Hybrid Private Clouds Public Clouds Community Cloud SaaS Google Apps Salesforce  Many more   PaaS IaaS OpenShift Force.com  Azure  Amazon AWS  RackSpace  OpenStack  vCloud Director   Software-as-a-Service (SaaS) (hosted apps) Platform-as-a-Service (PaaS) (dev platform, apps middleware) Infrastructure-as-a-Service (IaaS) (compute, storage, network) 15 http://slidesha.re/1gF0PEK End-users Developers DevOps IT Admins
  • 104. Streamlining App Dev with PaaS Physical How to Build an App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. Have Idea Get Budget Submit hardware acquisition request Wait Get Hardware Rack and Stack Hardware Install Operating System Install Operating System Patches/Fix-Packs Create user Accounts Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod servers (and buy them if needed) Push to Prod Launch Order more servers to meet demand Wait… Deploy new servers Etc. 16 Virtualized How to Build an App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Have Idea Get Budget Submit VM Request request Wait Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod VMs Push to Prod Launch Request More Prod VMs to meet demand Wait Deploy app to new VMs Etc. With PaaS How to Build an App: 1. 2. 3. 4. 5. 6. Have Idea Get Budget Code Test Launch Automatically Scale “The use of Platform-as-a-Service technologies will enable IT organizations to become more agile and more responsive to the business needs.” –Gartner* More info: www.openshift.com http://slidesha.re/1gF0PEK 16 PaaS allows us to make this leap from a Craftwork methodology to an Assembly Line methodology. PaaS both streamlines and standardizes the Application Development process. Instead of the unique, one-off processes that each application project used to go through, Utilization of a PaaS allows the deployment of a standardized methodology with a few distinct repeatable steps. Once the idea and budget are secured, then the App Dev team just simply starts working with the PaaS to code, test, and launch their application. PaaS provides the platform environment that allows Developers to start coding immediately. Server deployment, configuration and administration is all largely automated. This reduces the burden on Operations and reduces the delays that impact Development. And many industry analysts agree that the utilization of PaaS is going to be the key to allowing IT to be the demands of the business. <next slide>
  • 105. Don’t take taxonomies too literally ● IaaS can blend into PaaS ● ● PaaS can blend into SaaS ● ● “Value-add” services like DynamoDB, Elastic MapReduce PaaS anchored to a SaaS environment Taxonomy part of broader ecosystem ● ● APIs/services ● 17 Hybrid cloud IaaS management (CloudForms) Development tooling http://slidesha.re/1gF0PEK
  • 106. Back to OpenStack, its history... ● 2010 - Rackspace and Nasa joins forces ● ● 18 Rackspace's Cloud Files platform and NASA's Nebula OpenStack Object Store (Swift) and OpenStack Compute Nova http://slidesha.re/1gF0PEK
  • 107. Versions Codename K Juno Icehouse Havana Grizzly Folsom Essex Diablo Cactus Bexar Austin 19 Date ? Oct 2014 Apr 17, 2014 Oct 17, 2013 Apr 4, 2013 Sep 27, 2012 Apr 5, 2012 Sep 22, 2011 Apr 15, 2011 Feb 3, 2011 Oct 21, 2010 http://slidesha.re/1gF0PEK
  • 108. Overview simplified of OpenStack 20 http://slidesha.re/1gF0PEK
  • 111. Components ● ● OpenStack Network Service (Quantum/Neutron) - Folsom ● OpenStack Object Storage (Swift) - Austin ● OpenStack Block Storage (Cinder) - Folsom ● OpenStack Identity (Keystone) - Essex ● OpenStack Image (Glance) - Bexar ● OpenStack Dashboard (Horizon) - Essex ● OpenStack Orchestration (Heat) - Havana ● 23 OpenStack Compute (Nova) - Austin OpenStack Metering (Ceilometer) – Havana http://slidesha.re/1gF0PEK
  • 112. Incubated Components ● ● OpenStack Bare Metal (Ironic) ● OpenStack Queue Service (Marconi) ● OpenStack Data Processing (Savannah) ● TripleO/Tuskar ● Oslo ● TaskSystem-as-a-Service (Convection) ● DNSaaS (Designate) ● 24 OpenStack Database Service (Trove) Application catalog (Murano) http://slidesha.re/1gF0PEK
  • 114. Supported Hypervisors ● KVM ● LXC (through libvirt) ● QEMU ● UML ● VMWare vSphere ● Xen ● Hyper-V ● Bare Metal ● Docker More: https://wiki.openstack.org/wiki/HypervisorSupportMatrix 26 http://slidesha.re/1gF0PEK KVM - Kernel-based Virtual Machine. The virtual disk formats that it supports is inherited from QEMU since it uses a modified QEMU program to launch the virtual machine. The supported formats include raw images, the qcow2, and VMware formats. LXC - Linux Containers (through libvirt), use to run Linux-based virtual machines. QEMU - Quick EMUlator, generally only used for development purposes. UML - User Mode Linux, generally only used for development purposes. VMWare vSphere 4.1 update 1 and newer, runs VMWare-based Linux and Windows images through a connection with a vCenter server or directly with an
  • 115. Supported Images ● ● vhd ● vmdk ● iso ● qcow2 ● vdi ● aki ● ari ● 27 raw ami http://slidesha.re/1gF0PEK KVM - Kernel-based Virtual Machine. The virtual disk formats that it supports is inherited from QEMU since it uses a modified QEMU program to launch the virtual machine. The supported formats include raw images, the qcow2, and VMware formats. LXC - Linux Containers (through libvirt), use to run Linux-based virtual machines. QEMU - Quick EMUlator, generally only used for development purposes. UML - User Mode Linux, generally only used for development purposes. VMWare vSphere 4.1 update 1 and newer, runs VMWare-based Linux and Windows images through a connection with a vCenter server or directly with an
  • 116. How does it look like 28 http://slidesha.re/1gF0PEK Log in, using your account from keystone
  • 117. How does it look like 29 http://slidesha.re/1gF0PEK Create an instance Give it a name Set parameters (CPUs, RAM, Disk, ...) Shows you how your request stacks up against your available quota
  • 118. How does it look like 30 http://slidesha.re/1gF0PEK Manage existing instances Networking Parameters VNC Console Manage VM lifecycle (such as reboot and Terminate)
  • 119. How to install OpenStack, the easy way sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm sudo yum install -y openstack-packstack packstack --allinone 31 http://slidesha.re/1gF0PEK
  • 120. RED HAT LEADS THROUGH OPEN INNOVATION 32 Gerry http://slidesha.re/1gF0PEK
  • 121. OpenStack Progression ● ● ● ● ● ● Open source, communitydeveloped (upstream) software Founded by Rackspace Hosting and NASA ● ● ● Managed by the OpenStack Foundation Vibrant group of developers collaborating on open source cloud infrastructure Software distributed under the Apache 2.0 license No certifications, no support ● ● ● ● Latest OpenStack software, packaged in a managed open source community ● ● Facilitated by Red Hat Aimed at architects and developers who want to create, test, collaborate ● Freely available, not for sale ● Six-month release cadence mirroring community ● No certification, no support Installs on Red Hat and derivatives ● DOC144908-20130711R4 Chuck Enterprise-hardened OpenStack software Delivered with an enterprise life cycle Six-month release cadence offset from community releases to allow testing Aimed at long-term production deployments Certified hardware and software through the Red Hat OpenStack Cloud Infrastructure Partner Network Supported by Red Hat RED HAT ENTERPRISE LINUX – FOUNDATION FOR THE OPEN HYBRID CLOUD
  • 122. PackStack Overview ● Installer appropriate for smaller scale OpenStack deployments. ● Driven by asking questions or an “answer file” ● Uses SSH and Puppet to set up all nodes 34 http://slidesha.re/1gF0PEK
  • 123. Differences between versions? Upstream Midstream Downstream Source from GIT Packages from Brew Unit Tests rdopkg Job Builder/Runner DevStack Torpedo / Tempest Tempest Tempest RDO Environments RHOS Environments SmokeStack 35 SmokeStack Trunk RDO Release / Poodle RHOS Release http://slidesha.re/1gF0PEK 35
  • 124. Differences between versions? ● Upstream: ● ● Detect rpm based install errors via smokestack ● ● Contribute tempest tests upstream Enterprise Linux devstack Midstream: ● ● Qualify RDO across supported environments ● ● Detect packstack, foreman based install errors Improve the feedback to development Downstream: ● ● 36 Qualify RHOS across supported environments Scale and Performance test http://slidesha.re/1gF0PEK 36
  • 125. ● ● ● ● ● ● ● ● In many ways, the RHOS and RHEL value propositions are identical with Red Hat OpenStack (RHOS) being to OpenStack what Red Hat Enterprise Linux (RHEL) is to Linux. Red Hat has the proven capability of preparing and delivering an open source distribution for enterprise use and providing a stable, secure, and common platform that customers, ISV partners, IHV partners, and service provider partners can use to test and certify their software and hardware solutions. Operational competency necessary for maintain a stable platform with backported bugfixes and features. World-class processes and procedures required for the rigorous testing and QA necessary for enterprise-class products Worldwide enterprise class support service with consulting and training services Certified partner program Guest certifications – include Microsoft Windows (SVVP) Hardware certifications – broadest list of certified server, storage and networking platforms Leadership and influence of the upstream OpenStack product development process with the ability and motivation to act as customer advocate with upstream community
  • 126. Red Hat Enterprise Linux Defines the Open Hybrid Cloud OPEN CLOUD open innovation, open standards, open APIs, openness vs. lockin 38 HYBRID hybrid deployment models (physical, virtual, cloud) hybrid architectures public-privatehybrid cloud scenarios Scalable Portable On-demand Resource Management Measureable http://slidesha.re/1gF0PEK
  • 127. Red Hat Product Portfolio 39 http://slidesha.re/1gF0PEK
  • 128. More info in the notes of the slides 40 ● ● ● http://slidesha.re/1gF0PEK Upstream CI http://www.youtube.com/watch? v=v0IWQP_m_38 http://ci.openstack.org/devstack-gate.html http://status.openstack.org/zuul https://smokestack.openstack.org/ http://stackalytics.com/ Name: https://wiki.openstack.org/wiki/Release_Naming Stat: http://activity.openstack.org/dash/browser/ http://stackalytics.com/ http://www.ohloh.net/p/openstack https://access.redhat.com/site/documentation/enUS/Red_Hat_OpenStack/2/html/Getting_Started_Gui de/ch01.html
  • 130. Extra: more about OpenStack Architecture and how to scale From Russell Bryant (Red Hat Summit) 42 http://slidesha.re/1gF0PEK
  • 131. OpenStack Identity (Keystone) Identity Object Storage 43 Dashboard Image Service Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Mention code names, each project has official and code name Code names shorter, used in code, used in conversation, mixed usage in docs (talk about Identity, run the keystone command)
  • 132. OpenStack Identity (Keystone) ● Important Concepts ● Tenants – Groups of Users ● Users ● Roles ● Tokens ● Services 44 http://slidesha.re/1gF0PEK Tenants – Groups of users (could be a team, a whole company, whatever you want), share resources Users - ... users Roles - admin or not is all it's used for so far Tokens – auth to get a token. Token allows access to all other OpenStack APIs.
  • 133. OpenStack Identity (Keystone) ReST API keystone Token 45 Identity Services http://slidesha.re/1gF0PEK Presents a REST API (most services do) Separate backends for tokens, identity, and services Tokens – db, memcache Identity – db, LDAP Services – db, flat file backed
  • 134. OpenStack Identity (Keystone) Scaling Load Balancer keystone 46 keystone ... keystone http://slidesha.re/1gF0PEK Horizontal Scaling with a load balancer This pattern will be seen all over OpenStack. HAProxy is a software load balancer that we support. All services use the same storage backend (if MySQL, use strategies to scale MySQL)
  • 135. OpenStack Dashboard (Horizon) Identity Object Storage 47 Dashboard Image Service Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Web Dashboard – self-service UI for creating and managing your own compute, networking, and storage resources Start off by showing some of the screens
  • 136. OpenStack Dashboard (Horizon) ● Python WSGI Application ● Django framework ● Stateless client of OpenStack APIs httpd horizon OpenStack APIs 48 http://slidesha.re/1gF0PEK
  • 137. OpenStack Dashboard (Horizon) Scaling Load Balancer httpd horizon httpd horizon httpd horizon OpenStack APIs Session Storage 49 ... http://slidesha.re/1gF0PEK Horizontally scale out httpd w/ a load balancer All horizon instances use the same OpenStack APIs What's different: Session state shared via Django's session engine, so whichever backends supported there default is local cache others are memcached, db, db+caching, signed cookies
  • 139. OpenStack Orchestration (Heat) ● Consumes all other OpenStack APIs ● Important concept: template defined stacks 51 http://slidesha.re/1gF0PEK Why Heat is awesome: Template defines your application in terms of all of the resources needed (instances, networks, database, load balancer) Version your deployment like your software Repeatable complex deployments that are fully automated AWS Cloudformation template compatible, but with added OpenStack resources AWS Cloudformation API Also has an OpenStack API, native template syntax in the works Implements HA, auto scaling, was shown in keynote this AM
  • 140. OpenStack Orchestration (Heat) ReST API / CFN API heat-api AMQP heat-engine OpenStack APIs DB 52 http://slidesha.re/1gF0PEK Heat-api – serves up the ReST API and/or CFN API First time AMQP comes up. Explain it. Advanced Message Queueing Protocol. Scalable messaging between applications. We use Qpid. Api talks to engine via AMQP Engine does the real work of setting up the stack. Makes many API calls to other OpenStack services to set up all of the resources defined in the template More about AMQP http://docs.openstack.org/developer/nova/devref/rpc. html
  • 141. OpenStack Orchestration (Heat) Scaling Load Balancer heat-api heat-api ... heat-api AMQP heat-engine heat-engine ... heat-engine OpenStack APIs 53 http://slidesha.re/1gF0PEK Horizontal scaling like others What's different: AMQP distribution, db per heatengine
  • 143. OpenStack Metering (Ceilometer) ● The foundation of billing or charge back systems ● Concepts ● ● Compute Pollsters ● Central Pollster ● Notifications ● 55 Meters Collectors http://slidesha.re/1gF0PEK Meters – any type of usage data, transformed into billable items by your own system How much of a thing, how long, whatever makes sense (CPU hours, bandwidth) Notifications – Most projects emit usage notifications via AMQP Compute pollsters – poll for other data on compute nodes Central pollster – plug point, poll for data from elsewhere Collectors – collect meters from all of these places and store it (in a db, mongodb, mysql/postgres)
  • 144. OpenStack Metering (Ceilometer) Credit: Doug Hellman http://stevedore.readthedocs.org/en/latest/essays/pycon2013.html#requirements-for-ceilometer 56 http://slidesha.re/1gF0PEK Really nice conceptual architecture diagram
  • 145. OpenStack Metering (Ceilometer) 57 http://slidesha.re/1gF0PEK Another view of the architecture, this one showing actual services that run, including the API service A few services funneling meters to the collector Both collector and API access the backend store Talk about scaling from this slide: Horizontal scaling of API, compute pollsters, collector
  • 146. OpenStack Object Storage (Swift) Identity Object Storage 58 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 147. OpenStack Object Storage (Swift) ● Concepts ● ● Containers – Organize Your Data ● Objects – Your Data ● 59 Accounts Ring – Internal Data Structure http://slidesha.re/1gF0PEK Object Storage ... store and retrieve blobs of data Note that swift manages replicas of data across multiple storage nodes Ring internal, basically a distributed hash table, but exposed to you as an admin. You tell swift info about your deployment so it can build the ring
  • 148. OpenStack Object Storage (Swift) API Storage Credit: Mark McLoughlin 60 http://slidesha.re/1gF0PEK Basically two node types, API nodes and storage nodes Storage nodes hold a subset of data, one of the replicas of it How does scaling work with these 2 node types?
  • 149. OpenStack Object Storage (Swift) Scaling Load balancer Proxy Storage 61 Proxy Storage ... Proxy ... Storage http://slidesha.re/1gF0PEK Horizontal scaling like the rest What's different here is the storage nodes: can run as many as you need, the ring is generated to account for added/removed nodes, rebalancing done as needed
  • 150. OpenStack Image Service (Glance) Identity Object Storage 62 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 151. OpenStack Image Service (Glance) ● Concepts ● ● Metadata ● 63 Images Storage Backends http://slidesha.re/1gF0PEK Registry for Images – disk images for creating VMs Example metadata: - name of the image - size - access control (public or private?) - hardware info, hw_vif_driver=e1000 vs virtio Storage backends - filesystem backed (local, or glusterfs) - Swift
  • 152. OpenStack Image Service (Glance) ReST API glance-api ReS T Image Storage 64 glance-registry DB http://slidesha.re/1gF0PEK
  • 153. OpenStack Image Service (Glance) Scaling Load Balancer glance-api glance-api ... glance-api glance-registry Image Storage 65 * Scales horizontally the same way as the API DB http://slidesha.re/1gF0PEK Horizontal scaling of the api as usual All accessing the same backend image storage Glance-registry simplified for the diagram, but can horizontally scale with a load balancer as well
  • 154. OpenStack Block Storage (Cinder) Identity Object Storage 66 Dashboard Image Service Orchestration Block Storage Metering Networking http://slidesha.re/1gF0PEK Compute
  • 155. OpenStack Block Storage (Cinder) ● Concepts ● ● Snapshots ● 67 Volumes Storage Backends http://slidesha.re/1gF0PEK Volumes can be hotplugged to running Vms, but that's handled by the compute service Storage backends - LVM based storage the default, iSCSI - Various storage vendors' appliances, iSCSI - NFS, file backed - GlusterFS, file backed
  • 156. OpenStack Block Storage (Cinder) ReST API cinder-api cinder-scheduler AMQP cinder-volume DB 68 http://slidesha.re/1gF0PEK ReST API for external, AMQP internal, as seen before Scheduler for placement logic Volume servers for managing storage
  • 157. OpenStack Block Storage (Cinder) Scaling Load Balancer cinder-api cinder-api cinder-scheduler cinder-scheduler cinder-scheduler ... cinder-api AMQP cinder-volume cinder-volume cinder-volume 69 http://slidesha.re/1gF0PEK Horizontal scaling using patterns seen before
  • 158. OpenStack Networking (...) Identity Object Storage 70 Dashboard Image Service Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Plugin is networking tech specific, Not all have agents Horizontal Scaling of the API L2 agents – for some, not all plugins DHCP agents – IP address management, networks scheduled to DHCP agents L3 agents – can create routers to connect multiple networks, gateway to external networks, floating IP support, security groups, scale by scheduling routers New stuff happening: LbaaS and VPNaaS Scale: horizontal API, L2 agents run on all nodes, can run multiple DHCP agents and L3 agents
  • 159. OpenStack Networking (...) ● Concepts ● ● Routers ● Subnets ● Ports ● 71 Networks Vendor plugins http://slidesha.re/1gF0PEK Network. An isolated virtual layer-2 domain. Virtual networks for your Vms, or provider networks that map to physical networks in your data center Routers – Connectivity to external networks, connect multiple virtual networks together Subnet. An IP address block. IPs assigned to ports. Port. A virtual, or logical, switch port on a specified network. Instances get attached to these. Like Cinder, Quantum has lots of plugins for various vendors' networking technologies The default open source stuff: linux bridges, Openvswitch
  • 160. OpenStack Networking (...) 72 http://slidesha.re/1gF0PEK Network. An isolated virtual layer-2 domain. Virtual networks for your Vms, or provider networks that map to physical networks in your data center Routers – Connectivity to external networks, connect multiple virtual networks together Subnet. An IP address block. IPs assigned to ports. Port. A virtual, or logical, switch port on a specified network. Instances get attached to these. Like Cinder, Quantum has lots of plugins for various vendors' networking technologies The default open source stuff: linux bridges, Openvswitch
  • 162. OpenStack Compute (Nova) ● Concepts ● ● Flavors / Instance Types ● ● Instances / Servers Virt drivers OpenStack API and EC2 API 74 http://slidesha.re/1gF0PEK Instances – Vms Flavors – resources (CPUs, RAM, disk) Virt drivers – choice of hypervisor, KVM most popular, even supports bare metal provisioning! Native OpenStack ReST API EC2 API
  • 163. OpenStack Compute (Nova) ReST API nova-api nova-scheduler AMQP nova-conductor nova-compute Libvirt+KVM DB 75 http://slidesha.re/1gF0PEK Looks very similar to Cinder, (because Cinder came from Nova) Api, scheduler, compute for managing hypervisor nodes What's different: nova-conductor For security reasons, want to isolate compute nodes as much as possible, so no direct db access
  • 164. OpenStack Compute (Nova) Scaling (Step 1) Load Balancer nova-api nova-scheduler nova-conductor AMQP nova-compute DB 76 Libvirt+KVM Libvirt+KVM Libvirt+KVM http://slidesha.re/1gF0PEK This works ... to a point (can still support many thousands of nodes) DB and message broker become a pain point There's another level scaling being worked on now: cells, will show you how cells works, starting with this picture
  • 165. OpenStack Compute (Nova) Scaling (Step 2) API Cell AMQP Compute Cell 77 Compute Cell ... Compute Cell http://slidesha.re/1gF0PEK Cells, each with their own message broker and database Communication over AMQP between the nova-cells service in each cell Cells can be local or geographically distributed, all under a single API endpoint Next diagrams show what's in a cell
  • 166. OpenStack Compute (Nova) Scaling (Step 2) Compute Cell nova-cells nova-scheduler AMQP nova-conductor nova-compute DB 78 Libvirt+KVM Libvirt+KVM Libvirt+KVM http://slidesha.re/1gF0PEK Removed nova-api, added nova-cells service Its own db and message broker
  • 167. OpenStack Compute (Nova) Scaling (Step 2) ReST API API Cell Load Balancer nova-api AMQP nova-cells DB 79 http://slidesha.re/1gF0PEK Removed everything but nova-api, added nova-cells service
  • 168. OpenStack Compute (Nova) Scaling (Step 2) API Cell AMQP Compute Cell 80 Compute Cell ... Compute Cell http://slidesha.re/1gF0PEK Again, this is what it looks like Large amounts of nodes grouped into cells, federated using AMQP
  • 169. OpenStack Components Identity Object Storage 81 Dashboard Image Service Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Deep breath! Now that we've taken the deep dive, let's step back out Performing operations in compute often requires interacting with multiple services Now will go through an example (multiple slides), start an instance Start an instance – auth with keystone, request instance from nova, get image from glance, potentially attach volume from cinder, get network info from quantum, fire off notifications consumed by ceilometer
  • 170. Boot a Server – Step 1 1 Identity Object Storage Dashboard Image Service 82 Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Step 1 – get a token Single keystone service, stores token in its token db
  • 171. Boot a Server – Step 2 1 Identity Object Storage 83 2 Dashboard Image Service Orchestration Block Storage Metering Networking Compute http://slidesha.re/1gF0PEK Step 2 – Request server from compute service Next slide has nova diagram to talk about how it gets processed
  • 172. OpenStack Compute (Nova) ReST API nova-api nova-scheduler AMQP nova-conductor nova-compute Libvirt+KVM DB 84 http://slidesha.re/1gF0PEK Boot a server API -> scheduler -> compute
  • 173. Boot a Server – Step 3 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 85 Image Service Block Storage Networking Compute http://slidesha.re/1gF0PEK Step 3 – Download image to compue node if necessary Talks to the glance-api service, image data streamed from storage backend
  • 174. Boot a Server – Step 4 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 86 Image Service Block Storage 4 Networking Compute http://slidesha.re/1gF0PEK Step 4 –Request block storage volume info so that it can be attached to an instance Talks to the cinder-api service
  • 175. Boot a Server – Step 5 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 87 Image Service Block Storage 4 Networking Compute 5 http://slidesha.re/1gF0PEK Step 5 –Request network information Talks to quantum-api service, tell it the network(s) that were requested, quantum will allocate port
  • 176. Boot a Server – Step 6 1 Identity 2 Dashboard Orchestration Metering 3 Object Storage 88 Image Service Block Storage 4 6 Networking Compute 5 http://slidesha.re/1gF0PEK Step 6 –With all info needed, boot the VM Back to the nova-compute service, boots the VM by giving libvirt all necessary info