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

Step 2: Create a DAX Cluster

Follow this procedure to create an Amazon DynamoDB Accelerator (DAX) cluster in your default Amazon VPC.

  1. Open the DynamoDB console at https://console.aws.amazon.com/dynamodb/.

  2. In the navigation pane, under DAX, choose Clusters.

  3. Choose Create cluster.

  4. In the Create cluster window, do the following:

    1. Cluster name—Enter a short name for your DAX cluster.

    2. Cluster description—Enter a description for the cluster.

    3. Node type—Choose the node type for all of the nodes in the cluster.

    4. Cluster size—Choose the number of nodes in the cluster. A cluster consists of one primary node and up to nine read replicas.

      Note

      If you want to create a single-node cluster, choose 1. Your cluster will consist of one primary node.

      If you want to create a multi-node cluster, choose a number between 3 (one primary and two read replicas) and 10 (one primary and nine read replicas).

      Important

      For production usage, we strongly recommend using DAX with at least three nodes, where each node is placed in a different Availability Zone. Three nodes are required for a DAX cluster to be fault-tolerant.

      A DAX cluster can be deployed with one or two nodes for development or test workloads. One- and two-node clusters are not fault-tolerant, and we don't recommend using fewer than three nodes for production use. If a one- or two-node cluster encounters software or hardware errors, the cluster can become unavailable or lose cached data.

    5. Encryption—Choose enable encryption for your DAX cluster to help protect data at rest. For more information, see DAX Encryption at Rest.

    6. IAM service role for DynamoDB access—Choose Create new, and enter the following information:

      • IAM role name—Enter a name for an IAM role, for example, DAXServiceRole. The console creates a new IAM role, and your DAX cluster assumes this role at runtime.

      • IAM policy name—Enter a name for an IAM policy, for example, DAXServicePolicy. The console creates a new IAM policy and attaches the policy to the IAM role.

      • IAM role policy—Choose Read/Write. This allows the DAX cluster to perform read and write operations in DynamoDB.

      • Target DynamoDB table—Choose All tables.

    7. Subnet group—Choose the subnet group that you created in Step 1: Create a Subnet Group.

    8. Security Groups—Choose default.

    A separate service role for DAX to access Amazon EC2 is also required. DAX automatically creates this service role for you. For more information, see Using Service-Linked Roles for DAX.

  5. When the settings are as you want them, choose Launch cluster.

On the Clusters screen, your DAX cluster will be listed with a status of Creating.

Note

Creating the cluster takes several minutes. When the cluster is ready, its status changes to Available.

In the meantime, proceed to Step 3: Configure Security Group Inbound Rules and follow the instructions there.