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.6k
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
80
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
270
niconicoの検索を支えるElasticsearch / niconico Elasticsearch
shoito
30
14k
Other Decks in Technology
See All in Technology
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.5k
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
KMP with Crashlytics
sansantech
PRO
0
240
Visual StudioとかIDE関連小ネタ話
kosmosebi
1
380
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
150
あなたの知らないクラフトビールの世界
miura55
0
130
[IBM TechXchange Dojo]Watson Discoveryとwatsonx.aiでRAGを実現!事例のご紹介+座学②
siyuanzh09
0
110
Oracle Base Database Service:サービス概要のご紹介
oracle4engineer
PRO
1
16k
商品レコメンドでのexplicit negative feedbackの活用
alpicola
2
370
生成AIのビジネス活用
seosoft
0
110
2025年のARグラスの潮流
kotauchisunsun
0
800
RubyでKubernetesプログラミング
sat
PRO
4
160
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Six Lessons from altMBA
skipperchong
27
3.6k
Rails Girls Zürich Keynote
gr2m
94
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Speed Design
sergeychernyshev
25
740
Documentation Writing (for coders)
carmenintech
67
4.5k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Making Projects Easy
brettharned
116
6k
For a Future-Friendly Web
brad_frost
176
9.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
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