Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DynamoDB Localを手軽に使える
公式のDockerイメージ #akibaaws /...

shoito
October 04, 2018

DynamoDB Localを手軽に使える
公式のDockerイメージ #akibaaws / DynamoDB Local Docker Image

AKIBA.AWS #10で「DynamoDB Localを手軽に使える
公式のDockerイメージ」というタイトルで発表しました。

shoito

October 04, 2018
Tweet

More Decks by shoito

Other Decks in Technology

Transcript

  1. Use Amazon DynamoDB Local More Easily 
 with the New

    Docker Image Posted On: Aug 22, 2018 ৽͍͠υοΧʔΠϝʔδͰ
 Amazon DynamoDBϩʔΧϧΛ͞Βʹ༰қʹ ౤ߘ೔: Aug 22, 2018 ΞοϓσʔτλΠτϧ
  2. %PDLFSίϯςφ͸Ͳ͏ͳͬͯΔʁ Dockerfile͸ݟ౰ͨΒͳ͍ docker inspectͰݟͯΈΔ $ docker inspect amazon/dynamodb-local ... "Config":

    { ... "Cmd": [ "-jar", "DynamoDBLocal.jar", "-inMemory" ], ... "Entrypoint": [ "java" ], ... $ java -jar DynamoDBLocal.jar -inMemory
  3. ͜ͷ%PDLFSΠϝʔδͰؾΛ͚ͭΔ͜ͱ σϑΥϧτ͕-inMemoryͳͷͰɺ
 ίϯςφఀࢭޙ͸σʔλ͕อଘ͞Εͳ͍ $ docker run -p 8000:8000 amazon/dynamodb-local Initializing

    DynamoDB Local with the following configuration: Port: 8000 InMemory: true DbPath: null SharedDb: false shouldDelayTransientStatuses: false CorsParams: *