amazon ec2 - AWS: How to backup DynamoDB Local tables and import to AWS Service -


i setup dynamodb local on ec2 instance, loaded dozen of tables python api.

java -djava.library.path=./dynamodblocal_lib -jar dynamodblocal.jar -shareddb -inmemory 

now notice tables stored in memory, , want to export data , load dynamodb web service. didn't find useful functions export db tables file (https://boto3.readthedocs.io/en/latest/reference/services/dynamodb.html).

i tried access local db through url http://ip:8000, unfortunately it's not working:

--2017-08-20 21:49:19--  http://localhost:8000/ resolving localhost (localhost)... 127.0.0.1 connecting localhost (localhost)|127.0.0.1|:8000... connected. http request sent, awaiting response... 400 bad request 2017-08-20 21:49:19 error 400: bad request. 

any suggestion appreciated

there plugin https://github.com/99xt/dynamodb-schema-migrate use migrate schema aws account. you can modify bit , use local schema , use migrate schema.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -