openshift origin: build a paas just like red hats
TRANSCRIPT
![Page 1: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/1.jpg)
1
Build a PaaSJust Like Red Hat’s
Mark AtwoodOpen Source AdvocateOpenShift at Red Hat
Krishna RamanSenior Software Engineer
OpenShift at Red Hat
![Page 2: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/2.jpg)
22
Agenda
• What is OpenShift?
• Why Open Source Matters
• Introducing OpenShift Origin
• Overview of OpenShift Origin
• Demo
• Next Steps
![Page 3: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/3.jpg)
33
Take a sec to sign up…• openshift.com• Promo Code: OPENCLOUD
![Page 4: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/4.jpg)
44
![Page 5: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/5.jpg)
55
What is OpenShift?
Red Hat’s free cloud-hosted PaaS for apps
![Page 6: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/6.jpg)
66
Kind of like Amazon, right? Nope.
![Page 7: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/7.jpg)
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!
![Page 8: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/8.jpg)
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
![Page 9: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/9.jpg)
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
![Page 10: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/10.jpg)
1010
Create an account• openshift.com• Promo Code: OPENCLOUD
![Page 11: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/11.jpg)
1111
$ sudo gem install json_pure
$ sudo gem install rhc
Install the Client Tools
![Page 12: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/12.jpg)
1212
$ rhc domain create -n domain
Choose a namespace
![Page 13: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/13.jpg)
1313
$ rhc app create -a name -t php-5.3
Create an application
http://name-domain.rhcloud.com
Example: http://scrib-matwood.rhcloud.com
![Page 14: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/14.jpg)
1414
$ git push
Edit your code
![Page 15: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/15.jpg)
1515
What’s supported? What isn’t?
![Page 16: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/16.jpg)
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
![Page 17: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/17.jpg)
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!
![Page 18: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/18.jpg)
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
![Page 19: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/19.jpg)
1919
Introducing
OpenShift Origin
![Page 20: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/20.jpg)
2020
What is OpenShift Origin?
• Open source project of the components of OpenShift
![Page 21: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/21.jpg)
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
![Page 22: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/22.jpg)
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
![Page 23: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/23.jpg)
2323
What is the License?
• Apache License 2.0
• OSI approved
• Business friendly
• No contributor agreement
![Page 24: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/24.jpg)
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
![Page 25: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/25.jpg)
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!
![Page 26: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/26.jpg)
2626
Where will it run?
• Today
• LiveCD, can run in VirtualBox and VMware
• AWS & OpenStack
• Tomorrow
• Wherever the community wants to go
![Page 27: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/27.jpg)
2727
Why is Red Hat doing this?
It’s what we do.
•RHEL, JBoss, KVM, Gluster, oVirt, DeltaCloud
•…and now OpenShift Origin
![Page 28: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/28.jpg)
2828
What about OpenStack?
![Page 29: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/29.jpg)
2929
Red Hat already supports OpenStack
• Member of OpenStack Foundation
• A leading committer to OpenStack
• Goal: To be the best PaaS for OpenStack
![Page 30: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/30.jpg)
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!
![Page 31: OpenShift Origin: Build a PaaS Just Like Red Hats](https://reader035.vdocuments.site/reader035/viewer/2022062418/55514512b4c905c6268b4cca/html5/thumbnails/31.jpg)
3131
OpenShift OriginLiveCD
Krishna Raman