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
StripeとAWSで作るフルサーバレスな解析サービス構築
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
shiro seike
PRO
January 26, 2023
Technology
210
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
Architecture as SteeringOn-Ramp to AI-DLC
seike460
PRO
0
17
Why Continue AWS Community Builders
seike460
PRO
0
71
AWSコミュニティ活動は顧客のクラウド推進に効くのか / Do AWS community activities help customers adopt the cloud?
seike460
PRO
0
180
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
270
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
1.4k
今さら聞けないサーバーレスのいいところ 〜運用から解放される世界を目指して〜 / The Benefits of Serverless You Might Be Too Embarrassed to Ask About Now — Aiming for a World Free from Operational Burdens
seike460
PRO
0
100
AWS Lambda Durable Functions のユースケースを探る / Exploring Use Cases for AWS Lambda Durable Functions
seike460
PRO
0
93
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
520
Team-First Serverless Platform Engineering Approach to PHP Applications with Laravel and Bref
seike460
PRO
1
160
Other Decks in Technology
See All in Technology
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
7
1.9k
2026TECHFRESH畢業分享會 - 葬送的通靈師:化系統與用戶雜訊成行動訊號
line_developers_tw
PRO
0
1.1k
ACE-Step-1.5で見る 音楽生成AIのしくみと“破綻だけ直す”Retake機能の開発【zennfes spring 2026 登壇資料】
personabb
1
480
Kubernetesにおける学習基盤とLLMOpsの概要
ry
1
310
AIソロプレナー時代に2ヶ月で20人増員した事業創造会社の開発組織の話
miyatakoji
0
670
新しいUbuntu/GNOMEが使いたいからXからWaylandへ移行頑張ってるの巻 2026-06-20
nobutomurata
0
120
スキルと MCP ツール、責務をどう分けるか? AI が迷わないインターフェース設計の戦略
cdataj
1
1.1k
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
190
LayerXにおけるセキュリティ管理の現在地と次の一手
tosho
0
200
FinOps × AIエージェントで実現する コストインシデントの自動調査
oasis1994liveforever
0
140
人材育成分科会.pdf
_awache
4
260
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
41
2.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
460
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
530
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
210
30 Presentation Tips
portentint
PRO
1
320
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Visualization
eitanlees
152
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
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 築