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
デロ
March 26, 2025
Programming
57
0
Share
Bref Cloudに入門する / Getting Started with Bref Cloud
デロ
March 26, 2025
More Decks by デロ
See All by デロ
リリースされたばかりのLaravel Cloudを触ってみた / try-the-just-released-Laravel-cloud
dero1to
0
89
PHPを使ってFFmpegに入門してみる / Introduction to FFmpeg using PHP
dero1to
0
44
ISUCON、今年も参加してみた / ISUCON, I challenged it again this year.
dero1to
0
480
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
2
270
JetBrains Plugins
dero1to
0
97
私が技術イベントで 配信をする理由 / Why I live-stream technical events
dero1to
0
700
技術イベントをもっと低遅延でお届けする技術
dero1to
0
110
JetBrainsIDEに入門してみた
dero1to
0
58
技術カンファレンスの配信をイチからやってみた!
dero1to
0
440
Other Decks in Programming
See All in Programming
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
320
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
270
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
110
Explore CoroutineScope
tomoeng11
0
140
JOAI2026 1st solution - heron0519 -
heron0519
0
160
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
180
Lightning-Fast Method Calls with Ruby 4.1 ZJIT / RubyKaigi 2026
k0kubun
3
2k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
300
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
530
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
330
Programming with a DJ Controller — not vibe coding
m_seki
3
700
AIと共に生きる技術選定 2026
sgash708
0
120
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
460
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
760
From π to Pie charts
rasagy
0
180
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
200
Crafting Experiences
bethany
1
130
Embracing the Ebb and Flow
colly
88
5k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
180
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