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
210
あの日俺達が夢見たサーバレスアーキテクチャ/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
re:Invent2024のIaC周りのアップデート&セッションの共有/around-re-invent-2024-iac-updates
tomoki10
0
990
Classmethod流のPlatform Engineering / classmethod-platform-engineering-devio2024
tomoki10
1
1.3k
AWS CDK Conference Japan 2024 OP
tomoki10
0
690
TypeScripterに送るIaCの世界への招待〜AWS CDKと共に〜/inviting-typescripters-to-the-world-of-iac-with-aws-cdk
tomoki10
0
730
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.7k
CDK支部のこれまでとこれから / jaws-ug-cdk-past-and-future
tomoki10
1
870
AWS CDKでECS on FargateのCI/CDを実現する際の理想と現実 / ideal-and-reality-when-implementing-cicd-for-ecs-on-fargate-with-aws-cdk
tomoki10
21
27k
Other Decks in Technology
See All in Technology
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
2
1k
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
130
Kubeshark で Kubernetes の Traffic を眺めてみよう/Let's Look at k8s Traffic with Kubeshark
kota2and3kan
3
350
新機能Amazon GuardDuty Extended Threat Detectionはネ申って話
cmusudakeisuke
0
460
GPTsで模擬問題生成して資格対策してみる
hsg_alf
2
120
テーブルが200以上あるSaaSでRSCとGraphQLを併用する理由
msickpaler
2
1.2k
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
2
140
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
3
400
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
220
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
120
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
160
IVRyエンジニア忘年LT大会2024 クリティカルユーザージャーニーの整理
abnoumaru
0
160
Featured
See All Featured
Building Applications with DynamoDB
mza
91
6.1k
Optimising Largest Contentful Paint
csswizardry
33
3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
500
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How GitHub (no longer) Works
holman
311
140k
The Cost Of JavaScript in 2023
addyosmani
45
6.9k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
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 ձࣾͷํͰΠϕϯτΓ·͢ʂ ΦϯϥΠϯɾΦϑϥΠϯ྆ํ͋ΔͷͰੋඇʂ