• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
jclouds Support Training
 

jclouds Support Training

on

  • 670 views

 

Statistics

Views

Total Views
670
Views on SlideShare
670
Embed Views
0

Actions

Likes
0
Downloads
32
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 jclouds Support Training Presentation Transcript

    • Support Trainingjclouds: TheRackspace Java SDKEverett ToewsDeveloper Advocate@everett_toewsYou need:JDK 1.6+Maven 3+Rackspace account
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro2Developer
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMCommitter on jclouds3
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro4Advocate
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro5
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro6Operations
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMCo-author of The OpenStack Operations Guide7docs.openstack.org/ops
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntro8In startup weare not allowdev team fortalk to ops teamexcept by API.@DevOps_Borat
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMAgenda9
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Introduction•jclouds Overview•SDKs•Terminology•Cloud Accounts•Getting Started10
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Examples•Authentication•Logging•Cloud Files•Cloud Servers•Cloud Block Storage•Cloud Load Balancers•Cloud DNS•Cross-cloud11
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMThe Workshop•Wreck-It•Bug Reports•Troubleshooting•Help!•Potpourri•Wrap Up12
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMIntroduction to jclouds13
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds14• Cross-cloud toolkit• Open Source (Apache v2)• Community• Portable APIs• Ecosystem APIs• Provider APIs• Java
    • 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
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Community16
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM17APIs and ProvidersAPIsProvidersopenstack-nova ec2 rackspace-clouddnsrackspace-cloudservers-usrackspace-cloudservers-ukaws-ec2rackspace-clouddns-usrackspace-clouddns-uk
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM18APIsAPIsopenstack-novaNovaApi:ServerApiFlavorApiImageApi=Extensions=KeyPairApiSecurityGroupApiFloatingIpApi...ec2EC2Api:TagApiSubnetApiWindowsApirackspace-clouddnsCloudDNSApi:LimitApiDomainApiRecordApiReverseDNSApi
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM19ProvidersProvidersrackspace-cloudservers-usrackspace-cloudservers-ukrackspace-cloudservers-usrackspace-cloudservers-ukrackspace-clouddns-usrackspace-clouddns-uk•configuration•provider specific features
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Layers (APIs)•ComputeService•OpenStack•Rackspace•HP, AWS, etc.•NovaApi (*Api)•OpenStack•Rackspace•HP20PortableEcosystem
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM21jclouds Compute Venn (APIs)PortableEcosystem
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Layers (APIs)22•BlobStore•OpenStack•Rackspace•HP, AWS, etc.•SwiftApi•OpenStack•Rackspace•HP•CloudFilesClient•RackspacePortableEcosystemProvider
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM23jclouds Storage Venn (APIs)PortableEcosystemProvider
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMjclouds Community24After 3 beer Ican able useany of cloudAPI.@DevOps_Borat
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhere Does jclouds Live?25
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDK Deployment26YourSystemSDKCloudAPIVMVMVMUserSystem
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDK Deployment27APICloudYourSystemSDKUserSystemVMVMVMVM
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhat Can jcloudsDo For You Today?28
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs29Plumbing
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs30(Re)Authentication
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs31Pagination
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs32State Polling
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs33Rate Limiting
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs34Retry
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs35SmoothingRough Edges
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs36Open Source
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs37In devopsnobody is getfire for buyopen source.@DevOps_Borat
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs38Community
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs39Packaged
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs40All-in-one
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs41Extensions
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs42No lock-in
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs43
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs44
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs45Battle Tested Code
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs46Sample Code
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs47Documentation
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs48
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMSDKs49Survey is showjunior devopsare still believein ToothFairy, SantaClaus anddocumentation.@DevOps_Borat
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMCode50
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMCode51j.mp/jcldstrain
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMCloud Accounts52
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMRackspace•Username•API Key•(Password is useable too)53
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMTerminology54
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMTerminologyjclouds Rackspace/OpenStackCompute Cloud Servers/NovaNode ServerLocation RegionHardware FlavorNodeMetadata Server detailsUser Metadata MetadataBlobStore Cloud Files/SwiftBlob File/Object55
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMGetting Started56
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMGetting Started•developer.rackspace.com•Java•Getting Started with jclouds•Get jclouds•Review JARs57
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples58
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples59Cloud Files
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples60Cloud Servers
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples61Logging
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples62Authentication
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples63?
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMExamples64Cross-Cloudj.mp/jcldsglue2013
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COM65
    • 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
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMBug Reports,Troubleshooting,and Help67
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMBug Reports•Get the version•Get the code•Get the wire and header logs•gist or pastie68
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Download the version•Run the code•Compare the wire and header logs69
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Isolate the problem•jclouds/User Problem (HTTP 4xx)•Rackspace Problem (HTTP 5xx)•Use curl to verify70
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMTroubleshooting•Debug the source code•mvn dependency:copy-dependencies"-DoutputDirectory=./lib""-Dclassifier=sources”71
    • 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
    • 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
    • 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
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri75
    • 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
    • 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
    • RACKSPACE® HOSTING | WWW.RACKSPACE.COMPotpourri•Command Line Interface•Jenkins Plugin•jclouds-chef•Who Uses jclouds?•CloudBees•Cloudify•EnterpriseDB•Pallet•...78
    • 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
    • Thank YouEverett ToewsDeveloper Advocate@everett_toewsAnd don’t forget to terminate your VMsdeveloper.rackspace.comsdk-support@rackspace.comj.mp/jcldstrain