You can generate a 2048-bit RSA format keypair that you can use to access instances. When first connecting to an instance, you need to assign a keypair to the instance.

This action generates the public and private keys of the keypair. The public key is stored by 3DS OUTSCALE. The private key needs to be downloaded and saved, and is never provided to 3DS OUTSCALE. A new keypair is available only in the Region in which you create it.

You can also provide an existing one by importing the public key of a keypair created by a third-party tool. For more information, see Importing a Keypair.

You can directly create a keypair when you launch an instance using Cockpit. For more information, see Creating / Launching Instances.

The following procedures are available:

Creating a Keypair Using Cockpit

  1. Click Network/Security > Keypairs.

    You can also create a keypair when launching an instance using Cockpit. For more information, see Creating / Launching Instances.

  2. Click Create keypair .
    The CREATE KEYPAIR dialog box appears.

  3. In the Name field, type a name for the keypair.

    This name must be unique in your account, and contain between 1 and 255 ASCII printable characters. Accented letters are not allowed.

  4. Click Create to validate. 
    The keypair is created and appears on the Keypair page.
    A file containing the private key of your keypair is automatically downloaded on your computer.

    Save this file carefully, as you will need to use its content to connect to your resources. 3DS OUTSCALE cannot provide it in case of loss.

 

Creating a Keypair Using AWS CLI

  • To create a keypair, use the create-key-pair command following this syntax:

    Request sample
    $> aws ec2 create-key-pair \
        --profile YOUR_PROFILE \
        --key-name MyKeyPair \
        --endpoint https://fcu.eu-west-2.outscale.com  

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
    • key-name: A unique name for the new keypair, with a maximum length of 255 ASCII characters.
    • endpoint: The endpoint corresponding to the Region you want to send the request to.


    The create-key-pair command returns the following elements:
    • KeyName: The unique name of the newly created keypair. 
    • KeyFingerprint: The SHA-1 digest of the DER encoded private key. 
    • KeyMaterial: The private key you need to save, in RSA format. 

  • Save this file carefully, as you will need to use its content to connect to your resources. 3DS OUTSCALE cannot provide it in case of loss.

    Result sample
    {
      "KeyName": "MyKeyPair",
      "KeyFingerprint": "1a:11:aa:11:aa:11:a1:a1:1a:11:1a:11:1a:1a:a1:aa",
      "KeyMaterial": "MIIEogIBAAKCAQEA499Cg+ciLHxLlvlZGfgig5XTd6qM44DKKHJxaRXFHqsGFqUOeHJ8fFINoDXJ
    BFBZXfkAfTPz9UeyIq8kFzfAIwngV118q9YWIRiqRUp0yCLprNVDDJWHNQV02EOZgJYTt9zO4+1N
    Xf9jaBEPnT+C4LqHJUsFzLwCPbF4pPrfk+TwDK64N1YdzZ6L9Ri3HMpNBWgok+WgPOJNeSIFP+jb"
    } 

    The new keypair is created.

Corresponding API Method
Tutorial: Getting Started with the 3DS OUTSCALE Cloud Using Cockpit

Previous Step:

Ø

Next Step:

(optional) Creating a Security Group


AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.