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
PHP Serverless Pattern
Search
shiro seike
PRO
March 07, 2024
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHP Serverless Pattern
PHPerKaigi 2024
https://phperkaigi.jp/2024/
shiro seike
PRO
March 07, 2024
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
120
Seeing Through Serverless: ADOT と CloudWatch Application Signals で実現する AWS Lambda のオブザーバビリティ(日本語版)/ Seeing Through Serverless (Japanese Edition)
seike460
PRO
1
16
モノレポの型は、そのままつながる 〜Hono RPCで型を素通しする開発体験〜 / Monorepo Types Connect As-Is: Passing Types Through with Hono RPC
seike460
PRO
1
15
OSSのコンセプトを知る / Understanding the Concept Behind an OSS
seike460
PRO
1
15
型も通る、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
620
コミュニティの有益性 ~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
16
SLO から始める SRE / Starting SRE with SLO
seike460
PRO
1
93
Architecture as SteeringOn-Ramp to AI-DLC
seike460
PRO
0
54
Other Decks in Programming
See All in Programming
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
270
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.3k
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
990
デプロイ直後のレイテンシスパイクを調べたら、 Railsの仕様にたどり着いた
nhsykym
0
110
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
630
Oxlintはいいぞ(続)
yug1224
1
550
高専キャリア LT 発表内容
crysta1221
6
5.5k
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
1
490
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
360
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.8k
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
1.5k
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
The Curious Case for Waylosing
cassininazir
1
500
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Thoughts on Productivity
jonyablonski
76
5.4k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How STYLIGHT went responsive
nonsquared
100
6.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Product Roadmaps are Hard
iamctodd
55
13k
YesSQL, Process and Tooling at Scale
rocio
174
15k
A Tale of Four Properties
chriscoyier
163
24k
Transcript
PHP Serverless Pattern PHPerKaigi 2 0 24 2 0 24
. 3 . 7 3 . 9 @seike 4 60 1 1 . 2 . PHP Bref Twelve-Factor App 3 . API 4 . Web 5 . 6 . 非 7 . Cron
っ 大 / 用 Cloud Native Computing Foundation CNCF Serverless
Working Group CNCF Serverless Whitepaper v 1 . 0 2018 2 月 CNCF Serverless Whitepaper v 1 . 0 FaaS API BaaS 方 一方 言 行 み 自 用 用 金 用 比 用 用 ✕ 用 長 行 比 行 2
PHP Bref Twelve-Factor App っTwelve-Factor App Twelve-Factor App 方
12 っPHP Bref AWS Bref 用 Bref PHP AWS Lambda 行 Bref 用 用 用 PHP Lambda 行 Bref 行 っPHP Twelve-Factor App Bref 用 PHP AWS Lambda 用 Twelve-Factor App AWS Lambda 用 用 大 GitHub Actions CI/CD 自 行 Twelve-Factor App PHP 3
Twelve-Factor App - 1 I. 1 GitHub 一 II. 示
言 Composer PHP composer.json composer.lock 一 III. AWS Secrets Manager 用 API IV. 用 V. 行 行 3 GitHub Actions Bref PHP 自 GitHub Actions 自 AWS Lambda 行 AWS Lambda 行 VI. 1 行 AWS Lambda 立 4
Twelve-Factor App - 2 VII. AWS Lambda API Gateway Lambda
VIII. 行 AWS Lambda 自 IX. 高 大 AWS Lambda 高 X. / 一 一 Docker 用 AWS Lambda 自 AWS Lambda XI. AWS Lambda Amazon CloudWatch 自 用 ・ XII. 1 行 AWS Lambda 一 行 PHP Bref 用 Twelve-Factor App CloudNative 示 用 示 5
API PHP 用 API Amazon Cloudfront React PHP API API
示 UX DynamoDB 高 DB 6
Web Web AWS Lambda HTML 力 Laravel 一 Laravel public
非 Serverless Framework serverless-lift 用 用 public Amazon CloudFront 行 PHP DB DynamoDB 用 RDB 用 TiDB Serverless DB 入 RDB AWSLambda 用 7
用 8 Web 用 高 用 Cloudfront AWS WAF 用
自 IP 入口 Web AWS Lambda Amazon VPC AWS Lambda 用 Web 比 Amazon RDS 用 TiDB 用 AWS PrivateLink 用 SSL
非 9 Web 用 大 行 API 用 示 生
API AWS Lambda Amazon SQS SQS AWS Lambda UX AWS Lambda 行 Amazon SNS Amazon SES API Gateway 用 WebSocket
Cron 10 行 行 Amazon EventBridge AWS Lambda 自 行
AWS Lambda Amazon SNS Slack AWS Chatbot 用 力 SNS AWS Lambda