You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Grig Gheorghiu (JIRA)" <ji...@apache.org> on 2010/10/01 19:46:33 UTC

[libcloud] [jira] Created: (LIBCLOUD-57) Support for EC2 create keypair functionality

Support for EC2 create keypair functionality
--------------------------------------------

                 Key: LIBCLOUD-57
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-57
             Project: Libcloud
          Issue Type: Improvement
          Components: Core
            Reporter: Grig Gheorghiu


EC2 nodes launched via libcloud are useful only if they have an EC2 keypair associated with them, otherwise there is no way to actually ssh into the newly created node (unless you perform bootstrap actions via user data). The attached patch adds an ex_create_keypair method to the EC2NodeDriver class. This method takes a keypair name as its argument, and creates a new keypair, then returns the private key material (to be saved into a file by the caller of the method) and the keypair fingerprint.

If this is deemed useful, I will add another method for importing an existing keypair into EC2 (this API was recently added to the AWS EC2 API).

Grig

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[libcloud] [jira] Updated: (LIBCLOUD-57) Support for EC2 create keypair functionality

Posted by "Grig Gheorghiu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grig Gheorghiu updated LIBCLOUD-57:
-----------------------------------

    Attachment: ec2_create_keypair.patch

Patch to add ex_create_keypair method to EC2NodeDriver class.

> Support for EC2 create keypair functionality
> --------------------------------------------
>
>                 Key: LIBCLOUD-57
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-57
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Grig Gheorghiu
>         Attachments: ec2_create_keypair.patch
>
>
> EC2 nodes launched via libcloud are useful only if they have an EC2 keypair associated with them, otherwise there is no way to actually ssh into the newly created node (unless you perform bootstrap actions via user data). The attached patch adds an ex_create_keypair method to the EC2NodeDriver class. This method takes a keypair name as its argument, and creates a new keypair, then returns the private key material (to be saved into a file by the caller of the method) and the keypair fingerprint.
> If this is deemed useful, I will add another method for importing an existing keypair into EC2 (this API was recently added to the AWS EC2 API).
> Grig

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[libcloud] [jira] Closed: (LIBCLOUD-57) Support for EC2 create keypair functionality

Posted by "Paul Querna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Querna closed LIBCLOUD-57.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0

Applied in r1004499;
https://svn.apache.org/viewvc?view=revision&revision=1004499

Thanks!

> Support for EC2 create keypair functionality
> --------------------------------------------
>
>                 Key: LIBCLOUD-57
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-57
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Grig Gheorghiu
>             Fix For: 0.4.0
>
>         Attachments: ec2_create_keypair.patch
>
>
> EC2 nodes launched via libcloud are useful only if they have an EC2 keypair associated with them, otherwise there is no way to actually ssh into the newly created node (unless you perform bootstrap actions via user data). The attached patch adds an ex_create_keypair method to the EC2NodeDriver class. This method takes a keypair name as its argument, and creates a new keypair, then returns the private key material (to be saved into a file by the caller of the method) and the keypair fingerprint.
> If this is deemed useful, I will add another method for importing an existing keypair into EC2 (this API was recently added to the AWS EC2 API).
> Grig

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.