Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
DynamoDB Localを手軽に使える 公式のDockerイメージ #akibaaws /...
Search
shoito
October 04, 2018
Technology
0
6.5k
DynamoDB Localを手軽に使える 公式のDockerイメージ #akibaaws / DynamoDB Local Docker Image
AKIBA.AWS #10で「DynamoDB Localを手軽に使える 公式のDockerイメージ」というタイトルで発表しました。
shoito
October 04, 2018
Tweet
Share
More Decks by shoito
See All by shoito
心を豊かにするひと工夫 / life-dev
shoito
0
71
ProfllyのSlack連携機能開発とチームの取り組み / proflly-slack-team-dev
shoito
0
1.1k
社員情報の可視化サービスを内製開発した話 / devio2020-story-of-development-voyager
shoito
1
21k
Slackの声を拾って勝手に業務改善してる話 / gw-improve-productivity
shoito
0
140
Amazon ECSを活用したAWS運用自動化サービスの裏側を包み隠さず解説 / inside opswitch
shoito
1
2.2k
勝手にサービスをカスタマイズ、簡単な仕事効率化術 / Improve productivity
shoito
0
1.1k
Feature Togglesとその実践 / Feature Toggles and Practice
shoito
0
250
niconicoの検索を支えるElasticsearch / niconico Elasticsearch
shoito
30
14k
Other Decks in Technology
See All in Technology
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
120
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
強いチームと開発生産性
onk
PRO
33
11k
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
200
AGIについてChatGPTに聞いてみた
blueb
0
130
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
Lexical Analysis
shigashiyama
1
150
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
470
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Faster Mobile Websites
deanohume
305
30k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
A better future with KSS
kneath
238
17k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Rails Girls Zürich Keynote
gr2m
94
13k
Transcript
%ZOBNP%#-PDBMΛखܰʹ͑Δ ެࣜͷ%PDLFSΠϝʔδ ҏ౻TIPJUP ͠ΐ͍ͱ "84ࣄۀຊ෦ϓϩμΫτάϧʔϓ ",*#""84
wҏ౻!TIPJUP w4PGUXBSF&OHJOFFS w"84ࣄۀຊ෦ ϓϩμΫτάϧʔϓॴଐ wத్ೖࣾ ࣗݾհ
ຊհ͢ΔΞοϓσʔτ
%ZOBNP%#-PDBM%PDLFSJNBHF
DynamoDBͷDLՄೳόʔδϣϯ DockerΠϝʔδ ͜ΕԿ͔ʁ
DynamoDBΛ͏γεςϜͷ ϩʔΧϧ։ൃͱςετ Կʹ͏ͷʁ
✤։ൃɾςετ࣌ͷ DynamoDB༻ྉແྉ ✤Πϯλʔωοτଓෆཁ ͏ϝϦοτʁ
੍ݶԿʁ wεϧʔϓοτઃఆແࢹ͞ΕΔ wฒྻεΩϟϯͰ͖ͳ͍ wʜ ˞μϯϩʔυՄೳͳ%ZOBNP%#ͱ%ZOBNP%#ΣϒαʔϏεͷҧ͍ IUUQTEPDTBXTBNB[PODPNKB@KQBNB[POEZOBNPECMBUFTUEFWFMPQFSHVJEF %ZOBNP%#-PDBM6TBHF/PUFTIUNM
DynamoDBͷDLՄೳόʔδϣϯ JavaͰಈ͘JARϑΝΠϧ (DynamoDBLocal.jar) %ZOBNP%#-PDBM%PDLFSJNBHF
࣌ͷΞοϓσʔτ
ੲ͔Βఏڙ͞Ε͍ͯͨϩʔΧϧ։ൃڥ(JAR)ͷ ެࣜͷDockerΠϝʔδ͕ఏڙ͞Εͨ ࠓճͷΞοϓσʔτ
Use Amazon DynamoDB Local More Easily with the New
Docker Image Posted On: Aug 22, 2018 ৽͍͠υοΧʔΠϝʔδͰ Amazon DynamoDBϩʔΧϧΛ͞Βʹ༰қʹ ߘ: Aug 22, 2018 ΞοϓσʔτλΠτϧ
%PDLFSίϯςφͲ͏ͳͬͯΔʁ DockerfileݟͨΒͳ͍ docker inspectͰݟͯΈΔ $ docker inspect amazon/dynamodb-local ... "Config":
{ ... "Cmd": [ "-jar", "DynamoDBLocal.jar", "-inMemory" ], ... "Entrypoint": [ "java" ], ... $ java -jar DynamoDBLocal.jar -inMemory
%PDLFS$PNQPTFʹΈࠐΉ $ docker-compose up version: “3” services: dynamodb: image: amazon/dynamodb-local
ports: - “8000:8000” db: image: mariadb:10.3 … docker-compose.yml
͜ͷ%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: *
͜ͷ%PDLFSΠϝʔδͰؾΛ͚ͭΔ͜ͱ σϑΥϧτ͕-inMemoryͳͷͰɺ ίϯςφఀࢭޙσʔλ͕อଘ͞Εͳ͍ $ docker run -p 8000:8000 -v $PWD/data:/data
amazon/dynamodb-local -jar DynamoDBLocal.jar -dbPath /data
͜ͷ%PDLFSΠϝʔδͰؾΛ͚ͭΔ͜ͱ σϑΥϧτ͕-inMemoryͳͷͰɺ ίϯςφఀࢭޙσʔλ͕อଘ͞Εͳ͍ version: “3” services: dynamodb: image: amazon/dynamodb-local ports:
- “8000:8000” command: -jar DynamoDBLocal.jar -dbPath /data volumes: - $PWD/data:/data docker-compose.yml
✤DynamoDB Local(JAR)Λ ΈࠐΜͩDockerfileͷఆٛ ✤DockerΠϝʔδͷϏϧυ/ϓογϡ Կͱ͋Ε
ެࣜͷDockerΠϝʔδͷެ։ʹΑΓ ΦϨΦϨDockerΠϝʔδ͕ෆཁʹ Կͱ͋Ε
None
None