Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saidsef/aws-dynamodb-local
AWS DynamoDB Local
https://github.com/saidsef/aws-dynamodb-local
aws aws-dynamodb docker-image dynamodb
Last synced: about 8 hours ago
JSON representation
AWS DynamoDB Local
- Host: GitHub
- URL: https://github.com/saidsef/aws-dynamodb-local
- Owner: saidsef
- License: mit
- Created: 2017-07-16T23:55:00.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T21:40:18.000Z (5 months ago)
- Last Synced: 2024-06-28T00:18:30.211Z (5 months ago)
- Topics: aws, aws-dynamodb, docker-image, dynamodb
- Language: Dockerfile
- Homepage:
- Size: 76.2 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Docker DynamoDB Local [![CI](https://github.com/saidsef/aws-dynamodb-local/actions/workflows/docker.yml/badge.svg)](#kubernetes-deployment) [![Tagging](https://github.com/saidsef/aws-dynamodb-local/actions/workflows/tagging.yml/badge.svg)](#kubernetes-deployment) [![Release](https://github.com/saidsef/aws-dynamodb-local/actions/workflows/release.yml/badge.svg)](#kubernetes-deployment)
Build for [local AWS DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.UsageNotes.html)
## AWS DynameDB
Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model, reliable performance, and automatic scaling of throughput capacity, makes it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications.
## Components
- OpenJDK v8+
- [AWS DynamoDB Local](https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz)## Kubernetes Deployment
```bash
kubectl apply -k deployment/```
Or, to deploy via argocd:
```bash
kubectl apply -f argocd/application.yml
``````shell
aws --endpoint-url=http://dynamodb.[namespace].svc dynamodb list-tables --region local
```## Docker Deployment
```shell
docker run -d -p 8000:8000 docker.io/saidsef/aws-dynamodb-local:latest
```## HowTo and Documentation
```shell
aws dynamodb create-table \
--table-name TableName \
--attribute-definitions \
AttributeName=id,AttributeType=S --key-schema \
AttributeName=id,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=2,WriteCapacityUnits=2 \
--endpoint-url http://dynamodb.[namespace].svc
```In the SDK set the client to:
```shell
region: 'localhost',
endpoint: 'http://localhost:8000'
```