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
Wrangler って何だ?-ちょっとよく分からないのでCloudflareのCLIツールを深...
Search
Kento Suzuki
March 21, 2023
Technology
3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Wrangler って何だ?-ちょっとよく分からないのでCloudflareのCLIツールを深掘りしてみる-
「Cloudflare Meetup Osaka(仮) Kick Off!」
https://cfm-cts.connpass.com/event/273217/
登壇資料
Kento Suzuki
March 21, 2023
More Decks by Kento Suzuki
See All by Kento Suzuki
こんなに安く なっちゃっていいの? コスト最適化の進め方と、課金リスクの回避
kentosuzuki
0
110
Netflix の裏側に何があるのか...その謎を解明すべく、我々は Amazon の奥地へと向かった
kentosuzuki
0
130
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
330
バッドプラクティスから学ぶハワイアン航空で行く re:Invent
kentosuzuki
0
570
上流工程に挑戦!「俺の考えた最強サーバレス構成」が一瞬で敗北した件
kentosuzuki
2
440
S3から始めるAWS 〜S3の簡単なユースケースの紹介〜
kentosuzuki
1
850
AWS のポリシー言語 “Cedar” で実現するアクセス制御
kentosuzuki
0
550
探せぇ!お薦めAWSセキュリティワークショップ!!〜 怒涛のワークショップ 48 連戦 〜
kentosuzuki
1
860
SIEM って何?〜 Amazon OpenSearch で始める SIEM 〜
kentosuzuki
0
1.2k
Other Decks in Technology
See All in Technology
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
1.1k
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
110
Running Kotlin + Quarkus with Lambda
nealle
1
440
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
360
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
1
140
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
130
今こそ知りたいAmplifyGen2
mkdev10
2
160
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.9k
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.3k
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
5.8k
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.7k
Loop Engineering これくらいでいい
mikanichinose
0
220
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Optimising Largest Contentful Paint
csswizardry
37
4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Building the Perfect Custom Keyboard
takai
2
900
The SEO identity crisis: Don't let AI make you average
varn
0
590
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
880
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Transcript
Wrangler って何だ? -ちょっとよく分からないのでCloudflareのCLIツールを深掘りしてみる- 2023-03-20 Cloudflare Meetup Osaka(仮) Kick Off!
鈴⽊健⽃ 所属 アイレット株式会社(東京オフィス) お仕事 AWSの構築、運⽤保守に従事 経歴 • 新卒 3 年⽬(エンジニア歴
= 社会⼈歴) Cloudflare歴 • LTのために初めて触る • Wrangler まじ分からん • Cloudflare Meetupの札幌、福岡参加 @k_suzuki_pnx 自己紹介
• Cloudflare Workersを操作するためのCLIツール → CDNやドメインの操作をするのは flarectl • ローカルマシンでWorkersを実⾏できる • 構成ファイル
→ wrangler.toml • Node.jsとnpmが必要 Wranglerとは?
• init wrangler.tomlを含む構成ファイル(プロジェクト)を作成する • login Cloudflareアカウントに対してWranglerを認証する • dev ローカルサーバでWorkersを開発できる •
publish WorkersをCloudflareに公開する • delete CloudflareからWokersを削除する 主要なWranglerのコマンド
Workers以外のCloudflareサービスを操作するには「flarectl」を使う 対応している⾔語 • python • Go • node.js (2023/3時点でGoだけv1.0がリリースされておらず安定していない) flarectl
• APIで操作することも可能 • R2というオブジェクトストレージサービスはAWS CLIで操作することが可能 その他 ドキュメントが⾒やすい
イメージ(AWSで例える) AWS SDK flarectl Amplify CLI AWS CLI Wrangler なし
APIで頑張れ ※特定サービス専⽤CLI という⽂脈
1. Wrangler commands https://developers.cloudflare.com/workers/wrangler/commands/ 2. python-cloudflare https://blog.cloudflare.com/python-cloudflare/ 3. APIドキュメント https://developers.cloudflare.com/api/
参考