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
230
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
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
95
Seeing Through Serverless: ADOT と CloudWatch Application Signals で実現する AWS Lambda のオブザーバビリティ(日本語版)/ Seeing Through Serverless (Japanese Edition)
seike460
PRO
1
10
モノレポの型は、そのままつながる 〜Hono RPCで型を素通しする開発体験〜 / Monorepo Types Connect As-Is: Passing Types Through with Hono RPC
seike460
PRO
1
9
OSSのコンセプトを知る / Understanding the Concept Behind an OSS
seike460
PRO
1
8
型も通る、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
610
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
440
実行委員長目線で振り返る JAWS DAYS 2026 / JAWS DAYS 2026 from the Chair's Perspective
seike460
PRO
1
13
SLO から始める SRE / Starting SRE with SLO
seike460
PRO
1
86
Architecture as SteeringOn-Ramp to AI-DLC
seike460
PRO
0
50
Other Decks in Technology
See All in Technology
[RSJ26] AnoleVLA: Lightweight Vision-Language-Action Model with Deep State Space Models for Mobile Manipulation
keio_smilab
PRO
0
110
Bet AI Day 2026丨AIによって本質に戻るシステムリスク管理
layerx
PRO
0
580
分割40%キーボードにスムーズに入門するには
hoto17296
1
220
人気商品が「ちゃんと買える」をつくる ー ECの負荷改善
ykagano
1
190
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
160
Kiro5兄弟のいまどきのセキュリティ基礎知識
kentapapa
0
500
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
1
130
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
470
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
120
AIエージェントを雇う前に決める5つのこと
knishioka
1
140
AI時代に、プロダクトの数だけ積み上がる所有コストをどうエンジニアリングするか / Engineering the Cost of Ownership
kzkmaeda
0
200
Continuous Delivery! It is not what you think it is
tdpauw
0
140
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Skip the Path - Find Your Career Trail
mkilby
1
210
Embracing the Ebb and Flow
colly
88
5.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
460
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
Building AI with AI
inesmontani
PRO
1
1.2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
500
Evolving SEO for Evolving Search Engines
ryanjones
0
270
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Making Projects Easy
brettharned
120
6.7k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
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 築