
We are using Java's -jar command to execute the DynamoDBLocal jar file.

Let's get started by creating a docker-compose.yml file. Create DockerfileĪmazon has been kind enough to create a DynamoDb Docker image for us! We will be using the amazon/dynamodb-local image. However, for this tutorial that will not be necessary. Since DynamoDb is an AWS service you would first need to create an AWS account.
AWS LOCAL DYNAMODB INSTALL
I typically start these posts off by saying to install the framework locally. TLDR: Here is the fulling working code on my Github.

DynamoDB exposes a similar data model to and derives its name from Dynamo, but has a different underlying implementation. I will be starting a series on DynamoDb soon so stay tuned!Īmazon DynamoDB is a fully managed proprietary NoSQL database service that supports key-value and document data structures and is offered by as part of the Amazon Web Services portfolio.

Also, if you do plan on using DynamoDb in production this is an easy way to get started without needing to pay AWS. Since DynamoDb is a NoSQL database it gives developers a lot of flexibility. This can very useful for prototyping an application where you need to persist some data. I am going to show you how you can use Docker to spin up a DynamoDb. This is going to be a very quick tutorial.
