Questions tagged [amazon-dynamodb-local]

This tag is for Amazon DynamoDB local, which is an official implementation of DynamoDB meant to run locally, via Java app or Docker. It exists solely for purposes of development and functional testing before you deploy your code into AWS against a full-fledged DynamoDB table.

0
votes
0answers
39 views

Unable to execute HTTP request: Connect to localhost:8000 [localhost/127.0.0.1] failed: Connection refused (Connection refused)

I'm trying to install dynamodb locally for docker. I've written the below code from here. docker run -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedD Then I can reach localhost:...
1
vote
0answers
29 views

I'm trying to 'stress test' a query with jest - but I can't get around the auto 5000ms timeout

I'm trying to stress test a dynamodb query using jest. I'm trying to get a pretty large json file (1.3 MB), but I keep getting the following error: "Timeout - Async callback was not invoked within the ...
0
votes
2answers
102 views

How to create DynamoDB (Local) tables in Docker Container

I currently have Dynamodb-local running in a Docker container using the amazon/dynamodb-local image. The container starts up and I can manually create the necessary tables via AWS CLI. At this point,...
0
votes
1answer
48 views

Query a Global Secondary Index using contains in DynamoDB local

I have id as the hash key of my table and returnItemId which is the GSI. The returnItemId is a string which contains values separated by commas. Given a number for the GSI, I want to be able to query ...
2
votes
1answer
36 views

Why doesn't DynamoDB local recognize -shareDB option?

I'm trying to start a DynamoDB Local Docker container with the -shareDb option but it failes with the message "Error while parsing options. Unrecognized option: -shareDb". The docker image is from ...
0
votes
1answer
12 views

dynamodb client silently failing and then timing out

I'm trying to run tests against DynamoDB Local in CircleCI and they are silently failing and eventually timing out. There are no errors reported by the DocumentClient. What could be causing this issue?...
0
votes
1answer
33 views

exec-maven-plugin how to set mainClass in pom.xml when using DynamoDBLocal [duplicate]

I am new to Maven and am struggling to find the right way to ask this question (since I doubt the problem is specific to DynamoDBLocal). I am attempting to start a REST server using Jersey with ...
0
votes
0answers
16 views

How to setup permission for the Serverless offline for local DynamoDB?

I am trying to setup Serverless offline with local DynamoDB. I followed a tutorial which suggests the following IAM in the yaml file. It works well for the real aws server. But the local DynamoDB ...
0
votes
3answers
70 views

What is the best way to build serverless app offline?

I'm trying to create a REST API with aws (Nodejs) and dynamodb. Most of the time I do not have access to AWS and I need to have everything running offline to test and only deploy when I have an amount ...
15
votes
12answers
31k views

Export data from DynamoDB

Is it possible to export data from DynamoDB table in some format? The concrete use case is that I want to export data from my production dynamodb database and import that data into my local dynamodb ...