DynamoDb is a cloud managed server provided by AWS – Amazon web service. Technically, you cannot install and manage it on your own for your production system. However for testing purpose, AWS provides the ways to run it locally and avoid hitting cloud service all the time to save some money.
The easiest way is to pull docker image and run it locally
Follow below steps to run dynamodb locally# pull image from docker hub provided by AWS – https://hub.docker.com/r/amazon/dynamodb-local/
docker pull amazon/dynamodb-local# run imagedocker run -p 8000:8000 amazon/dynamodb-localHit this url on browser to test dynamodb is working