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

Storage in Local DynamoDB vs. the Amazon DynamoDB Service

The DynamoDB Storage Backend for Titan uses the downloadable version of DynamoDB for storage by default. This edition of DynamoDB is useful for initially testing your application with the DynamoDB Storage Backend for Titan, but we recommend that you switch to Amazon DynamoDB early in the testing process for a more accurate representation of performance in a production environment.

To switch the storage backend from local DynamoDB to the Amazon DynamoDB web service

  1. The default region is US East (N. Virginia), if you require a different region, you must change it in the configuration file. Otherwise, continue to Step 2.

    In the configuration file at src/test/resources/, change the endpoint from to the DynamoDB endpoint for your region. For example, if your region is US West (Oregon), use the following endpoint setting:


    For a list of available regions and endpoints, go to the Amazon DynamoDB section in the Amazon Web Services General Reference.

  2. Start Gremlin Server with the following command:

    bin/ ${PWD}/conf/gremlin-server/gremlin-server.yaml

You can now run Titan without having to run DynamoDB on your computer. The Titan DynamoDB Storage backend will use tables in the DynamoDB region of your endpoint instead of a local instance of DynamoDB.

Related Topics

Titan Graph Modeling in DynamoDB