openshift anywhere given at talk at #scale12x

51
1 by OpenShift PaaS Anywhere Diane Mueller irc: dmueller OpenShift Origin Community Manager [email protected]

Upload: openshift-origin

Post on 29-Jan-2018

3.321 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: OpenShift Anywhere given at   Talk at #Scale12X

1 by

OpenShift PaaS Anywhere

Diane Mueller irc: dmuellerOpenShift Origin Community Manager [email protected]

Page 2: OpenShift Anywhere given at   Talk at #Scale12X

@pythondj

noun \ pī- thän, -thən\+\ dē- jā\ˈ ˌ ˈ ˌ

Python

a widely used general-purpose, high-level

programming ............language

Snake

a very large snake that kills the animals it eats by

wrapping itself around them

+ short for “Django”

a high-level Python Web framework that encourages rapid development & clean design

+ Disk Jockey

a person who plays popular recorded music on the radio or at a party or nightclub

Red Hat's OpenShift Origin Community Manager

A Snake Charmer

Page 3: OpenShift Anywhere given at   Talk at #Scale12X

@ryanj

noun \ rī- jän\+\jā\ˈ ˌ

Red Hat OpenShift Evangelist

Page 4: OpenShift Anywhere given at   Talk at #Scale12X
Page 5: OpenShift Anywhere given at   Talk at #Scale12X

5 by

Agenda { I'll talk (fast) about...}

Learn a bit about PaaS

Understand OpenShift Architecture

Learn how to deploy OpenShift anywhere

Page 6: OpenShift Anywhere given at   Talk at #Scale12X
Page 7: OpenShift Anywhere given at   Talk at #Scale12X

8

origin

Public Cloud

Service

On-premise

or Private Cloud

Software

Open Source Project

FLAVORS OF OPENSHIFT

Page 8: OpenShift Anywhere given at   Talk at #Scale12X

9 by

OpenShift Origin

The upstream project that both OpenShift Online and OpenShift Enterprise are based on.

• Apache 2.0 Licensed• All code hosted on GitHub (https://github.com/openshift/)• Available as:

• Source (tarballs and git repo)• RPMs

• IRC: #openshift-dev on irc.freenode.net• Mailing lists: http://lists.openshift.redhat.com/openshiftmm/listinfo

• Forums: https://www.openshift.com/forums/openshift

• Stack Overflow: http://stackoverflow.com/questions/tagged/openshift

• Public backlog: https://trello.com/openshift

Page 9: OpenShift Anywhere given at   Talk at #Scale12X

10

10

Origin Release 3Fedora 19 or RHEL 6.x or CentOS 6.5

Get up and runningVagrant

Puppet

Comprehensive guide

Ansible

HeatHeat

http://openshift.github.io

Page 10: OpenShift Anywhere given at   Talk at #Scale12X

11

Why I love PaaS: It's MagicWhy I love PaaS: It's Magic

Infrastructure Layer

SaaS/Applications Layer

Infrastructure LayerInfrastructure Layer

Page 11: OpenShift Anywhere given at   Talk at #Scale12X

12 by

App Development Got Complicated

Page 12: OpenShift Anywhere given at   Talk at #Scale12X

13

How to Build an AppHow to Build an App Old School Old School

Page 13: OpenShift Anywhere given at   Talk at #Scale12X

14 by

Unhappy Developers

Page 14: OpenShift Anywhere given at   Talk at #Scale12X

15 by

Then along came “Cloud”

Page 15: OpenShift Anywhere given at   Talk at #Scale12X

16

Developer Expectations Developer Expectations

Platform FlexibilityApplication PortabilityIncreased Productivity

Page 16: OpenShift Anywhere given at   Talk at #Scale12X

17

Infrastructure is not enoughInfrastructure is not enough

Page 17: OpenShift Anywhere given at   Talk at #Scale12X

18

Infrastructure as a Service gives youInfrastructure as a Service gives you

• Network, storage & compute as an on-demand service

• Basically, servers in the cloud

• You’re still on the hook to configure & manage the cloud & stack

“How do I use this?”

Page 18: OpenShift Anywhere given at   Talk at #Scale12X

19

Software as a Service gives youSoftware as a Service gives you

• An on-demand application• Nothing to install or configure

“This is all my customers and users care about!”

Page 19: OpenShift Anywhere given at   Talk at #Scale12X

20

Platform as a Service delivers Platform as a Service delivers

• Application run-time environment in the cloud• Configures & manages both the cloud & stack for your

application

“The cloud is now useful!”

Page 20: OpenShift Anywhere given at   Talk at #Scale12X

21

21

Amazon EC2 Rackspace Bare Metal

OpenStack RHEV CloudStack

OpenShift PaaS

OpenShift Runs on IaaS

Page 21: OpenShift Anywhere given at   Talk at #Scale12X

22 by

How OpenShift Works

POWERED BY

OPENSHIFT

Page 22: OpenShift Anywhere given at   Talk at #Scale12X

23 by

OpenShift is a PaaS on top of… Infrastructure

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 23: OpenShift Anywhere given at   Talk at #Scale12X

26 by

An OpenShift Broker Manages Multiple OpenShift Nodes

Nodes are where User Applications live.Brokers keep OpenShift running.

Brokers Node Node Node

RHEL RHEL RHELRHEL

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 24: OpenShift Anywhere given at   Talk at #Scale12X

27 by

Unique SELinux Approach Enables Security and Multi-tenancy

RHEL RHEL

SELinux Policies securely subdividethe Node instances.

Broker Node Node Node

RHEL

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 25: OpenShift Anywhere given at   Talk at #Scale12X

28 by

OpenShift User Applications Run in OpenShift Gears

RHEL RHEL

OpenShift GEARS represent secure containers in RHEL

Broker Node Node Node

RHEL

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 26: OpenShift Anywhere given at   Talk at #Scale12X

29 by

DeveloperWorkflow

RHEL RHEL

A Developer creates a new application OpenShift creates a GEAR

Web ConsoleEclipse IDECmd Line

Broker Node Node Node

RHEL

OpenShiftGear

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 27: OpenShift Anywhere given at   Talk at #Scale12X

30 by

OpenShift AutomatesGear Configurationvia Cartridges

RHEL RHEL

CARTRIDGES are how OpenShift installs Languages & Middleware

Web ConsoleEclipse IDECmd Line

Broker Node Node Node

RHEL

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

JBoss MySQL

Page 28: OpenShift Anywhere given at   Talk at #Scale12X

31 by

OpenShift Cartridge System Enables User-Built Cartridges

Developers can add custom language, data-store, or

middleware with with a custom Cartridge.

CUSTOMEtc.

Etc.

Ruby

Python

PHP

Java

Postgres

MySQL

OpenShift DefaultCartridges

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 29: OpenShift Anywhere given at   Talk at #Scale12X

32 by

Now, Code and Push

RHEL RHEL

Developer pushes application code via GIT source code management system

Git Protocol / ssh

Broker Node Node Node

RHEL

Push

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

JBoss

Code

GitRepo MySQL

Page 30: OpenShift Anywhere given at   Talk at #Scale12X

33 by

OpenShift AutomatesBuild, Test, Publish

RHEL RHEL

Broker Node Node Node

RHEL

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Jenkins(CI)

Maven(Builds) Apache

(HTTP)

CodeJBoss

GitRepo

MySQL

Page 31: OpenShift Anywhere given at   Talk at #Scale12X

34 by

OpenShift AutomatesApplication Scaling!

Broker Node Node Node

RHEL

HA-Proxy MySQLJava

Code

Java

Code

Java

Code

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 32: OpenShift Anywhere given at   Talk at #Scale12X

35 by

OpenShift Automates the

IT Assembly Line

POWERED BY

OPENSHIFT

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal

Page 33: OpenShift Anywhere given at   Talk at #Scale12X

36 by

Ways to use OpenShift

Developer IDEIntegrations

Web BrowserConsole

Command LineTooling

REST APIs

Page 34: OpenShift Anywhere given at   Talk at #Scale12X

37 by

Ways to deploy OpenShift

Page 35: OpenShift Anywhere given at   Talk at #Scale12X

38 by

OpenShift Architecture

Page 36: OpenShift Anywhere given at   Talk at #Scale12X

39 by

http://install.openshift.com

Page 37: OpenShift Anywhere given at   Talk at #Scale12X

40 by

Page 38: OpenShift Anywhere given at   Talk at #Scale12X

41 by

Page 39: OpenShift Anywhere given at   Talk at #Scale12X

42 by

Page 40: OpenShift Anywhere given at   Talk at #Scale12X

43 by

Page 41: OpenShift Anywhere given at   Talk at #Scale12X

44 by

https://www.openshift.com/blogs/deploying-highly-available-openshift-origin-clusters-with-ansible

Page 42: OpenShift Anywhere given at   Talk at #Scale12X

45 by

Page 43: OpenShift Anywhere given at   Talk at #Scale12X

46 by

OpenStack OpenShift

Yet another Cross Community Collaboration

Page 44: OpenShift Anywhere given at   Talk at #Scale12X

47 by

Page 45: OpenShift Anywhere given at   Talk at #Scale12X

48

OpenShift on OpenStack Autoscaling WorkflowOpenShift on OpenStack Autoscaling Workflow

http://github.com/openstack/heat-templates

Page 46: OpenShift Anywhere given at   Talk at #Scale12X

49

Learn more about OpenShift & Heat:Learn more about OpenShift & Heat:● Users, testers and developers wanted!

– Connect via IRC on #heat@freenode– Check out the repositories:

https://github.com/openstack/heat

https://github.com/openstack/heat-templates– Read the Heat Documentation:

http://docs.openstack.org/developer/heat–

Page 47: OpenShift Anywhere given at   Talk at #Scale12X

50

Learn more about OpenShift:Learn more about OpenShift:● Users, testers and developers wanted!

– Connect via IRC on #openshift-dev@freenode– Check out the repositories:

https://github.com/openshift– Read the OpenShift Documentation:

http://openshift.github.io

Page 48: OpenShift Anywhere given at   Talk at #Scale12X
Page 49: OpenShift Anywhere given at   Talk at #Scale12X

52 by

Thank You.

Questions?

Diane Mueller

@pythondjdmueller on irc.freenode.net - #openshift-dev

Page 50: OpenShift Anywhere given at   Talk at #Scale12X

53

OpenStack Heat Engine ArchitectureOpenStack Heat Engine Architecture

Page 51: OpenShift Anywhere given at   Talk at #Scale12X

54

54

Future of PaaSFuture of PaaS

https://github.com/openshift/openshift-pep/blob/master/openshift-pep-010-docker-cartridges.mdhttp://docs.docker.io/en/latest/installation/kernel/