openstack for rookies @ ipn
TRANSCRIPT
OPENSTACK Carlos Gonçalves
[email protected] cgoncalves carlospt
IPN, Coimbra July 29th, 2014
FOR ROOK
IES
Résumé • MS Computers and Telematics Engineer (University of
Aveiro) • Researcher at ATNoG @ Instituto de Telecomunicações • FOSS enthusiastic and contributor • Currently working on Cloud computing, SDN, NFV • OpenStack ATC
OpenStack for Rookies July 29, 2014 2
Outline • Cloud Computing 101
• OpenStack
• Demo
• Get involved
• Instituto de Telecomunicações
• Q & A
• Final notes
July 29, 2014 OpenStack for Rookies 3
INTRODUCTION
July 29, 2014 OpenStack for Rookies
More devices & more broadband!
July 29, 2014 OpenStack for Rookies
Is it born in us?
July 29, 2014 OpenStack for Rookies
We’ve been producing data …
July 29, 2014 OpenStack for Rookies
… lots of data!
July 29, 2014 OpenStack for Rookies
Photos, videos, music, docs, emails …
July 29, 2014 OpenStack for Rookies
Anywhere
July 29, 2014 OpenStack for Rookies
Anytime
July 29, 2014 OpenStack for Rookies
Anyhow
July 29, 2014 OpenStack for Rookies
Everything accessible at user’s fingertips
July 29, 2014 OpenStack for Rookies
Cloud computing in a nutshell
Definition
“Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing
resources […] that can be rapidly provisioned and released with minimal management effort or service provider interaction.”
— NIST
July 29, 2014 OpenStack for Rookies 15
Essential characteristics 1. On-demand self-service 2. Rapid elasticity 3. Ubiquitous network access 4. Resource pooling 5. Measured service
July 29, 2014 OpenStack for Rookies 16
Delivery models
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Del
iver
ed a
s a
serv
ice
Use
r man
ages
Use
r man
ages
Del
iver
ed a
s a
serv
ice
Del
iver
ed a
s a
serv
ice
Infrastructure as a Service Platform as a Service Software as a Service
July 29, 2014 OpenStack for Rookies 17
Delivery models
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Del
iver
ed a
s a
serv
ice
Use
r man
ages
Use
r man
ages
Del
iver
ed a
s a
serv
ice
Del
iver
ed a
s a
serv
ice
Infrastructure as a Service Platform as a Service Software as a Service
OpenStack for Rookies July 29, 2014 18
Delivery models
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Del
iver
ed a
s a
serv
ice
Use
r man
ages
Use
r man
ages
Del
iver
ed a
s a
serv
ice
Del
iver
ed a
s a
serv
ice
Infrastructure as a Service Platform as a Service Software as a Service
OpenStack for Rookies July 29, 2014 19
Delivery models
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Networking
Storage
Servers
Virtualization
Operating System
Middleware
Runtime
Data
Applications
Del
iver
ed a
s a
serv
ice
Use
r man
ages
Use
r man
ages
Del
iver
ed a
s a
serv
ice
Del
iver
ed a
s a
serv
ice
Infrastructure as a Service Platform as a Service Software as a Service
OpenStack for Rookies July 29, 2014 20
Deployment models • Public cloud • Private cloud • Community cloud • Hybrid cloud
July 29, 2014 OpenStack for Rookies
Community cloud
On premise
Private cloud
Community cloud
Off premise
Public cloud
Community cloud
Community cloud
21
So, thinking you’ve mastered Cloud Computing by now?
July 29, 2014 OpenStack for Rookies 22
3 Question Quiz
July 29, 2014 OpenStack for Rookies 23
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
July 29, 2014 OpenStack for Rookies 24
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
July 29, 2014 OpenStack for Rookies
Nope!
Not really. Recap slides 15-16
25
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
2. You’re pretty much vendor lock-in free, aren’t you?
July 29, 2014 OpenStack for Rookies
Nope!
26
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
2. You’re pretty much vendor lock-in free, aren’t you?
July 29, 2014 OpenStack for Rookies
Nope!
Nah!
27
There’s no such thing as “one size fits all”
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
2. You’re pretty much vendor lock-in free, aren’t you?
3. Your data is private and all backed-up. It’s your Fort Knox!
July 29, 2014 OpenStack for Rookies
Nope!
Nah!
28
Lemme think… 1. Cloud computing is tightly
coupled with virtualization, right?
2. You’re pretty much vendor lock-in free, aren’t you?
3. Your data is private and all backed-up. It’s your Fort Knox!
July 29, 2014 OpenStack for Rookies
Nope!
Nah!
You still believe in Fairy Tales, I see…
29
Nup!
Bottom line is
July 29, 2014 OpenStack for Rookies
“Cloud Computing isn’t going to solve all your problems. It will, though, most likely help you on the quest towards it!”
— Myself, on behalf of Homer Simpson
30
OPENSTACK
OpenStack
“OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a data center,
all managed through a dashboard that gives administrators control while empowering users to provision resources through a web interface.”
— OpenStack Foundation
July 29, 2014 OpenStack for Rookies 32
Release history Austin 21 October 2010 Bexar 3 February 2011 Cactus 15 April 2011 Diablo 22 September 2011 Essex 5 April 2012 Folsom 27 September 2012 Grizzly 4 April 2013 Havana 17 October 2013 Icehouse 17 April 2014 Juno 16 October 2014 Kilo April 2015
July 29, 2014 OpenStack for Rookies
Codenames alphabetically ordered; 6-month development cycle
https://wiki.openstack.org/wiki/Release_Naming
33
Official, incubator et al. programs Official
Common Libraries (Oslo) Compute (Nova) Object Storage (Swift) Image Service (Glance) Identity (Keystone) Dashboard (Horizon) Networking (Neutron) Block Storage (Cinder) Telemetry (Ceilometer) Orchestration (Heat) Database Service (Trove) Deployment (TripleO) Devstack (DevStack) Data processing (Sahara)
July 29, 2014 OpenStack for Rookies
Incubator Bare metal (Ironic) Queue service (Marconi) Key management (Barbican) Designate (DNSaaS)
Related Rally (benchmarking system) Solum (platform as a service) Mistral (task management service) Murano (application catalog) Manila (shared file system service) …
34
On the rise!
July 29, 2014 OpenStack for Rookies 35
Source: software.intel.com
A fraction of RCP & API call interactions
July 29, 2014 OpenStack for Rookies 36
Folsom (Sep 2012) !!
Who’s OpenStack
July 29, 2014 OpenStack for Rookies 37
Stats (1/2)
July 29, 2014 OpenStack for Rookies
All releases Icehouse
+ 200 companies + 2,000 code contributors + 2,000,000 lines of code + 400,000 comment lines Commit contributions:
Data retrieved from stackalytics.com and openhub.net on July 24th
Juno
38
OpenStack user survey in the backup slides section J
Stats (2/2)
July 29, 2014 OpenStack for Rookies
Source: openstack.org
39
DEMO
Environment • Vagrant + VirtualBox • Ubuntu 14.04 LTS 64bit • OpenStack Icehouse
• DevStack • All-in-one node (2GB RAM minimum; 4GB recommended)
July 29, 2014 OpenStack for Rookies
3XEOLF������������
,QWHUQDO������������
&RQWUROOHU
&RPSXWH��
&RPSXWH�1
41
Setup 1. Run Vagrant
(host) $ vagrant up 2. SSH to the VM
(host) $ vagrant ssh 3. Stack up!
(vm) $ ~/devstack/stack.sh 4. Re-start / re-attach
(vm) $ ~/devstack/rejoin-‐stack.sh 5. Browse to http://10.30.1.2 6. Follow my steps or play with it yourself
User: admin / demo ; password: secrete 7. Enable / disable services at your will
1. File ~/devstack/local.conf
July 29, 2014 OpenStack for Rookies 42
GET INVOLVED
Become a contributor • Propose blueprints
• https://wiki.openstack.org/wiki/Blueprints • https://blueprints.launchpad.net/openstack
• Help implement blueprints • Report bugs – http://launchpad.net/openstack • Help users – http://ask.openstack.org • Documentation / manuals – http://docs.openstack.org
• Blogging is yet another valuable way of contributing
• Spread the word of how awesome OpenStack is J
July 29, 2014 OpenStack for Rookies 44
Contacts and events • Ask OpenStack – http://ask.openstack.org
• IRC - https://wiki.openstack.org/wiki/IRC
• Mailing lists - https://wiki.openstack.org/wiki/MailingLists
• User groups and meetups - http://meetup.com/openstack
• OpenStack Design Summit • Every 6 months, 1 month after each release • Packed with thousands of Stackers J • Paris, France, 3-7 November 2014!
• Main conference (keynotes + expo) • Design sessions
July 29, 2014 OpenStack for Rookies 45
Useful links (1/2) • Documentation - http://docs.openstack.org
• Training Guides - http://docs.openstack.org/training-guides/content/module001-intro-openstack.html
• +100 slide presentations - http://www.slideshare.net/openstack • Dive into OpenStack Networking -
http://blog.oddbit.com/2013/11/14/quantum-in-too-much-detail/
• Community - http://www.openstack.org/community/ • IRC - https://wiki.openstack.org/wiki/IRC • Mailing lists - https://wiki.openstack.org/wiki/MailingLists • Q&A - https://ask.openstack.org • Planet OpenStack - http://planet.openstack.org
July 29, 2014 OpenStack for Rookies 46
Useful links (2/2) • Statistics
• Activity Board - http://activity.openstack.org • Stackalystics - http://www.stackalytics.com
• Job offers • https://www.openstack.org/community/jobs/ • http://www.indeed.com/q-Openstack-jobs.html
• OpenStack Reactions • http://openstackreactions.enovance.com
July 29, 2014 OpenStack for Rookies 47
INSTITUTO DE TELECOMUNICAÇÕES
ATNoG cloud
July 29, 2014 OpenStack for Rookies
+ 60 CPU cores + 250 GB RAM + 8 TB RAID-6 / NetApp Redundant power supply Production environment Started on OpenStack Folsom (Sep 2012) Currently on OpenStack Icehouse (April 2012) Hosting internal VMs, national and EU projects’ and some University of Aveiro courses’ http://atnog.av.it.pt
49
Community Contributions
July 29, 2014 OpenStack for Rookies 50
• Instituto de Telecomunicações is actively contributing to OpenStack and OpenDaylight
• OpenStack NFV and OpenStack Neutron Advanced Services team member
• Neutron Traffic Steering Abstraction • https://review.openstack.org/#/q/topic:bp/traffic-steering-abstraction,n,z
• Implementing External Attachment Points https://review.openstack.org/#/c/87825/
• Extending Ceilometer
• And some more bits... (e.g., DevStack, Horizon, Nova, Cinder)
Q & A
Thank you
Final notes • Slides will be available @ http://www.slideshare.net/cegoncalves
• Feel free to poke me for further questions or discussion • I’m looking forward to collaborate with you
Thank you for the invitation! Beer time?
July 29, 2014 OpenStack for Rookies 52
BACKUP SLIDES
User Survey
July 29, 2014 OpenStack for Rookies
822 survey responses 539 companies 387 deployments
Source: slideshare.net/openstack
54
383
182
27 25
191
14
Top 10 countries
13 14 23 24 24 25 39 57 63
336
IT BR DE AU GB CA FR CN IN
US
July 29, 2014 OpenStack for Rookies
Source: slideshare.net/openstack
55
1 1 1 2 2 3 3 3 3 3 3 4 4 5 5 5 7 8 8 9 12 13 15
32 37
71
Mellanox Other iSCSI
EqualLogic XenAPI Custom Huawei Scality
Sheepdog ZFS
Zadara HP 3PAR
HP LeftHand Coraid
Storwize XIV
SolidFire SAN/Solaris
Xenapi Nexenta SAN/HP
Windows EMC
GlusterFS NetApp
NFS
260
77
138
Other
Ceph
LVM
Storage Driver
86
35
72
Other
Chef
Puppet
Deployment tool
1 1 1 1 1 2 2 2 2 2
8 8
16 39
Anvil CFEngine
FAI Foreman
None Ansible
Fuel Other
StackOps Substratum
Crowbar SaltStack
PackStack DevStack
145
50
312
Other
xen
kvm
Hypervisor
1 1 4 5
13 13
21 23 23
41
Docker PowerVM
Other OpenVZ
Bare Metal hyperv
lxc QEMU
xenserver esx
49
49
111
Other
Centos
Ubuntu
OS
1
1
2
3
3
3
6
9
21
FreeBSD
Other
Scientific
Fedora
SUSE Linux
openSUSE
Debian
Windows
RHEL
125
101
155
Other
Linux Bridge
OpenVswitch
Network Driver
2 2 2 2 3 3 3 4 4 6 7
12 15
22 38
Arista Custom
Mellanox Modular Juniper
MidoNet PLUMgrid
NEC Other
Ryu Big Switch
Brocade Hyper-V
Nicira Cisco
2
13
20
103
171
Templated
KVS
PAM
LDAP
SQL
Identity Driver
July 29, 2014 OpenStack for Rookies
Sources: slideshare.net/openstack & openstack.org
56
Hosted Private Cloud
17%
On-Premise Private Cloud
58%
Public Cloud 15%
Hybrid Cloud 6%
Community Cloud 1% unspecified
3%
258 181
168 173
122 86
3
Dashboard Snapshotting to new images
Live migration Object storage
EC2 compatibility API S3 compatibility API
OCCI compatibility API
Features
178
173
165
Proof of
Dev/QA
Production
Stage