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
0
94
PHP Serverless Pattern
PHPerKaigi 2024
https://phperkaigi.jp/2024/
shiro seike
PRO
March 07, 2024
Tweet
Share
More Decks by shiro seike
See All by shiro seike
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
850
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
420
地方のPHPerもクラウドを使う理由 ~コストの最適化とチームに向き合う~ / Why even local PHPers use the cloud ~optimize costs and face the team
seike460
PRO
0
71
OpenTelemetryで始めるベンダーフリーなobservability / Vendor-free observability starting with OpenTelemetry
seike460
PRO
0
200
AIコーディングの本質は“コード“ではなく“構造“だった / The essence of AI coding is not “code” but "structure
seike460
PRO
2
1.2k
OpenTelemetryを活用したObservability入門 / Introduction to Observability with OpenTelemetry
seike460
PRO
1
740
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
390
実行委員長が振り返るBacklogWorldの裏側と運営Backlog術 / The chairperson of the executive committee looks back on the backstage of BacklogWorld and the art of managing Backlog.
seike460
PRO
0
12
Amazon Aurora DSQLパフォーマンスチェック / Amazon Aurora DSQL Performance Check
seike460
PRO
0
22
Other Decks in Programming
See All in Programming
RDoc meets YARD
okuramasafumi
4
170
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
260
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
6
2.4k
AWS発のAIエディタKiroを使ってみた
iriikeita
1
180
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
390
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
140
Deep Dive into Kotlin Flow
jmatsu
1
310
Namespace and Its Future
tagomoris
6
700
AIコーディングAgentとの向き合い方
eycjur
0
270
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
310
print("Hello, World")
eddie
2
530
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Being A Developer After 40
akosma
90
590k
Making Projects Easy
brettharned
117
6.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
How to train your dragon (web standard)
notwaldorf
96
6.2k
The World Runs on Bad Software
bkeepers
PRO
70
11k
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