A DEVOPS STATE OF MIND WITH DOCKER AND KUBERNETES. Chris Van Tuin Chief Technologist, West

Similar documents
A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

RED HAT'S CONTAINER STRATEGY. Lars Herrmann General Manager, RHEL, RHEV and Containers June 24, 2015

Przyspiesz tworzenie aplikacji przy pomocy Openshift Container Platform. Jarosław Stakuń Senior Solution Architect/Red Hat CEE

A Security State of Mind: Container Security. Chris Van Tuin Chief Technologist, West

I keep hearing about DevOps What is it?

Red Hat Container Strategy Ahmed El-Rayess

Red Hat Roadmap for Containers and DevOps

Amir Zipory Senior Solutions Architect, Redhat Israel, Greece & Cyprus

DevOps Anti-Patterns. Have the Ops team deal with it. Time to fire the Ops team! Let s hire a DevOps unit! COPYRIGHT 2019 MANICODE SECURITY

Container in Production : Openshift 구축사례로 이해하는 PaaS. Jongjin Lim Specialist Solution Architect, AppDev

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Taming your heterogeneous cloud with Red Hat OpenShift Container Platform.

Accelerate at DevOps Speed With Openshift v3. Alessandro Vozza & Samuel Terburg Red Hat

TEN LAYERS OF CONTAINER SECURITY

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

Running MarkLogic in Containers (Both Docker and Kubernetes)

Containers & Microservices For Realists. Karthik

Deployment Patterns using Docker and Chef

RED HAT OPENSHIFT A FOUNDATION FOR SUCCESSFUL DIGITAL TRANSFORMATION

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

ACCELERATE APPLICATION DELIVERY WITH OPENSHIFT. Siamak Sadeghianfar Sr Technical Marketing Manager, April 2016

Unify DevOps and SecOps: Security Without Friction

AGILE RELIABILITY WITH RED HAT IN THE CLOUDS YOUR SOFTWARE LIFECYCLE SPEEDUP RECIPE. Lutz Lange - Senior Solution Architect Red Hat

DevOps and Continuous Delivery USE CASE

CNA1699BU Running Docker on your Existing Infrastructure with vsphere Integrated Containers Martijn Baecke Patrick Daigle VMworld 2017 Content: Not fo

OpenShift on Public & Private Clouds: AWS, Azure, Google, OpenStack

Red Hat Atomic Details Dockah, Dockah, Dockah! Containerization as a shift of paradigm for the GNU/Linux OS

Backup strategies for Stateful Containers in OpenShift Using Gluster based Container-Native Storage

WHITE PAPER. RedHat OpenShift Container Platform. Benefits: Abstract. 1.1 Introduction

InterSystems Cloud Manager & Containers for InterSystems Technologies. Luca Ravazzolo Product Manager

VMworld 2017 Content: Not for publication #CNA1699BE CONFIDENTIAL 2

Docker and Oracle Everything You Wanted To Know

Getting Started With Serverless: Key Use Cases & Design Patterns

WHITEPAPER. Embracing Containers & Microservices for future-proof application modernization

Red Hat OpenShift Roadmap Q4 CY16 and H1 CY17 Releases. Lutz Lange Solution

How to Keep UP Through Digital Transformation with Next-Generation App Development

Going cloud-native with Kubernetes and Pivotal

TEN LAYERS OF CONTAINER SECURITY. Kirsten Newcomer Security Strategist

Container Deployment and Security Best Practices

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Docker CaaS. Sandor Klein VP EMEA

Docker and Security. September 28, 2017 VASCAN Michael Irwin

SUSE s vision for agile software development and deployment in the Software Defined Datacenter

Industry-leading Application PaaS Platform

TRAINING AND CERTIFICATION UPDATE

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

Welcome to Docker Birthday # Docker Birthday events (list available at Docker.Party) RSVPs 600 mentors Big thanks to our global partners:

Important DevOps Technologies (3+2+3days) for Deployment

Logging, Monitoring, and Alerting

Openshift: Key to modern DevOps

Microservices and Container Development

Growth of Docker hub pulls

São Paulo. August,

UP! TO DOCKER PAAS. Ming

No Limits Cloud Introducing the HPE Helion Cloud Suite July 28, Copyright 2016 Vivit Worldwide

BUILDING APPLICATION SECURITY INTO PRODUCTION CONTAINER ENVIRONMENTS Informed by the National Institute of Standards and Technology

Red Hat Containers Roadmap. Red Hat A panel of product directors

From development to production

SECURING DOCKER: What You Need to Know

Docker Universal Control Plane Deploy and Manage On-Premises, Your Dockerized Distributed Applications

Security oriented OpenShift within regulated environments

Who is Docker and how he can help us? Heino Talvik

Patching and Updating your VM SUSE Manager. Donald Vosburg, Sales Engineer, SUSE

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

개발자와운영자를위한 DevOps 플랫폼 OpenShift Container Platform. Hyunsoo Senior Solution Architect 07.Feb.2017

Docker and HPE Accelerate Digital Transformation to Enable Hybrid IT. Steven Follis Solutions Engineer Docker Inc.

SYMANTEC DATA CENTER SECURITY

Continuous Integration and Delivery with Spinnaker

Amazon EC2 Container Service: Manage Docker-Enabled Apps in EC2

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

Title DC Automation: It s a MARVEL!

SQL Server inside a docker container. Christophe LAPORTE SQL Server MVP/MCM SQL Saturday 735 Helsinki 2018

Deploying and Operating Cloud Native.NET apps

Introduction to Docker. Antonis Kalipetis Docker Athens Meetup

Securing Microservice Interactions in Openstack and Kubernetes

TEN LAYERS OF CONTAINER SECURITY

EASILY DEPLOY AND SCALE KUBERNETES WITH RANCHER

VMWARE PIVOTAL CONTAINER SERVICE

The four forces of Cloud Native

PUBLIC AND HYBRID CLOUD: BREAKING DOWN BARRIERS

CONTAINERS AND MICROSERVICES WITH CONTRAIL

Multi-Arch Layered Image Build System

HPC over Cloud. July 16 th, SCENT HPC Summer GIST. SCENT (Super Computing CENTer) GIST (Gwangju Institute of Science & Technology)

Modern and Fast: A New Wave of Database and Java in the Cloud. Joost Pronk Van Hoogeveen Lead Product Manager, Oracle

Accelerate Digital Transformation with Docker. Application Modernization with Containers Across Hybrid Clouds

Transform Your Business To An Open Hybrid Cloud Architecture. Presenter Name Title Date

Automating Security Practices for the DevOps Revolution

DevOps Tooling from AWS

Harbor Registry. VMware VMware Inc. All rights reserved.

Learn. Connect. Explore.

MODERN APPLICATION ARCHITECTURE DEMO. Wanja Pernath EMEA Partner Enablement Manager, Middleware & OpenShift

S Implementing DevOps and Hybrid Cloud

Kubernetes made easy with Docker EE. Patrick van der Bleek Sr. Solutions Engineer NEMEA

Orchestrating the Continuous Delivery Process

CONTINUOUS DELIVERY IN THE ORACLE CLOUD

VMware Hybrid Cloud Solution

Docker 101 Workshop. Eric Smalling - Solution Architect, Docker

CLOUD WORKLOAD SECURITY

VMWARE ENTERPRISE PKS

Transcription:

A DEVOPS STATE OF MIND WITH DOCKER AND KUBERNETES Chris Van Tuin Chief Technologist, West cvantuin@redhat.com

Open Source V In short, software is eating the world. - Marc Andreessen, Wall Street Journal, August 2011

UBER, LYFT FALLOUT: TAXI RIDES PLUNGE 65% IN SAN FRANCISCO

THROW IT OVER THE WALL Walled off people, walled off processes, walled off technologies DEV QA OPS 5

THE NEED FOR SPEED THE ACCELERATION OF APPLICATION DELIVERY FOR THE BUSINESS

WHAT CAN I.T. DO? I.T. CAN TURN OPS AND DEV INTO DEVOPS DevOps is a software development method that stresses communication, collaboration and integration between software developers and information PEOPLE technology (IT) professionals. [1] DEVOPS PROCESS TECHNOLOGY Applying many of the principles of Agile software development to the full application lifecycle and incorporating automation and monitoring with just a touch of Lean Manufacturing theory.

BREAK DOWN THE WALLS Cross-organization teams, walled off processes, walled off technologies DEV QA OPS 8

WHAT ENABLES DEVOPS? Configuration in code Standardized environments Linux containers Automated provisioning KEY CONCEPT: FAIL FAST AND RECOVER VS. NEVER FAIL

WHAT ENABLES DEVOPS? CI/CD: Automated testing and deployment Continuous integration Continuous delivery KEY CONCEPT: SMALL CHANGES = LESS RISK

WHAT ENABLES DEVOPS? Continuous innovation Developer self-service Rapid prototyping KEY CONCEPT: CULTURE CHANGE = ACCEPTANCE OF FAILURE

ORGANIZATIONS IMPLEMENTING DEVOPS Better deployment quality 63% DEVOPS VALUE IN ACTION: VELOCITY AT AMAZON AWS MAX DEPLOYMENTS/ HOUR 10,000 Faster release frequency 63% 11.6.001% Improved process visibility 61% MEAN TIME BETWEEN DEPLOYMENTS (SECONDS) SOFTWARE DEPLOYMENTS CAUSING AN OUTAGE Source: 2014 State of DevOps Report Puppet Labs, IT Revolution Press, ThoughtWorks

CASE STUDY

FINANCIAL SERVICES COMPANY It took 2 years after a competitive start-up launch to get a competing product to market. Growth Competition

FINANCIAL SERVICES COMPANY It took 2 years after a competitive start-up launch to get a competing product to market. It could take 6 weeks to get a single word changed on the web site. Growth Competition Agility Predictability

FINANCIAL SERVICES COMPANY It took 2 years after a competitive start-up launch to get a competing product to market. It could take 6 weeks to get a single word changed on the web site. Growth Competition Agility Predictability Productivity When developers work in Node.js, they can change the code they re working on, direct it to run, and see whether it works-in the blink of an eye.

FINANCIAL SERVICES COMPANY It took 2 years after a competitive start-up launch to get a competing product to market. It could take 6 weeks to get a single word changed on the web site. Growth Competition Agility Predictability Productivity Recruiting When developers work in Node.js, they can change the code they re working on, direct it to run, and see whether it works-in the blink of an eye. The environment, while stable, didn t use the sexiest technologies, which made recruiting difficult.

DEVOPS SOLUTION APPROACH Leverage Automation Technologies Combined with Cloud Architecture

CI/CD with Containers

ENABLING TECHNOLOGIES

OPEN SOURCE ENABLING DEVOPS

OPEN SOURCE ENABLING DEVOPS

THE NEW OPERATING SYSTEM APP Orchestrator: Model the app across multiple hosts/containers SERVICE 1 SERVICE 2 SERVICE 3 SERVICE 4 Scheduler: Provide service and APIs for placing the app onto resources SCHEDULER Container pool : Provide resources to run app RED HAT ENTERPRISE LINUX RED HAT ENTERPRISE LINUX RED HAT ENTERPRISE LINUX

WHAT ARE LINUX CONTAINERS? Used to create containers for software applications / microservices CONTAINER Package Once Deploy Anywhere APP LIBS Containers provide lightweight isolation of process, network, filesystem spaces HOST OS SERVER Docker builds on Linux containers, adds an API, image format, runtime, and a delivery and sharing model 24

CONTAINER USE CASES DevOps CI/CD App Modernization Microservices Hardware Modernization 100% Availability Real-time Scale Diet VM Infrastructure Optimization Big Data

26

BUILD, SHIP, RUN Dockerfile Image Container FROM fedora:latest CMD echo Hello Red Hat Certified Private Registry docker.io Registry Physical, Virtual, Cloud Build Ship Run docker build or commit docker push or pull <IMAGE_ID> docker run <IMAGE_ID> 27

BUILD, SHIP, RUN Dockerfile FROM fedora:latest CMD echo Hello Build docker build or commit 28

CONSISTENT PACKAGING FORMAT Docker provides a language agnostic packaging format and runtime API #include<stdio.h> main() { printf("hello World"); } public class HelloWorld { } public static void main(string[] args) { System.out.println ("Hello, World"); } var http = require('http'); var server = http.createserver( function (request, response) { response.writehead(200, {"Content-Type": "text/plain"}); response.end("hello World\n"); }); server.listen(8000); $_ = "hello world"; $_ =~ s/^(\b\w)(\b\w+)\s(\d)(\d+)$/ \U$1\E$2 \U$3\E$4\!\n/; print $_; <?php Print "Hello, World!";?> PHYSICAL VIRTUAL PRIVATE CLOUD PUBLIC CLOUD

PACKAGED DEPENDENCIES Package dependencies ensure consistency and portability* #include<stdio.h> main() { printf("hello World"); } public class HelloWorld { } public static void main(string[] args) { System.out.println ("Hello, World"); } var http = require('http'); var server = http.createserver( function (request, response) { response.writehead(200, {"Content-Type": "text/plain"}); response.end("hello World\n"); }); server.listen(8000); $_ = "hello world"; $_ =~ s/^(\b\w)(\b\w+)\s(\d)(\d+)$/ \U$1\E$2 \U$3\E$4\!\n/; print $_; <?php Print "Hello, World!";?> bash glibc jre nodejs perl php... libssl libv8... bash glibc... bash glibc bash glibc PHYSICAL VIRTUAL PRIVATE CLOUD PUBLIC CLOUD

TRADITIONAL SOFTWARE SUPPLY CHAIN

A CONVERGED SOFTWARE SUPPLY CHAIN

CUSTOM SUPPLY CHAIN

BUILD, SHIP, RUN Dockerfile Image FROM fedora:latest CMD echo Hello Red Hat Certified Private Registry docker.io Registry Build Ship docker build or commit docker push or pull <IMAGE_ID> 34

WHAT S INSIDE THE CONTAINER MATTERS 64% of official images in Docker Hub contain high priority security vulnerabilities examples: ShellShock (bash) Heartbleed (OpenSSL) Poodle (OpenSSL) Source: Over 30% of Official Images in Docker Hub Contain High Priority Security Vulnerabilities, Jayanth Gummaraju, Tarun Desikan, and Yoshio Turner, BanyanOps, May 2015 (http://www.banyanops.com/pdf/banyanops-analyzingdockerhub-whitepaper.pdf)

36

OpenSCAP Scan physical servers, virtual machines, docker images and containers for Compliance (CCEs) and known Vulnerabilities (CVEs) Content Scan Reports SCAP Security Guide for RHEL CCE-27002-5 Set Password Minimum Length

WHAT ARE MY OPTIONS? Security-by-Luck Unsupported distro Public registry End-of-lifed Security-by-Firewall No patch management Untrusted containers selinux disabled Trusted Platform Supported distro Patch management Trusted containers & host Private registry Container scanning selinux enforcing 38

BUILD, SHIP, RUN Dockerfile Image Container FROM fedora:latest CMD echo Hello Red Hat Certified Private Registry docker.io Registry Physical, Virtual, Cloud Build Ship Run docker build or commit docker push or pull <IMAGE_ID> docker run <IMAGE_ID> 39

TRADITIONAL OS VS CONTAINERS Traditional OS Containers CONTAINER CONTAINER APP A APP B APP A APP B LIBS A LIBS B LIBS LIBS LIBS LIBS HOST OS HARDWARE HOST OS HARDWARE

More serious workloads require orchestration like Kubernetes to offload management overhead ADD NAME (View > Master > Slide master)

Kubernetes: Deploy Application 42 ADD NAME (View > Master > Slide master)

Kubernetes: Deploy Application 43 ADD NAME (View > Master > Slide master)

Kubernetes: Deploy Application 44 ADD NAME (View > Master > Slide master)

Kubernetes: Scale Service 45 ADD NAME (View > Master > Slide master)

Kubernetes: Scale Service 46 ADD NAME (View > Master > Slide master)

Once created, Kubernetes will keep the environment online as described in the json file JSON Kubernetes ADD NAME (View > Master > Slide master)

Once created, Kubernetes will keep the environment online as described in the json file JSON Kubernetes ADD NAME (View > Master > Slide master)

Once created, Kubernetes will keep the environment online as described in the json file JSON Kubernetes ADD NAME (View > Master > Slide master)

Once created, Kubernetes will keep the environment online as described in the json file JSON Kubernetes ADD NAME (View > Master > Slide master)

Canary Deployments ` Version 1.2 Tests / CI Version 1 Version 1 Version 1 51

Each container/pod is updated one by one 33% Version 1 Version 1 Version 1.2 52

Canary Deployments 66% Version 1 Version 1.2 Version 1.2 53

Canary Deployments 100% Version 1.2 Version 1.2 Version 1.2 54

Blue / Green Deployments Version 1 ADD NAME (View > Master > Slide master)

Admins won t get stuck in middle of a deployment Version 1 Version 1.2 ADD NAME (View > Master > Slide master)

Tests and certification can be done before customers access it Version 1 Version 1.2 Tests / CI ADD NAME (View > Master > Slide master)

Once ready, the new version is used and the old version can be removed Version 1 Version 1.2 ADD NAME (View > Master > Slide master)

Rollbacks can be done using the same method if desired Version 1.2 ADD NAME (View > Master > Slide master)

DEVOPS with Platform as a Service REDUCE CYCLE TIME FROM IDEA TO FEATURE

OPENSHIFT: The Docker and Kubernetes Container Platform Any App Anywhere Any Time Any Scale Any Docker Image Dev, Test, Prod Self-Service Cloud burst Any Source 2 Image Private Cloud DevOps Multi-DC Big Data Public Cloud CI/CD Scale Up/Down Web, App, DB Physical Auto Build Web Scale Batch Virtual Auto Deploy 1k hosts Legacy, Persistent Laptop Security Scan 30k pods.net Mac,Win,Lin CDK Health Check

Choice of Platforms Add any Docker Image

Automated Build Pipeline

Automated Deployments

DEVOPS ROI Improve business agility Improve developer productivity Improve business predictability Improve operational efficiency and costs

DEVOPS METRICS Deployment Frequency Change Volume Lead Time 99.999 Deployment Failure Rate Mean Time to Recover Service Availability

THANK YOU Chris Van Tuin cvantuin@redhat.com