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
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
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
4
920
機械学習を「社会実装」するということ 2026年夏版 / Social Implementation of Machine Learning June 2026 Version
moepy_stats
6
2.4k
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
340
2026TECHFRESH畢業分享會 - 葬送的通靈師:化系統與用戶雜訊成行動訊號
line_developers_tw
PRO
0
1.1k
攻撃者視点で考えるDetection Engineering
cryptopeg
3
1.8k
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
3
220
Snowflakeと仲良くなる第一歩
coco_se
4
480
【Snowflake Summit 2026 Recap!!】Snowflake Summit Deep Dive: Security & Governance
civitaspo
1
200
あなたの知らないPDFのアクセシビリティ
lycorptech_jp
PRO
0
200
エラーバジェットのアラートのタイミングを考える.pdf
kairim0
0
150
データサイエンスを価値につなげるプロジェクト設計 〜 DS一年目が現場で得た気づき 〜
ysd113
1
250
FinOps × AIエージェントで実現する コストインシデントの自動調査
oasis1994liveforever
0
140
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
410
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
250
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
430
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Designing for Performance
lara
611
70k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Prompt Engineering for Job Search
mfonobong
0
340
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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 築