why openstack matters and how you can get involved

68
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Why OpenStack Matters And How You Can Get Started Matt Farina – CloudDevelop 2014

Upload: matt-farina

Post on 19-Jun-2015

150 views

Category:

Software


1 download

DESCRIPTION

Why OpenStack matters compared to other cloud technologies and how someone can get involved.

TRANSCRIPT

Page 1: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Why OpenStack Matters And How You Can Get StartedMatt Farina – CloudDevelop 2014

Page 2: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2

Matt Farina

• Master Technologist atHP Cloud

• OpenStack and Cloud Foundry for 3+ Years

• Long time open source contributor

• Author• mattfarina.com

@mattfarina

Page 3: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Why does cloud matter beyond AWS, Azure, and Google Cloud?

Page 4: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4

https://www.schneier.com/blog/archives/2014/06/chinese_hacking_1.html

Industrial Espionage

“Chinese hacking of American computer networks is old news. For years we've known about their attacks against U.S. government and corporate targets. We've seen detailed reports of how they hacked The New York Times. Google has detected them going after Gmail

accounts of dissidents. They've built sophisticated worldwide eavesdropping networks. These hacks target both military secrets and corporate intellectual property. They're perpetrated by a combination of state, state-sponsored and state-tolerated hackers. It's been going

on for years. ”- Bruce Schneier(Emphasis mine)

Page 5: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Many enterprises want to control and lock down at least part of their cloud

presence.

Page 6: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

EdwardSnowden

Page 7: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7

http://www.zdnet.com/brazilian-government-launches-own-cloud-offering-7000020738/

Page 8: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Governments International Reach

(eg., Microsoft Ireland Search Warrant)

Page 9: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Government and Industry Regulations

Page 10: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10

Page 11: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11

Page 12: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12

Cloud Growth in Private Cloud

Today

Public CloudHosted Private CloudTraditional Dedicated

Data from 451 Research

2 Years

Public CloudHosted Private CloudTraditional Dedicated

Page 13: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13

http://www.itweb.co.za/index.php?option=com_content&view=article&id=138383:Hybrid-cloud-makes-sense-for-CIOs&catid=869

“Market analyst firm Gartner believes almost 50% of large

enterprises will have hybrid cloud deployments by the end of 2017.”

Page 14: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14

Public Private

Hybrid

Page 15: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15

http://www.slideshare.net/blackducksoftware/2014-future-of-open-source-survey-results

Ability to access source code, add features and fix code yourself rose

sharply from #8 to #4 (since 2013).

Future of Open Source Survey 2014

Page 16: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

What is OpenStack?

Page 17: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17

OpenStack is open source (Apache 2 license)

Page 18: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18

Page 19: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19

Service Project Name

Identity Keystone

Object Storage Swift

Compute Nova

Networking Neutron

Block Storage Cinder

Image Service Glance

Dashboard Horizon

Telemetry Ceilometer

Orchestration Heat

Database Trove

Bare Metal Ironic

Cloud Messaging Zaqar

Elastic Map Reduce Sahara

Page 20: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

100+ Related Projects(stackforge)

Page 21: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.21

Think Of A Cloud Like Linux Distribution

Kernel User Land Additional Packages

Opinionated Config

Page 22: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.22

Kernel User Land Additional Packages

Opinionated Config

OpenStack and Related Projects

Page 23: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.23

Kernel User Land Additional Packages

Opinionated Config

Logging, DevOps, Security, and Parts You Fill In

Page 24: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.24

You could standup OpenStack yourself or………

Page 25: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.25

Use A Distribution

http://www.openstack.org/marketplace/distros/

Page 26: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.26

Numerous public clouds around the world

Public Clouds

http://www.openstack.org/marketplace/public-clouds/

Page 27: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.27

Page 28: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.28

http://www.indeed.com/jobtrends?q=openstack&l=&relative=1

Page 29: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.29

Page 30: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.30

Choose Your Own Adventure

1. Build Apps For OpenStack

2. Contribute to OpenStack

3. Standup OpenStack

http://www.flickr.com/photos/numberstumper/167209015/

Page 31: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

So, You Want To Build An App For OpenStack

Page 32: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.32

The OpenStack APIs are “basically” the same everywhere

Page 33: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.33

Start with DevStack or a public cloud

Page 34: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.34

developer.openstack.org

Page 35: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.35

Use An SDK … if one exists

Page 36: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.36

Page 37: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.37

API permutations can and do happen

The API and SDK problem

V1 V2 V3

Identity X X

Compute X (and 2.1)

Image X X

Block Storage X X

Telemetry X

Database X

Object Storage X

Page 38: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.38

http://developer.openstack.org/api-ref.html

Page 39: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.39

Ask Questions… ask.openstack.org

Page 40: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.40

Or use IRC wiki.openstack.org/wiki/IRC

Page 41: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.41

Page 42: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.42

Page 43: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

So, you want to contribute to OpenStack itself…

Page 44: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.44

DevStack Environment

Page 45: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.45

Make sure you have enough hardware horsepower

Page 46: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.46

Setting Up DevStack1. Start with Linux (eg., Ubuntu)

2. Clone DevStack$ git clone https://github.com/openstack-dev/devstack.git

3. Create a config (what services and what they use )

4. Start DevStack$ cd devstack; ./stack.sh

5. Start Using It

Page 47: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.47

Let’s start with Github

Page 48: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.48

Github is a mirror

Page 49: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.49

Gerrit – review.openstack.org

Page 50: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.50

Who Uses Gerrit?

Page 51: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.51

Zuul - status.openstack.org/zuul/

Page 52: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.52

Page 53: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.53

Get Setup in Gerrit

Page 54: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.54

How To Start Hacking On OpenStackInstall git-review$ pip install git-review

Get a project to work on$ git clone git://github.com/openstack/horizon.git

Work on a branch (bug/[bug id] or bp/[blueprint name])$ git checkout –b TOPIC-BRANCH

Make changes which should be in a single commit then send for review$ git review

Page 55: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.55

The Review on review.openstack.org

Page 56: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.56

The Tests and Reviewers

Page 57: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.57

Update A Change (alternative to pull request)Get the changeset up for review$ git review –d 1234

Make changes and amend commit$ git commit -a --amend

Send updated changeset to Gerrit$ git review

Page 58: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.58

The same review contains the patchset history

Page 59: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.59

Jenkins handles all merges

Page 60: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.60

Page 61: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

So, You Want To Standup OpenStack…

Page 62: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.62

Why not use a distribution?

Page 63: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.63

If It’s Just For Development

Page 64: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.64

Standing up OpenStack is like building your own Linux Distribution

Page 65: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.65

Page 66: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.66

Page 67: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Q&A

Page 68: Why OpenStack matters and how you can get involved

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Thank you