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
DINO-EdgeQuery:Edge-First Polygon Decoding for Building Footprint Extraction from Satellite Imagery
lehupa
0
120
When Does a Local Qwen Start to Break
morshoto
0
110
20260903 Tokyo Jazug Night #62 | Azure エンジニアよ、 その環境は本当にセキュアか?
olivia_0707
1
430
Bet AI Day 2026丨AIを「使う」から、AIが「働く」へ ― LayerXが進める「組織AI」の社会実装
layerx
PRO
2
1.5k
AI駆動開発をチームに根付かせる - 「1行も書かない」チームがHarnessを育てた1年 -
kenichirokimura
6
3.6k
Continuous Delivery! It is not what you think it is
tdpauw
0
140
AIエージェントの開発・提供におけるセキュリティリスクの論点と対策
flatt_security
0
230
現場の暗黙知を継承するAIエージェント — 対話から生まれる長期記憶と Skills
atsukish
0
220
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.2k
V8コントリビュート超入門
riyaamemiya
0
110
When Token Pruning is Worse than Random: Understanding Visual Token Information in VLLMs
sansantech
PRO
0
230
AI時代に、プロダクトの数だけ積み上がる所有コストをどうエンジニアリングするか / Engineering the Cost of Ownership
kzkmaeda
0
220
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
220
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
490
The Pragmatic Product Professional
lauravandoore
37
7.4k
Un-Boring Meetings
codingconduct
0
400
How to build a perfect <img>
jonoalderson
1
5.9k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The SEO Collaboration Effect
kristinabergwall1
1
540
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 築