openshift on openstack: deploying with heat

32
OpenShift on OpenStack: Deploying With Heat Diane Mueller & Alex Baretto July 2014 OSCON Portland

Upload: alex-baretto

Post on 23-Jan-2018

170 views

Category:

Technology


2 download

TRANSCRIPT

OpenShift on OpenStack:

Deploying With Heat

Diane Mueller & Alex Baretto July 2014 OSCON Portland

Red Hat Sponsors 100,000+ Open Source Projects

Learn More: http://origin.openshift.com/

OpenShift Flow of Code

origin

Public Cloud Service

On-premise or Private Cloud Software

Open Source Project

5

FLAVORS OF OPENSHIFT

Cloud services models

24

Infrastructure is not enough

7

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

l Basically, servers in the cloud

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

25

“How do I use this?”

Infrastructure as a Service gives you

8

l Application runtime environments in the cloud

l Configures and manages both the cloud & the stack for your application

“Now the cloud is useful!”

Platform as a Service delivers

PaaS = Platform as a Service

A Cloud Application Platform Code Deploy Enjoy

Save Time and Money Code your app

Push-button Deploy, and your App is running in the Cloud!

10

FLAVORS OF OPENSHIFT

Ingredients of PaaS

SaaS/Applications Layer

Infrastructure Layer

Choice of languages, tools, and frameworks

13

What����������� ������������������  makes����������� ������������������  OpenShift����������� ������������������  different?����������� ������������������  

●  RHEL, Fedora & CentOS Platform Support

●  SELinux-based����������� ������������������  Secure����������� ������������������  Containers����������� ������������������  for����������� ������������������  multi-tenancy����������� ������������������  

●  Extensible Architecture

●  System����������� ������������������  Component����������� ������������������  Redundancy����������� ������������������  for����������� ������������������  High����������� ������������������  Availability����������� ������������������  

●  Automatic����������� ������������������  Application����������� ������������������  Stack����������� ������������������  Provisioning����������� ������������������  

●  Support for Java EE 6

●  Support for .Net

●  Choice����������� ������������������  of����������� ������������������  Cloud����������� ������������������  Infrastructure,����������� ������������������  Bare����������� ������������������  Metal,����������� ������������������  or����������� ������������������  Desktop����������� ������������������  

●  Configurable����������� ������������������  Deployment����������� ������������������  to����������� ������������������  Support����������� ������������������  Enterprise����������� ������������������  Requirements����������� ������������������  

●  Automatic����������� ������������������  Application����������� ������������������  Scaling����������� ������������������  

����������� ������������������  

Bringing .NET to OpenStack with OpenShift

RHEL

WINDOWS

“Prison”

Node

Public / Hybrid / Private / Virtualization / Bare Metal

“Prison”

.NET App

Broker (RHEL)

Node (RHEL)

Node (RHEL)

GEAR

His App

Node RHEL

Gear

Java App

.NET App

Putting the PaaS in OpenStack Cross Community Collaboration

OpenStack

OpenShift

16

Putting the PaaS in OpenStack

18

Heat Overview l Entered OpenStack integrated status in November 2013 -  Active code base

l  19089 commits as of April 2014 (IceHouse) l  128 contributors

-  Cross project functionality with OpenStack projects Keystone, Nova, Neutron, Cinder, Ceilometer, Swift, Glance, Horizon, TripleO, and Tempest

l OpenStack Heat provides application auto scaling today with a stable workflow model

l OpenShift on OpenStack -  OpenShift Enterprise templates for RHEL -  OpenShift Origin templates for CentOS & Fedora

19

����������� ������������������  Heat's mission: Orchestration

To explicitly model the relationships between OpenStack resources of all kinds; and to harness those models, expressed in forms accessible to both humans and machines, to manage infrastructure resources throughout the life-cycle of applications.

20

Heat overview

Nova

Compute Node

Glance

Image Service

Swift

Object Store

Cinder

Volume Service

Keystone

Identity Service

Horizon Dashboard

Quantum

Networking

Heat Orchestration

l Provides AWS Cloudformation and native ReST API

l Abstract configuration of services to single-template

l HA/auto scaling/monitoring features

l OpenStack integrated project

21

Deploying on OpenStack with Heat

22

How to deploy OpenShift Enterprise on OpenStack

24

Demo

Deploying OpenShift Enterprise With Heat Templates

On OpenStack

25

Demo

Create an Application on OpenShift Enterprise

Best practices for using PaaS on IaaS

27

Configure OpenShift to meet your needs l All-in-one deployments -  Single host (broker+console+node)

l Configuring separate hosts for broker/node l Highly-available OpenShift deployments

l Capacity planning & districts -  http://openshift.github.io/documentation/

oo_administration_guide.html#capacity-planning-and-districts

l VMs for easy developer desktop deployments -  http://openshift.github.io

28

PaaS on IaaS best practices

1 Consider future of PaaS and OpenStack

2 Plan for today and future needs

3 Leverage and build on existing skill sets and investments

PaaS Services

30

Red Hat Consulting and Training Getting started OpenShift Enterprise Core Install Development environment

configuration Service-oriented architecture

(SOA) design and implementation

Enterprise PaaS Enterprise PaaS architecture service Enterprise Service Bus (ESB) design and implementation Custom integration (DNS, authentication, etc.) Custom cartridge creation

Advanced services Infrastructure and application monitoring Life cycle management Self-service catalogs Auto-scaling integration with IaaS automated provisioning

Red Hat Training

OpenShift Enterprise Administration (CL280): Learn how to deploy, configure, and maintain OpenShift Enterprise broker and OpenShift Enterprise node hosts.

OpenShift Enterprise Application Development (CL275): Learn how to create applications in Openshift

Enterprise by Red Hat, expand OpenShift Enterprise’s features creating cartridges, as well as how to identify performance problems and troubleshoot with tuning techniques.

Red Hat® Certificate of Expertise in Platform-as-a- Service Exam (EX210)

32

Questions & Thank You

Learn more: www.openshift.com [email protected] @pythondj [email protected] @shakamunyi