RED HAT DAYS VANCOUVER Go Faster: Containers, Platforms and the Path to Better Software Development (Including Live Demo) Paul Armstrong Principal Solutions Architect Gerald Nunn Senior Middleware Solutions Architect
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 2
DevOps Adoption Rate 2017 78% Source: RightScale 2017 State of the Cloud Report 3
THE PROBLEM Applications require complicated installation and integration every time they are deployed leading to Slow service delivery Reduced service quality Frequent down times 4
CHALLENGES IN DELIVERY BUSINESS DEVELOPERS IT OPERATIONS
PART OF THE SOLUTION - AGILE + DEVOPS Experiment Always Everything as code Continual Feedback Automate everything Rapid Iteration/Delivery Continuous Integration/Delivery Always a Viable Product Application is always releaseable
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 7
WHAT ARE CONTAINERS? It Depends Who You Ask INFRASTRUCTURE APPLICATIONS 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 8
PART OF THE SOLUTION - CONTAINERS Container App Controlled by Developers AND Business Operating System Controlled by IT Operations and / or Cloud Provider Virtual Machine Hardware
PULLING IT ALL TOGETHER BUSINESS DEVELOPERS IT OPERATIONS
DEVOPS WITH CONTAINERS physical virtual dev source repository CI/CD engine container private cloud public cloud 11
Containerized Apps on Docker Hub 900K Image Pulls on Docker Hub 12B Source: DockerCon 2017 Keynote 12
Container Adoption Rate in Production 35% Source: RightScale 2017 State of the Cloud Report 13
Why the Difference? 14
DEVOPS WITH CONTAINERS? 15
DEVOPS WITH CONTAINERS? 16
WE NEED MORE THAN JUST CONTAINERS Scheduling Decide where to deploy containers Security Control who can do what Lifecycle and health Keep containers running despite failures Scaling Scale containers up and down Discovery Find other containers on the network Persistence Survive data beyond container lifecycle Monitoring Visibility into running containers Aggregation Compose apps from multiple containers 17
CONTAINER SOLUTIONS HOST Enterprise grade lean operating system for running containers MANAGEMENT Operational management of containers and infrastructure at scale PLATFORM Automation of building, distributing, running and managing containers across hybrid infra STORAGE Persistent storage for stateful containerized applications 18
RED HAT CONTAINER SOLUTIONS HOST MANAGEMENT PLATFORM STORAGE 19
OPENSHIFT CONTAINER APPLICATION PLATFORM Built for both traditional and cloudnative 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
BUILT ON OPEN CONTAINER STANDARDS Red Hat Driving the Community Red Hat is a top contributor along with Docker Inc Red Hat is a top contributor along with Google
OPENSHIFT CONTAINER PLATFORM Infrastructure Automation & Cockpit Enterprise Container Host Container Runtime & Packaging (docker) Atomic Host Red Hat Enterprise Linux Trusted by Fortune Global 500 companies 22
OPENSHIFT CONTAINER PLATFORM OpenShift Application Lifecycle Management Container Orchestration & Cluster Management (kubernetes) Networking Storage Registry Logs & Metrics Infrastructure Automation & Cockpit Enterprise Container Host Container Runtime & Packaging (docker) Atomic Host Security Red Hat Enterprise Linux Enterprise Kubernetes++ container orchestration Trusted by Fortune Global 500 companies 23
OPENSHIFT CONTAINER PLATFORM Build Automation Self-Service Service Catalog (Language Runtimes, Middleware, Databases) Deployment Automation Developer Experience OpenShift Application Lifecycle Management Container Orchestration & Cluster Management (kubernetes) Networking Storage Registry Logs & Metrics Infrastructure Automation & Cockpit Enterprise Container Host Container Runtime & Packaging (docker) Atomic Host Security Red Hat Enterprise Linux Enterprise Kubernetes++ container orchestration Trusted by Fortune Global 500 companies 24
OPENSHIFT CONTAINER PLATFORM Business Automation Container Integration Container Data & Storage Container Web & Mobile Container Traditional, stateful, and cloud-native apps Service Catalog (Language Runtimes, Middleware, Databases) Build Automation Self-Service Deployment Automation Developer Experience OpenShift Application Lifecycle Management Container Orchestration & Cluster Management (kubernetes) Networking Storage Registry Logs & Metrics Infrastructure Automation & Cockpit Enterprise Container Host Container Runtime & Packaging (docker) Atomic Host Security Red Hat Enterprise Linux Enterprise Kubernetes++ container orchestration Trusted by Fortune Global 500 companies 25
TRUE POLYGLOT PLATFORM PHP Python Java NodeJS Perl Ruby.NET Core Third-party Language Runtimes MySQL Apache HTTP Server PostgreSQL nginx MongoDB Varnish Redis Phusion Passenger MS SQL Tomcat...and virtually any docker image out there! Third-party Databases Third-party App Runtimes CrunchyData GitLab Iron.io Couchbase Sonatype Spring Boot Wildfly Swarm Vert.x JBoss Web Server JBoss EAP JBoss A-MQ JBoss Fuse Third-party Middleware EnterpriseDB and many more 3SCALE API mgmt JBoss BRMS JBoss BPMS JBoss Data Virt JBoss Data Grid RH Mobile RH SSO Third-party Middleware 26
DEVOPS WITH CONTAINERS dev source repository CI/CD engine container Red Hat OpenShift Red Hat Gluster Storage Red Hat CloudForms 27
THE BUSINESS VALUE OF DEVOPS WITH OPENSHIFT 8mo Payback on investment 66% Faster app delivery 40% Infrastructure savings 20% 530 % ROI over 5 years $1.3M IT Staff productivity improvement Avg annual business benefits per 100 dev Source: The Business Value of Red Hat OpenShift, IDC, September 2016 https://www.openshift.com/sites/default/files/idc-business-value-of-openshift.pdf 28
RED HAT OPEN INNOVATION LABS MODERNIZE TRADITIONAL APPS Extend applications Optimize applications Scale applications Expose to orchestration INNOVATION ACCELERATED DEVELOP CONTEMPORARY APPS Develop on PaaS environment Transform how you design and develop apps Adopt lean and agile principles Master DevOps practices COLLABORATION Space to work, innovate, and discuss RESIDENCY An eight-week accelerated teaming engagement COMMUNITY INCUBATION Communities supporting innovation 29
WHO IS DOING THIS? read more at openshift.com/customers 30
Province Of British Columbia A Journey To Containerized Applications
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
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
The Journey to containerized Applications
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
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
Live Demo 37
THANK YOU plus.google.com/+redhat facebook.com/redhatinc linkedin.com/company/red-hat twitter.com/redhatnews youtube.com/user/redhatvideos