Openstack Overview
Openstack Overview
1
Agenda
• What is Openstack ?
• What is a cloud workload ?
• OpenStack upstream
• OpenStack Architecture
• OpenStack incubating projects
• OpenStack Red Hat distributions
What is Openstack ?
3
OpenStack is ...
Cloud workload
OpenStack is ...
Self Service
APIs
Web
Dashboard
OpenStack is ...
Building blocks
OpenStack is ...
Illusion of Infinite Capacity
OpenStack is ...
Massive Scale
OPENSTACK
OPENSTACK COMMUNITY
In 4 years
*Havana
What is a cloud workload ?
12
SERVICE MODELS / WORKLOADS
TRADITIONAL WORKLOADS CLOUD WORKLOADS
●
Stateful VMs, application defined in VM ●
Stateless VMs, application distributed
●
Big VMs: vCPU, vRAM, local storage ●
Small VMs: vCPU, vRAM, storage
inside VM separate
●
Application SLA = SLA of VM ●
Application SLA not dependent on any
one VM
●
SLA requires enterprise virtualization
features to keep VMs highly available ●
SLA requires ability to create and
destroy VMs where needed
●
Lifecycle measured in years
●
Lifecycle measured in hours to months
●
VMs scale up: add vCPU, vRAM, etc.
●
Applications scale out: add more VMs
●
Applications not designed to tolerate
failure of VMs ●
Applications designed to tolerate failure
of VMs
SERVICE MODELS / WORKLOADS
TRADITIONAL CLOUD
WORKLOADS WORKLOADS
15
UPSTREAM
• Releases every 6 months
– April & October: Named Alphabetically
• Upstream focus
– Distribution neutral
• Does not provide :
– Installer (devstack?) or centralized
management
Austin – October 2010
- Initial release
- Object Storage production ready
- Compute in testing
20
OPENSTACK ARCHITECTURE
Neutron
• Modular architecture
• Designed to easily scale out
• Based on (growing) set of core services
OPENSTACK ARCHITECTURE
Keystone
– Identity Service
– Common authorization framework
– Manages users, tenants and roles
– Pluggable backends (SQL, PAM, LDAP, IDM, etc)
OPENSTACK ARCHITECTURE
NOVA
– Core compute service comprised of
• Compute Nodes – hypervisors that run virtual machines
– Supports multiple hypervisors KVM, Xen, LXC, Hyper-V and ESX
• Distributed controllers that handle scheduling, API calls, etc
– Native OpenStack API and Amazon EC2 compatible API
OPENSTACK ARCHITECTURE
Glance
– Image service
– Stores and retrieves disk images (virtual machine templates)
– Supports Raw, QCOW, VMDK, VHD, ISO, OVF & AMI/AKI
– Backend storage : Filesystem, Swift, Gluster, Amazon S3
OPENSTACK ARCHITECTURE
Swift
– Object Storage service
– Modeled after Amazon's S3 service
– Provides simple service for storing and retrieving arbitrary data
– Native API and S3 compatible API
OPENSTACK ARCHITECTURE
Neutron
Neutron
– Network Service
– Provides framework for Software Defined Network (SDN)
– Plugin architecture
• Allows integration of hardware and software based network solutions
– Open vSwitch, Cicso UCS, Standard Linux Bridge, Nicira NVP
OPENSTACK ARCHITECTURE
Cinder
– Block Storage (Volume) Service
– Provides block storage for virtual machines (persistent disks)
– Similar to Amazon EBS service
– Plugin architecture for vendor extensions
eg. NetApp driver for Cinder
OPENSTACK ARCHITECTURE
Horizon
– Dashboard
– Provides simple self service UI for end-users
– Basic cloud administrator functions
• Define users, tenants and quotas
• No infrastructure management
Let’s Follow a Request..
Hey Glance,
Spin me up a
can I get the
RHEL 6.4 VM!
8)
It’s Thank And make it
image?
renderi you LARGE!
8)
ng OpenStac
time! k!!
Umm, Do I
Swift
Glance Node know you? I
need to see
some
papers!!
Indeed I do. capacity capacity
Don’t forget
to mount it! Keystone
Papers
Cinder, have are
that volume VM capacity good.
ready for me? Nova Time to
get to
work!
Ok, we
Node need to
find a
Here’s your
Nova place to
IP, default build this
route and VM.
FW settings. Tag -
Neutron, I you’re it!
need a
Neutron network with
all the Node
trimmings!
OPENSTACK INCUBATING PROJECTS
32
OTHER OPENSTACK PROJECTS
• Deployment (TripleO)
– Installing, upgrading and operating Openstack using Openstack’s
own cloud facilities (nova, neutron and heat)
– Continuous integration and deployment testing at the bare metal
layer (Ironic)
• File storage (Manila)
– Shared filesystem as a service
– NFS, Cifs and others
• Database Service (Trove)
• Bare metal (Ironic)
• Raksha (Backup)
• Queue service (Marconi)
• Common Libraries (Oslo)
OpenStack Red Hat distributions
34
BUILDING A COMMUNITY
• RDO Project
– Community distribution of OpenStack
– Packaged for *EL6 and Fedora
– Freely available without registration
– Packstack (puppet modules) to simplify the installation
• < 10 minutes to install
• Upstream
– Source code Only
– Releases every 6 month
– 2 to 3 'snapshots' including bug fixes
– No more fixes/snapshots after next release
• RDO
– Follows upstream cadence
– Delivers binaries
WEBSITE
37
38
RDO Quick Start
# yum install y http://rdo.fedorapeople.org/openstack
havana/rdoreleasehavana.rpm sudo
# yum install y openstackpackstack
# packstack allinone –osneutroninstall=n
http://$YOURIP/dashboard
RED HAT ENTERPRISE LINUX OPENSTACK
PLATFORM
• OpenStack certification
(CL210 and EX210)
Use cases
48
CERN's infrastructure
50
TO LEARN MORE
54