openstack 101 @ enei 2014
TRANSCRIPT
OPENSTACK 101 Carlos Gonçalves
[email protected] cgoncalves carlospt http://linkedin.com/in/carloseduardogoncalves
ENEI 2014 April 12, 2014
Who’s this guy? • MSc 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 contributor
April 12, 2014 OpenStack 101 2
Outline • Introduction
• OpenStack
• Demo
• Get involved
• Q & A
• Final notes
April 12, 2014 OpenStack 101 3
INTRODUCTION
April 12, 2014 OpenStack 101 5
More devices & more broadband!
April 12, 2014 OpenStack 101 6
Is it born in us?
April 12, 2014 OpenStack 101 7
We’ve been producing data …
April 12, 2014 OpenStack 101 8
… lots of data!
April 12, 2014 OpenStack 101 9
Photos, videos, music, docs, emails …
April 12, 2014 OpenStack 101 10
Anywhere
April 12, 2014 OpenStack 101 11
Anytime
April 12, 2014 OpenStack 101 12
Anyhow
April 12, 2014 OpenStack 101 13
Everything accessible at user’s fingertips
April 12, 2014 OpenStack 101 14
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
April 12, 2014 OpenStack 101 15
Essential characteristics 1. On-demand self-service 2. Rapid elasticity 3. Ubiquitous network access 4. Resource pooling 5. Measured service
April 12, 2014 OpenStack 101 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
April 12, 2014 OpenStack 101 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
April 12, 2014 OpenStack 101 18
Deployment models • Public cloud • Private cloud • Community cloud • Hybrid cloud
April 12, 2014 OpenStack 101 19
Community cloud
On premise
Private cloud
Community cloud
Off premise
Public cloud
Community cloud
Community cloud
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
April 12, 2014 OpenStack 101 21
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 October 2014 K-series April 2015
April 12, 2014 OpenStack 101 22
Codenames alphabetically ordered 6 month development cycle
https://wiki.openstack.org/wiki/Release_Naming
Who’s OpenStack
April 12, 2014 OpenStack 101 23
… but more importantly, YOU!
April 12, 2014 OpenStack 101 24
Stats
April 12, 2014 OpenStack 101 25
All releases Icehouse
+ 200 companies + 2,000 code contributors + 2,000,000 lines of code
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) …
April 12, 2014 OpenStack 101 26
Incubator Bare metal (Ironic) Queue service (Marconi) Data processing (Sahara) Key management (Barbican)
Related Rally (benchmarking system) Solum (platform as a service) Mistral (task management service) Designate (DNSaaS) Murano (application catalog)
A fraction of OpenStack architecture
April 12, 2014 OpenStack 101 27
DEMO
Environment • VirtualBox • Ubuntu 12.04 LTS 64bit • OpenStack Icehouse (yay!)
• DevStack • Offline (no Internet access is required) • All-in-one node (2GB RAM minimum; 4GB recommended)
April 12, 2014 OpenStack 101 29
3XEOLF������������
,QWHUQDO������������
&RQWUROOHU
&RPSXWH��
&RPSXWH�1
Setup 1. Import the provided appliance to VirtualBox 2. Create vboxnet0 and vboxnet1
April 12, 2014 OpenStack 101 30
Setup 1. Import the provided appliance to VirtualBox 2. Create vboxnet0 and vboxnet1 3. Attach vboxnet1 to Adapter 1 and vboxnet0 to Adapter 2
April 12, 2014 OpenStack 101 31
Setup 1. Import the provided VM to VirtualBox 2. Create vboxnet0 and vboxnet1 3. Attach vboxnet1 to Adapter 1 and vboxnet0 to Adapter 2 4. Start VM and login (u: ubuntu, p: ubuntu)
5. Run OpenStack $ ~/devstack/rejoin-‐stack.sh
6. Browse to http://10.10.1.2 7. Follow my steps or play with it yourself
User: admin / demo ; password: secrete
April 12, 2014 OpenStack 101 32
I challenge you to… • Create a second virtual machine • Configure it as an OpenStack Compute • Attach it to your current OpenStack environment • Make sure it runs smoothly
Tips: Use Devstack $ ./stack.sh $ ./rejoin-stack.sh
April 12, 2014 OpenStack 101 33
3XEOLF������������
,QWHUQDO������������
&RQWUROOHU
&RPSXWH��
&RPSXWH�1
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
April 12, 2014 OpenStack 101 35
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 • Atlanta City, USA, May 2014 • Europe (Berlin/Paris), November 2014!
April 12, 2014 OpenStack 101 36
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
April 12, 2014 OpenStack 101 37
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
April 12, 2014 OpenStack 101 38
Q & A
Thank you
ENEI 2014 April 12, 2014
Final notes • VMs and slides will be publicly shared • Feel free to poke me for further questions or discussion • I’m looking forward to collaborate with you!
Don’t miss Thomas M. Bohnert’s presentation on ‘Cloud Computing’ tomorrow at 17h15!
April 12, 2014 OpenStack 101 40
OPENSTACK 101 Carlos Gonçalves
[email protected] cgoncalves carlospt http://linkedin.com/in/carloseduardogoncalves
ENEI 2014 April 12, 2014