Why OpenStack matters and how you can get involved

Preview:

DESCRIPTION

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

Citation preview

© 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

© 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

© 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?

© 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)

© 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.

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

EdwardSnowden

© 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/

© 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)

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

Government and Industry Regulations

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

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

© 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

© 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.”

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

Public Private

Hybrid

© 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

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

What is OpenStack?

© 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)

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

© 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

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

100+ Related Projects(stackforge)

© 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

© 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

© 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

© 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………

© 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/

© 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/

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

© 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

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

© 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/

© 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

© 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

© 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

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

developer.openstack.org

© 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

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

© 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

© 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

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

Ask Questions… ask.openstack.org

© 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

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

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

© 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…

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

DevStack Environment

© 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

© 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

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

Let’s start with Github

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

Github is a mirror

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

Gerrit – review.openstack.org

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

Who Uses Gerrit?

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

Zuul - status.openstack.org/zuul/

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

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

Get Setup in Gerrit

© 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

© 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

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

The Tests and Reviewers

© 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

© 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

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

Jenkins handles all merges

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

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

So, You Want To Standup OpenStack…

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

Why not use a distribution?

© 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

© 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

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

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

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

Q&A

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

Thank you

Recommended