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
StripeとAWSで作るフルサーバレスな解析サービス構築
Search
shiro seike
PRO
January 26, 2023
Technology
270
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
StripeとAWSで作るフルサーバレスな解析サービス構築
#JP_Stripes
https://jpstripes.connpass.com/event/269778/
shiro seike
PRO
January 26, 2023
More Decks by shiro seike
See All by shiro seike
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
110
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.3k
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
180
Seeing Through Serverless: ADOT と CloudWatch Application Signals で実現する AWS Lambda のオブザーバビリティ(日本語版)/ Seeing Through Serverless (Japanese Edition)
seike460
PRO
1
53
モノレポの型は、そのままつながる 〜Hono RPCで型を素通しする開発体験〜 / Monorepo Types Connect As-Is: Passing Types Through with Hono RPC
seike460
PRO
1
57
OSSのコンセプトを知る / Understanding the Concept Behind an OSS
seike460
PRO
1
60
型も通る、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
720
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
510
実行委員長目線で振り返る JAWS DAYS 2026 / JAWS DAYS 2026 from the Chair's Perspective
seike460
PRO
1
53
Other Decks in Technology
See All in Technology
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
140
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.1k
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
0
430
公共システムAdventCalendar2026
toru_kubota
0
260
Claude Codeで作ったアプリを安全に公開する/Built with Claude Japan 2026
yoshidashingo
0
180
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
820
分析作業をどこまで任せるか自分で決められる AIネイティブBI『Golden Analytics』が 良さげな話 /golden-analytics-is-ai-native-bi
shinyaa31
0
120
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
310
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
520
コードレビューをなくして見えたもの
henteko
0
140
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
1
310
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
4
3.1k
Featured
See All Featured
Abbi's Birthday
coloredviolet
4
11k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
830
A better future with KSS
kneath
240
18k
Statistics for Hackers
jakevdp
799
230k
Color Theory Basics | Prateek | Gurzu
gurzu
1
510
The Curse of the Amulet
leimatthew05
3
17k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Navigating Weather and Climate Data
rabernat
0
580
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Claude Code のすすめ
schroneko
67
230k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Transcript
Stripe AWS JP_Stripes !! 2 0 23 . 1
. 26 @seike 4 60 1
@seike 460 - - @seike 46 0 - Fusic -
/ - / / - - JAWS Days - AWS Dev Day - PHPConference 2
Agenda 1 . 2 . 3 . 4 . x
Stripe 3
01
https://fusic.co.jp/works/ 4 7 x SaaS 5
02
- Windows - - 7 + Stripe
- Windows - Linux - - - - Stripe 8
Email Stripe Payment Links 築 9
10
03
12 Amazon S 3 Stripe Payment Links Stripe Web
hook 築
Demo
None
Web Amazon S 3 15 OrderID UUID -
API OrderID - OrderID - OrderID OrderID Key 築
Event( ) -> Amazon S 3 16 OrderID = OrderID
http 17 Amazon S 3 Stripe Payment Links Payment
Link OrderID -> client_reference_id Email -> prefilled_email Email OrderID
Payment Links 18 Stripe Payment Links 築 client_reference_id = OrderID
prefilled_email = Email Webhook 築
19 Web hook 築 Payload OrderID Email OrderID 築
Stripe Webhook Webhook SDK 20
<?php \Stripe\Stripe::setApiKey( sk_test_hoge … hoge'); $endpoint_secret = whsec_hoge … hoge ; $payload = @file_get_contents('php://input'); $sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE']; $event = null; try { $event = \Stripe\Webhook::constructEvent( $payload, $sig_header, $endpoint_secret ); } catch(\UnexpectedValueException $e) { // Invalid payload http_response_code( 400 ); exit(); } catch(\Stripe\Exception\SignatureVerificationException $e) { // Invalid signature http_response_code( 400 ); exit(); }
04 x Stripe
Web Stripe SaaS 22 300 $1
23
SaaS 24
DB Stripe DB API AWS DB 25 Stripe
Thank You We are Hiring ! https://recruit.fusic.co.jp/
Web 27 + API
28 Amazon S 3 Linux
Payment Links 29 Amazon S 3 Stripe Payment Links
Linux API
Stripe 30 Amazon S 3 Stripe Payment Links Stripe
Payment Links 築 築
31 Amazon S 3 Stripe Payment Links Stripe Web
hook 築 Stripe Payload ( )
32 Amazon S 3 Stripe Payment Links Stripe Web
hook 築