From concept to cloud (cf opentour india)
Upcoming SlideShare
Loading in...5
×
 

From concept to cloud (cf opentour india)

on

  • 1,474 views

Keynote for Cloud Foundry Open Tour India 2012

Keynote for Cloud Foundry Open Tour India 2012

Statistics

Views

Total Views
1,474
Views on SlideShare
1,474
Embed Views
0

Actions

Likes
0
Downloads
26
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

From concept to cloud (cf opentour india) From concept to cloud (cf opentour india) Presentation Transcript

  • From concept to cloud Chris Richardson Author of POJOs in Action Founder of the original CloudFoundry.com @crichardson crichardson@vmware.com http://plainoldobjects.com/
  • About Chris
  • (About Chris)
  • About Chris()
  • About Chris
  • About Chrishttp://www.theregister.co.uk/2009/08/19/springsource_cloud_foundry/
  • vmc push About-Chris Developer Advocate for CloudFoundry.comSignup at http://cloudfoundry.com Promo code: cfopentour2012
  • Dreams of my childhood
  • Dreams of my childhood Published in 1968
  • The vision HAL 9000 .... is an artificial intelligence became operational on 12 January 1992.....
  • It’s 2012!So how are we doing?
  • Computer hardwarehas come a long way
  • 1956 - Hard drive2010 3.7 Mbit2000 Weighed over a ton19901980 Designed to fit1970 through a door19601950 http://boingboing.net/2010/06/24/ibm-hard-disk-drive.html1940
  • 1966 - IC-based Computer2010200019901980197019601950 http://en.wikipedia.org/wiki/Apollo_Guidance_Computer 2,800 ICs Magnetic core memory1940
  • 1971 - microprocessor2010 4 bit20001990 108-740 kHz1980 2,300 transistors19701960 http://en.wikipedia.org/wiki/Microprocessor19501940
  • The power of Moore’s lawhttp://www.gotw.ca/publications/concurrency-ddj.htm
  • In my career 1982 RM 380Z 4 Mhz 8-bit Z80 32K RAM 100K floppy2012MacBookPro2.5 Ghz Quad core 64 bit Intel i7256K/core + 8M cache,16G RAM512G SSD drive
  • BUT WHAT ABOUT HAL?
  • The reality Floor cleaning robot
  • The realityhttp://en.wikipedia.org/wiki/IBM_Watson cluster of ninety IBM Power 750 servers with a total of 2880 POWER7 processor cores and 16 Terabytes of RAM.
  • We still have a long way to go before we can build HAL
  • One major problem isdeveloper productivity
  • Software productivity: 4x improvementCompared to 1,000,000x hardware improvement
  • Programming languages have barely evolved
  • 1958 - Lisp2010 (defun factorial (n) garbage collection2000 (if (<= n 1) dynamic typing1990 1 self-hosting compiler1980 (* n (factorial (- n 1))))) tree data structures197019601950 http://en.wikipedia.org/wiki/ Lisp_(programming_language)1940
  • 1960 - Algol 60 procedure Absmax(a) Size:(n, m) Result:(y) Subscripts:(i, k);2010 value n, m; Many array a; integer n, m, i, k; real y;2000 begin integer p, q; languages y := 0; i := k := 1; for p:=1 step 1 until n do including Java1990 for q:=1 step 1 until m do are derived if abs(a[p, q]) > y then1980 begin y := abs(a[p, q]); from Algol i := p; k := q1970 end end Absmax1960 http://en.wikipedia.org/wiki/Algol_6019501940
  • 1967 - Simula20102000 class-based object-1990 oriented programming198019701960 http://en.wikipedia.org/wiki/Simula19501940
  • So what have programming language designers been doing since then?
  • 1995 - Java Not innovative BUT201020001990 Brought garbage collection, object- oriented programming, exception1980 handling, safety ... to mainstream1970 developers19601950 Gosling “Java is a blue collar google “Gosling the feel of Java” language”1940
  • But despite that....
  • Today, a small team can easily build an application that’s used by millions of people world-widehttp://highscalability.com/blog/2012/5/7/startups-are-creating-a-new- system-of-the-world-for-it.html
  • 30+ million users, 2 backend engineers, acquired for $1B
  • Endpoints everywhere
  • The web
  • Cloud Computinghttp://en.wikipedia.org/wiki/Cloud_computing
  • WhyPlatform-as-a-Service?
  • Let’s imagine that you want to deploy an app...• Do you know how much hardware to buy?• Can you afford it?• How long does it take to approve, buy and install?• Who is going to set it up?• Can you handle a 10x increase in traffic?• Can you afford a test lab?
  • Cloud computing empowers us to dealwith these challenges...
  • Cloud computing defined IT delivered as a service Over the internet Self-service Pay per use
  • The three layers of cloud computingSaaS PaaS IaaS
  • Wednesday October 18, 2006....AWS evangelist .... spoke at the Oakland JUG
  • Sign up and deploy yourapplication a few minutes later • Login using your existing Amazon account • Select the web services you want to use • Only takes a few minutes
  • Benefits of IaaS• Agility• Pay per use• Elasticity
  • But you still need to configure and maintain• Operating systems• Application servers• Databases• ...
  • Who survived the April2011 AWS meltdown?
  • Companies that builttheir own distributed platform
  • Need to move up the stack SaaS PaaS IaaS
  • PaaS =Application deployment and management + Service provisioning
  • Overview of Cloud Foundry
  • The Open Platform as a Service Deploy and scale applications in seconds,without locking yourself into a single cloud Flex ible, pen, le, O lable Simp Sca
  • OSS community vFabricPostgres Ap Private   Clouds   p Data Services lica o n  S vFabric Public erv RabbitMQTM ice Msg Services Clouds  In ter fac Micro e Other Services Clouds Additional partners services …
  • CloudFoundry.COM - Multi-tenant PaaS operated by VMware CloudFoundry.COM (beta) Services Runtimes & Frameworks vCenter / vSphere Infrastructure
  • Micro Cloud Foundry – Industry first TM downloadable PaaS Micro Cloud Foundry Services Runtimes & Frameworks Your Laptop/PC Single VM instance of Cloud Foundry that runs on a developer’s MAC or PC
  • CloudFoundry.ORG - Community open-source project Apache2 license CloudFoundry.ORG Your Infrastructure Download Setup Deploy Behind Code Environment BOSH Firewall
  • Vibrant open-source ecosystem One week after Cloud Foundry was open-sourced!
  • Vibrant open-source ecosystem• AppFog.com • Community lead for PHP • Public PaaS• Joyent • Community lead for Node.js• ActiveState • Community lead for Python • Stackato private PaaS
  • Cloud Foundry: you can trade-off effort vs flexibility Less Less Public PaaS .... .COM Private PaaSEffort .... Flexibility Custom Private PaaS git clone git://github.com/cloudfoundry/vcap.git More More
  • Cloud Foundry = no lock-in TS N• Standard applications E EV• Standard services PR• Choice of cloud providers "you can check out anytime you like, but you can never leave."
  • Using Cloud Foundry
  • Example vmc commands$ vmc target <any cloud>$ vmc login <credentials>$ vmc push <my-app> > bind services? Yes$ vmc update <my-app>$ vmc instances <my-app> +100
  • Sinatra + Redisrequire sinatrarequire redis Connect to Redisconfigure do $r = Redis.new(:host => 127.0.0.1, :port => 6379) if !$rendget / do "Hello World! " + $r.incr("hitcounter").to_send Increment hit counterhttp://sgce2012.cloudfoundry.com/
  • Final thoughts
  • Software development has a long way to go BUTThe cloud enables anyone with a good idea to create an application that touches the lives of millions of people
  • Cloud Foundry is a remarkably easy way to deploy your applications
  • Cloud Foundry gives you choice of languages,frameworks, services, clouds
  • Thank you! Chris Richardson Author of POJOs in ActionFounder of the original CloudFoundry.com crichardson@vmware.com @crichardson http://plainoldobjects.com Signup for cloudfoundry.com Promo code: cfopentour2012