OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller

3,067 views

Published on

Install OpenShift Platform as a Service (PaaS) anywhere with Puppet, Ansible, Heat, Cmd line, or with install.openshift.com

Published in: Technology

OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller

  1. 1. OpenShift PaaS Anywhere Diane Mueller OpenShift Origin Community Manager 1 irc: dmueller dmueller@redhat.com by
  2. 2. @pythondj noun ˈpī-ˌthän, -thən+ˈdē-ˌjā Python a widely used generalpurpose, high-level programming ............language Snake a very large snake that kills the animals it eats by wrapping itself around them + short for “Django” a high-level Python Web framework that encourages rapid development & clean design + Disk Jockey a person who plays popular recorded music on the radio or at a party or nightclub A Snake Charmer Red Hat's OpenShift Origin Community Manager
  3. 3. Agenda { I'll talk (fast) about...} Learn a bit about PaaS Understand OpenShift Architecture Learn how to deploy OpenShift anywhere 3 by
  4. 4. Today's Assumptions You are an ops person So you can use command line, git, and ssh You can use Puppet, Ansible, Chef or CFEngine... You want to see what is involved in running a PaaS You will ask questions 4 by
  5. 5. FLAVORS OF OPENSHIFT Open Source Project Public Cloud Service 5 origin Onpremise or Private Cloud Software
  6. 6. OpenShift Origin The upstream project that both OpenShift Online and OpenShift Enterprise are based on. • Apache 2.0 Licensed • All code hosted on GitHub (https://github.com/openshift/) • Available as: • • Source (tarballs and git repo) RPMs • IRC: #openshift-dev on irc.freenode.net • Mailing lists: http://lists.openshift.redhat.com/openshiftmm/listinfo • Forums: https://www.openshift.com/forums/openshift • Stack Overflow: http://stackoverflow.com/questions/tagged/openshift • Public backlog: https://trello.com/openshift 6 by
  7. 7. Origin Release 3 Fedora 19 or RHEL 6.x or CentOS 6.5 Get up and running Vagrant Puppet Comprehensive guide Ansible Heat http://openshift.github.io 7 7
  8. 8. Why I love PaaS: It's Magic SaaS/Applications Layer Infrastructure Layer 9
  9. 9. App Development Got Complicated 10 by
  10. 10. How to Build an App Old School 11
  11. 11. Unhappy Developers 12 by
  12. 12. Then along came “Cloud” 13 by
  13. 13. Developer Expectations Platform Flexibility Application Portability Increased Productivity 14
  14. 14. Infrastructure is not enough 15
  15. 15. Infrastructure as a Service gives you • Network, storage & compute as an on-demand service • Basically, servers in the cloud • You’re still on the hook to configure & manage the cloud & stack “How do I use this?” 16
  16. 16. Software as a Service gives you • An on-demand application • Nothing to install or configure “This is all my customers and users care about!” 17
  17. 17. Platform as a Service delivers • Application run-time environment in the cloud • Configures & manages both the cloud & stack for your application “The cloud is now useful!” 18
  18. 18. OpenShift Runs on IaaS OpenShift PaaS Amazon EC2 Rackspace Bare Metal OpenStack RHEV CloudStack 19 19
  19. 19. How OpenShift Works POWERED BY OPENSHIFT 20 by
  20. 20. OpenShift is a PaaS on top of… Infrastructure AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 21 by
  21. 21. The Foundation of OpenShift is Red Hat Enterprise Linux OpenShift is Built on Instances of Red Hat Enterprise Linux (RHEL) RHEL RHEL RHEL RHEL AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 22 by
  22. 22. 23 by
  23. 23. An OpenShift Broker Manages Multiple OpenShift Nodes Nodes are where User Applications live. Brokers keep OpenShift running. RHEL RHEL RHEL RHEL Brokers Node Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 24 by
  24. 24. Unique SELinux Approach Enables Security and Multi-tenancy SELinux Policies securely subdivide the Node instances. RHEL Broker RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 25 by
  25. 25. OpenShift User Applications Run in OpenShift Gears OpenShift GEARS represent secure containers in RHEL RHEL Broker RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 26 by
  26. 26. Developer Workflow Web Console Eclipse IDE Cmd Line OpenShift Gear RHEL Broker A Developer creates a new application  OpenShift creates a GEAR RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 27 by
  27. 27. OpenShift Automates Gear Configuration via Cartridges JBoss RHEL Broker MySQL Web Console Eclipse IDE Cmd Line CARTRIDGES are how OpenShift installs Languages & Middleware RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 28 by
  28. 28. OpenShift Cartridge System Enables User-Built Cartridges Java MySQL PHP Postgres Python Etc. CUSTOM Ruby Etc. OpenShift Default Cartridges Developers can add custom language, data-store, or middleware with with a custom Cartridge. AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 29 by
  29. 29. Now, Code and Push Git Protocol / ssh Code Git Repo MySQL JBoss RHEL Broker Push Developer pushes application code via GIT source code management system RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 30 by
  30. 30. OpenShift Automates Build, Test, Publish Maven JBoss (Builds) Code Jenkins Git Repo (CI) RHEL Broker Apache (HTTP) MySQL RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 31 by
  31. 31. OpenShift Automates Application Scaling! HA-Proxy Cod e Cod Code Java e Java MySQL Java RHEL Broker Node Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 32 by
  32. 32. OpenShift Automates the IT Assembly Line POWERED BY OPENSHIFT AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal 33 by
  33. 33. Ways to use OpenShift Developer IDE Integrations Command Line Tooling Web Browser Console REST APIs 34 by
  34. 34. Ways to deploy OpenShift 35 by
  35. 35. OpenShift Architecture 36 by
  36. 36. http://install.openshift.com 37 by
  37. 37. 38 by
  38. 38. 39 by
  39. 39. 40 by
  40. 40. 41 by
  41. 41. https://www.openshift.com/blogs/deploying-highly-available-openshift-origin-clusters-withansible 42 by
  42. 42. 43 by
  43. 43. Yet another Cross Community Collaboration OpenStack 44 OpenShift by
  44. 44. 45 by
  45. 45. OpenStack Heat Engine Architecture 46
  46. 46. Learn more about OpenShift & Heat: ● Users, testers and developers wanted! – Connect via IRC on #heat@freenode – Check out the repositories: – https://github.com/openstack/heat https://github.com/openstack/heat-templates Read the Heat Documentation: http://docs.openstack.org/developer/heat – 47
  47. 47. Learn more about OpenShift: ● Users, testers and developers wanted! – Connect via IRC on #openshift-dev@freenode – Check out the repositories: – https://github.com/openshift Read the OpenShift Documentation: http://openshift.github.io 48
  48. 48. Thank You. Questions? Diane Mueller @pythondj dmueller on irc.freenode.net - #openshift-dev 50 by
  49. 49. Future of PaaS https://github.com/openshift/openshift-pep/blob/master/openshift-pep-010-docker-cartridges.md http://docs.docker.io/en/latest/installation/kernel/ 51 51

×