build your own open source cloud

45
BUILD YOUR OWN OPEN SOURCE CLOUD Adrian Otto, Distinguished Architect

Upload: adrian-otto

Post on 20-Mar-2017

153 views

Category:

Technology


6 download

TRANSCRIPT

Page 1: Build Your Own Open Source Cloud

BUILD YOUR OWN OPEN SOURCE CLOUDAdrian Otto, Distinguished Architect

Page 2: Build Your Own Open Source Cloud

2

Page 3: Build Your Own Open Source Cloud

ON DEMAND, SELF SERVICE

CLOUDAPI + VMs + Containers + Bare Metal + Multi-Tenancy

Page 4: Build Your Own Open Source Cloud

PUBLIC CLOUD SERVICE

01: CLOUDPay a service provider, run your workloads there.

Page 5: Build Your Own Open Source Cloud

PRIVATE CLOUD

02: CLOUDYou own it, so you make the rules.

Page 6: Build Your Own Open Source Cloud

PUBLIC + PRIVATE CLOUD

03: HYBRID CLOUD

Decide what to run where, and have a consistent way to use both.

Page 7: Build Your Own Open Source Cloud

Use the r ight tool for the job

Containers

Consistent deployment to deploy your apps to a different destinations.

7

Containers

Public Cloud

Private Cloud

App

Page 8: Build Your Own Open Source Cloud

Use the r ight tool for the job

Containers

Consistent deployment to deploy your apps to a different destinations.

8

Containers

Public Cloud

App

Page 9: Build Your Own Open Source Cloud
Page 10: Build Your Own Open Source Cloud

ADRIAN OTTO

Page 11: Build Your Own Open Source Cloud

11

Outl ine

Developer Self-Service, and Enabling NextGen ApplicationsGiving your developers access to API driven infrastructure, the business case

Overview of OpenStackThe prevailing open source cloud software

Deploying OpenStackWhat tools to use to create your own cloud

ReviewQuestions and Answers

Page 12: Build Your Own Open Source Cloud

Compute, Networking, and Storage

12

Page 13: Build Your Own Open Source Cloud

OP

EN

STA

CK

S

ER

VIC

ES

IdentityImagesCompute

SDNObject StorageBlock Storage DNS Bare Metal

DashboardEncryptionTelemetry

BigDataDBaaSOrchestration Containers Queues

Layer 4: Consumption Services

Layer 3: Optional Enhancements

Layer 2: Extended Infrastructure

Layer 1: Base Compute Infrastructure

SDLC

Page 14: Build Your Own Open Source Cloud

OP

EN

STA

CK

S

ER

VIC

ES

KeystoneGlanceNova

NeutronSwiftCinder Designate Ironic

HorizonBarbicanCielometer

SaharaTroveHeat Magnum Marconi

Layer 4: Consumption Services

Layer 3: Optional Enhancements

Layer 2: Extended Infrastructure

Layer 1: Base Compute Infrastructure

Solum

Page 15: Build Your Own Open Source Cloud

BARE METALVM

DOCKER

OPENSTACK

KUBERNETES

MESOS

MAGNUM

DOCKER API

K8S API

MAGNUM OVERVIEW

Page 16: Build Your Own Open Source Cloud

Cloud operators assume a r isk when select ing a s ingle c loud technology today… but OpenStack is d i f ferent .

16

Page 17: Build Your Own Open Source Cloud

OpenStack Contr ibutor Stat ist ics

17

3,716,027

Lines of code

6437 Contributors

336 Companies

715 Projects

1107 Years of Effort

Page 18: Build Your Own Open Source Cloud

18

Outl ine

Developer Self-Service, and Enabling NextGen ApplicationsGiving your developers access to API driven infrastructure, the business case

Overview of OpenStackThe prevailing open source cloud software

Deploying OpenStackWhat tools to use to create your own cloud

ReviewQuestions and Answers

Page 19: Build Your Own Open Source Cloud

ON DEMAND, SELF SERVICE

CLOUDAPI + VMs + Containers + Bare Metal + Multi-Tenancy

Page 20: Build Your Own Open Source Cloud

WHY? BECAUSE SHADOW IT.

DEVELOPER SELF SERVICE

If you don’t offer it as a service, it’s going to happen anyway.

Page 21: Build Your Own Open Source Cloud

MICROSERVICE ARCHITECTURE

NEXTGEN APPLICATIONS

Immutable infrastructure, Container per component, 12-Factor apps

Page 22: Build Your Own Open Source Cloud

YOU KNOW YOU WANT IT(subliminal message)

22

Page 23: Build Your Own Open Source Cloud

WHY?

MICROSERVICES

Continuous deployment, efficient scale, smaller lifts to upgrade. Agility.

Page 24: Build Your Own Open Source Cloud

THE SOFT WARE DEFINED ECONOMY

EVERY COMPANY IS BECOMING A SOFT WARE COMPANY

Page 25: Build Your Own Open Source Cloud

FAST

GOOD CHEAPTOD

AY

Page 26: Build Your Own Open Source Cloud

FASTTO

MO

RR

OW

FAST FAST

Page 27: Build Your Own Open Source Cloud

UBER, THE WORLD’S LARGEST TAXI COMPANY, OWNS NO VEHICLES. FACEBOOK, THE WORLD’S MOST POPULAR MEDIA

OWNER, CREATES NO CONTENT. ALIBABA, THE MOST VALUABLE RETAILER, HAS NO INVENTORY. AND AIRBNB, THE WORLD’S LARGEST ACCOMMODATION PROVIDER, OWNS NO

REAL ESTATE. SOMETHING INTERESTING IS HAPPENING.

27

— TECH CRUNCH, MARCH 2015

Page 28: Build Your Own Open Source Cloud

AGILIT Y IS THE SHIELD FOR DISRUPTIONAnd it can also be your weapon.

28

Page 29: Build Your Own Open Source Cloud

Summar y of business case for pr ivate c loud

29

1

2

3

Shadow IT will happen if you don’t offer a developer self service option

Microservice software architecture for efficiency and agility reasons

Software defined economy means agility is essential to avoid disruption

Page 30: Build Your Own Open Source Cloud

30

Outl ine

Developer Self-Service, and Enabling NextGen ApplicationsGiving your developers access to API driven infrastructure, the business case

Overview of OpenStackThe prevailing open source cloud software

Deploying OpenStackWhat tools to use to create your own cloud

ReviewQuestions and Answers

Page 31: Build Your Own Open Source Cloud

31

OpenStack Deployment Tools

Chef RecipesIf you love chef, there are recipes for OpenStack deployment

Puppet ModulesThe traditional way to deploy a complex software system

Various Vendor SolutionsFuel, Crowbar, Redhat OpenStack Platform, etc.

OpenStack Ansible (OSA)Upstream managed project for container based OpenStack control plane using Ansible

Page 32: Build Your Own Open Source Cloud

32

OpenStack Ansible (OSA)

•Deploy OpenStack in about 30 minutes

•Services run in lightweight system containers

•Easy to upgrade

•Community designed, developed, and managed

http://docs.openstack.org/developer/openstack-ansible/

Page 33: Build Your Own Open Source Cloud
Page 34: Build Your Own Open Source Cloud

OPENSTACK MAGNUMHow OpenStack can host your microservice applications

34

Page 35: Build Your Own Open Source Cloud

What is Magnum?

• Magnum is an OpenStack API that allows the use of your keystone credentials.

• Magnum is designed from the ground-up to be multi-tenant in both the cloud’s data plane and control plane.

• Magnum allows for different container cluster types to be simultaneously run side-by-side in the same cloud account, by the same tenant.

• Clusters are isolated from each other using groups of nova instances.

• When you want to upgrade your container runtime, you simply create a new cluster.

HOW IS THIS DIFFERENT THAN JUST RUNNING KUBERNETES OR DOCKER SWARM?

An OpenStack API Service that allows creation of container clusters

35

Page 36: Build Your Own Open Source Cloud

Terminology (1/4)

COE

Container Orchestration Engine. Examples: Docker Swarm, Kubernetes, Apache Mesos.

36

Page 37: Build Your Own Open Source Cloud

Terminology (2/4)

Magnum Cluster

A Magnum cluster is an API resource in OpenStack Magnum that is composed of nova instances, neutron networks, security groups, and other resources combined using a heat stack. This is where your Container Orchestration Engine (COE) runs.

Clusters may be scaled up or down by adding or removing nodes from them. Heat facilitates the setup and scaling of Clusters.

37

Cluster Cluster Cluster

COE COE COE

Nova instance

Nova instance

Nova instance

Nova instance

Nova instance

Nova instance

Page 38: Build Your Own Open Source Cloud

Terminology (3/4)

ClusterTemplate

A ClusterTemplate is a model used for creating a Cluster resource. It contains information that is common among all clusters that are instantiated from it. Each one uses a driver that defines a cluster type (swarm, kubernetes, mesos, etc.).

38

ClusterTemplate Cluster

Cluster

Cluster

Page 39: Build Your Own Open Source Cloud

Terminology (4/4)

Native Client

The client distributed with the COE. For example “docker” or “kubectl”. A native client is not an OpenStack Client. It uses TLS to authenticate with the COE.

39

Cluster

COE

Nova instance

Nova instance

Nova instance

Native Client

TLS

Page 40: Build Your Own Open Source Cloud

Magnum Dif ferent iators

40

Fundamental Design Goal

Docker Swarm, Kubernetes, Mesos

VM or Bare Metal

SSO Experience for Cloud Users

Multi-Tenant Control and Data Planes

Choice of COE

Choice of Server Flavor

Integrated with OpenStack

Page 41: Build Your Own Open Source Cloud

getcarina.com Free Beta available today.

Page 42: Build Your Own Open Source Cloud

Why This Matters

42

1

2

3

Choice. Avoid locking into a single container orchestration tool

Speed. Easily create new container clusters in ~2 minutes

Agility. Iterate quickly on your software, and make small lifts.

Page 43: Build Your Own Open Source Cloud

43

Outl ine

Developer Self-Service, and Enabling NextGen ApplicationsGiving your developers access to API driven infrastructure, the business case

Overview of OpenStackThe prevailing open source cloud software

Deploying an OpenStackWhat tools to use to create your own cloud

ReviewQuestions and Answers

Page 44: Build Your Own Open Source Cloud

44

Review

•You may need a private cloud just as much as you need a public one. •Shadow IT will happen if you don’t offer a developer self service option •Microservice software architecture for efficiency and agility reasons •Software defined economy means agility is essential to avoid disruption

•One cloud == Myth. •Use containers as a way to deploy apps to the cloud of your choice.

•OpenStack: prevailing open source cloud software •Offers compute, networking, and storage (+715 modules for everything under the sun). •Safe to bet on OpenStack because of diverse community & no single corporate sponsor. •Offers quick and easy way to run different container orchestration environments.

•Many ways to deploy and run OpenStack •OpenStack Ansible Recommended

Page 45: Build Your Own Open Source Cloud

O N E FA N AT I C A L P L A C E | S A N A N T O N I O , T X 7 8 2 1 8

U S S A L E S : 1 - 8 0 0 - 9 6 1 - 2 8 8 8 | U S S U P P O R T: 1 - 8 0 0 - 9 6 1 - 4 4 5 4 | W W W . R A C K S PA C E . C O M | W W W . G E T C A R I N A . C O M

© RAC K S PAC E LT D . | RAC K S PAC E® AN D FAN AT I C AL S U P P ORT ® ARE S ERV I C E M ARK S OF RAC K S PAC E U S , I N C . REG I ST ERED I N T HE U N I T ED STAT ES AN D OT HER C OU N T RI ES . | W W W.RAC KS PAC E .C OM

Thank you