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
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architec...
Search
tomoki10
December 17, 2024
Technology
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
「AWS Ambassador & AWS Top Engineer re:Cap LT大会」の登壇用資料です。
tomoki10
December 17, 2024
More Decks by tomoki10
See All by tomoki10
Claude Code の Sandbox 機能を Anthropic Sandbox Runtime(srt) で試そう!/lets-play-anthropic-sandbox-runtime
tomoki10
1
920
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
7
5.4k
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
1.3k
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
1.7k
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
2k
CDK Vibe Coding Fes
tomoki10
1
1.1k
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
1.7k
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
1
4.2k
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
2
5.3k
Other Decks in Technology
See All in Technology
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
【AG-UI × A2UI × MCP Apps】Generative UIをやさしく解説する
nrinetcom
PRO
1
110
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
180
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.2k
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
ラジオの科学
frievea
0
290
関東Kaggler会発表資料
takoi
1
220
Head First モブプログラミング / Head First Mobprogramming
takaking22
9
12k
メルカリのグローバルアプリで挑んだ AlloyDB 運用と課題解決の実践記
hatappi
0
240
オートロックマンションなのに、各部屋は施錠なし!? 攻撃者が組織内ネットワークで大暴れする理由 / The Front Door Is Locked, but the Rooms Are Wide Open: Why Attackers Move Freely Inside Enterprise Networks
nttcom
1
1.6k
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.3k
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
HDC tutorial
michielstock
2
790
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.7k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
480
What's in a price? How to price your products and services
michaelherold
247
13k
Statistics for Hackers
jakevdp
799
230k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Skip the Path - Find Your Career Trail
mkilby
1
180
Rails Girls Zürich Keynote
gr2m
96
14k
Building an army of robots
kneath
306
46k
Transcript
2024/12/17 ϏδωεςΫϊϩδʔ෦ ࠤ౻ஐथ ͋ͷԶୡ͕ເݟͨ αʔόϨεΞʔΩςΫνϟ
ࣗݾհ !UNL !UPNPLJ • ࠤ౻ஐथ • ϏδωεςΫϊϩδʔ෦ • ΞʔΩςΫτνʔϜ •
JAWS-UG CDKࢧ෦ ӡӦ • ͖ͳAWSαʔϏε -BNCEB $%,
ҙɿϙΤϜͰ͢
ਅ໘ʹDSQLղઆ/ͬͯΈͨهࣄ https://dev.classmethod.jp/tags/amazon-aurora-dsql/ DevIOͰطʹAurora DSQLͷهࣄ͕14→17ຊʂਅ໘ͳੋඇͦͪΒͰʂ
2020ͷࣗ • స৬ͯ͠αʔόϨε͍ͬͯͥ͘ʂ • αʔόϨεͱ͍͑API Gateway+Lambda+DynamoDBͩʂ • ΞϓϦ͕ෳࡶʹͳ͖ͬͯͨͷͰDynamoDBͷઃܭݟͥ͢ʂ https://www.slideshare.net/slideshow/db-20190905/171086391
2020ͷࣗ https://www.slideshare.net/slideshow/db-20190905/171086391
DynamoDBઃܭʹڽΓͩͨ͠ࡍͷ͋Δ͋Δ • ΞΫηεύλʔϯΛཧͯ͠GSIઃܭͩʂ • ඇਖ਼نԽͩʂଟରଟͷؔͰྡؔͷ Ϧετઃܭύλʔϯͩʂ • γϯάϧςʔϒϧઃܭͩʂ • ొஃऀϚϧνςʔϒϧઃܭ
• GSIΦʔόʔϩʔσΟϯάͩʂ https://docs.aws.amazon.com/ja_jp/amazondynamodb/ latest/developerguide/bp-gsi-overloading.html
DynamoDBΛ͏߹ʹΑ͋͘ΔΞʔΩςΫνϟ AWS Lambda Amazon DynamoDB Amazon Aurora Amazon OpenSearch Service
AWS Lambda Amazon DynamoDB AWS Lambda Amazon DynamoDB Amazon S3 ɾɾɾ ɾɾɾ ɾɾɾ
VPCϨεͰSQL࣮ߦͰ͖Δ શͳαʔόϨεΞʔΩςΫνϟͰ ͔Γ͘͢γεςϜΊͳ͍͔ͳ
re:Invent 2020
re:Invent 2020 https://dev.classmethod.jp/articles/partiql-for-dynamodb-example/
2020தͷΞοϓσʔτ
re:Invent 2021 https://dev.classmethod.jp/articles/new-amazon-dynamodb-standard-infrequest-access-table-class/
re:Invent 2022
re:Invent 2023
re:Invent 2024
re:Invent 2024
re:Invent 2024
20 DB෦VPCϨεͰRDBMS͕ར༻Մೳͳ ͋ͷԶୡ͕ເݟͨαʔόϨεΞʔΩςΫνϟ͕ͦ͜ʹ͋Δʂ Aurora DSQLͰߟ͑ΒΕΔΞʔΩςΫνϟ Amazon Aurora DSQL AWS Lambda
γϯϓϧʂʂ
21 • PostgresͰ͑Δػೳ͕ϚωʔδυԽ͢ΔͨΊʹ࠹͕Ε͍ͯΔɻ݁ߏ͑ͳ͍ػೳ͕ ͋Δ(Foreign keysVIEWͳͲ)ɻORMʹඞཁͳػೳ͕࠹͕͍ͬͯͯ͑ͳ͔ͬͨΓ • ָ؍తಉ࣮࣌ߦ੍ޚͳ͜ͱΛཧղͯ͠ΞϓϦଆΛઃܭ ҙɿ·ͩ৭ʑ͜Ε͔Β https://dev.classmethod.jp/articles/re- growth-aws-re-invent-2024-awsreinvent-
regrowth_fuk/ https://dev.classmethod.jp/articles/ reinvent-dsql-drizzle-lambda-migration/ https://dev.classmethod.jp/articles/ slug-KDrUpAFyxapQ/
ΈΜͳͰͬͯϑΟʔυόοΫ͠Α͏ʂ
એ ໌CDKࢧ෦ͰࠓͷৼΓฦΓΓ·͢ʂ connpassʹͯʮCDKʯͰݕࡧʂ
એ2 ձࣾͷํͰΠϕϯτΓ·͢ʂ ΦϯϥΠϯɾΦϑϥΠϯ྆ํ͋ΔͷͰੋඇʂ