openstack 101 @ enei 2014

41
OPENSTACK 101 Carlos Gonçalves [email protected] cgoncalves carlospt http://linkedin.com/in/carloseduardogoncalves ENEI 2014 April 12, 2014

Upload: carlos-goncalves

Post on 16-Apr-2017

4.347 views

Category:

Software


0 download

TRANSCRIPT

Page 1: OpenStack 101 @ ENEI 2014

OPENSTACK 101 Carlos Gonçalves  

[email protected] cgoncalves carlospt http://linkedin.com/in/carloseduardogoncalves

ENEI 2014 April 12, 2014

Page 2: OpenStack 101 @ ENEI 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

Page 3: OpenStack 101 @ ENEI 2014

Outline •  Introduction

• OpenStack

• Demo

• Get involved

• Q & A

•  Final notes

April 12, 2014 OpenStack 101 3

Page 4: OpenStack 101 @ ENEI 2014

INTRODUCTION

Page 5: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 5

More devices & more broadband!

Page 6: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 6

Is it born in us?

Page 7: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 7

We’ve been producing data …

Page 8: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 8

… lots of data!

Page 9: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 9

Photos, videos, music, docs, emails …

Page 10: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 10

Anywhere

Page 11: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 11

Anytime

Page 12: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 12

Anyhow

Page 13: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 13

Everything accessible at user’s fingertips

Page 14: OpenStack 101 @ ENEI 2014

April 12, 2014 OpenStack 101 14

Cloud computing in a nutshell

Page 15: OpenStack 101 @ ENEI 2014

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

Page 16: OpenStack 101 @ ENEI 2014

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

Page 17: OpenStack 101 @ ENEI 2014

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

Page 18: OpenStack 101 @ ENEI 2014

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

Page 19: OpenStack 101 @ ENEI 2014

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

Page 20: OpenStack 101 @ ENEI 2014

OPENSTACK

Page 21: OpenStack 101 @ ENEI 2014

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

Page 22: OpenStack 101 @ ENEI 2014

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

Page 23: OpenStack 101 @ ENEI 2014

Who’s OpenStack

April 12, 2014 OpenStack 101 23

Page 24: OpenStack 101 @ ENEI 2014

… but more importantly, YOU!

April 12, 2014 OpenStack 101 24

Page 25: OpenStack 101 @ ENEI 2014

Stats

April 12, 2014 OpenStack 101 25

All releases Icehouse

+ 200 companies + 2,000 code contributors + 2,000,000 lines of code

Page 26: OpenStack 101 @ ENEI 2014

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)

Page 27: OpenStack 101 @ ENEI 2014

A fraction of OpenStack architecture

April 12, 2014 OpenStack 101 27

Page 28: OpenStack 101 @ ENEI 2014

DEMO

Page 29: OpenStack 101 @ ENEI 2014

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

Page 30: OpenStack 101 @ ENEI 2014

Setup 1.  Import the provided appliance to VirtualBox 2.  Create vboxnet0 and vboxnet1

April 12, 2014 OpenStack 101 30

Page 31: OpenStack 101 @ ENEI 2014

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

Page 32: OpenStack 101 @ ENEI 2014

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

Page 33: OpenStack 101 @ ENEI 2014

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

Page 34: OpenStack 101 @ ENEI 2014

GET INVOLVED

Page 35: OpenStack 101 @ ENEI 2014

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

Page 36: OpenStack 101 @ ENEI 2014

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

Page 37: OpenStack 101 @ ENEI 2014

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

Page 38: OpenStack 101 @ ENEI 2014

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

Page 39: OpenStack 101 @ ENEI 2014

Q & A

Thank you

ENEI 2014 April 12, 2014

Page 40: OpenStack 101 @ ENEI 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

Page 41: OpenStack 101 @ ENEI 2014

OPENSTACK 101 Carlos Gonçalves  

[email protected] cgoncalves carlospt http://linkedin.com/in/carloseduardogoncalves

ENEI 2014 April 12, 2014