amazon-web-servicesamazon-dynamodbamazon-cloudsearch

Index large DynamoDB table into Cloudsearch via AWS CLI


I'm currently facing an issue on CloudSearch when trying to index a large DynamoDB table via AWS Console:

Retrieving a subset of the table...
The request took too long to complete. Please try again or use the command line tools.

After looking throught the documentations[1, 2, 3], there are examples of uploading several file formats thought the CLI but no mention of uploading data from a DynamoDB table using the CLI.

How this could be done without having to download the entire database in a file and uploading it?


Solution

  • I've got in contact with AWS Support and there's not way of indexing DynamoDB data using the CLI.

    The only available way is downloading the data and uploading though the CLI using a classical file format/structure(.csv, .json, .xml and .txt).

    A shame, unfortunately.