your software lifecycle speedup recipe agile...
TRANSCRIPT
AGILE RELIABILITY WITH RED HAT IN THE CLOUDS - YOUR SOFTWARE LIFECYCLE SPEEDUP RECIPE
Lutz Lange - Senior Solution Architect Red Hat
Digital Transformation
New ways of developing, delivering,
and integrating applications
ApplicationsMore agile processacross both IT and
the business
ProcessModernize existing and build new cloud-based
infrastructure
Infrastructure
It requires an evolution in….
3
DEVELOPMENT AND DEPLOYMENT IS CHANGING
Architecture Infrastructure
Monolith
N-Tier
Microservices
Datacenter
Hosted
Hybrid
Process
Waterfall
Agile
DevOps
GENERAL DISTRIBUTION
The Problem
Applications require complicated installation and integration every time they are deployed
GENERAL DISTRIBUTION
Part of the Solution
Adopting a container strategy will allow applications to be easily shared and deployed.
GENERAL DISTRIBUTION
Organization, Responsibility, Process and Technology
Hardware
Virtual Machine
Operating System
Container
AppControlled by Developers ?
Controlled by IT Operations
GENERAL DISTRIBUTION
DEVOPS
Everything as code
Automate everything
Application is always “releaseable”
Continuous Integration/Delivery
Application monitoring
Rapid feedback
Delivery pipeline
Rebuild vs. Repair
GENERAL DISTRIBUTION
$ docker build -t app:v1 .
GENERAL DISTRIBUTION
$ docker build -t app:v1 .
$ docker run app:v1
GENERAL DISTRIBUTION
physical
virtual
private cloud
public cloud
GENERAL DISTRIBUTION12
DEVOPS WITH CONTAINERS
sourcerepository
CI/CDengine
dev container
physical
virtual
private cloud
public cloud
GENERAL DISTRIBUTION
?
GENERAL DISTRIBUTION
$ docker build -t app/frontend:v1 .$ docker build -t app/backend:v1 .$ docker build -t app/database:v1 .$ docker build -t app/cache:v1 .$ docker build -t app/messaging:v1 .
GENERAL DISTRIBUTION
$ docker run app/frontend:v1 link-to-backend$ docker run app/frontend:v1 link-to-backend$ docker run app/backend:v1 link-to-db-cache-messaging$ docker run app/backend:v1 link-to-db-cache-messaging$ docker run app/database:v1$ docker run app/cache:v1 link-to-db$ docker run app/messaging:v1
GENERAL DISTRIBUTION
?
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
GENERAL DISTRIBUTION
Kubernetes is an open-source system for automating deployment, operations, and scaling of containerized applications across multiple hosts
kubernetes
GENERAL DISTRIBUTION
kubernetes
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
GENERAL DISTRIBUTION
INDUSTRY CONVERGED ON KUBERNETES
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
NETWORK
Not enough! Need networking
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
IMAGEREGISTRY
NETWORK
Not enough! Need an image registry
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
IMAGEREGISTRY
METRICS AND LOGGING
NETWORK
heapster
Not enough! Need metrics and logging
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
IMAGEREGISTRY
Not enough! Need application lifecycle management
APP LIFECYCLE MGMT
METRICS AND LOGGING
NETWORK
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
IMAGEREGISTRY
Not enough! Need application services e.g. database and messaging
APP SERVICES
APP LIFECYCLE MGMT
METRICS AND LOGGING
NETWORK
GENERAL DISTRIBUTION
DEVOPS WITH CONTAINERS AND KUBERNETES
IMAGEREGISTRY
Not enough! Need self-service portal
SELF-SERVICE
APP SERVICES
APP LIFECYCLE MGMT
METRICS AND LOGGING
NETWORK
GENERAL DISTRIBUTION
NOT ENOUGH, THERE IS MORE!
Routing & Load Balancing
Multi-tenancy
CI/CD Pipelines
Role-based Authorization
Capacity Management
Chargeback
Vulnerability Scanning
Container Isolation
Image Build Automation
Quota Management
Teams and Collaboration
Infrastructure Visibility
GENERAL DISTRIBUTION
The Enterprise Kubernetes Distribution from Red Hat for building, distributing and running containers at scale
GENERAL DISTRIBUTION30
Infrastructure Automation & Cockpit
Container Runtime & Packaging(docker, crio)
Enterprise Container Host
Red Hat Enterprise LinuxRed Hat [Atomic] CoreOS
Trusted by Fortune Global 500 companies
OPENSHIFT CONTAINER PLATFORM
GENERAL DISTRIBUTION31
OpenShift Application Lifecycle Management
Infrastructure Automation & Cockpit
Networking Storage Registry Logs & Metrics
Security
Container Orchestration & Cluster Management(kubernetes)
Container Runtime & Packaging(docker, crio)
Enterprise Container Host
Red Hat Enterprise Linux
Enterprise Kubernetes++container orchestration
Trusted by Fortune Global 500 companies
OPENSHIFT CONTAINER PLATFORM
Red Hat [Atomic] CoreOS
GENERAL DISTRIBUTION32
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, crio)
Enterprise Container Host
Red Hat Enterprise Linux
Developer Experience
Enterprise Kubernetes++container orchestration
Trusted by Fortune Global 500 companies
OPENSHIFT CONTAINER PLATFORM
Red Hat [Atomic] CoreOS
GENERAL DISTRIBUTION33
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, crio)
Enterprise Container Host
Red Hat Enterprise Linux
Traditional, stateful, and cloud-native apps
Developer Experience
Enterprise Kubernetes++container orchestration
Trusted by Fortune Global 500 companies
OPENSHIFT CONTAINER PLATFORM
Red Hat [Atomic] CoreOS
News & Roadmap
35
OPERATOR FRAMEWORK
● Kubernetes-native Day1 and Day2 deployment and operations of Apps
● Simplify Kubernetes upgrades● Deploy Apps as “Self-Driving” ● Consistent App Deploy/Ops on
Kubernetes on Any Cloud● Fully Open Source
Operator Framework Deep Dive - OpenShift Commons Briefing - https://youtu.be/oLAfCKM7RbA
OPENSHIFT + CoreOS INTEGRATIONCONVERGED PRODUCT ROADMAP
Red Hat OpenShift Roadmap - Red Hat Summit - https://www.youtube.com/watch?v=1AelNjx6BB4
OPENSHIFT + CoreOS UNIFIED PLATFORM
Developer ProductivityBuild Automation, Image
Streams, CI/CD
Kubernetes
Red Hat Enterprise Linux or Red Hat CoreOS
AutomatedOperations
Hybrid Cloud AppMonitoring
InfraMonitoring
Service Cat/Operatorsetcd, Prometheus, Red Hat Middleware, ISVs
Cluster ServicesMetering/Chargeback,
Metrics, Logging, Registry
CaaS PaaSBest Operator Experience Best Developer Experience
Operator Lifecycle Manager
Ops & Dev Consoles
Install / Upgrade
Security / Auth
Network / CNI
Storage / CSI
ENHANCING OPENSHIFT WITH COREOS TECTONIC & QUAY CONTAINER REGISTRY
CoreOS Tectonic ● Fully integrated and merged with OpenShift ● Adds automated operations and day 2 management
(install, upgrades, monitoring, metering and chargeback)● Best-in-class support for CaaS/KaaS/PaaS use cases
CoreOS Container Linux● Red Hat CoreOS inspired by Container Linux &
RHEL/Atomic● Fully immutable, container optimized, automatically
updated Linux host foundation for OpenShift
CoreOS Quay Registry● Enterprise container registry; self managed & as-a-service ● Premium offering usable standalone or with OpenShift● Geo-replication, vulnerability scanning, build automation
ETCD PROMETHEUS METERING & CHARGEBACK
RED HAT QUAY REGISTRY
RED HAT COREOSPLATFORM OPERATOR - AUTOMATED OPS
APPLICATION OPERATORS - SELF-DRIVING APPS
39
- Minimal Linux distribution - Optimized for running containers- Decreased attack surface - Over-the-air automated updates- Ignition-based Metal and Cloud host
configuration - Deployment option for OpenShift
DELIVERING IMMUTABLE INFRASTRUCTURE WITH RED HAT CoreOS
Red Hat Summit Video
Red Hat CoreOS FAQ
AWS Specifics
New AWS Services coming:
Kinesis Data Streams
Key Management Service (KMS)
Lex
Polly
Rekognition
Translate (requires Preview
registration)
SageMaker
Additional RDS engines:
Aurora, MariaDB, and PostgreSQL
AWSServiceBroker
AMAZON WEB SERVICES
Service Broker
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Quick Start is available that will configure a VPC that spans three Availability Zones with private and public subnets in each zone as well as deploying Master, Infrastructure, and Application OCP nodes in each Availability Zone.
https://aws.amazon.com/quickstart/architecture/openshift/
Further info / How to start
44
CONTAINERS BECOMING MAINSTREAM
http://learn.openshift.com
Try it and see!
OpenShiftInteractive Learning Platform for Dev and DevOps
Get hands on!
Interactive hands-on development scenarios
http://red.ht/openshift-ops-testdrive
Try it and see!
OpenShift Operations and Container Native Storage Test Drive
Get hands on!
GENERAL DISTRIBUTION47
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 INCUBATIONCommunities
supporting innovation
THANK YOU
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews
For more details:Investor Relations
PresentationSlides 58-62
OPENSHIFT IS GAINING MOMENTUMOPENSHIFT CUSTOMER GROWTH IS ACCELERATING
Abstract
Clouds are where everyone turns these days for elastic resources. But each and every time a certain cloud is chosen. In turn, you get your certain specialized Cloud API. Red Hat products are the ideal abstraction that allows you to use the same API to deal with your App in all the major clouds.
51
● ISTIO available on OpenShift Container Platform● RHOAR Launcher will provision ISTIO code samples
○ Spring Boot, WildFly Swarm @Summit; Node.js, Eclipse Vert.x to follow● Simplifies microservices development for enterprise developers
○ Infrastructure services embedded into container platform○ More focus on business logic, less infrastructure code○ Improved security, robustness, and observability with little to no
coding
RELEASING AS DEVELOPER PREVIEW AT SUMMIT - GA EOY or early next year
INTRODUCING SERVICE MESH: ISTIO in OpenShift
52
INTRODUCING SERVERLESS: OPENSHIFT CLOUD FUNCTIONS
● Industry’s first enterprise grade, Hybrid Serverless offering ● Runs on OpenShift - based on Apache OpenWhisk● Mature, battle-tested technology - IBM and Adobe already running OpenWhisk at
scale● Initial RHOAR supported runtimes:
○ Java, Python and Node.js● Event Sources:
○ In-memory Data Grid, Storage (Gluster), Messaging (AMQ), HTTP, GitHub, etc.● Dev tool support with Che / OpenShift.io
RELEASING AS DEVELOPER PREVIEW AT SUMMIT - WATCH THE VIDEO
53
INTRODUCING CONTAINER-NATIVE VIRTUALIZATION
Technology enabling OpenShift Container Platform as a unified platform for building, modifying, and deploying applications residing in both containers and virtual machines in a
common, shared environment.
Use Kubernetes to orchestrate both application containers and VM containers on the same container platform (OpenShift). CNV is based on RHEL (KVM) virtualization capabilities.
Keynote Demo: https://youtu.be/r8e4bT0-zhU?t=45m30s
Based on the KubeVirt project: http://www.kubevirt.io/
GENERAL DISTRIBUTION
THE PROBLEM
I.T. OPERATIONS
DEVELOPERS
The need for Operators
$ oc new-app myapp 30 days later….
Developer
Platform Services
Team
Tries to keep the application framework or runtime from exploding
Wouldn’t be great if….
The Platform
$ oc create -f myAppsTask.yaml
Developer
● re-index● backup● restore● defrag● recycle● ...any admin task
}Operator SDK
Community Powered Innovation
Community Powered Innovation
= +
made easy& made enterprise
OpenShift Source-to-Image
Source 2 Image Walk Through
Code
Build
Deploy
Container Image
Registry
Source 2 Image Walk Through
CodeDevelopers can leverage existing
development tools and then access the OpenShift Web, CLI or
IDE interfaces to create new application services and push
source code via GIT. OpenShift can also accept binary
deployments or be fully integrated with a customer’s existing CI/CD
environment.
Source 2 Image Walk Through
BuildOpenShift automates the Docker
image build process with Source-to-Image (S2I). S2I
combines source code with a corresponding Builder image from
the integrated Docker registry. Builds can also be triggered manually or automatically by
setting a Git webhook. Add in Build pipelines
Container Image
Registry
Source 2 Image Walk Through
DeployOpenShift automates the deployment of application
containers across multiple Node hosts via the Kubernetes
scheduler. Users can automatically trigger deployments on application
changes and do rollbacks, configure A/B deployments & other
custom deployment types.
Container Image
Registry