Learn how to build your platform as a service just like RedHat's OpenShift PaaS - covers all the architecture & internals of OpenShift Origin OpenSource project, how to deploy it & configure it for bare metal, AWS, OpenStack, CloudStack or any IaaS, and the community that's collaborating on the project to deliver the next-generation of secure, scale-able PaaS visit: openshift.com for more information
presented at LinuxCon by Diane Mueller in the CloudOpen track
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orleans CloudOpen
1. Build Your Own PaaS,
Just Like Red Hat's OpenShift
Diane Mueller dmueller@redhat.com
Cloud Ecosystem Evangelist & Origin Community Manager
dmueller@redhat.com
Twitter: @pythondj
http://openshift.github.io
2. 2
Agenda
●
Cloud Vision @ RedHat
●
Why PaaS Matters
●
What is OpenShift?
●
OpenShift Architecture & Internals
●
Extending OpenShift with Cartridges
●
How do you like your PaaS?
●
The Road Ahead
●
HP & Red Hat Collaboration
11. 11
Infrastructure as a Service gives you
• Network, storage & compute as an on-demand service
• Basically, servers in the cloud
• You’re still on the hook to configure & manage the cloud & stack
“How do I use this?”
12. 12
Software as a Service gives you
• An on-demand application
• Nothing to install or configure
“This is all my customers and users care about!”
13. 13
Platform as a Service delivers
• Application run-time environment in the cloud
• Configures & manages both the cloud & stack for
your application
“The cloud is now useful!”
17. 17
We're not the only ones using OpenShift
●
On Premise Private Clouds
●
Public Clouds
– For Enterprises
– For SaaS providers
– For Developers
●
Other Public PaaSes
Https://github.com/getupcloud/origin-server
19. 19
OpenShift Enterprise
ENTERPRISE IT MANAGED
●
Let developers have the benefits of self-service PaaS while IT
retains control for governance and compliance in a Private or
Hybrid Cloud
●
OpenShift Enterprise is designed to be deployed on top of and
run on Red Hat Enterprise Linux (RHEL).
20. 20
What makes OpenShift different?
●
RHEL Platform
Support
●
SELinux-based
Secure Containers
for multi-tenancy
●
Extensible
Architecture
●
System Component
Redundancy for
High Availability
●
Automatic
Application Stack
Provisioning
●
Support for Java
EE 6
●
Choice of Cloud
Infrastructure,
Bare Metal, or
Desktop
●
Configurable
Deployment to
Support Enterprise
Requirements
●
Automatic
Application
Scaling
24. 24
Multiple, Diverse, Complex
Application Use Cases
●
Require more than just “Infrastructure”
●
Run on a diverse eco-system of application stacks
●
Need to be secure, compliant and well-managed
●
Scale or Fail
42. 42
• Database
• Language
• Daemon
• Load-balancer
• Key-value store
42
... on OpenShift
I want to run a ...
43. 43
•Ability to act on cartridge lifecycle
events
•Expose HTTP/Web-socket ports
•Run your own binaries
•Communicate with other instances
•Create configuration files
•Access and create to environment variables
•Act on user specifies modes of operation
•Provide user a starting point
43
Cartridge API
44. 44
More Complex Examples
44
• http://tinyurl.com/online-cartridges
• JBoss EWS:
• multiple versions of packaged software
• support for multiple java versions
• MySQL
• pub/sub database connections
• PHP My Admin
• one cartridge dependent on another
45. Deploying your own
OpenShift
where you want it when you want it!
We have a pre-built VM for you to check out today, and an installer is in the works for Origin 3.0 that will enable you to
install Origin on your own systems or confgure multiple Origin VMs into a distributed PaaS
46. 46
How do you you like your PaaS?
http://openshift.github.io/documentation/oo_deployment_guide_puppet.html
https://mirror.openshift.com/pub/origin-server/release/2/images/openshift-origin.zip
53. 53
OpenShift on OpenStack with Heat
●
Disk Image Builder –
to build the image
●
Heat – to orchestrate
the resources
●
OpenStack – to run
the infrastructure
54. 54
Disk Image Builder
●
Produces images for a specific purpose
●
Uses a chroot and bind mounted /proc /sys /dev
●
Uses “elements” to alter how the image is built
●
Supports Ubuntu, Fedora, RHEL
55. 55
Heat
●
An orchestration service to build multiple
composite cloud applications
●
Uses AWS CloudFormation template format
●
Interacts with OpenStack using native ReST API
to create infrastructure resources
– Instances, foating ips, volumes, security groups, users,
etc
60. 60
Some are building clouds
●
On Premise/Private and Public
Clouds
– For Enterprises
– For SaaS providers
– For Developers
●
Public
Https://github.com/getupcloud/origin-server