Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Bref Cloudに入門する / Getting Started with Bref Cloud
Search
デロ
March 26, 2025
Programming
78
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
31
リリースされたばかりのLaravel Cloudを触ってみた / try-the-just-released-Laravel-cloud
dero1to
0
120
PHPを使ってFFmpegに入門してみる / Introduction to FFmpeg using PHP
dero1to
0
86
ISUCON、今年も参加してみた / ISUCON, I challenged it again this year.
dero1to
0
980
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
2
300
JetBrains Plugins
dero1to
0
120
私が技術イベントで 配信をする理由 / Why I live-stream technical events
dero1to
0
1.7k
技術イベントをもっと低遅延でお届けする技術
dero1to
0
140
JetBrainsIDEに入門してみた
dero1to
0
87
Other Decks in Programming
See All in Programming
AWSに止められる覚悟してますか?
morizo_1984
2
510
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
270
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
740
ジョジョの世界をXRで再現する
mofurune
0
110
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
340
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
350
Heart of Swift Concurrency
koher
0
1.2k
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
20
21k
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.4k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
7
1.8k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Marketing to machines
jonoalderson
1
5.8k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
540
Documentation Writing (for coders)
carmenintech
77
5.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
360
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
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