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
0
35
Bref Cloudに入門する / Getting Started with Bref Cloud
デロ
March 26, 2025
Tweet
Share
More Decks by デロ
See All by デロ
リリースされたばかりのLaravel Cloudを触ってみた / try-the-just-released-Laravel-cloud
dero1to
0
63
PHPを使ってFFmpegに入門してみる / Introduction to FFmpeg using PHP
dero1to
0
22
ISUCON、今年も参加してみた / ISUCON, I challenged it again this year.
dero1to
0
420
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
2
250
JetBrains Plugins
dero1to
0
81
私が技術イベントで 配信をする理由 / Why I live-stream technical events
dero1to
0
590
技術イベントをもっと低遅延でお届けする技術
dero1to
0
95
JetBrainsIDEに入門してみた
dero1to
0
39
技術カンファレンスの配信をイチからやってみた!
dero1to
0
380
Other Decks in Programming
See All in Programming
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
240
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
12
6.4k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Implementation Patterns
denyspoltorak
0
280
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
150
CSC307 Lecture 02
javiergs
PRO
1
770
AgentCoreとHuman in the Loop
har1101
5
220
CSC307 Lecture 09
javiergs
PRO
1
810
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
390
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
180
CSC307 Lecture 05
javiergs
PRO
0
490
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Fireside Chat
paigeccino
41
3.8k
Chasing Engaging Ingredients in Design
codingconduct
0
110
GraphQLとの向き合い方2022年版
quramy
50
14k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
71
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
62
Code Review Best Practice
trishagee
74
20k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
230
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.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