openshift origin: build a paas just like red hats

31
1 Build a PaaS Just Like Red Hat’s Mark Atwood Open Source Advocate OpenShift at Red Hat Krishna Raman Senior Software Engineer OpenShift at Red Hat

Upload: mark-atwood

Post on 12-May-2015

3.375 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: OpenShift Origin: Build a PaaS Just Like Red Hats

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

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

33

Take a sec to sign up…• openshift.com• Promo Code: OPENCLOUD

Page 4: OpenShift Origin: Build a PaaS Just Like Red Hats

44

Page 5: OpenShift Origin: Build a PaaS Just Like Red Hats

55

What is OpenShift?

Red Hat’s free cloud-hosted PaaS for apps

Page 6: OpenShift Origin: Build a PaaS Just Like Red Hats

66

Kind of like Amazon, right? Nope.

Page 7: OpenShift Origin: Build a PaaS Just Like Red Hats

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

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

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

1010

Create an account• openshift.com• Promo Code: OPENCLOUD

Page 11: OpenShift Origin: Build a PaaS Just Like Red Hats

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

1212

$ rhc domain create -n domain

Choose a namespace

Page 13: OpenShift Origin: Build a PaaS Just Like Red Hats

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

1414

$ git push

Edit your code

Page 15: OpenShift Origin: Build a PaaS Just Like Red Hats

1515

What’s supported? What isn’t?

Page 16: OpenShift Origin: Build a PaaS Just Like Red Hats

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

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

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

1919

Introducing

OpenShift Origin

Page 20: OpenShift Origin: Build a PaaS Just Like Red Hats

2020

What is OpenShift Origin?

• Open source project of the components of OpenShift

Page 21: OpenShift Origin: Build a PaaS Just Like Red Hats

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

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

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

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

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

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

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

2828

What about OpenStack?

Page 29: OpenShift Origin: Build a PaaS Just Like Red Hats

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

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

3131

OpenShift OriginLiveCD

Krishna Raman