Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
事例から見るサーバーレスの効果 / Serverless Effectiveness as S...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
shiro seike
PRO
May 25, 2024
Programming
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
事例から見るサーバーレスの効果 / Serverless Effectiveness as Seen in Case Studies
Serverless Meetup Osaka #01:begin
https://serverless.connpass.com/event/313724/
shiro seike
PRO
May 25, 2024
More Decks by shiro seike
See All by shiro seike
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
960
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
170
Seeing Through Serverless: ADOT と CloudWatch Application Signals で実現する AWS Lambda のオブザーバビリティ(日本語版)/ Seeing Through Serverless (Japanese Edition)
seike460
PRO
1
40
モノレポの型は、そのままつながる 〜Hono RPCで型を素通しする開発体験〜 / Monorepo Types Connect As-Is: Passing Types Through with Hono RPC
seike460
PRO
1
50
OSSのコンセプトを知る / Understanding the Concept Behind an OSS
seike460
PRO
1
45
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
680
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
490
実行委員長目線で振り返る JAWS DAYS 2026 / JAWS DAYS 2026 from the Chair's Perspective
seike460
PRO
1
42
SLO から始める SRE / Starting SRE with SLO
seike460
PRO
1
120
Other Decks in Programming
See All in Programming
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.2k
SREの越境 / SRE Collaboration
y0hgi
2
300
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
650
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.3k
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
580
phperだってパンチカードでコーディングしたい
o0h
PRO
0
260
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
200
最近”作らせてる” ローカルAIアプリの話
akit37
0
440
Jetpack Compose Mechanisms
skydoves
2
690
ジョジョの世界をXRで再現する
mofurune
0
150
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
330
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The browser strikes back
jonoalderson
0
1.8k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
610
KATA
mclloyd
PRO
35
16k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Scaling GitHub
holman
464
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Designing Experiences People Love
moore
143
24k
Transcript
©Fusic Co., Ltd. 1 ࣄྫ͔ΒΈΔαʔ バ ʔϨεͷޮՌ 2024.05.25 @seike460 Serverless
Meetup Osaka #01:begin
©Fusic Co., Ltd. 2 ਗ਼Ո ࢙ @seike460 AWS Community Builder
Serverless Serverless Meetup Fukuoka ίϛϡχςΟ Fukuoka.php Fukuoka.go JAWS-UG Fukuoka Cloudflare Meetup Fukuoka JP_Stripes Fukuoka ࣗݾհ ͡Ίʹ גࣜձࣾFusic ϓϦϯγύϧΤϯδχΞ/ΤόϯδΣϦετ
©Fusic Co., Ltd. 3 CONTENTS ࣍ 1. αʔόʔϨεΒ͠͞ΛৼΓฦΔ 2. ࣄྫ1ɿΞΫηεͷஅ
3. ࣄྫ2ɿׂΛ͚ͨαΠτ 4. ࣄྫ3ɿSaaSͱͷ࿈ܞ 5. ࣄྫ͔ΒৼΓฦΔαʔόʔϨε 6. ·ͱΊ
©Fusic Co., Ltd. 4 αʔόʔϨεΒ͠͞ΛৼΓฦΔ 1
©Fusic Co., Ltd. 5 αʔόʔϨεͱͳΜͳͷ͔ 言 Cloud Native Computing Foundation
CNCF Serverless Whitepaper v 1 . 0 行 https://github.com/cncf/wg-serverless/tree/master/whitepapers/serverless-overview
©Fusic Co., Ltd. 6 αʔόʔϨεͷ֓೦ΛऔΓೖΕΔϝϦοτଟ 入 入 入 大 小
用 行
©Fusic Co., Ltd. 7 αʔόϨεΒ͠͞ αʔόʔϨεͱ֓೦Ͱ͋Γʮ͜ͷαʔϏεશʹαʔόʔϨεͰ͋Δʯͱ அݴͰ͖ΔαʔϏε࣮͍͠ͷͰͳ͍͔ͱߟ͍͑ͯ·͢ αʔόʔϨεͰ͋ΔɺαʔόʔϨεͰͳ͍ͱ͍͏ٞࣗମɺ ࣮ߦ͏ඞཁ͕ͳ͍ͷ͔͠Εͳ͍ େࣄͳͷαʔόʔϨεͱ͍͏֓೦ͷཧղΛਂΊ
ʮαʔόʔϨεΒ͠͞ͷਖ਼ମΛ௫Ή͜ͱʯ
©Fusic Co., Ltd. 8 αʔόʔϨεΒ͠͞ͷਖ਼ମʁ αʔόʔϨεΩϟογϡͰ༗໊ͳmomentoʹΑΔදݱ 1. ϓϩϏδϣϯෆཁɺཧෆཁ 2. ࠷ྉۚͷͳ͍͚ͬͨͩͷࢧ͍
3. 1 ͭͷ API ݺͼग़͠Ͱར༻Մೳ 4. ܭըఀࢭ͕ͳ͍ 5. Πϯελϯε͕ແ͍ αʔόʔϨεͷಛଊ͓͑ͯΓڌΓॴʹͯ͠ྑ͍ͱࢥ͏͕ ݸਓతͳҙࣝͱͯ͠ʮ͑ͩͱߟ͑Δඞཁͳ͍ʯ αʔόʔϨεΒ͍͠αʔϏεΞοϓσʔτ͞Ε͍ͯ͘͠ɺ ৽͍֓͠೦ͷՃʹΑΓαʔόϨεΒ͠͞มΘ͍ͬͯ͘
©Fusic Co., Ltd. 9 αʔόʔϨεΒ͋͘͠Ζ͏ͱ͢Δ ͕ͯ͢αʔόʔϨεͰͳͯ͘ྑ͍ αʔόʔϨεͷ֓೦ΛऔΓೖΕΔ͜ͱͰ՝ղܾ͕ग़དྷͨɺ ՝Λղܾ͍ͯͨ͠ࣄྫʹ͍͓ͭͯ͠Α͏ͱࢥ͍·͢
©Fusic Co., Ltd. 10 ࣄྫ1ɿΞΫηεͷஅ 2
©Fusic Co., Ltd. 11 ඇৗʹγϯϓϧͳWebγεςϜ 一見 Web 用 一方 日
CPU EC 2 + RDS 行
©Fusic Co., Ltd. 12 ࿈ܞઌ͔ΒใΛड৴ͯ͠දࣔ 示 行 行 日 自
API 口 EC 2
©Fusic Co., Ltd. 13 αʔόʔϨεͳAPIΛՃ AWS API Gateway -> AWS
Lambda -> S 3 言 JSON EC 2 S 3 用 行
©Fusic Co., Ltd. 14 ࿈ܞݩͷϦϓϨʔε 言 用 (200 )
©Fusic Co., Ltd. 15 ࣄྫ2ɿׂΛ͚ͨαΠτ 3
©Fusic Co., Ltd. 16 ղੳج൫ͱͯ͠ͷαʔόʔϨεαΠτ CPU
©Fusic Co., Ltd. 17 αʔόʔϨεαΠτͱͯ͠ͷׂ AWS Amplify 用 GraphQL 用
大 Amazon S 3 AWS Elemental MediaConvert 用 Web 行
©Fusic Co., Ltd. 18 ղੳج൫ͱͯ͠ͷׂ AWS Batch 行 大 工
行 Amazon ECR AWS Batch AWS Step Functions
©Fusic Co., Ltd. 19 αʔόʔϨεͳϫʔΫϑϩʔ AWS Lambda AWS Step Functions
AWS Batch 用 Web 用 示 JSON 用 一 AWS Step Functions
©Fusic Co., Ltd. 20 ඞཁͳ࣌ʹඞཁͳ͚ͩϦιʔεར༻ CPU Web CPU 用 用
大
©Fusic Co., Ltd. 21 ࣄྫ3ɿSaaSͱͷ࿈ܞ 4
©Fusic Co., Ltd. 22 SaaSͱΈ߹ΘͤͨαʔόʔϨεαΠτ 入力 行 金 入 Stripe
行
©Fusic Co., Ltd. 23 αʔόʔϨεαΠτͱͯ͠ͷׂ 入力 行 JSON Amazon S
3
©Fusic Co., Ltd. 24 ղੳج൫ͱͯ͠ͷׂ 行 行 JSON 行 入力
©Fusic Co., Ltd. 25 ՝ۚج൫ͱͯ͠ͷׂ URL Stripe Checkout 用 金
金 Web Hook 築 行 金 築 URL
©Fusic Co., Ltd. 26 SaaSΛ͢͜ͱͰػೳՃΛߦ͏ 金 行 Stripe 課 ⾒
SaaS 行 築 自 入
©Fusic Co., Ltd. 27 ࣄྫ͔ΒৼΓฦΔαʔόʔϨε 5
©Fusic Co., Ltd. 28 αʔόϨεΒ͠͞ΛࣗʹऔΓೖΕΔ ʮαʔόʔϨεͰ͋Δ͔Β͍͢͝ʯͰͳͯͨ͘ΓલʹαʔόʔϨεΛѻ͖ͬͯͨ݁Ռ αʔόʔϨεͱ͍͏֓೦Λࣗࣗͷதʹਁಁ͍͖ͯ͠ɺ ͦͷ݁Ռ͍ͭ͘ͷతɺ՝ղܾΛୡग़དྷͨͱࢥ͍ͬͯ·͢ େࣄͳͷαʔόʔϨεͱ͍͏֓೦ͷཧղΛਂΊ ʮαʔόʔϨεΒ͠͞ͷਖ਼ମΛ௫ΈɺͦΕΛతʹ߹Θͤͯࣗવʹར༻͢Δࣄʯ
©Fusic Co., Ltd. 29 Serverless Land ͠ࠓͷ༰ͰͨΓલʹαʔόʔϨεΛѻ͍ͬͯ͘ࣄʹڵຯ͕ग़͖ͯͨͷͳΒ ·ͣͲΜͳύλʔϯ͕͋Δͷ͔ʮServerless LandʯΛݟͯΈΔ͜ͱΦεεϝͰ͢ https://serverlessland.com/
AWSͷαʔόʔϨεʹݶͬͨʹͳͬͯ͠·͍·͕͢ɺ༷ʑͳύλʔϯΛ֬ೝͰ͖·͢
©Fusic Co., Ltd. 30 νʔϜʹద༻͢Δॏཁੑ ͦͷޙαʔόʔϨεΒ͠͞Λҙࣝͯ͠ ༷ʑͳҊ݅ʹऔΓΜͰ͍·͢ ࠓճল͖·͕͢ɺBrefͱ͍͏OSSΛར༻ͯ͠ PHP ͷ
Laravel ͱ͍͏Web FrameworkΛऔΓೖΕ PHPνʔϜʹαʔόʔϨεΛద༻͢Δ׆ಈ͍ͯ͠·͢ αʔόʔϨεͷ੍ͱ͖߹͍ͳ͕Βɺ ͋ΔҙຯҰ෦ϞϊϦεԽͨ͠LambdaΛऔΓೖΕΔ ΞʔΩςΫνϟ࣮ફ ͍͖ͳΓαʔόʔϨεͰϚΠΫϩαʔϏεͰͳͯ͘ྑ͍
©Fusic Co., Ltd. 31 Monolith First Serverless Development ࢀߟURL :
https://speakerdeck.com/_kensh/monolith-first-serverless-development?slide=55 @_kensh ʮMonolith First Serverless Developmentʯ
©Fusic Co., Ltd. 32 αʔυύʔςΟΛར༻͢Δ͜ͱͰSQLࣗવʹར༻Մೳ - Supabase - SupabaseΦʔϓϯιʔεͷFirebaseସͱͯ͠ઃܭ͞Εͨ BaaSϓϥοτϑΥʔϜ
PostgreSQLΛج൫ͱͨ͠ߴੑೳͳϦϨʔγϣφϧσʔλϕʔεΛఏڙ - TiDB Serverless - TiDB ServerlessPingCAPʹΑͬͯ։ൃ͞Εͨ ΦʔϓϯιʔεͷࢄܕSQLσʔλϕʔεͰ͋ΔTiDBͷServerlessόʔδϣϯ MySQLͱޓੑͷ͋ΔϦϨʔγϣφϧσʔλϕʔεΛఏڙ
©Fusic Co., Ltd. 33 ΫϥυωΠςΟϒͳࠓɺαʔόʔϨεͨΓલʹͦ͜ʹ • ׂͷ୲ΛΧδϡΞϧʹߦ͏͜ͱ͕ग़དྷΔ • ׂΛ୲ͤ͞Δࣄ͕ग़དྷΔͷͰʮతʹண͕ग़དྷΔʯ •
తʹ߹ΘͤͨదͳߏΛఏڙՄೳͳ࣌ʹ αʔόʔϨεͰ͋Δ͜ͱ͕ॏཁͰͳͯ͘ తʹॊೈʹɺదʹϦιʔεΛஔग़དྷΔ͜ͱ͕αʔόʔϨεͷྑ͞
©Fusic Co., Ltd. 34 ·ͱΊ 5
©Fusic Co., Ltd. 35 ·ͱΊ αʔόʔϨεαʔόཧΛඞཁͱ͠ͳ͍ΞϓϦέʔγϣϯͷߏஙͱ࣮ߦͷʮ֓೦ʯ Point 01 ׂΛஅͤ͞Δࣄ͕ग़དྷΔͨΊɺඞཁͳڧΛεέʔϥϒϧʹఏڙ͢Δ͜ͱग़དྷΔ Point
02 ׂΛஅͤ͞Δࣄ͕ग़དྷΔͨΊɺʮతʹ·͙ͬ͢ʯΞʔΩςΫνϟΛΉ͜ͱ͕ग़དྷΔ Point 03 αʔόʔϨεʹ͢Δࣄ͕తͰͳ͍ɺతʹண͢ΔͨΊʹʮαʔόʔϨεΒ͠͞ʯͷಋೖΛ Point 04
©Fusic Co., Ltd. 36 Thank You We are Hiring! https://recruit.fusic.co.jp/
͝ਗ਼ௌ͍͖ͨͩ͋Γ͕ͱ͏͍͟͝·ͨ͠