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
950
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
670
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
7
5.2k
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
1.2k
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
1.5k
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
1.9k
CDK Vibe Coding Fes
tomoki10
1
1.1k
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
1.5k
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
1
4k
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
2
5.1k
Other Decks in Technology
See All in Technology
いまさら聞けない「仕様駆動開発入門」 〜AI活用時代の開発プロセスを考える〜
findy_eventslides
2
190
クレデンシャル流出 ― 攻撃 3 時間 vs 復旧 10 時間。この非対称性にどう備えるか
kazzpapa3
3
540
Microsoft のサポートとフィードバック総まとめ
murachiakira
PRO
0
110
AIチャットの改善から見えた、良いAI体験とは / What Constitutes a Good AI Experience: Insights from Improving AI Chat
kubode
0
120
フィジカル版Github Onshapeの紹介
shiba_8ro
0
320
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
480
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
0
180
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
260
AI-DLCを “そのまま導入しなかった”話 ~組織に合わせてアジャストした 私たちの実践共有~
hiroramos4
PRO
1
410
Oracle Cloud Infrastructure:2026年6月度サービス・アップデート
oracle4engineer
PRO
0
280
自宅LLMの話
jacopen
1
710
Bucharest Tech Week 2026 - Guardians of the Cloud-Native Galaxy
edeandrea
PRO
0
130
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
170
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
210
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
Accessibility Awareness
sabderemane
1
140
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
What's in a price? How to price your products and services
michaelherold
247
13k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
310
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Claude Code のすすめ
schroneko
67
230k
Optimizing for Happiness
mojombo
378
71k
Crafting Experiences
bethany
1
190
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 ձࣾͷํͰΠϕϯτΓ·͢ʂ ΦϯϥΠϯɾΦϑϥΠϯ྆ํ͋ΔͷͰੋඇʂ