Installation steps

Gluesync SQL to NoSQL for DynamoDB

Prerequisites

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 belongs 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 a parameter when launching the app, with the -f or --file tokens. The file should be composed by the union of the common configuration files (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.

Looking for data modeling features or other options?

For more detailed configuration options, including the ability to perform data modeling, please have a look at the dedicated Data modeling section when sourcing from an RDBMS.