Professional Documents
Culture Documents
Hiranya Jayathilaka
Dept. of Computer Science, UCSB
Roadmap
S Cloud computing
S Challenges
S Apache JClouds
S Demo
S Pros and cons
S Summary and conclusion
Many Benefits
S Cost effective
S Reduced maintenance overhead
S Easy and fast provisioning Improved time-to-market
S Autoscaling and elasticity
S Fault tolerance
Challenges
S How do you select the cloud provider thats right for you?
S How do you port your application from one cloud provider
to another?
S How to develop multi-cloud applications?
Enter, JClouds
History
community.
S http://jclouds.incubator.apache.org/documentation/reference/
apps-that-use-jclouds/
Getting Started
S No binary download J
S The documentation provides the necessary configurations
JClouds APIs
S Blobstore API
S For storing data in the cloud
S Key abstractions
S Hardware
S Operating system
S Template
S Supported providers
S AWS (EC2), Bluelock, CloudSigma, ElasticHosts, Go2Cloud,
GoGrid, Green House Data, HP, Ninefold, OpenHosting,
Rackspace, ServerLove, SkaliCloud, SoftLayer, Stratogen,
TRMK, TryStack
Access VM Metadata
SSH to Remote VM
Managing Clusters
Blobstore API
S Key abstractions
S Container
S Folder
S Blob
S Supported providers
S AWS (S3), CloudOne, HP, Azure, Ninefold, Rackspace,
Synaptic
Downloading a Blob
Write Blob
Upload File
Logging Support
Demonstration
S Scenario
S Start an Ubuntu VM in EC2
S Upload a Python script and a Java application to the VM (Java
application also based on JClouds)
S Install Python and JRE on the VM using apt-get
S Run the Java application on the VM to download a data file
from S3
S Run the Python script on the data file
S Upload the output to S3
Pros
Cons
Summary
References
http://wiki.apache.org/incubator/jcloudsProposal
S Getting started:
http://jclouds.incubator.apache.org/documentation/
gettingstarted/
S Demo code: https://github.com/hiranya911/jclouds-demo