Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-42

Add Support for Deployments using SSH Keys

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.1
    • Core
    • None

    Description

      There is currently no support for deploying nodes using pre-install ssh keys as is required, for example, by EC2. In my github fork[1] I have added basic support for this (I'll attach a diff as well).

      An EC2 deployment using this patch looks something like this:

      deploy_node(Provider.EC2_US_EAST, name=name, image=image, size=size,
      deploy=deployment, ex_keyname='foo', ssh_key='foo.pem')

      My main concerns are that I'm not sure if passing the path to the private key is entirely consistent with existing conventions, and this will break if someone passes in a NodeAuthSSHKey (although that was true before as well).

      [1]: http://github.com/russellhaering/libcloud

      Attachments

        1. ec2keys.diff
          3 kB
          Russell Haering

        Activity

          People

            Unassigned Unassigned
            russell_h Russell Haering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: