jclouds Support Training
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

jclouds Support Training

on

  • 864 views

 

Statistics

Views

Total Views
864
Views on SlideShare
864
Embed Views
0

Actions

Likes
0
Downloads
38
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

jclouds Support Training Presentation Transcript

  • 1. Support Trainingjclouds: TheRackspace Java SDKEverett ToewsDeveloper Advocate@everett_toewsYou need:JDK 1.6+Maven 3+Rackspace account
  • 2. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro2Developer
  • 3. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCommitter on jclouds3
  • 4. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro4Advocate
  • 5. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro5
  • 6. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro6Operations
  • 7. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCo-author of The OpenStack Operations Guide7docs.openstack.org/ops
  • 8. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro8In startup weare not allowdev team fortalk to ops teamexcept by API.@DevOps_Borat
  • 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COMAgenda9
  • 10. RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Introduction•jclouds Overview•SDKs•Terminology•Cloud Accounts•Getting Started10
  • 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Examples•Authentication•Logging•Cloud Files•Cloud Servers•Cloud Block Storage•Cloud Load Balancers•Cloud DNS•Cross-cloud11
  • 12. RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Wreck-It•Bug Reports•Troubleshooting•Help!•Potpourri•Wrap Up12
  • 13. RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntroduction to jclouds13
  • 14. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds14• Cross-cloud toolkit• Open Source (Apache v2)• Community• Portable APIs• Ecosystem APIs• Provider APIs• Java
  • 15. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds’ Supported Clouds•Compute•Rackspace CloudServers•HP Cloud Compute•AWS EC2•ElasticHosts•GoGrid•All Clouds15•Storage•Rackspace CloudFiles•HP Cloud Storage•AWS S3•Azure•CloudOne•All Clouds
  • 16. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Community16
  • 17. RACKSPACE® HOSTING | WWW.RACKSPACE.COM17APIs and ProvidersAPIsProvidersopenstack-nova ec2 rackspace-clouddnsrackspace-cloudservers-usrackspace-cloudservers-ukaws-ec2rackspace-clouddns-usrackspace-clouddns-uk
  • 18. RACKSPACE® HOSTING | WWW.RACKSPACE.COM18APIsAPIsopenstack-novaNovaApi:ServerApiFlavorApiImageApi=Extensions=KeyPairApiSecurityGroupApiFloatingIpApi...ec2EC2Api:TagApiSubnetApiWindowsApirackspace-clouddnsCloudDNSApi:LimitApiDomainApiRecordApiReverseDNSApi
  • 19. RACKSPACE® HOSTING | WWW.RACKSPACE.COM19ProvidersProvidersrackspace-cloudservers-usrackspace-cloudservers-ukrackspace-cloudservers-usrackspace-cloudservers-ukrackspace-clouddns-usrackspace-clouddns-uk•configuration•provider specific features
  • 20. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Layers (APIs)•ComputeService•OpenStack•Rackspace•HP, AWS, etc.•NovaApi (*Api)•OpenStack•Rackspace•HP20PortableEcosystem
  • 21. RACKSPACE® HOSTING | WWW.RACKSPACE.COM21jclouds Compute Venn (APIs)PortableEcosystem
  • 22. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Layers (APIs)22•BlobStore•OpenStack•Rackspace•HP, AWS, etc.•SwiftApi•OpenStack•Rackspace•HP•CloudFilesClient•RackspacePortableEcosystemProvider
  • 23. RACKSPACE® HOSTING | WWW.RACKSPACE.COM23jclouds Storage Venn (APIs)PortableEcosystemProvider
  • 24. RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Community24After 3 beer Ican able useany of cloudAPI.@DevOps_Borat
  • 25. RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhere Does jclouds Live?25
  • 26. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDK Deployment26YourSystemSDKCloudAPIVMVMVMUserSystem
  • 27. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDK Deployment27APICloudYourSystemSDKUserSystemVMVMVMVM
  • 28. RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhat Can jcloudsDo For You Today?28
  • 29. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs29Plumbing
  • 30. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs30(Re)Authentication
  • 31. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs31Pagination
  • 32. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs32State Polling
  • 33. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs33Rate Limiting
  • 34. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs34Retry
  • 35. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs35SmoothingRough Edges
  • 36. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs36Open Source
  • 37. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs37In devopsnobody is getfire for buyopen source.@DevOps_Borat
  • 38. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs38Community
  • 39. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs39Packaged
  • 40. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs40All-in-one
  • 41. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs41Extensions
  • 42. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs42No lock-in
  • 43. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs43
  • 44. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs44
  • 45. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs45Battle Tested Code
  • 46. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs46Sample Code
  • 47. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs47Documentation
  • 48. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs48
  • 49. RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs49Survey is showjunior devopsare still believein ToothFairy, SantaClaus anddocumentation.@DevOps_Borat
  • 50. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCode50
  • 51. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCode51j.mp/jcldstrain
  • 52. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCloud Accounts52
  • 53. RACKSPACE® HOSTING | WWW.RACKSPACE.COMRackspace•Username•API Key•(Password is useable too)53
  • 54. RACKSPACE® HOSTING | WWW.RACKSPACE.COMTerminology54
  • 55. RACKSPACE® HOSTING | WWW.RACKSPACE.COMTerminologyjclouds Rackspace/OpenStackCompute Cloud Servers/NovaNode ServerLocation RegionHardware FlavorNodeMetadata Server detailsUser Metadata MetadataBlobStore Cloud Files/SwiftBlob File/Object55
  • 56. RACKSPACE® HOSTING | WWW.RACKSPACE.COMGetting Started56
  • 57. RACKSPACE® HOSTING | WWW.RACKSPACE.COMGetting Started•developer.rackspace.com•Java•Getting Started with jclouds•Get jclouds•Review JARs57
  • 58. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples58
  • 59. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples59Cloud Files
  • 60. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples60Cloud Servers
  • 61. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples61Logging
  • 62. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples62Authentication
  • 63. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples63?
  • 64. RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples64Cross-Cloudj.mp/jcldsglue2013
  • 65. RACKSPACE® HOSTING | WWW.RACKSPACE.COM65
  • 66. RACKSPACE® HOSTING | WWW.RACKSPACE.COMWreck-It•Misspell username•Upload Object to Container that doesn’texist•Create Server in a location that doesn’texist•Use a bad Flavor/Image•Remove Rackspace JARs from theclasspath•etc.66
  • 67. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBug Reports,Troubleshooting,and Help67
  • 68. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBug Reports•Get the version•Get the code•Get the wire and header logs•gist or pastie68
  • 69. RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Download the version•Run the code•Compare the wire and header logs69
  • 70. RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Isolate the problem•jclouds/User Problem (HTTP 4xx)•Rackspace Problem (HTTP 5xx)•Use curl to verify70
  • 71. RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Debug the source code•mvn dependency:copy-dependencies"-DoutputDirectory=./lib""-Dclassifier=sources”71
  • 72. RACKSPACE® HOSTING | WWW.RACKSPACE.COMResponding•Ideally:•Contribute examples/doc•Send the link to the customer• jclouds.org/documentation/devguides/contributing-to-jclouds/•github.rackspace.com/van5941/CLAs72
  • 73. RACKSPACE® HOSTING | WWW.RACKSPACE.COMResponding•Encourage customers to join the jcloudscommunity:•jclouds-user-subscribe@apache.org• www.mail-archive.com/user@jclouds.incubator.apache.org/73
  • 74. RACKSPACE® HOSTING | WWW.RACKSPACE.COMHelp!•sdk-support@rackspace.com•javadocs.jclouds.cloudbees.net•#jclouds on IRC @ freenode.net•jclouds-user-subscribe@apache.org•jclouds-dev-subscribe@apache.org74
  • 75. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri75
  • 76. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri•Moved to Apache Software Foundation•groupId change• 1.6.0: <groupId>org.jclouds.X</groupId>• 1.6.1: <groupId>org.apache.jclouds.X</groupId>•Package change•1.6.0: import org.jclouds•1.7 (2.0?): import org.apache.jclouds76
  • 77. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri•Google’s Guice & Guava•Removal of the AsyncApis in 1.7 (2.0?)•Dropping support for Java 1.6?•Cloud Files isn’t multi-region...yet•Cloud Databases in progress•More endpoints77
  • 78. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri•Command Line Interface•Jenkins Plugin•jclouds-chef•Who Uses jclouds?•CloudBees•Cloudify•EnterpriseDB•Pallet•...78
  • 79. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri•More examples•Other installation methods•Stay up-to-date with jclouds•blog.phymata.com•@everett_toews•What else can we do to stay in sync?79
  • 80. Thank YouEverett ToewsDeveloper Advocate@everett_toewsAnd don’t forget to terminate your VMsdeveloper.rackspace.comsdk-support@rackspace.comj.mp/jcldstrain