Apache Libcloud
                        Paul Querna, Chief Architect, Cloudkick

                                    June ...
I want a server.




Friday, June 25, 2010
I want a server right now.




Friday, June 25, 2010
Libcloud is about Compute


                        • Not SaaS, PaaS, or Cloud Storage



Friday, June 25, 2010
Why!?!?

                        • Amazon: XML + Custom HMAC Auth
                        • Rackspace: JSON + Auth Tickets...
Cloud API Standards


                        • Haven’t worked.



Friday, June 25, 2010
16 Providers




Friday, June 25, 2010
Simple APIs

                        • list_nodes()
                        • reboot_node()
                        • dest...
Tricks!

                        • Included data:
                         • Location
                         • Price-per...
Code on Slides, at Ignite!
           possible = []
           for d in drivers:
             loc = filter(lambda x: x.cou...
Don’t update that Wiki!


                        • pssh on list list_nodes()



Friday, June 25, 2010
Fabric + Libcloud
                 $ fab hostname
                 [173.45.245.33] run: hostname
                 [173.45....
Building on Top


                        • Silver Lining: Python Deployment on the Cloud



Friday, June 25, 2010
Building on Top


                        • Mercury: Drupal Deployment on the Cloud



Friday, June 25, 2010
Up Next


                        • No World Domination, just clouds



Friday, June 25, 2010
Image Formats


                        • Standards haven’t worked (yet!)



Friday, June 25, 2010
Multiple Languages


                        • Java experiment started



Friday, June 25, 2010
It’s Open Source




Friday, June 25, 2010
Related Projects


                        • JClouds: Java-world-equivalent
                        • Apache Deltacloud: R...
• Apache Libcloud:
                          http://libcloud.org/

                          #libcloud on Freenode IRC


 ...
Upcoming SlideShare
Loading in...5
×

Paul Querna - libcloud

1,684

Published on

Paul Querna's lightning talk at devopsdays USA 2010, held 25th June 2010 in Mountain View, CA

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
  • Integrating all kinds of clouding services.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
1,684
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
31
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Paul Querna - libcloud

  1. 1. Apache Libcloud Paul Querna, Chief Architect, Cloudkick June 22, 2010 Friday, June 25, 2010
  2. 2. I want a server. Friday, June 25, 2010
  3. 3. I want a server right now. Friday, June 25, 2010
  4. 4. Libcloud is about Compute • Not SaaS, PaaS, or Cloud Storage Friday, June 25, 2010
  5. 5. Why!?!? • Amazon: XML + Custom HMAC Auth • Rackspace: JSON + Auth Tickets • SoftLayer: XML RPC + User / Password Friday, June 25, 2010
  6. 6. Cloud API Standards • Haven’t worked. Friday, June 25, 2010
  7. 7. 16 Providers Friday, June 25, 2010
  8. 8. Simple APIs • list_nodes() • reboot_node() • destroy_node() • create_node() Friday, June 25, 2010
  9. 9. Tricks! • Included data: • Location • Price-per-hour in USD • Cheapest 4 gigabyte node outside the US Friday, June 25, 2010
  10. 10. Code on Slides, at Ignite! possible = [] for d in drivers: loc = filter(lambda x: x.country != 'US', d.list_locations()) for l in loc: sizes = filter(lambda x: x.ram >= 4096, d.list_sizes(l)) for s in sizes: possible.append({'size': s, 'location': l, 'driver': d}) best = sorted(possible, lambda x,y: x['size'].price < y['size'].price)[0] print best Friday, June 25, 2010
  11. 11. Don’t update that Wiki! • pssh on list list_nodes() Friday, June 25, 2010
  12. 12. Fabric + Libcloud $ fab hostname [173.45.245.33] run: hostname [173.45.245.33] out: lctest3.k1k.me [173.45.245.32] run: hostname [173.45.245.32] out: lctest2.k1k.me Done. Disconnecting from 173.45.245.33... done. Disconnecting from 173.45.245.32... done. Friday, June 25, 2010
  13. 13. Building on Top • Silver Lining: Python Deployment on the Cloud Friday, June 25, 2010
  14. 14. Building on Top • Mercury: Drupal Deployment on the Cloud Friday, June 25, 2010
  15. 15. Up Next • No World Domination, just clouds Friday, June 25, 2010
  16. 16. Image Formats • Standards haven’t worked (yet!) Friday, June 25, 2010
  17. 17. Multiple Languages • Java experiment started Friday, June 25, 2010
  18. 18. It’s Open Source Friday, June 25, 2010
  19. 19. Related Projects • JClouds: Java-world-equivalent • Apache Deltacloud: Ruby-ish equivalent Friday, June 25, 2010
  20. 20. • Apache Libcloud: http://libcloud.org/ #libcloud on Freenode IRC • Slides online: http://paul.querna.org/slides Friday, June 25, 2010
  1. A particular slide catching your eye?

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

×