Slide 1

Slide 1 text

OpenShift : Platform For Rapid and Agile Development Speakers Details Shekhar Gulati Red Hat Twitter : shekhargulati

Slide 2

Slide 2 text

About Me 2 • OpenShift Evangelist at Red Hat • Ex-Xebian • Hands on Developer • Speaker • Writer and Blogger • Passionate Learner • For Details Google “Shekhar Gulati”

Slide 3

Slide 3 text

Agenda ● Level setting ● Becoming friends with OpenShift ● Demo 1 – OpenShift web console ● OpenShift command line tool ● Demo 2 : Application with Jenkins support ● Demo 3 : Integrating Sonar ● Demo 4 : Installing YouTrack

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

What is PaaS?

Slide 6

Slide 6 text

PaaS == Platform as a Service A Cloud Application Platform Code Deploy Enjoy Save Time and Money Code your app Push-button Deploy, and your App is running in the Cloud!

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Why PaaS? ● Lets developer focus on his job i.e. to write code. ● You develop “Cloud Aware” applications from the beginning. ● Improves developer productivity. ● Reduces cost and time to market. ● Brings agility to product development. ● Gives developers the power to prototype their ideas rapidly.

Slide 10

Slide 10 text

OpenShift is PaaS by Red Hat Multi-language, Auto-Scaling, Self-service, Elastic, Cloud Application Platform

Slide 11

Slide 11 text

Why OpenShift? ● Strength. OpenShift is built on proven Red Hat technologies. ● Freedom. In OpenShift, work the way you want. – Choice of Interface: Web Console, Command-line, or IDE – Choice of Middleware: Java(EE6), Ruby, Node.js, PHP, Python, and Perl – Choice of Cloud: Public, Private, or Hybrid Cloud – Choice of Elasticity: Automatic application scaling when needed ● Openness. OpenShift’s open source software stack ensures application portability and No Lock-In.

Slide 12

Slide 12 text

What's in the Box?

Slide 13

Slide 13 text

What else Do I Get? ● OpenShift is free-as-in-beer & free-as-in-freedom ● You get three free gears, each with 512MB memory and 1GB of disk space. ● Need more resources, just ask! ● The catch is we are in developer preview right now

Slide 14

Slide 14 text

Developers Choose How To Work with OpenShift Developer IDE Integrations Web Browser Console Command Line Tooling REST APIs

Slide 15

Slide 15 text

Sign up for OpenShift Account https://openshift.redhat.com/app/account/new Promo Code is AGILENCR

Slide 16

Slide 16 text

Demo 1: Web Console Creating a Wordpress blog is less than 2 minutes

Slide 17

Slide 17 text

Installing OpenShift Command Line Tools ● Install Ruby 1.8.7 or greater ● Install Git ● Install rhc OpenShift gem Refer to documentation

Slide 18

Slide 18 text

Demo 2 : Creating a Java MySQL Application with Jenkins $ rhc app create -a todo -t jbossews-2.0 - - enable-jenkins $ rhc cartridge add mysql -a todo $ git remote add upstream -m master git://github.com/shekhargulati/git://github.com/shekhargul ati/agilencr-demo.git $ git pull -s recursive -X theirs upstream master $ git push

Slide 19

Slide 19 text

Customizing Jenkins Build ● Modifying the default generated build configuration to do some work like running tests etc.

Slide 20

Slide 20 text

Demo 3 :Installing Sonar on OpenShift Sonar is an open platform to manage code quality. rhc app create -a sonar -t jbossews-1.0 rhc cartridge add mysql -a sonar cd sonar git remote add upstream -m master git://github.com/wenhao/openshift-sonar.git git pull -s recursive -X theirs upstream master git rm -r src/ pom.xml git commit -am "delete src and pom.xml files." git push

Slide 21

Slide 21 text

Integrating Sonar with Build ● Update Sonar profile in todo/pom.xml ● Port forwarding using Eclipse ● Run mvn sonar:sonar -Psonar

Slide 22

Slide 22 text

Demo 4 : Installing YouTrack The Agile Issue Tracking and Project Tracking Tool rhc app create youtrack jbossews-1.0 git rm -rf src/ pom.xml git commit -am “delete template files” git remote add upstream -m master git://github.com/shekhargulati/youtrack-openshift.git git pull -s recursive -X theirs upstream master git push

Slide 23

Slide 23 text

Conclusion ● OpenShift is very easy ● Installing various Agile tools was very easy ● Sign up for an OpenShift account with promo code AGILENCR ● Slides are available on SpeakerDeck https://speakerdeck.com/shekhargulati/ ● Code is on github https://github.com/shekhargulati