Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Cloud Native Applications on OpenShift

391 Aufrufe

Veröffentlicht am

Cloud-native apps on CpenShift container platform. Webinar presentation

Veröffentlicht in: Technologie

Cloud Native Applications on OpenShift

  1. 1. CLOUD NATIVE & DEVOPS with OPENSHIFT CONTAINER PLATFORM Feb 2018 Serhat Dirik Senior Solution Architect serhat@redhat.com @serhat_dirik Webinar Record: https://onlinexperiences.com/scripts/Server.nxp?LASCmd=AI:4;F:QS!10100&ShowKey=47844
  2. 2. CLOUD-NATIVE IS MUCH MORE THAN YOUR APPLICATION ARCHITECTURE It’s also not just about infrastructure like public, private or hybrid cloud DevOps Containers Services Automaton Beside the applicaton architecture, cloud- natve is also about how applicatons are created, deployed and managed. • Service Components based e.g. Microservices • DevOps as in Collaboratve processes • Automaton as CI/CD, Autoscale • Containers as in Mult-cloud, mult runtme
  3. 3. CONTAINERS EVOLVE APP DELIVERY 3 & CONTAINER PLATFORMS ARE PART OF YOUR DEVOPS TOOL KIT ● Eliminate confguration errors and “works fne on m machine3 prroblems ( because aprprs have what the need to run) ● Isolate aprprs from underl ing infrastructure ● Consistentl deprlo containers across dev, stage, and prroduction ● Beneft from automation that results from container orchestration and continuous integration and deprlo ment ( CI/CD)
  4. 4. PATH TO DEVOPS 4 DOING THINGS FASTER IS GOOD—BUT YOU NEED MORE THAN THAT 1. Open your culture. Transprarenc , collaboration, and consistenc are required. 2. Automate as much as you can. Eliminate manual tasks and gain time to innovate. 3. Get the right platform. Containers are the best wa to prackage aprprs for DevOprs, and container prlatforms prrovide the automation needed b both teams.
  5. 5. DEVOPS & CONTAINERS 5 THEY’RE MORE THAN JUST FRIENDS Source: IDC, Majorit of Earl DevOprs Adoprters Have Plans to Invest in Containers and Container Orchestration. Doc # US42365417, March 2017. 78% of DevOps early adopters are currentl investing in or prlan to invest in container and container orchestration technology to suprprort DevOprs initiatives.
  6. 6. CLOUD-NATIVE CAPABILITIES WITH RED HAT OPENSHIFT APPLICATION LIFECYCLE MANAGEMENT CONTAINER ORCHESTRATION AND MANAGEMENT Service Discover Routing Load Balancing Securit Monitoring Conf Management Log Management Multi-tenanc Self-ServiceBuild Automation Deprlo Automation CI/CD ANY CONTAINER ANY INFRASTRUCTUREAmazon Web Services Microsoft Azure Google CloudOprenStackDatacenterLaprtopr ENTERPRISE CONTAINER HOST
  7. 7. EXISTING AUTOMATION TOOLSETS SCM (GIT) CI/CD OprenShift Architecture 10,000 foot overview
  8. 8. CrunchyData GitLab Iron.io Couchbase Sonatype EnterpriseDB and man more ...and virtually any container image out there! TRUE POLYGLOT PLATFORM PHP P thon Java NodeJS Perl Rub .NET Core M SQL Redis JBoss EAP JBoss A-MQ JBoss Fuse JBoss BRMS JBoss BPMS JBoss Data Grid JBoss Data Virt RH Mobile RH SSO 3SCALE API mgmt JBoss Web Server Sprring Boot Wildf Swarm Vert.x PostgreSQL MongoDB Third-prart Language Runtimes Third-prart Databases Third-prart Aprpr Runtimes Third-prart Middleware
  9. 9. DEVELOPERS DEMAND MORE OPTIONS 9 ENTERPRISES EXPAND USE OF LANGUAGES, FRAMEWORKS, & RUNTIMES
  10. 10. SUPPORTING YOU TODAY AND TOMORROW
  11. 11. Modern, Cloud-Native Aprprlication Runtimes and an Oprinionated Developrer Exprerience TESTED AND VERIFIED FRAMEWORKS SUPPORTED RUNTIMES SPRING BOOTSPRING BOOT NETFLIX RIBBONNETFLIX RIBBON NETFLIX HYSTRIXNETFLIX HYSTRIX LAUNCH generator LAUNCH generator SERVLET JSP Aprache Tomcat SERVLET JSP Aprache Tomcat JAVA EE Red Hat JBoss EAP JAVA EE Red Hat JBoss EAP REACTIVE Ecliprse Vert.x REACTIVE Ecliprse Vert.x MICROPROFILE Wildf Swarm MICROPROFILE Wildf Swarm JAVASCRIPT Node.js JAVASCRIPT Node.js
  12. 12. OPENSHIFT LOVES CI/CD JENKINS-AS-A SERVICE ON OPENSHIFT HYBRID JENKINS INFRA WITH OPENSHIFT EXISTING CI/CD DEPLOY TO OPENSHIFT
  13. 13. OPENSHIFT PIPELINES ● OprenShift Piprelines allow defning a CI/CD workfow via a Jenkins pripreline which can be started, monitored, and managed similar to other builds ● D namic prrovisioning of Jenkins slaves ● Auto-prrovisioning of Jenkins server ● OprenShift Pipreline strategies ○ Embedded Jenkinsfle ○ Jenkinsfle from a Git reprositor
  14. 14. 14 Microservices Pla ground Demo bit.ly/msa-instructions http://developers.redhat.com/downloads Container Development Kit Helloworld MSA Spring Boot, WildFly Swarm, Vert.x, NodeJS, Hystrix, Jaeger, Blue/Green, Canary, CI/CD via Jenkinsfile
  15. 15. 15 MSA running in Container Developrment Kit Hypervisor RHEL VM Image ● OpenShift ● Kubernetes ● Docker http://developers.redhat.com/products/cdk/download/
  16. 16. 16 Browser
  17. 17. 17 Example ACME Laptop 128GB SSD, 8GB RAM $323.56 Touchscreen 128GB SSD 8GB RAM Core i3 Windows 10 Add to Cart In-Store Pickup (15 available) Raleigh, Central Ave, Store #1123 Recommendations
  18. 18. 18 Example ACME Laptop 128GB SSD, 8GB RAM $323.56 Touchscreen 128GB SSD 8GB RAM Core i3 Windows 10 Add to Cart In-Store Pickup (15 available) Raleigh, Central Ave, Store #1123 Recommendations Pricing Engine Reviews Details/Specifications Location-based availability People who purchased also...
  19. 19. 19 Example (Fail) ACME Laptop 128GB SSD, 8GB RAM $323.56 Touchscreen 128GB SSD 8GB RAM Core i3 Windows 10 Add to Cart In-Store Pickup (15 available) Raleigh, Central Ave, Store #1123 Recommendations Pricing Engine Reviews Details/Specifications Location-based availability People who purchased also... X
  20. 20. 20 Example (Fallback) ACME Laptop 128GB SSD, 8GB RAM $323.56 Touchscreen 128GB SSD 8GB RAM Core i3 Windows 10 Add to Cart Closest store: Raleigh, Central Ave, Store #1123 Recommendations Pricing Engine Reviews Details/Specifications Location-based availability People who purchased also... X
  21. 21. 21 API “Gateway”
  22. 22. 22 API “Gateway” (Fail) X
  23. 23. 23 Chaining
  24. 24. 24 Chaining (Fail) X
  25. 25. 25 Chaining (Cascading Fail) XXXX X
  26. 26. 26 Mixed
  27. 27. 27 Service A Service B Circuit Breaker
  28. 28. 28 Service A Service B Hystrix - circuit-breaker, bulkhead
  29. 29. 29
  30. 30. 30
  31. 31. 31 Jaeger, Distributed Tracing
  32. 32. 32 Jenkins Pipeline node('maven') { stage 'Git' git url: 'https://github.com/burrsutter/ola' stage 'Maven build' sh "mvn package" stage 'Unit Tests' echo "Unit Tests" stage 'Docker build' echo "Login" withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'developer', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) { sh "oc login --insecure-skip-tls-verify=true -u $env.USERNAME -p $env.PASSWORD https://10.1.2.2:8443" } echo "OpenShift Docker Build" sh "oc new-build --binary --name=ola -l app=ola || echo 'Build exists'" sh "oc start-build ola --from-dir=. --follow" stage 'Integration Tests' echo "Integration Tests" stage 'Deploy' echo "Deploy, Deploy, Deploy" sh "oc new-app ola -l app=ola,hystrix.enabled=true || echo 'Application already Exists'" sh "oc expose service ola || echo 'Service already exposed'" }
  33. 33. 33 Deployment Models (Fast & Safe) ● Blue/Green Canary A/B Test
  34. 34. 34 build Development QA Staging Production commit SCM Router Users Blue/Green Deployment 1 Starts with a “git commit and git push”
  35. 35. 35 build Development QA Staging Production commit SCM Router Users Blue/Green Deployment 2
  36. 36. 36 build Development QA Staging Production commit SCM Router Users Blue/Green Deployment 3
  37. 37. 37 build Development QA Staging Production commit SCM Router Users Blue/Green Deployment 4
  38. 38. 38 build Development QA Staging Production commit SCM Router Users Blue/Green Deployment 4
  39. 39. 39 Development QA Staging Production commit SCM Router Users Blue/Green Deployment 4
  40. 40. 40 Development QA Staging Production commit SCM Router Users Blue/Green Deployment Fallback
  41. 41. THE PATH TO CLOUD NATIVE DEVELOPMENT WITH RED HAT APPLICATION LIFECYCLE MANAGEMENT CONTAINER ORCHESTRATION AND MANAGEMENT MIDDLEWARE SERVICES RED HAT & 3rd PARTY APPLICATION SERVICES SUPPORTED MICROSERVICES RUNTIMES TESTED & VERIFIED MICROSERVICES FRAMEWORKS RED HAT® CONTAINER CATALOG ENTERPRISE CONTAINER HOST
  42. 42. THE PATH TO CLOUD NATIVE DEVELOPMENT WITH RED HAT APPLICATION LIFECYCLE MANAGEMENT CONTAINER ORCHESTRATION AND MANAGEMENT MIDDLEWARE SERVICES RED HAT & 3rd PARTY APPLICATION SERVICES SUPPORTED MICROSERVICES RUNTIMES TESTED & VERIFIED MICROSERVICES FRAMEWORKS RED HAT® CONTAINER CATALOG ENTERPRISE CONTAINER HOST MANAGEMENT TOOLS DEVELOPER TOOLS
  43. 43. WHEN MODERNIZING WORKLOADS THERE ARE 3 MAIN PATTERNS REHOST ● Containerize existing workloads ● Deprlo them on a PaaS ● Keepr external integrations & data on legac s stems ● Legac aprprlications must be well-written & suited for the new host RESHAPE ● Legacy remains intact ● New la er, new caprabilities ● Deprlo on PaaS ● New integration points between legac and new la ers (need for agile integration) REWRITE ● Legacy is totally replaced ● New interfaces and data ● Use PaaS to run ● Some data and features can be re-wraprpred, but most are retired
  44. 44. LIFT-AND-SHIFT MONOLITH TO CLOUD Aprprlication Server HTML Javascriprt Web ServiceServiceService Service Service Service Data Access HTML Javascriprt Web ServiceServiceService Service Service Service Data Access
  45. 45. LIFT-AND-SHIFT MONOLITH TO CLOUD Aprprlication Server HTML Javascriprt Web ServiceServiceService Service Service Service Data Access JBoss EAP CONTAINER JBoss EAP CONTAINER JBoss EAP CONTAINER JBoss EAP CONTAINER JBoss EAP CONTAINER JBoss EAP CONTAINER
  46. 46. 46 TAKE AN INCREMENTAL APPROACH TO MODERNIZING APPLICATIONS & PROCESSES PHASE 1: Groundwork PHASE 2: Integrate PHASE 3: Rollout INFRASTRUCTURE PROCESSAPPLICATIONS Adopt cloud-native dev Build new aprprlications Develop DevOps strategy DevOprs Design Workshopr Containerize existing apps Assess migration oprtions Deploy container platform Lab environment Enhance DevOps strategy Process & adoprtion aprprroach Inventory applications Anal ze & determine LOE Migrate applications Traditional aprprs to containers Integrate container platform w/ dev tools & infrastructure Socialize DevOps strategy Broad, raprid culture change Onboard early adopters Guidance & temprlates Mentor operations team Create OprenShift SOPs Secure container platform Comprliance & deprlo ment
  47. 47. COMPLETE YOUR JOURNEY WITH RED HAT APP MIGRATION & MODERNIZATION PROGRAM ● Methodology follows repeatable framework ● Step by step: no “big bang” approach ● It all begins with a discovery session
  48. 48. Discover session Agile, Lean, DevOprs Backlog and roadmapr PUSH-BUTTON INFRASTRUCTURE DEMO DAY CONTINUOUS LEARNING PRE-WORK RESIDENCY RETROSPECTIVE An immersive residenc for teams of 3 -6 preoprle to rapridl build aprprs, exprerience DevOprs and learn how to developr cloud native aprprs
  49. 49. BENEFITS OF DELIVERING APPS 49 WITH DEVOPS & CONTAINERS AUTOMATION Free time for innovation b automating workfows, orchestration, & prrovisioning CONSISTENCY Work more easil across a broad range of aprprs & environments QUALITY Take advantage of raprid, iterative prrocesses instead of slow, monumental changes TIME TO MARKET Accelerate developrment & deliver c cles TALENT Attract & retain topr developrment talent SECURITY & COMPLIANCE Enforce prolicies automaticall & consistentl
  50. 50. WHY DO ORGS CHOOSE CLOUD APPS? 50 PERFORMANCE & TIME TO MARKET TOP THE LIST Source: IDC, Business Value Impract of Digital Transformation: Understanding How Digital Transformation Is Alread Here and What It Means For Your Sales and Marketing Strateg , Doc # DR2017_BS2_NS_RP. Februar 2017. 48% 44% 28% 18% 13% 11% 9% 4% Time to market for new prroducts and services Business prrocess workfow Emprlo ee prroductivit gain Customer retention Proftabilit Oprerational costs New customer acquisition Revenue Business outcomes KPI gains Annual benefts per cloud application 40% 34% 16% 10% Additional revenue Reduced costs 35% 22% 21% 21% US$2.6 million US$6.8 million Aprprlication prerformance Time to market Oprerations prerformance New prroducts and customers DevOprs Emprlo ee prroductivit Business prrocess imprrovement Innovation
  51. 51. HOW TO GET STARTED WE HAVE WRITTEN BOOKS FOR YOU!! htps://developers.redhat.com/resources/#!ctypebbook
  52. 52. @burrsutter developers.redhat.com
  53. 53. Interactive Learning Portal httprs://learn.oprenshift.com/
  54. 54. QUESTIONS ? serhat@redhat.com
  55. 55. THANK YOU prlus.google.com/+RedHat linkedin.com/compran /red-hat outube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHatNews OPEN SOURCE SOFTWARE THE WORLD’S LEADING DEVELOPER AND SUPPLIER OF FOR ENTERPRISE I.T.

×