8. Quick Recap
•
RedHat’s foray into cloud offerings.
•
Built on standard Linux technology.
•
Three options: Origin (free), Enterprise ($$), Cloud
(hosted)
10. Gears
Containers with resource limits
which run applications:
•
Small
•
Medium
•
Large
…
Sizing is configured platform-wide
by server admin.
“Gear” — http://www.flickr.com/photos/m
11. Cartridges
Added to gears to support
languages, databases, or even
applications.
PHP, python (2.6,2.7,3.3), Ruby (1.8/1.9),
PostgreSQL, MySQL, Mongo, JBoss, perl,
node.js, Go, Drupal, WordPress, Jenkins,
Travis CI, more … plus the community
cartridges (or, even, your own).
“Cartridge” — http://en.wikipedia.org/wiki/
14. Quick Recap
•
Built on standard Linux technology.
•
SCL allows multiple versions of code to be installed
together on the same running server.
•
Gears provide non-virtualized, secure, and
constrained shared environment for your code.
•
Features added with cartridges from RedHat,
community, or your own DIY cartridge repo.
16. OpenShift RHC Tool
$ rhc
Usage: rhc [--help] [--version] [--debug] <command> [<args>]
!
Command
!
line interface for OpenShift.
Getting started:
create-app
apps
add-cartridge
set-env
Create an application
List all your applications
Add a cartridge to your application
Set one or more environment variable(s) to your application
Working with apps:
tail
snapshot
git-clone
Tail the logs of an application
Save the current state of your application locally
Clone and configure an application's repository locally
!
!
Management commands:
app
Commands for creating and managing applications
env
Manages user-defined environment variables set on a given
application
ssh
SSH into the specified application
!
21. Other Advantages
• Ad-hoc workgroups and priorities.
• Similar config and deployment “machinery.”
• Cartridges = flexible stacks per service.
• Code no longer marinates in fetid waters.
27. You Can’t Win, If’n Y’on’t Play
https://www.openshift.com/
To sign up for 3 free hosted gears.
https://github.com/openshift/origin-server
Take a look at the code behind the curtain.
http://openshift.github.io/
The community OpenShift website.
#openshift-dev on Freenode
Talk smack about people’s mamas on IRC with the developers.
28. You Can’t Win, If’n Y’on’t Play
https://install.openshift.com/
“Easy Button” install your own instance.
http://openshift.github.io/documentation/oo_cartridge_developers_guide.html
All you need to know to roll your own.