OpenStack for Rookies @ IPN

56
OPENSTACK Carlos Gonçalves [email protected] cgoncalves carlospt IPN, Coimbra July 29 th , 2014 FOR ROOKIES

Transcript of OpenStack for Rookies @ IPN

Page 1: OpenStack for Rookies @ IPN

OPENSTACK Carlos Gonçalves  

[email protected] cgoncalves carlospt

IPN, Coimbra July 29th, 2014

FOR ROOK

IES

Page 2: OpenStack for Rookies @ IPN

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

Page 3: OpenStack for Rookies @ IPN

Outline • Cloud Computing 101

• OpenStack

• Demo

• Get involved

•  Instituto de Telecomunicações

• Q & A

•  Final notes

July 29, 2014 OpenStack for Rookies 3

Page 4: OpenStack for Rookies @ IPN

INTRODUCTION

Page 5: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

More devices & more broadband!

Page 6: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Is it born in us?

Page 7: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

We’ve been producing data …

Page 8: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

… lots of data!

Page 9: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Photos, videos, music, docs, emails …

Page 10: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Anywhere

Page 11: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Anytime

Page 12: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Anyhow

Page 13: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Everything accessible at user’s fingertips

Page 14: OpenStack for Rookies @ IPN

July 29, 2014 OpenStack for Rookies

Cloud computing in a nutshell

Page 15: OpenStack for Rookies @ IPN

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

Page 16: OpenStack for Rookies @ IPN

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

Page 17: OpenStack for Rookies @ IPN

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

Page 18: OpenStack for Rookies @ IPN

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

Page 19: OpenStack for Rookies @ IPN

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

Page 20: OpenStack for Rookies @ IPN

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

Page 21: OpenStack for Rookies @ IPN

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

Page 22: OpenStack for Rookies @ IPN

So, thinking you’ve mastered Cloud Computing by now?

July 29, 2014 OpenStack for Rookies 22

Page 23: OpenStack for Rookies @ IPN

3 Question Quiz

July 29, 2014 OpenStack for Rookies 23

Page 24: OpenStack for Rookies @ IPN

Lemme think… 1.  Cloud computing is tightly

coupled with virtualization, right?

July 29, 2014 OpenStack for Rookies 24

Page 25: OpenStack for Rookies @ IPN

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

Page 26: OpenStack for Rookies @ IPN

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

Page 27: OpenStack for Rookies @ IPN

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”

Page 28: OpenStack for Rookies @ IPN

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

Page 29: OpenStack for Rookies @ IPN

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!

Page 30: OpenStack for Rookies @ IPN

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

Page 31: OpenStack for Rookies @ IPN

OPENSTACK

Page 32: OpenStack for Rookies @ IPN

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

Page 33: OpenStack for Rookies @ IPN

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

Page 34: OpenStack for Rookies @ IPN

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

Page 35: OpenStack for Rookies @ IPN

On the rise!

July 29, 2014 OpenStack for Rookies 35

Source: software.intel.com

Page 36: OpenStack for Rookies @ IPN

A fraction of RCP & API call interactions

July 29, 2014 OpenStack for Rookies 36

Folsom (Sep 2012) !!

Page 37: OpenStack for Rookies @ IPN

Who’s OpenStack

July 29, 2014 OpenStack for Rookies 37

Page 38: OpenStack for Rookies @ IPN

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

Page 39: OpenStack for Rookies @ IPN

Stats (2/2)

July 29, 2014 OpenStack for Rookies

Source: openstack.org

39

Page 40: OpenStack for Rookies @ IPN

DEMO

Page 41: OpenStack for Rookies @ IPN

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

Page 42: OpenStack for Rookies @ IPN

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

Page 43: OpenStack for Rookies @ IPN

GET INVOLVED

Page 44: OpenStack for Rookies @ IPN

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

Page 45: OpenStack for Rookies @ IPN

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

Page 46: OpenStack for Rookies @ IPN

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

Page 47: OpenStack for Rookies @ IPN

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

Page 48: OpenStack for Rookies @ IPN

INSTITUTO DE TELECOMUNICAÇÕES

Page 49: OpenStack for Rookies @ IPN

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

Page 50: OpenStack for Rookies @ IPN

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)

Page 51: OpenStack for Rookies @ IPN

Q & A

Thank you

Page 52: OpenStack for Rookies @ IPN

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

Page 53: OpenStack for Rookies @ IPN

BACKUP SLIDES

Page 54: OpenStack for Rookies @ IPN

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

Page 55: OpenStack for Rookies @ IPN

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

Page 56: OpenStack for Rookies @ IPN

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