Getting Started With jClouds
                     Vikas Hazrati
                 Inphina Technologies




                ...
cloud is real !




                  2
enterprises like to be on cloud




                              3
reluctance due to lock-In




                            4
abstraction




              5
changing the ecosystem




                         6
multi cloud frameworks

   Fog

                         Dasein Cloud




Delta Cloud                 LibCloud




       ...
key value storage

  global name space

key, value with metadata

    http accessible        Not the same!



   sites on ...
other factors

    File Size
  Resumability
      CDN
   Replication
       SLA          Not the same!



Consistency Mode...
http request




               10
do you want to deal with this?



                     Errors
                     Concurrency
                     Cloud ...
12
what is jClouds
OSS JAVA Framework for cloud enablement and inter cloud
                  communication


     3/2009, 1.0...
easy to start
                                       Runtime portability

 Simple interface


                      Open S...
simple interface
Basic




Advanced




                              15
simple interface

Expert




                            16
choose your complexity and weight




                                    17
abstractions




     Blobstore                    Compute




BlobStore ( atmos, azure, rackspace, s3 )


Compute ( vclou...
blobstore
// init
context = new BlobStoreContextFactory().createContext(
"s3",accesskeyid,secretaccesskey);

blobStore = c...
blobstore in detail
Managing key-value storage providers
Synchronous and Asynchronous APIs


                             ...
<Blobstore Code Sample>




                          21
vfs support




              22
compute: provisioning
       provisioning (and re-provisioning) is cheap
       APIs = automation
       tools exist

forg...
provisioning with jClouds




                            24
95 + 5



         25
projects using jClouds

     I N F I N I S PAN

    Android Integration

       Gigaspaces

      Elastic Search



      ...
alternatives

    Roll-your-own

  Jersey, RESTEasy

 EC2-based cloud apis

     typica, jets3t

  Dasein Cloud API

Servi...
scepticism

   api's are not that different to write a driver

  open source cloud Ruby libraries (RightAws,
RightRackspac...
reluctance to lock-in? no
        more ...




                            29
References:-
http://code.google.com/p/jclouds/
http://anyweight.blogspot.com/
http://www.slideshare.net/marakana/jclouds-a...
vhazrati@inphina.com

  http://www.inphina.com
http://thoughts.inphina.com



                              31
Upcoming SlideShare
Loading in...5
×

Getting Started with jClouds: Multi Cloud Framework

2,457

Published on

Session Presented @IndicThreads Cloud Computing Conference, Pune, India ( http://u10.indicthreads.com )
------------
One of the big hurdles for an enterprise to move to the cloud is the fear of getting locked into a specific cloud implementation. This is one of the big reasons apart from security of data that keeps most of the enterprises out of the cloud space. Currently each vendor provides their unique set of API to interact with their Cloud services. This mandates a need to recode and refactor when moving from one cloud provider to the other.

jClouds is a multi cloud framework which allows connection to multiple clouds such as Amazon, VMWare, Azure, and Rackspace. jClouds provides portable abstractions for cloud specific features, thus allowing the application to move from one cloud vendor to the other with relative ease. jClouds also had a simulators to operate in restricted environments like Google App Engine and Android. Unit testing and mocking is made easy through stub connections which simulate the cloud.

Takeaways from the session

* Understand the need for a multi cloud framework
* showcase of abstractions for different cloud environments.
* Introduction to capabilities of jClouds
* Hands on application development using jClouds on GAE

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,457
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
98
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Getting Started with jClouds: Multi Cloud Framework"

  1. 1. Getting Started With jClouds Vikas Hazrati Inphina Technologies 1
  2. 2. cloud is real ! 2
  3. 3. enterprises like to be on cloud 3
  4. 4. reluctance due to lock-In 4
  5. 5. abstraction 5
  6. 6. changing the ecosystem 6
  7. 7. multi cloud frameworks Fog Dasein Cloud Delta Cloud LibCloud 7
  8. 8. key value storage global name space key, value with metadata http accessible Not the same! sites on demand unlimited scaling 8
  9. 9. other factors File Size Resumability CDN Replication SLA Not the same! Consistency Model Authorization API Complexity 9
  10. 10. http request 10
  11. 11. do you want to deal with this? Errors Concurrency Cloud Complexity 11
  12. 12. 12
  13. 13. what is jClouds OSS JAVA Framework for cloud enablement and inter cloud communication 3/2009, 1.0-beta6, 105.4k lines, $1.4M Support many clouds including Amazon, VMWare, Azure, and Rackspace. 13
  14. 14. easy to start Runtime portability Simple interface Open Source Unit Testability Deals with Web Complexity Performance Feels like java and clojure 14
  15. 15. simple interface Basic Advanced 15
  16. 16. simple interface Expert 16
  17. 17. choose your complexity and weight 17
  18. 18. abstractions Blobstore Compute BlobStore ( atmos, azure, rackspace, s3 ) Compute ( vcloud, ec2, gogrid, ibmdev,rackspace,rimu) 18
  19. 19. blobstore // init context = new BlobStoreContextFactory().createContext( "s3",accesskeyid,secretaccesskey); blobStore = context.getBlobStore(); // create container blobStore.createContainerInLocation(null, "mycontainer"); // add blob blob = blobStore.newBlob("test"); blob.setPayload("testdata"); blobStore.putBlob(containerName, blob); 19
  20. 20. blobstore in detail Managing key-value storage providers Synchronous and Asynchronous APIs Service Blobstore Container Blob 20
  21. 21. <Blobstore Code Sample> 21
  22. 22. vfs support 22
  23. 23. compute: provisioning provisioning (and re-provisioning) is cheap APIs = automation tools exist forgetting to turn things off licensing erratic service quality cloud apis are sometimes unreliable apis are very different across clouds features are very different across clouds accidental complexity 23
  24. 24. provisioning with jClouds 24
  25. 25. 95 + 5 25
  26. 26. projects using jClouds I N F I N I S PAN Android Integration Gigaspaces Elastic Search 26
  27. 27. alternatives Roll-your-own Jersey, RESTEasy EC2-based cloud apis typica, jets3t Dasein Cloud API Service provided SDKs 27
  28. 28. scepticism api's are not that different to write a driver open source cloud Ruby libraries (RightAws, RightRackspace, RightGoGrid, etc.) not actually that much work to abstract the API details away. real benefit of standards - semantics of resources like vlans, security groups, reassignable IP addresses, network attached block storage devices, etc 28
  29. 29. reluctance to lock-in? no more ... 29
  30. 30. References:- http://code.google.com/p/jclouds/ http://anyweight.blogspot.com/ http://www.slideshare.net/marakana/jclouds-at-san-francisco-java-user-group http://www.youtube.com/watch?v=queixYPsIq0 30
  31. 31. vhazrati@inphina.com http://www.inphina.com http://thoughts.inphina.com 31
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×