Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Build a PaaS with OpenShift Origin


Published on

Slides Used by S Citron-Pousty and B DeCostse at SCaLE11x 2013 for their Build A PaaS Talk. Kinda like build a bear only way bettter.

Published in: Technology
  • Dating for everyone is here: ♥♥♥ ♥♥♥
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❤❤❤ ❤❤❤
    Are you sure you want to  Yes  No
    Your message goes here

Build a PaaS with OpenShift Origin

  1. 1. Build a PaaS with OpenShift Origin Steven Citron-Pousty PaaS Dust Spreader, Red Hat @TheSteve0 Bill DeCoste Principal Software Engineer wdecoste@redhat.com1
  2. 2. Agenda • See a PaaS in action • See how we build it under the hoods • Look at how to get involved with the community SIGN UP CODE: SCaLE112
  3. 3. Assumptions 1) You know Linux 2) You are either a developer or a sysadmin 3) You will ask questions3
  4. 4. What is OpenShift? Red Hat’s free platform as a service for applications in the cloud.4
  5. 5. 5 Dalbera on Flickr
  6. 6. Kind of like Amazon, right? Nope.6
  7. 7. Cook24v on Flickr7
  8. 8. What’s supported?8
  9. 9. • Operations care about stability and performance • Developers just want environments without waiting OpenShift Enterprise creates a peaceful environment for both parties9
  10. 10. Demo 1. Bring up a Python App 2. Push a code change 3. Add a MySQL database10
  11. 11. OpenShiftOPENSHIFT OVERVIEW11
  12. 12. FLAVORS OF OPENSHIFT Open Source Project origin On- Public premise Cloud or Private Service Cloud Software12
  13. 13. KEY TERMS • Broker – Management host, orchestration of Nodes • Node – Compute host containing Gears • Gear – Allocation of fixed memory, compute, and storage resources for running applications • Cartridge – A technology/framework (PHP, Perl, Java/JEE, Ruby, Python, MySQL, etc.) to build applications • Client Tools – CLI, Eclipse, Web Console for creating and managing applications13
  14. 14. RUNS ON IaaS OpenShift Origin is a PaaS that runs on top of..... Infrastructure Amazon EC2 Rackspace Bare Metal OpenStack RHEV VMWare14
  15. 15. SERVER TYPES Each OpenShift Origin server will be one of the following types: • Broker Host • Node Host15
  16. 16. BROKER An OpenShift Broker can manage multiple node hosts. Nodes are where User Applications live. Fedora/RHEL Fedora/RHEL Fedora/RHEL Brokers Node Node16
  17. 17. BROKER The Broker is responsible for state, DNS, and authentication.17
  18. 18. SELINUX SELinux Policies securely subdivide the Node instances. Fedora/RHEL Fedora/RHEL Brokers Node Node18
  19. 19. GEARS OpenShift GEARS represent secure containers in RHEL RHEL RHEL Brokers Node Node19
  20. 20. CARTRIDGES Web Console Eclipse IDE Cmd Line MYSQL JBOSS Fedora/RHEL Fedora/RHEL Brokers Node Node20
  21. 21. CARTRIDGES Java MySQL PHP Postgres CUSTOM Python Etc. Ruby Etc. OpenShift Default Cartridges21
  22. 22. SCALING HA-Proxy Code Code Code Java Java Java RHEL MySQL22
  23. 23. COMMUNICATION Communication from external clients occurs through the REST API The Broker then communicates through the messaging service to nodes23
  24. 24. HTTP FLOW24
  26. 26. Easy to install on Fedora 18● Using Vagrant and Puppet ● Also install on Fedora 17 ● Using kickstart ● source/26
  27. 27. GET INVOLVED! CHANNELS ● G+ Community ● E-Mail ● OpenShift Users: ● Origin Developers: ● IRC: ● OpenShift Users: #openshift ● Origin Developers: #openshift-dev27
  28. 28. GET INVOLVED! CHANNELS ● Forums ● Blogs http://cloud-mechanic.blogspot.com28
  29. 29. GET INVOLVED! OPENSOURCE ● GitHub: ● Origin: origin-server ● Internal Extensions: li ● Community Cartridges: origin-community-cartridges ● ● Quickstarts, Examples ● Watch, Star, Contribute!!!29
  30. 30. Conclusion 1. PaaS is a Developers AND Sysadmins dream 2. We are doing really cool things with Linux to make it happen 3. Easy to get started on Fedora 4. Fun and interesting place to spend your time – COME JOIN US!!! SIGN UP CODE: SCaLE11 http://openshift.redhat.com30