Amazon DynamoDB
Developer Guide (API Version 2012-08-10)

Step 3: Configure Your Amazon EC2 Instance

When your Amazon EC2 instance is available, you can log in to the instance and prepare it for use.

Note

The following steps assume that you are connecting to your Amazon EC2 instance from a computer running Linux. For other ways to connect, see Connect to Your Linux Instance in the Amazon EC2 User Guide for Linux Instances.

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Use the ssh command to log in to your Amazon EC2 instance; for example:

    ssh -i my-keypair.pem ec2-user@public-dns-name

    You need to specify your private key file (.pem file) and the public DNS name of your instance. (See Step 1: Launch an Amazon EC2 Instance).

    The login ID is ec2-user. No password is required.

  3. After you log in to your EC2 instance, you need to configure your AWS credentials as shown following. Type your AWS access key ID and secret key (from Step 2: Create an IAM User and Policy), and set the default Region name to your current Region. (In the following example, the default Region name is us-west-2.)

    aws configure AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY Default region name [None]: us-west-2 Default output format [None]:

After launching and configuring your Amazon EC2 instance, you can test the functionality of DAX using one of the available sample applications. For more information, see Step 4: Run a Sample Application.