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
580
あの日俺達が夢見たサーバレスアーキテクチャ/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
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
85
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
350
re:Invent2024のIaC周りのアップデート&セッションの共有/around-re-invent-2024-iac-updates
tomoki10
0
1.1k
Classmethod流のPlatform Engineering / classmethod-platform-engineering-devio2024
tomoki10
1
1.3k
AWS CDK Conference Japan 2024 OP
tomoki10
0
750
TypeScripterに送るIaCの世界への招待〜AWS CDKと共に〜/inviting-typescripters-to-the-world-of-iac-with-aws-cdk
tomoki10
0
760
AWSでもBuildpacksを使ってDockerfileレスに出来るのか!?/can-i-use-buildpacks-to-go-dockerfile-less-in-aws
tomoki10
0
2.8k
ECS on Fargate のセキュリティ対策は何をやるべき?開発者目線で考える/security-for-ecs-on-fargate-secjawsdays
tomoki10
14
11k
AWS CDKの最強の書き方を実践してみる 2023年版/practice-the-strongest-writing-method-of-aws-cdk-2023-edition
tomoki10
4
6.8k
Other Decks in Technology
See All in Technology
Copilotの力を実感!3ヶ月間の生成AI研修の試行錯誤&成功事例をご紹介。果たして得たものとは・・?
ktc_shiori
0
250
AWS re:Invent 2024 ふりかえり勉強会
yhana
0
710
SpiderPlus & Co. エンジニア向け会社紹介資料
spiderplus_cb
0
640
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
160
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
1
610
新しいスケーリング則と学習理論
taiji_suzuki
9
3.8k
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
12 Days of OpenAIから読み解く、生成AI 2025年のトレンド
shunsukeono_am
0
1.1k
Storage Browser for Amazon S3を触ってみた + α
miura55
0
110
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
1.8k
OPENLOGI Company Profile for engineer
hr01
1
18k
OPENLOGI Company Profile
hr01
0
58k
Featured
See All Featured
It's Worth the Effort
3n
183
28k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Making Projects Easy
brettharned
116
6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
200
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
What's in a price? How to price your products and services
michaelherold
244
12k
How to train your dragon (web standard)
notwaldorf
89
5.8k
Navigating Team Friction
lara
183
15k
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 ձࣾͷํͰΠϕϯτΓ·͢ʂ ΦϯϥΠϯɾΦϑϥΠϯ྆ํ͋ΔͷͰੋඇʂ