cloud development made easy with cloud foundry indicthreads cloud computing conference 2011

25
1 Cloud Development Made Easy with CloudFoundry Shekhar Gulati

Upload: indicthreads

Post on 15-May-2015

1.405 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

1

Cloud Development Made Easy with CloudFoundry

Shekhar Gulati

Page 2: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

2

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

Developer.com,IBM DeveloperWorks) [email protected] Twitter : shekhargulati

Page 3: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

3

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

Page 4: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

4

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

Page 5: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

5

Page 6: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

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

Page 7: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

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/

Page 8: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

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

Page 9: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

9

The Open Platform as a Service

Page 10: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

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.

Page 11: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

11

CloudFoundry – The Open PAAS

Page 12: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

12

Choice of Developer Frameworks

Page 13: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

13

Demo 1 – Spring Framework

Let's deploy a Spring Application

Page 14: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

14

Choice of Application Services

Page 15: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

15

Demo 2 – Going to Production

Let's replace hsqldb with MySQL

Page 16: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

16

Demo 3 – Can I support both?

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

Page 17: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

17

Demo 4 – Play with NoSQL DB's

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

Page 18: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

18

Choice of Clouds

Page 19: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

19

Micro Cloud

I want to run CloudFoundry on my laptop

Page 20: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

20

Managing Overload

Page 21: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

21

Demo 6 - Scalability

Let's scale our app up and down

Page 22: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

22

RAD for Cloud

Page 23: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

23

Demo 7 – Spring Roo + CloudFoundry

Rapid Feedback in the Cloud

Page 24: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

24

ConclusionDevelopers should write code, not IT

trouble tickets

Page 25: Cloud development made easy with cloud foundry   indicthreads cloud computing conference 2011

25