This page covers how to create a collection in Rockset that pulls data from Amazon DynamoDB. Currently, only
us-west-2 AWS region is supported.
Rockset needs credentials to access your DynamoDB tables. To set this up, create an integration by following instructions for one of these mechanisms:
Rockset needs read-only access to your DynamoDB table. However, for your ease-of-use, you can provide an additional UpdateTable access as well. Rockset uses the UpdateTable permission to create a stream for the DynamoDB Table so that it can stream the DynamoDB change logs into Rockset without you having to manually configure anything additional.
If you do not provide the UpdateTable access permissions, then you have to manually enable streams on that table by following the steps described in the section titled
Enabling a Stream in the AWS DynamoDB Stream document. You have to specify the StreamViewType as NEW_AND_OLD_IMAGES while creating the stream.
Once you create a collection backed by Amazon DynamoDB, Rockset uses DynamoDB scan operation and streams to continuosly ingest and update collections as new objects are added to the DynamoDB table.
In the Rockset Console, you can create a collection from Workspace > Collections > Create Collection.
Using the CLI, you can run the following:
Note that these operations can also be performed using any of the Rockset client libraries.