January 2019
Intermediate to advanced
520 pages
14h 32m
English
Since AWS services are paid-for, it's better to bootstrap a local instance of the DynamoDB database for development or testing your application. There is an image of DynamoDB on Docker Hub. Run the instance with this command:
docker run -it --rm --name test-dynamodb -p 8000:8000 amazon/dynamodb-local
This command creates an instance of a database and forwards port 8000 of a container to a local port with the same number.
To work with this database instance, you need the AWS CLI tool. This can be installed using the instructions from https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html. On Linux, I use the following command:
pip install awscli --upgrade --user
This command doesn't need ...
Read now
Unlock full access