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
Bref Cloudに入門する / Getting Started with Bref Cloud
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
デロ
March 26, 2025
Programming
60
0
Share
Bref Cloudに入門する / Getting Started with Bref Cloud
デロ
March 26, 2025
More Decks by デロ
See All by デロ
AIと二人三脚で OSSにコントリビューションしてみた/I tried contributing to OSS working hand-in-hand with AI
dero1to
0
5
リリースされたばかりのLaravel Cloudを触ってみた / try-the-just-released-Laravel-cloud
dero1to
0
94
PHPを使ってFFmpegに入門してみる / Introduction to FFmpeg using PHP
dero1to
0
57
ISUCON、今年も参加してみた / ISUCON, I challenged it again this year.
dero1to
0
490
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
2
280
JetBrains Plugins
dero1to
0
100
私が技術イベントで 配信をする理由 / Why I live-stream technical events
dero1to
0
720
技術イベントをもっと低遅延でお届けする技術
dero1to
0
120
JetBrainsIDEに入門してみた
dero1to
0
62
Other Decks in Programming
See All in Programming
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
0
240
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
180
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
250
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
290
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
210
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
240
関係性から理解する"同一性"の型用語たち
pvcresin
2
620
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
1k
AIエージェントと協働するCLI開発 — BunとOpenClawで学んだこと
yoshikouki
1
230
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Everyday Curiosity
cassininazir
0
220
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
It's Worth the Effort
3n
188
29k
Automating Front-end Workflow
addyosmani
1370
210k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Why Our Code Smells
bkeepers
PRO
340
58k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Being A Developer After 40
akosma
91
590k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Transcript
Bref Cloudに入門する PHP勉強会@東京#174 デロ (@dero1to)
@dero1to ▪ 所属 株式会社キュービック Webエンジニア 新卒3年目 ▪ 技術 Ruby、Rails、PHP、Laravel ▪
趣味 ドライブ、ダーツ、アニメ、自宅鯖 カンファレンスのスタッフ、イベントの配信 ▪ 自称 カンファレンスジャンキー デロ ▪ 運営 2 ▪ 所属
Bref 知ってますか? 3
4
Brefとは PHPアプリケーションを AWS Lambdaなどのサーバーレス環境で動作させるためのツール Brefは、AWS Lambdaが標準でPHPをサポートしていない問題を解決 Serverless FrameworkやAWS CDKと組み合わせて 簡単にデプロイできる
5
Brefとは AWS LambdaにはPHP Runtimeがない 6
Brefとは PHP Runtimeがないので、 Amazon LinuxをベースのRuntimeとして、 その上にPHP 8.4 fpm などを構築したものを Brefが提供してくれている
7 Amazon Linux php-84-fpm Lambda Layer Lambda Runtime Lambda
Brefのデプロイ 8 or Serverless Framework AWS CDK
便利なツールなんですが。。 9
Bref Cloud 10 NEW
Bref Cloud 11 3月21日にリリース
Bref Cloud 12 3月21日にリリース ・AWS 認証情報の処理 ・複数の AWS アカウント ・ダッシュボード
・ログ ・メトリック
Brefの利用開始までが わかりやすくなった 13
これまでのBref ①Serverless CLIを入れる ②作成したアプリケーションにBrefのパッケージを入れる ②AWS CLIを入れる ③AWS Access Keyを発行する(ロールorユーザーを作成している前提) ④AWS
CLIのconfigにAccess Keyを設定 ⑤serverless.ymlを作成 … 14
これまでのBref ①Serverless CLIを入れる ②作成したアプリケーションにBrefのパッケージを入れる ②AWS CLIを入れる ③AWS Access Keyを発行する(ロールorユーザーを作成している前提) ④AWS
CLIのconfigにAccess Keyを設定 ⑤serverless.ymlを作成 … 15
Bref使いたいだけなのに。。 16
Bref Cloudになると。。 17
Bref Cloud ①Bref Cloudアカウントを作る ②CfnでBref CloudとAWSアカウントの認証情報を作る ③作成したアプリケーションにBrefのパッケージを入れる ④serverless.ymlを作成 ⑤デプロイ! 18
Bref Cloud ①Bref Cloudアカウントを作る ②CfnでBref CloudとAWSアカウントの認証情報を作る ③作成したアプリケーションにBrefのパッケージを入れる ④serverless.ymlを作成 ⑤デプロイ! 19
AWSの操作はここだけ!
やってみよう (一部画像) 20
21
22
23
24
25
26
27
28 AWSアカウントに 自分で名前をつける→ Cfnの出力に記載された RoleARN→
ここからは実際にデモ 29
Laravel Symfony などにも対応している 30
が、 31
時間が足りず うまく動きませんでした 32
試してみてね! 33