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
0
830
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
「AWS Ambassador & AWS Top Engineer re:Cap LT大会」の登壇用資料です。
tomoki10
December 17, 2024
Tweet
Share
More Decks by tomoki10
See All by tomoki10
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
7
3.8k
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
740
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
720
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
1.3k
CDK Vibe Coding Fes
tomoki10
1
970
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
1.3k
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
1
3.3k
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
2
4.3k
DevinはクラウドエンジニアAIになれるのか!? 実践的なガードレール設計/devin-can-become-a-cloud-engineer-ai-practical-guardrail-design
tomoki10
3
4k
Other Decks in Technology
See All in Technology
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
620
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
370
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
220
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
Greatest Disaster Hits in Web Performance
guaca
0
270
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
670
Featured
See All Featured
Music & Morning Musume
bryan
47
7.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Rails Girls Zürich Keynote
gr2m
96
14k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Designing for Timeless Needs
cassininazir
0
130
Tell your own story through comics
letsgokoyo
1
810
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Mind Mapping
helmedeiros
PRO
0
88
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
380
Bash Introduction
62gerente
615
210k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
66
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 ձࣾͷํͰΠϕϯτΓ·͢ʂ ΦϯϥΠϯɾΦϑϥΠϯ྆ํ͋ΔͷͰੋඇʂ