Installation Steps

GlueSync NoSQL to NoSQL for DynamoDB

Prerequisites

In order to have GlueSync working on your DynamoDB AWS account you will need to have:

  • valid user credentials with permissions: arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess;

  • IAM access key obtained through AWS IAM console;

  • IAM secret key obtained through AWS IAM console;

  • name of the region where the DynamoDB belogs to.

Basic configuration example

This module can be customized by using a configuration file, in JSON format. The file name to use must be specified as parameter when launching the app, with the -f or --file tokens. The file should be composed by union of common configuration file (see here Installation Steps) and source specific configuration:

{
  ...
  // (source section omitted)
  ...
  "targetHost": "eu-central-1",
  "targetUsername": "IAMCredentialAccessKeyID",
  "targetPassword": "IAMCredentialSecret",
  ...

  "dynamodb": {
    "entitiesProvisionedThroughput": {
      "yourEntityNameHere": {
        "read": 10,
        "write": 10
      }
    }
  },
  ...
}

The parameters that refer to a target are the parameters that describe the connection to DynamoDB.

  • targetHost: the name of the region where your bucket belongs to;

  • targetUsername: IAM Credential access key ID created under your AWS IAM console;

  • targetPassword: IAM Credential secret created under your AWS IAM console.

Other configuration parameters are the following:

DynamoDB specific configurations are listed under the dynamodb property:

  • timeoutSeconds (optional): defaults to 60. Number of seconds to set as timeout for operations involving communication with the destination;

  • entitiesProvisionedThroughput: Provisioned resources per each table created through Gluesync as per the official documentation available here at this link. You are required to specify these parameters per each of your entities.