Apache Cassandra™ 2.0

Creating a key pair

Amazon EC2 uses public–key cryptography to encrypt and decrypt login information. Public–key cryptography uses a public key to encrypt data and the recipient uses the private key to decrypt the data. The public and private keys are known as a key pair.

Procedure

You must create a key pair for each region you use.

  1. From the Amazon EC2 console navigation bar, select the same region as where you will launch the DataStax Community AMI.

    Step 1 in Launching the DataStax Community AMI provides a list of the available regions.

  2. Create the key pair and save it to your home directory.
  3. Set the permissions of your private key file so that only you can read it.
    $ chmod 400 my-key-pair.pem
Show/hide