OpenShift on OpenStack
Dave Neary
@nearyd
dneary@redhat.com
6 December 2013
Cloud Service Models
IaaS

PaaS

SaaS

APPLICATION
APPLICATION PLATFORM
(JBOSS, PHP, RUBY, ETC)
OPERATING SYSTEM
(RHEL)
VIRTUALIZATION
(RHEV)
HARDWARE
(x86)
STORAGE
(RHS)
Managed and Controlled
by Customer (IT, Dev, or
User)
Automated and Managed
by the Public or Private
Cloud Offering

Increased Control
Increased Automation
Consolidated B-24 Liberator
Incredibly sophisticated. ~500k parts, assembled
by unskilled labor.
No manufacturing process. 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.

●

Ford Motor Co. brought a manufacturing process
…
unit production went from 250 planes a year to
650 planes a month.

THIS IS OUR CHALLENGE TODAY
Physical
How to Build an App:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.

Have Idea
Get Budget
Submit hardware acquisition request
Wait
Get Hardware
Rack and Stack Hardware
Install Operating System
Install Operating System
Patches/Fix-Packs
Create user Accounts
Deploy framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod servers (and buy
them if needed)
Push to Prod
Launch
Order more servers to meet demand
Wait…
Deploy new servers
Etc.

With PaaS

Virtualized
How to Build an App:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

Have Idea
Get Budget
Submit VM Request request
Wait
Deploy framework/appserver
Deploy testing tools
Test testing tools
Code
Configure Prod VMs
Push to Prod
Launch
Request More Prod VMs to
meet demand
Wait
Deploy app to new VMs
Etc.

How to Build an App:
1.
2.
3.
4.
5.
6.

Have Idea
Get Budget
Code
Test
Launch
Automatically Scale

“The use of Platform-as-a-Service technologies will
enable IT organizations to become more agile and
more responsive to the business needs.” –Gartner*
OpenShift Origin
http://openshift.github.io
https://openshift.redhat.com/community/open-source
https://github.com/openshift

The upstream project for the
OpenShift PaaS platform
•Apache 2.0 License
•Available as:
•
•

Source, RPMs
.ISO, LiveCD (run your own)

•IRC, email, forums
An OpenShift Broker Manages
Multiple OpenShift Nodes
SELinux Policies securely subdivide
the Node instances.

RHEL
Broker

RHEL
Node

RHEL

Node

Node

AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal
User interface

Git
SSH
Demo!
on
Heat templates
●

CloudFormations templates

●

Auto-scaling nodes

●

Not using Ceilometer (yet)

●

Includes diskimage builder elements

https://github.com/kraman/heat-templates/
Thank You.
Questions?

Dave Neary
dneary@redhat.com

OpenShift on OpenStack

  • 1.
    OpenShift on OpenStack DaveNeary @nearyd dneary@redhat.com 6 December 2013
  • 2.
    Cloud Service Models IaaS PaaS SaaS APPLICATION APPLICATIONPLATFORM (JBOSS, PHP, RUBY, ETC) OPERATING SYSTEM (RHEL) VIRTUALIZATION (RHEV) HARDWARE (x86) STORAGE (RHS) Managed and Controlled by Customer (IT, Dev, or User) Automated and Managed by the Public or Private Cloud Offering Increased Control Increased Automation
  • 3.
    Consolidated B-24 Liberator Incrediblysophisticated. ~500k parts, assembled by unskilled labor. No manufacturing process. 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. ● Ford Motor Co. brought a manufacturing process … unit production went from 250 planes a year to 650 planes a month. THIS IS OUR CHALLENGE TODAY
  • 4.
    Physical How to Buildan App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. Have Idea Get Budget Submit hardware acquisition request Wait Get Hardware Rack and Stack Hardware Install Operating System Install Operating System Patches/Fix-Packs Create user Accounts Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod servers (and buy them if needed) Push to Prod Launch Order more servers to meet demand Wait… Deploy new servers Etc. With PaaS Virtualized How to Build an App: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Have Idea Get Budget Submit VM Request request Wait Deploy framework/appserver Deploy testing tools Test testing tools Code Configure Prod VMs Push to Prod Launch Request More Prod VMs to meet demand Wait Deploy app to new VMs Etc. How to Build an App: 1. 2. 3. 4. 5. 6. Have Idea Get Budget Code Test Launch Automatically Scale “The use of Platform-as-a-Service technologies will enable IT organizations to become more agile and more responsive to the business needs.” –Gartner*
  • 5.
    OpenShift Origin http://openshift.github.io https://openshift.redhat.com/community/open-source https://github.com/openshift The upstreamproject for the OpenShift PaaS platform •Apache 2.0 License •Available as: • • Source, RPMs .ISO, LiveCD (run your own) •IRC, email, forums
  • 6.
    An OpenShift BrokerManages Multiple OpenShift Nodes SELinux Policies securely subdivide the Node instances. RHEL Broker RHEL Node RHEL Node Node AWS / CloudForms / OpenStack (IaaS) / RHEV (Virt) / Bare Metal
  • 7.
  • 8.
  • 9.
  • 10.
    Heat templates ● CloudFormations templates ● Auto-scalingnodes ● Not using Ceilometer (yet) ● Includes diskimage builder elements https://github.com/kraman/heat-templates/
  • 11.