jclouds BoF

717 views

Published on

jclouds Birds of a Feather at OSCON 2013

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

No Downloads
Views
Total views
717
On SlideShare
0
From Embeds
0
Number of Embeds
55
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Recommend split screen
  • jclouds BoF

    1. 1. Control Multi-Cloud Infrastructure With Java jclouds Everett Toews Developer Advocate @everett_toews OSCON July 22, 2013 @ 7:00 pm
    2. 2. Intro Developer
    3. 3. Committer on jclouds
    4. 4. Intro Advocate
    5. 5. Avatar
    6. 6. Intro Operations
    7. 7. Co-author of The OpenStack Operations Guide docs.openstack.org/ops
    8. 8. Cultural Learnings In startup we are not allow dev team for talk to ops team except by API. @DevOps_Borat
    9. 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Agenda
    10. 10. Agenda •Introduction to Apache jclouds •Where Does jclouds Live? •What Can jclouds Do For You Today? •Terminology •Example •Potpourri
    11. 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Introduction to Apache jclouds
    12. 12. Apache jclouds • Multi-Cloud Toolkit • Open Source (Apache v2) • Community • Portable APIs • Ecosystem APIs • Provider APIs • Java
    13. 13. Supported Compute Clouds •Rackspace Cloud Servers •HP Cloud Compute •AWS EC2 •ElasticHosts •GoGrid •All Clouds
    14. 14. Supported Storage Clouds •Rackspace Cloud Files •HP Cloud Storage •AWS S3 •Azure •CloudOne •All Clouds
    15. 15. Community
    16. 16. APIs and Providers APIs openstack-nova ec2 rackspace-clouddns
    17. 17. APIs and Providers APIs Providers openstack-nova ec2 rackspace-clouddns rackspace- cloudservers-us rackspace- cloudservers-uk aws-ec2 rackspace- clouddns-us rackspace- clouddns-uk
    18. 18. APIs APIs openstack-nova NovaApi: ServerApi FlavorApi ImageApi =Extensions= KeyPairApi SecurityGroupApi FloatingIpApi ... ec2 EC2Api: TagApi SubnetApi WindowsApi rackspace-clouddns CloudDNSApi: LimitApi DomainApi RecordApi ReverseDNSApi
    19. 19. Providers Providers rackspace- cloudservers-us rackspace- cloudservers-uk rackspace- cloudservers-us rackspace- cloudservers-uk rackspace- clouddns-us rackspace- clouddns-uk •configuration •provider specific features
    20. 20. Compute Venn Portable Ecosystem
    21. 21. Compute Layers •ComputeService •OpenStack •Rackspace •HP, AWS, etc. •NovaApi (*Api) •OpenStack •Rackspace •HP Portable Ecosystem
    22. 22. Storage Venn Portable Ecosystem Provider
    23. 23. Storage Layers •BlobStore •OpenStack •Rackspace •HP, AWS, etc. •SwiftApi •OpenStack •Rackspace •HP •CloudFilesClient •Rackspace Portable Ecosystem Provider
    24. 24. Cultural Learnings After 3 beer I can able use any of cloud API. @DevOps_Borat
    25. 25. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Where Does jclouds Live?
    26. 26. SDK Deployment Your System S D K Cloud A P I VM VM VM User System
    27. 27. SDK Deployment A P I Cloud Your System S D K User System VM VM VM VM
    28. 28. RACKSPACE® HOSTING | WWW.RACKSPACE.COM What Can jclouds Do For You Today?
    29. 29. SDKs Plumbing
    30. 30. SDKs (Re)Authentication
    31. 31. SDKs Pagination
    32. 32. SDKs State Polling
    33. 33. SDKs Rate Limiting
    34. 34. SDKs Retry
    35. 35. SDKs Smoothing Rough Edges
    36. 36. SDKs Open Source
    37. 37. Cultural Learnings In devops nobody is get fire for buy open source. @DevOps_Borat
    38. 38. SDKs Community
    39. 39. SDKs Packaged
    40. 40. SDKs All-in-one
    41. 41. SDKs Extensions
    42. 42. SDKs No lock-in
    43. 43. SDKs Battle Tested Code
    44. 44. SDKs Sample Code
    45. 45. SDKs Documentation
    46. 46. Cultural Learnings Survey is show junior devops are still believe in Tooth Fairy, Santa Claus and documentation. @DevOps_Borat
    47. 47. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Terminology
    48. 48. Terminology jclouds Rackspace/OpenStack Compute Cloud Servers/Nova Node Server Location Region Hardware Flavor NodeMetadata Server details User Metadata Metadata BlobStore Cloud Files/Swift Blob File/Object
    49. 49. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Example
    50. 50. Maven •mkdir jclouds-workshop •cd jclouds-workshop •Create pom.xml •gist.github.com/everett-toews/3861545 •mvn dependency:copy-dependencies "-DoutputDirectory=./lib"
    51. 51. JCloudsWorkshop.java •Create JCloudsWorkshop.java •gist.github.com/everett-toews/5624677 •javac -cp ".:lib/*" JCloudsWorkshop.java •java -cp ".:lib/*" JCloudsWorkshop
    52. 52. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Potpourri
    53. 53. Potpourri •Moved to Apache Software Foundation •groupId change • 1.6.0 •<groupId>org.jclouds.X</groupId> • 1.6.1-incubating •<groupId>org.apache.jclouds.X</groupId> •Package change •1.6.x: import org.jclouds •1.7: import org.apache.jclouds
    54. 54. Potpourri •Google’s Guice & Guava •Removal of the AsyncApis in 1.7 •Dropping support for Java 1.6? •Cloud Files isn’t multi-region...yet •Cloud Databases in progress •More endpoints
    55. 55. Potpourri •Command Line Interface •Jenkins Plugin •jclouds-chef •Who Uses jclouds? •CloudBees •Cloudify •EnterpriseDB •Pallet •Stratos etc etc etc
    56. 56. Thank You Everett Toews Developer Advocate @everett_toews developer.rackspace.com

    ×