cloud development made easy with cloudfoundry - indicthreads cloud computing conference 2011

Post on 13-May-2015

1.336 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Session presented at the 2nd IndicThreads.com Conference on Cloud Computing held in Pune, India on 3-4 June 2011. http://CloudComputing.IndicThreads.com Abstract: Cloud Foundry is the first Open PAAS platform project created by VMWare. CloudFoundry makes the life of developer easier by eliminating the time spent installing and configuring infrastructure such as application servers and JVMs. CloudFoundry is all about choices — you have choice of frameworks (Spring + Java, Rails and Sinatara for Rails,and NodeJs) , choice of Application Services (MySQL, REDIS, MongoDB) , choice of Clouds (vSphere , vCloud, AmazonEC2) to work with. The best part of CloudFoundry is that it does not lock you to a cloud provider and does not add any limitations( we all know how difficult it is to develop in Google App Engine). This talk will be divided into three parts : Introducing Cloud Foundry : In the first part I will first talk about what is CloudFoundry, why it was required, how you can deploy applications into cloud using CloudFoundry. Spring Roo Cloud Foundry Integration : Spring Roo is a RAD tool which helps you build spring managed applications very quickly and easily. Spring Roo latest version comes with inbuilt support for CloudFoundry. I will show how a application created using Roo can be deployed to cloud using CloudFoundry. Spring Roo + CloudFoudry is match made in heaven. WaveMaker : Recent SpringSource acquisition Wavemaker can help a non technical person create spring based application in minutes without writing code. I will demo how you can create an application using WaveMaker and deploy to the cloud.

TRANSCRIPT

1

Cloud Development Made Easy with CloudFoundry

Shekhar Gulati

2

Hi, my name is...Shekhar Gulati Senior Consultant @ Xebia India Spring Enthusiast Blogger and Writer (JavaLobby,

Developer.com,IBM DeveloperWorks) sgulati@xebia.com Twitter : shekhargulati

3

2011 will be the Year PaaS VMWare → CloudFoundry (Scala support) RedHat → OpenShift Amazon → Elastic Beanstalk Google App Engine added Go language

4

Agenda What is PAAS Issues with existing PAAS offerings (GAE) Open PAAS – CloudFoundry CloudFoundry Demos Spring Roo + CloudFoundry Demo Conclusion

5

6

Platform as a Service PaaS provides the facilities to support the end to-end

life cycle of building and delivering web applications and services.

PaaS = Computing Platform + Solution Stack

PaaS is for professional and business developers

To develop new applications “Cloud Aware” from the bottom up.

PaaS is also called Middleware as a Service.

Egs. Google App Engine, Force.com

7

Issues with existing PAAS(GAE) Can't run existing code. Tied to particular environment. Vendor lock-in (lack of cloud portability). Deployment on public cloud only. Need to change the mindset. Diluted frameworks. Read this article

http://www.carlosble.com/2010/11/goodbye-google-app-engine-gae/

8

Cloud Developers Bill of Rights

http://www.developerrights.org/The Right to Code

The Right to Build Applications

The Right to Cloud Portability

The Right to a Choice of Frameworks

The Right to a Choice of Application Services

The Right to Platform Transparency

The Right to Emigrate

The Right of Ownership

The Right to Be Left Alone

The Right to Open Source

9

The Open Platform as a Service

10

CloudFoundry – Open PAAS Open Source Multi-Language, Multi-Framework,Multi

Application services, Multi-cloud. Cloud Portability Cloud Foundry is both

deployment destination layer that allows deployment to a choice

of clouds, both public and private.

11

CloudFoundry – The Open PAAS

12

Choice of Developer Frameworks

13

Demo 1 – Spring Framework

Let's deploy a Spring Application

14

Choice of Application Services

15

Demo 2 – Going to Production

Let's replace hsqldb with MySQL

16

Demo 3 – Can I support both?

Wouldn't it be great if I can use hsqldb for development and mysql for production?

17

Demo 4 – Play with NoSQL DB's

Let's play with Redis and MongoDB(Using STS)

18

Choice of Clouds

19

Micro Cloud

I want to run CloudFoundry on my laptop

20

Managing Overload

21

Demo 6 - Scalability

Let's scale our app up and down

22

RAD for Cloud

23

Demo 7 – Spring Roo + CloudFoundry

Rapid Feedback in the Cloud

24

ConclusionDevelopers should write code, not IT

trouble tickets

25

top related