Create a Key Pair

Eucalyptus uses cryptographic key pairs to verify access to instances. Key pairs are used if you want to connect to your instance using SSH. Creating a key pair generates two keys: a public key (saved within Eucalyptus) and a corresponding private key (output to the user as a character string). To enable this private key you must save it to a file and set appropriate access permissions (using the chmod command), as shown in the example below.

Create Key Pairs with the Console

  1. From the main dashboard screen, click the Key Pairs icon.
    The Key Pairs page opens.
  2. Click the Create Key Pair button.
    The Create new key pair window opens.
  3. Type a name for the new key pair into the Name text box.
    The name may contain up to 255 alphanumeric and special characters.
  4. Click the Create and Download button. The private half of the key pair (.pem file) is saved to the default download location for your browser.
    Note: Keep your private key file in a safe place. If you lose it, you will be unable to access instances created with the key pair.
  5. Change file permissions to enable access to the private key file in the local directory. For example, on a Linux or Mac OS X system:
    chmod 0600 <keypair_name>.private