

The secret keys listed above are just arbitrary values for your local config. Put the following configurations in the application.properties file: =key
LOCAL DYNAMODB TESTING HOW TO
You can find instructions on how to run DynamoDB locally here. Running DynamoDB locally makes more sense than running on AWS in development mode, because the local instance will be running as an executable JAR file. Let’s now install a local instance of DynamoDB for learning purposes and to avoid incurring the cost of running a live instance on Amazon.

DynamoDB offers fast, consistent and predictable performance and is massively scalable. DynamoDB is very similar to such NoSQL databases as Cassandra or MongoDB. Its flexible data model, reliable performance, and automatic scaling of throughput capacity make it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications. It is a fully managed cloud database and supports both document and key-value store models. Notice that in similar way you can work with Amazon DynamoDB.Īmazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale.

We’ll create an example data model and repository class as well as perform actual database operations using an integration test. We’ll configure our Spring Boot application to use a local DynamoDB instance using Spring Data. Today we’ll build a simple Spring Boot Application and integrate it with DynamoDB.
