openshift origin: build a paas just like red hats
TRANSCRIPT
1
Build a PaaSJust Like Red Hat’s
Mark AtwoodOpen Source AdvocateOpenShift at Red Hat
Krishna RamanSenior Software Engineer
OpenShift at Red Hat
22
Agenda
• What is OpenShift?
• Why Open Source Matters
• Introducing OpenShift Origin
• Overview of OpenShift Origin
• Demo
• Next Steps
33
Take a sec to sign up…• openshift.com• Promo Code: OPENCLOUD
44
55
What is OpenShift?
Red Hat’s free cloud-hosted PaaS for apps
66
Kind of like Amazon, right? Nope.
77
Why Platform as a Service?• Start quickly, iterate quickly
• Manages the cloud & app stack for you
• Lets you focus on code & customers
Code Deploy Enjoy
Save Time and MoneyCode your app
Push-button Deploy, and your App is running in the Cloud!
88
How do I use it?
• Get Started
• Create an account
• Install the client tools
• Choose a namespace
• Create an application
• Choose a language
• Choose a name
• Add cartridges
• Push code with Git
99
Now
How to Build an App:1. Have Idea2. Get Budget3. Submit hardware acquisition request4. Wait5. Get Hardware6. Deploy framework/appserver7. Deploy testing tools8. Test testing tools9. Code, test, repeat10. Configure Prod servers (and buy them if needed)11. Push to Prod12. Launch13. Order more servers to meet demand14. Wait15. Deploy new servers16. Etc.
How to Build an App:1. Have Idea2. Code, test, repeat3. Launch4. 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*
The Old Days
1010
Create an account• openshift.com• Promo Code: OPENCLOUD
1111
$ sudo gem install json_pure
$ sudo gem install rhc
Install the Client Tools
1212
$ rhc domain create -n domain
Choose a namespace
1313
$ rhc app create -a name -t php-5.3
Create an application
http://name-domain.rhcloud.com
Example: http://scrib-matwood.rhcloud.com
1414
$ git push
Edit your code
1515
What’s supported? What isn’t?
1616
But, this is hosted! I want my own.
Why? Because…
•Existing infrastructure, software and services
•Concerns about security or compliance
•I just like running my own cloud
1717
But, this is hosted! I want my own.
Why? Because…
•Existing infrastructure, software and services
•Concerns about security or compliance
•I just like running my own cloud
And I want it open source!
1818
Does Open Source Matter?
You bet!
•If you depend on it, you need to know how it works
•No lock-in
•Build the features you need
•Bugs are found and fixed faster
•Easier to grow and find skilled staff
•Community ecosystem
1919
Introducing
OpenShift Origin
2020
What is OpenShift Origin?
• Open source project of the components of OpenShift
2121
What are the components? On the Server Side
• Stickshift: APIs
• Cartridges: middleware and frameworks management
• CrankCase:• REST API for coordinating app containers
• Messaging system between StickShift and nodes
• Pluggable user authentication
• Domain Name Management
• GearChanger: resource management
2222
What are the components? On the Client Side
• RHC: OpenShift Origin command line client
connects via REST API
can be installed as a Ruby Gem
2323
What is the License?
• Apache License 2.0
• OSI approved
• Business friendly
• No contributor agreement
2424
How can I participate?
• Wiki & Links at
• openshift.redhat.com/community/open-source
• Code is on GitHub
• github.com/openshift
• Resources
• Mailing Lists
• Bugzilla
• IRC
2525
What’s the governance model?
• Take it, use it, give back what you wish
• Open Community working on Open Source
• Good table manners always helps!
2626
Where will it run?
• Today
• LiveCD, can run in VirtualBox and VMware
• AWS & OpenStack
• Tomorrow
• Wherever the community wants to go
2727
Why is Red Hat doing this?
It’s what we do.
•RHEL, JBoss, KVM, Gluster, oVirt, DeltaCloud
•…and now OpenShift Origin
2828
What about OpenStack?
2929
Red Hat already supports OpenStack
• Member of OpenStack Foundation
• A leading committer to OpenStack
• Goal: To be the best PaaS for OpenStack
3030
Let’s get started!
• You’ve got the LiveCD on your USB
• Participate in the forums, wiki and mailing lists
• File bugs
• Build support for the features and frameworks you want
• You are the roadmap!
• This is what open source is all about!
3131
OpenShift OriginLiveCD
Krishna Raman