Date post: | 18-May-2018 |
Category: |
Documents |
Upload: | truongdien |
View: | 230 times |
Download: | 6 times |
Azure days
28/02/2018
Openshift:Key to modern DevOps
Jiří KolářSolution Architect CZ/SK/[email protected]
PROBLEM:
I.T. OPERATIONSDEVELOPERS
GENERAL DISTRIBUTION
THE SOLUTION
I.T. OPERATIONSDEVELOPERS
GENERAL DISTRIBUTION
Key concepts:• Small changes >> Less Risk >> Rapid feedback• Culture change: Acceptance of failure• Delivery pipeline = Automation!• Team ownership & responsibility!
THE SOLUTION
I.T. OPERATIONS
DEVELOPERS
GENERAL DISTRIBUTION5
DEVOPS WITH CONTAINERS
sourcerepository
CI/CDengine
dev container
physical
virtual
private cloud
public cloud
OPENSHIFT TECHNICAL OVERVIEW6
ANYCONTAINER
Amazon Web Services Microsoft Azure Google CloudOpenStackDatacenterLaptop
ANYINFRASTRUCTURE
APPLICATION LIFECYCLE MANAGEMENT
ENTERPRISE CONTAINER HOST
CONTAINER ORCHESTRATION AND MANAGEMENT(KUBERNETES)
CONTAINER PLATFORM
Container platform
OPENSHIFT TECHNICAL OVERVIEW7
ANYCONTAINER
Amazon Web Services Microsoft Azure Google CloudOpenStackDatacenterLaptop
ANYINFRASTRUCTURE
APPLICATION LIFECYCLE MANAGEMENT
ENTERPRISE CONTAINER HOST
CONTAINER ORCHESTRATION AND MANAGEMENT(KUBERNETES)
OPENSHIFT CONTAINER PLATFORM
Openshift Source 2 Image
Code
Build
Deploy
Container Image
Registry
JBOSS EAPJBOSS DATA GRID
JBOSS DATA VIRTUALIZATION
JBOSS AM-QJBOSS BRMSJBOSS BPMJBOSS FUSE
RED HAT MOBILE3 Scale
Container
BusinessAutomation
Container
Integration
Container
Data &Storage
Container
Web &Mobile
Traditional, Stateful, and Microservices-based Apps
OpenShift Application Lifecycle Management(CI/CD)
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
OPENSHIFT TECHNICAL OVERVIEW10
BUT…SOME TEAMS ALREADY HAVE
AUTOMATED DELIVERY PIPELINES
OPENSHIFT TECHNICAL OVERVIEW11
WHAT IF THERE ARE EXISTING DELIVERY PROCESSES?
BUILD APP BINARY
RUN TESTS
PROMOTE APPBINARY
BUILD CONTAINER IMAGE
RUN TESTS
PROMOTE CONTAINERIMAGE
SOURCEVERSION CONTROL
ENTERPRISEBINARY REPO
AWS ECR
ENTERPRISEIMAGE REPO
OPENSHIFT TECHNICAL OVERVIEW12
ENRICHING EXISTING DELIVERY PROCESSES WITH OPENSHIFT
OPENSHIFTCLUSTER
EXISTINGDELIVERYPROCESS
DEPLOY DEPLOY DEPLOY
OPENSHIFT TECHNICAL OVERVIEW13
OPENSHIFT PIPELINES
● OpenShift Pipelines allow defining a CI/CD workflow via a Jenkins pipeline which can be started, monitored, and managed similar to other builds
● Dynamic provisioning of Jenkins slaves
● Auto-provisioning of Jenkins server
● OpenShift Pipeline strategies○ Embedded Jenkinsfile○ Jenkinsfile from a Git repository
apiVersion: v1kind: BuildConfigmetadata: name: app-pipelinespec: strategy: type: JenkinsPipeline jenkinsPipelineStrategy: jenkinsfile: |- node('maven') { stage('build app') { git url: 'https://git/app.git' sh "mvn package" } stage('build image') { sh "oc start-build app --from-file=target/app.jar } stage('deploy') { openshiftDeploy deploymentConfig: 'app' } }
Provision a Jenkins slave for running Maven
OpenShift CI/CD
DEMO
OpenShift CI/CD flow
APPLICATION SERVICES
OPENSHIFT TECHNICAL OVERVIEW
CrunchyData
GitLab
Iron.io
Couchbase
Sonatype
EnterpriseDB
NuoDB
Fujitsu
and many more
17
...and virtually any docker
image out there!
TRUE POLYGLOT PLATFORMPHPPythonJava NodeJS Perl Ruby .NET
Core
ApacheHTTPServer
MySQL Redis
nginx TomcatVarnish
JBossEAP
JBossA-MQ
JBossFuse
JBossBRMS
JBossBPMS
JBossData Grid
JBossData Virt
RH Mobile RH SSO3SCALE
API mgmt
JBossWeb
Server
SpringBoot
Wildfly Swarm Vert.x
PostgreSQL MongoDB
Phusion Passenger
Third-partyLanguage Runtimes
Third-partyDatabases
Third-partyApp
Runtimes
Third-partyMiddleware
Third-partyMiddleware
LANGUAGES
DATABASES
WEB SERVERS
MIDDLEWARE
DEPLOYMENT OPTIONS?
OPENSHIFT TECHNICAL OVERVIEW19
BUILD AND DEPLOY CONTAINER IMAGES
DEPLOY YOURSOURCE CODE
DEPLOY YOURCONTAINER IMAGE
DEPLOY YOURAPP BINARY
LOCAL DEVELOPMENT??
OPENSHIFT
LOCAL DEVELOPMENT WITH CONTAINERS
Developer’s Local Env (laptop, desktop)
CDKJBDS
VCS (Git)
Build
Run
Test
JenkinsNexus(Library Management)
Deployment Pipeline
Automatic Testing
Release management
Failure feedback
DEUTSCHE BANK - Technology Transformation“Delivering Everything as a Service. From 20% adoption to 40% in 1yr; planning to move 85% of all applications to OpenShift platform. We won the hearts and minds of developers.” -- Pat Healy, CTO, Deutsche Bank
● Macro trends are radically reshaping the banking industry● Need to regain software expertise that was previously outsourced● OpenShift replaced an internal, homegrown PaaS platform● Over 300 internal projects moved to OpenShift● 6x better efficiency of computing resources using containers and
OpenShift. Driving overall utilization up via multi-tenancy. ● Leverage OpenShift across multiple public clouds.
Ideas to Production, safely in a day.
View the Deutsche Bank keynote
DO080 Deploying Containerized Applications Technical Overview (FREE!)DO092 Developing Cloud-Native Applications with Microservices Architectures (FREE!)DO180 Introduction to Containers, Kubernetes, and Red Hat OpenShift
DO280 Red Hat OpenShift Administration IDO285 Containers, Kubernetes, and Red Hat OpenShift Administration IDO380 Red Hat OpenShift Administration II: High Availability
DO290 Developing and Deploying Applications on OpenShift
Knowledge is the power. Training is the key!
Community Powered Innovation
OpenShift Customer References
Evolving Application Architecture at Volvo
785 apps across 560 app servers
OpenShift provides build, distribution & runtime environment
Platform for DevOps and Microservices
Running OpenShift on Azure, automatically provisioned with Ansible
DEUTSCHE BANK - Technology Transformation“Delivering Everything as a Service. From 20% adoption to 40% in 1yr; planning to move 85% of all applications to OpenShift platform. We won the hearts and minds of developers.” -- Pat Healy, CTO, Deutsche Bank
● Macro trends are radically reshaping the banking industry● Need to regain software expertise that was previously outsourced● OpenShift replaced an internal, homegrown PaaS platform● Over 300 internal projects moved to OpenShift● 6x better efficiency of computing resources using containers and
OpenShift. Driving overall utilization up via multi-tenancy. ● Leverage OpenShift across multiple public clouds.
Ideas to Production, safely in a day.
View the Deutsche Bank keynote
DEUTSCHE BANK - Technology Transformation
“Delivering Everything as a Service. From 20% adoption to 40% in 1yr; planning to move 85% of all applications to OpenShift platform. We
won the hearts and minds of developers.”
Reduce complexity of our IT Infrastructure
Operating systems 45 4
Key performance indicators 2015 2020 Plan Change
End-of-life hardware / software 166 0
% virtualisation 46% 95%
Private cloud adoption 20% 80%
Intersystem reconciliations ~1,000 ~300
~90%
100%
49ppts
60ppts
70%
“Run the bank” costs targeted to decline by EUR ~800 m
9
BARCLAYS BANK - Digital Transformation “OpenShift is the primary platform to deploy Barclays apps across any clouds. We couldn’t be happier with our OpenShift progress to date.” -- Kieran Broadfoot, CTO of Hosting, Barclays
● 300 year old bank● Focused on delivering new services to banking customers● Moving from proprietary middleware to open source● Moved 3000 applications to their cloud in last 2yrs; 500 in
production. ● Implemented CI/CD and Infrastructure-as-Code pipelines to allow
Devs and Ops to work better together.
View the Barclays keynote.
BARCLAYS BANK - Digital Transformation
“OpenShift is the primary platform to deploy Barclays apps across any clouds. We couldn’t be happier with our OpenShift progress to date.”
BMW GROUP - Evolving the Connected Car Digital customer experience, connected and automated driving and digitalized business processes lead to a transformation of the BMW Group towards software and services (Tech).
● Global manufacturer of luxury automobiles, motorcycles and engines. “The Ultimate Driving Machine”.
● Evolving in-vehicle communications and telematics for 15yrs.● OpenShift platform enables BMW ConnectedDrive service.● Enables Electric Cars, Service Calls, Real-Time Traffic, Driving
Assistance, Anonymous Cars.● Moving from Monolithic applications to Microservices,
Containers and Kubernetes
Read the press release and view Red Hat Summit presentation.
SCHIPHOL AIRPORT - Rethinking Traveler ExperienceRed Hat OpenShift Container Platform, truly, has stolen my heart, because the platform is innovative, I can deploy quickly, and I am in control of the containers. - Michael Aalbers, Amsterdam Airport Schiphol
● International Airport, 3rd busiest in Europe, 64M passengers per year.
● Goal to become the world’s best digital airport by 2018.● Needed to accelerate application development time through
cloud-agnostic platform. ● Deployed OpenShift across Private Cloud, AWS and Azure.● Leverage JBoss FUSE and 3Scale for API Management,
delivering API-based services to passengers and partners.
Read the press release
Platform Infrastructure
● Shift from virtualization to scale-out cloud infrastructure
● Rapid growth in public cloud usage for enterprises
● Hybrid cloud deployments span private & multiple public clouds
Datacenter
Hosted
Hybrid
F4726-022217
BUT HERE’S WHAT IT LOOKS LIKE FOR ONE FINANCIAL SERVICES CUSTOMER
IT’S A DIFFERENT JOURNEY FOR EVERYONE
Testprivate cloud
Strategic hybrid cloud
DEV
Test public cloud sandbox (IaaS & PaaS)
Tacticalpublic cloud
AUTOMATION & DEVOPS PROCESSES CONTAINERS FOR EVERYTHING
DEV
Production/managed private cloud
Traditional physical
environment
Strategic virtualization