Majestic.cloud

How to run DynamoDB locally with Docker | SAM Series #3

How to run DynamoDB locally

DynamoDB is one of the fundamental pieces of the serverless stack in AWS, because of this knowing how to run DynamoDB locally is essential in being able to develop and test the applications locally.

This video shows you how to run DynamoDB locally vith Docker. The video guides you through creating a docker network, running the docker container and doing operations like creating tables, adding items to the table via the local Lambda function that runs with SAM local. You need to have AWS SAM CLI installed locally.

The code and the commands used in the video can be found on the following GitHub repo: https://github.com/majestic-cloud/sam-local-dynamodb

Exit mobile version