Spring Boot API CRUD with AWS DynamoDB
In this story, we’ll implement a REST API with CRUD operations using Spring boot and AWS DynamoDB.
What is Amazon DynamoDB ?
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don’t have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling. DynamoDB also offers encryption at rest, which eliminates the operational burden and complexity involved in protecting sensitive data.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html
Setting Up DynamoDB in AWS Console
- Login to the AWS Management Console and open the DynamoDB service.
- Create Table. Add the table name and the primary key. (For this story we are using all other default settings)
Our “employees” table has been created.