OpenShift on OpenStack Jason Callaway Senior Solutions Architect jcallaway@redhat.com @jasoncallaway 11/14/2013 1
Agenda Why Platform as a Service (PaaS) Demo OpenShift Discuss OpenStack Heat Lab / hack-athon 2
Cloud Service Models Managed and Controlled Customer (IT, Dev, or User) Managed and Controlled the Public or Private Cloud Offering IaaS PaaS SaaS APPLICATION APPLICATION PLATFORM (JBOSS, PHP, RUBY, ETC) OPERATING SYSTEM () VIRTUALIZATION (RHEV) HARDWARE (x86, ARM, S/390) STORAGE (RHS) 3
OpenStack is known for IaaS IaaS is critically important It got us from this... 4...to this.
Deploying instances is like......making cars tools to get you from a to b But unless you're these guys Deploying OS instances is probably not your core business 5
That's where PaaS comes in Platform as a Service (PaaS) provides key benefits that will continue to drive enterprise adoption WHY? 6 1 Gartner http://bit.ly/pejafm 2 CMSWire http://bit.ly/vn6sih 3 Marketwire http://mwne.ws/hzumrc
Application Development Today Today How to Build an App in OpenStack or EC2: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Have Idea Get Budget Buy IaaS capacity Deploy OS Patch OS Configure OS Deploy framework/appserver Configure framework Deploy testing tools Test testing tools Code Push to Prod* Configure elasticity Iterate Repeated for every App Project * Even cattle need care and feeding 7
FREEDOM'S FORGE Automakers infected other industries with mass production awesomeness, simplifying designs, executing more accurately, and driving out waste. England, France, Japan and Germany embraced craftsmanship in industry, and as a result the US generated more materiel than every other combatant nation combined. (you should still read the book) 8
B 24: HILARIOUSLY BAD. Incredibly sophisticated. ~500k parts, assembled unskilled labor. Parts were cast in rubber molds, so every part was slightly different. Assembled in the heat of San Diego, which warped the metal and required whole assemblies to be adjusted. No assembly line: whatever was ready, we did that. After Henry Ford went from 250 planes a year to 650 planes a month. THIS IS OUR PROBLEM TODAY. 9
Streamlining App Dev with PaaS With PaaS Today How to Build an App in OpenStack or EC2: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Have Idea Get Budget Buy IaaS capacity Deploy OS Patch OS Configure OS Deploy framework/appserver Configure framework Deploy testing tools Test testing tools Code Push to Prod* Launch Configure elasticity Iterate How to Build an App: 1. 2. 3. 4. 5. 6. Have Idea Get Budget Code Test Launch Automatically Scale * Even cattle need care and feeding The use of Platform as a Service technologies will enable IT organizations to become more agile and more responsive to the business needs. Gartner* *http://www.gartner.com/technology/research/cloud-computing/report/paas-cloud.jsp 10
OpenShift is PaaS Red Hat 11
12
PaaS = Platform as a Service A Cloud Application Platform Code Code your app 13 Deploy Push button Deploy, and your App is running in the Cloud! Enjoy Save Time and Money
OpenShift is a PaaS on top of Infrastructure OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 14
The Foundation of OpenShift is Red Hat Linux OpenShift is Built on Instances of Red Hat Enterprise Linux () OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 15
An OpenShift Broker Manages Multiple OpenShift s s are where User Applications live. Brokers keep OpenShift running. Broker OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 16
Unique SELinux Approach Enables Security and Multi tenancy SELinux Policies securely subdivide the instances. Broker OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 17
OpenShift User Applications Run in OpenShift Gears OpenShift GEARS represent a secure containers in Broker OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 18
Developer Workflow Web Console Eclipse IDE Cmd Line OpenShift Gear Broker A Developer creates a new application OpenShift creates a GEAR OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 19
OpenShift Automates Gear Configuration via Cartridges Java Web Console Eclipse IDE Cmd Line CARTRIDGES are how OpenShift installs Languages & Middleware MySQL Broker OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 20
OpenShift Cartridge System Enables User Built Cartridges Java PHP Python MySQL Postgres DIY Etc. Ru Etc. OpenShift Default Cartridges Developers can add custom language, data store, or middleware with DIY Cartridge. OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 21
With Gear Configured, Developers Simply Code and Push Code Java MySQL Broker Git Push Developer pushes application code via GIT source code management system OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 22
OpenShift Automates Build, Test, Publish Code Java MySQL Broker Maven Apache Jenkins OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 23
OpenShift Automates Application Scaling! HA Proxy Cod e Cod Code Java e Java MySQL Java Broker OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 24
OpenShift Automates the IT Assembly Line POWERED BY OPENSHIFT OpenStack (IaaS) / AWS EC2 / CloudForms / RHEV (Virt) / Bare Metal 25
Why OpenShift? It s Trusted. OpenShift is built on proven Red Hat technologies. It s Easy. In OpenShift, work the way you want. 26 Choice of Interface: Web Console, Command line, or IDE Choice of Middleware: Java(EE6), Ru,.js, PHP, Python, and Perl Choice of Cloud: Public, Private, or Hybrid Cloud Automatically Scaling: Eliminates the worry of handling load It s Open. OpenShift s open source software stack ensures application portability and No Lock In.
Putting it all together Code Deploy Enjoy Ecosystem 27
28
29
30
31
32
33
OpenShift Commercial Offerings OpenShift OnLine 34 OpenShift Enterprise
Let s Take a Look 35
But wait! I thought this was about OpenStack... 36
OpenStack Orchestration Heat It makes the clouds rise Project that has been incubating Graduated in February Implements AWS CloudFormation 37
Heat Templates github.com/openstack/heat-templates 38
Lab notes https://meetup.signin.aws.amazon.com/console (has to be https) http://github.com/jason-callaway/openshift-origin-heat-lab AWS Username: meetup AWS Password: (to be distributed in person) Fedora 19 AMI ami-b22e5cdb yum install -y git git clone http://github.com/jason-callaway/openshift-origin-heat-lab 39
Get Started Today for Free! Deploy Apps to the OpenShift Developer Preview On line Build Your Own PaaS with OpenShift Origin Open Source Project http://openshift.redhat.com 40
Thank You Questions? 41 Jason Callaway Senior Solutions Architect jcallaway@redhat.com @jasoncallaway