red hat days vancouver go faster: containers ... management of containers and infrastructure at...

38
RED HAT DAYS VANCOUVER Go Faster: Containers, Platforms and the Path to Better Software Development (Including Live Demo) Gerald Nunn Senior Middleware Solutions Architect Paul Armstrong Principal Solutions Architect

Upload: vonhan

Post on 15-Apr-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

RED HAT DAYS VANCOUVER

Go Faster: Containers, Platforms and the Path to Better Software Development (Including Live Demo)

Gerald NunnSenior Middleware Solutions Architect

Paul ArmstrongPrincipal Solutions Architect

Page 2: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION2

Agenda

● What is DevOps and what problems does it solve?● What is a container?● Why containers alone are not sufficient● What is a Platform As A Service (PaaS)?● What is Openshift?● A Local success story● Live Openshift Demonstration ● Q & A

Page 3: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION3

78%DevOps Adoption Rate 2017

Source: RightScale 2017 State of the Cloud Report

Page 4: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION4

THE PROBLEM

Applications require complicated installation and integration every time they are deployed leading to

● Slow service delivery● Reduced service quality● Frequent down times

Page 5: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

CHALLENGES IN DELIVERY

IT OPERATIONSDEVELOPERSBUSINESS

Page 6: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

PART OF THE SOLUTION - AGILE + DEVOPS

Everything as code

Automate everything

Application is always “releaseable”

Continuous Integration/Delivery

Experiment Always

Continual Feedback

Always a Viable Product

Rapid Iteration/Delivery

Page 7: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION7

PART OF THE SOLUTION - CONTAINERS

Adopting a container strategy will allow applications to be easily shared and deployed

● Consistent env and tools● Predictable building blocks● Faster deployment

Page 8: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION8

WHAT ARE CONTAINERS?It Depends Who You Ask

● Sandboxed application processes on a shared Linux OS kernel

● Simpler, lighter, and denser than virtual machines

● Portable across different environments

● Package my application and all of its dependencies

● Deploy to any environment in seconds and enable CI/CD

● Easily access and share containerized components

INFRASTRUCTURE APPLICATIONS

Page 9: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

PART OF THE SOLUTION - CONTAINERS

Hardware

Virtual Machine

Operating System

Container

App Controlled by Developers ANDBusiness

Controlled by IT Operationsand / or Cloud Provider

Page 10: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

PULLING IT ALL TOGETHER

IT OPERATIONSDEVELOPERSBUSINESS

Page 11: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION11

DEVOPS WITH CONTAINERS

sourcerepository

CI/CDengine

dev container

physical

virtual

private cloud

public cloud

Page 12: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

Containerized Apps on Docker Hub

Source: DockerCon 2017 Keynote

12

900K

Image Pullson Docker Hub

12B

Page 13: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION13

35%Container Adoption Rate

in Production

Source: RightScale 2017 State of the Cloud Report

Page 14: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION14

Why the Difference?

Page 15: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION15

DEVOPS WITH CONTAINERS

?

Page 16: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION16

DEVOPS WITH CONTAINERS

?

Page 17: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION

SchedulingDecide where to deploy containers

17

WE NEED MORE THAN JUST CONTAINERS

Lifecycle and healthKeep containers running despite failures

DiscoveryFind other containers on the network

MonitoringVisibility into running containers

SecurityControl who can do what

ScalingScale containers up and down

PersistenceSurvive data beyond container lifecycle

AggregationCompose apps from multiple containers

Page 18: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

18

HOSTEnterprise grade lean operating system for running containers

MANAGEMENTOperational management of containers and infrastructure at scale

STORAGEPersistent storage for stateful containerized applications

PLATFORMAutomation of building, distributing, running and managing containers across hybrid infra

CONTAINER SOLUTIONS

Page 19: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

HOST

19

MANAGEMENT

STORAGEPLATFORM

RED HAT CONTAINER SOLUTIONS

Page 20: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

OPENSHIFT CONTAINER APPLICATION PLATFORM

� Built for both traditional and cloud-native applications.

● An integrated hybrid cloud application platform for application development and deployment

● Develop, build, and manage container based applications

● Easily turn source code into running applications with source-to-image capabilities

20

Page 21: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

BUILT ON OPEN CONTAINER STANDARDS

Red Hat is a top contributoralong with Docker Inc

Red Hat is a top contributoralong with Google

Red Hat Driving the Community

Page 22: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION22

Infrastructure Automation & Cockpit

Container Runtime & Packaging(docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Trusted by Fortune Global 500 companies

OPENSHIFT CONTAINER PLATFORM

Page 23: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION23

OpenShift Application Lifecycle Management

Infrastructure Automation & Cockpit

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Container Runtime & Packaging(docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Enterprise Kubernetes++container orchestration

Trusted by Fortune Global 500 companies

OPENSHIFT CONTAINER PLATFORM

Page 24: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION24

OpenShift Application Lifecycle Management

Build Automation Deployment Automation

Service Catalog(Language Runtimes, Middleware, Databases)

Self-Service

Infrastructure Automation & Cockpit

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Container Runtime & Packaging(docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Developer Experience

Enterprise Kubernetes++container orchestration

Trusted by Fortune Global 500 companies

OPENSHIFT CONTAINER PLATFORM

Page 25: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION25

OpenShift Application Lifecycle Management

Build Automation Deployment Automation

Service Catalog(Language Runtimes, Middleware, Databases)

Self-Service

Infrastructure Automation & Cockpit

Container

BusinessAutomation

Container

Integration

Container

Data &Storage

Container

Web &Mobile

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Container Runtime & Packaging(docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Traditional, stateful, and cloud-native apps

Developer Experience

Enterprise Kubernetes++container orchestration

Trusted by Fortune Global 500 companies

OPENSHIFT CONTAINER PLATFORM

Page 26: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION26

CrunchyDataGitLabIron.ioCouchbaseSonatypeEnterpriseDBand many more

...and virtually any docker

image out there!

TRUE POLYGLOT PLATFORMPHP Python Java NodeJS Perl Ruby .NET

Core

ApacheHTTPServer

MySQL Redis

nginx TomcatVarnish

JBossEAP

JBossA-MQ

JBossFuse

JBossBRMS

JBossBPMS

JBossData Grid

JBossData Virt

RH Mobile RH SSO

3SCALEAPI

mgmt

JBossWeb

ServerSpringBoot

Wildfly Swarm Vert.x

PostgreSQL MongoDB

Phusion Passenger

Third-partyLanguage Runtimes

Third-partyDatabases

Third-partyApp

Runtimes

Third-partyMiddleware

Third-partyMiddleware

MS SQL

Page 27: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION27

DEVOPS WITH CONTAINERS

Red Hat OpenShift

Red HatGlusterStorage

Red Hat CloudForms

sourcerepository

CI/CDengine

dev container

Page 28: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION28

8mo Payback on investment 66% Faster app delivery

40% Infrastructure savings 20% IT Staff productivity improvement

530% ROI over 5 years $1.3M Avg annual business

benefits per 100 dev

THE BUSINESS VALUE OF DEVOPS WITH OPENSHIFT

Source: The Business Value of Red Hat OpenShift, IDC, September 2016 https://www.openshift.com/sites/default/files/idc-business-value-of-openshift.pdf

Page 29: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION29

RED HAT OPEN INNOVATION LABS

INNOVATIONACCELERATED

DEVELOP CONTEMPORARY APPS• Develop on PaaS environment• Transform how you design and develop apps• Adopt lean and agile principles• Master DevOps practices

MODERNIZE TRADITIONAL APPS• Extend applications• Optimize applications• Scale applications• Expose to orchestration

COLLABORATIONSpace to work,

innovate, and discuss

RESIDENCYAn eight-week accelerated

teaming engagement

COMMUNITY INCUBATION

Communities supporting innovation

Page 30: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION30

WHO IS DOING THIS?

read more at openshift.com/customers

Page 31: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

Province Of British Columbia

A Journey To Containerized Applications

Page 32: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

The Key Business Challenges

● 27 discrete Ministries

● Small development community (190+ bootique developers in Victoria)

● The need to improve “Speed to market” (6-8 months)

● Monolithic application development (limited/no elasticity)

● Limited/no code sharing

Page 33: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

The Journey to containerized Applications

● 2014/15 - Detailed review of all major Platform As A Service Offerings (PaaS)

● Focused on OpenShift Origin in 2015 (Opensource version of Openshift)

● February 2016 - Red Hat in joint workshops (business/technical) + Hackathon (100+)

● May-July 2016 piloted POC using virtualized Openshift (VMWARE ESXi, 6-8 apps)

● August 2016 – March 2017 – grew to over 30 projects on the single controlled production env

● March 2017 – Start Phase 2 bare metal Openshift build (targeting 200+ projects)

● Current – 16 Active Dev Teams, 21 production applications, multiple POC apps

Page 34: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

The Journey to containerized Applications

Page 35: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

Key Results

● Reduced time to access dev environments from months to minutes

● Enabled self service for ALL developers (GitHub authentication)

● Enabled Elastic infrastructure (# of containers shrink and expand based on demand)

● Able to gain visibility on development languages used/enable better security visibility

● Enabled code sharing between Ministries & Federal Government (all source code is Open Sourced)

● Red Hat Innovator of the year 2017 for “The Open Source Way”

Page 36: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

Reference Material● BC Government Innovator Of The year Video (Youtube)● https://www.youtube.com/watch?v=Aux0n73gFoU

● BC Developers Exchange “The Cube” Interview Video (Youtube)● https://www.youtube.com/watch?v=p2RykRAHuCM&t=116s

● Openshift Commons Initiative● https://commons.openshift.org/

● BC Developers Exchange● https://bcdevexchange.org/

● Red Hat Summit 2017 ● https://www.redhat.com/en/summit/2017

Page 37: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

GENERAL DISTRIBUTION37

Live Demo

Page 38: RED HAT DAYS VANCOUVER Go Faster: Containers ... management of containers and infrastructure at scale STORAGE Persistent storage for stateful containerized applications PLATFORM Automation

THANK YOUplus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews