Xebia Workshop




                                    JClouds Introduction


                              Xebia:             OpenCSI:
                              Bertrand Dechoux   Bruno Bonfils
                              Charles Blonde
                              Cyrille Le Clerc
                              Emmanuel Servent
                              Eric Briand




Wednesday, September 28, 11
Introduction

     Multi cloud provider API : Amazon AWS,
        Rackspace, vCloud, Azure ...

     Multi threading model : Run commands on a set of
        nodes

     Full access to provider API




                                                         2
Wednesday, September 28, 11
Features

 Compute API : bootstrap machines in the cloud
     ▶ Amazon                 EC2
     ▶ VMware                 vCloud
     ▶ ...

 Blobstore API : manage key-value storage
     ▶ Amazon                 S3
     ▶ Azure           Blob Service
     ▶ ...

 No PaaS
     ▶ RDS          and ELB are not yet available ... work in progress !



                                                                           3
Wednesday, September 28, 11
Compute API Usage


 Context : Create a context to the service you wish to
    use (eg : Amazon EC2)

 Template : Provider independant instance
    configuration(Image, Location, Hardware, ...)

 Node : Compute instance, contains meta data




                                                          4
Wednesday, September 28, 11
Amazon EC2

 Use Amazon specific features
     ▶ Key         pair
     ▶ Security               Groups
     ▶ CloudInit


 100% pure JClouds
     ▶ Let       provider create SSH keys
     ▶ Add         firewall rules : open ports
     ▶ Use         shell scripts




                                                 5
Wednesday, September 28, 11
JClouds resources


 www.jclouds.org


 http://code.google.com/p/jclouds/


 https://github.com/jclouds/jclouds




                                       6
Wednesday, September 28, 11
The Workshop
“Discover Java Infra as Code with Amazon AWS”



             http://code.google.com/p/xebia-france/wiki/
          JavaInfrastructureAsCodeWithAmazonAwsWorkshop




                                                           7
Wednesday, September 28, 11
Thanks




   Thanks for your help to prepare this workshop
              Andrew Phillips
              Adrian Cole




                                                   8
Wednesday, September 28, 11

Jclouds Introduction

  • 1.
    Xebia Workshop JClouds Introduction Xebia: OpenCSI: Bertrand Dechoux Bruno Bonfils Charles Blonde Cyrille Le Clerc Emmanuel Servent Eric Briand Wednesday, September 28, 11
  • 2.
    Introduction  Multi cloud provider API : Amazon AWS, Rackspace, vCloud, Azure ...  Multi threading model : Run commands on a set of nodes  Full access to provider API 2 Wednesday, September 28, 11
  • 3.
    Features  Compute API: bootstrap machines in the cloud ▶ Amazon EC2 ▶ VMware vCloud ▶ ...  Blobstore API : manage key-value storage ▶ Amazon S3 ▶ Azure Blob Service ▶ ...  No PaaS ▶ RDS and ELB are not yet available ... work in progress ! 3 Wednesday, September 28, 11
  • 4.
    Compute API Usage Context : Create a context to the service you wish to use (eg : Amazon EC2)  Template : Provider independant instance configuration(Image, Location, Hardware, ...)  Node : Compute instance, contains meta data 4 Wednesday, September 28, 11
  • 5.
    Amazon EC2  UseAmazon specific features ▶ Key pair ▶ Security Groups ▶ CloudInit  100% pure JClouds ▶ Let provider create SSH keys ▶ Add firewall rules : open ports ▶ Use shell scripts 5 Wednesday, September 28, 11
  • 6.
    JClouds resources  www.jclouds.org http://code.google.com/p/jclouds/  https://github.com/jclouds/jclouds 6 Wednesday, September 28, 11
  • 7.
    The Workshop “Discover JavaInfra as Code with Amazon AWS” http://code.google.com/p/xebia-france/wiki/ JavaInfrastructureAsCodeWithAmazonAwsWorkshop 7 Wednesday, September 28, 11
  • 8.
    Thanks Thanks for your help to prepare this workshop Andrew Phillips Adrian Cole 8 Wednesday, September 28, 11