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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
100
Netflix の裏側に何があるのか...その謎を解明すべく、我々は Amazon の奥地へと向かった
kentosuzuki
0
120
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
320
バッドプラクティスから学ぶハワイアン航空で行く re:Invent
kentosuzuki
0
570
上流工程に挑戦!「俺の考えた最強サーバレス構成」が一瞬で敗北した件
kentosuzuki
2
430
S3から始めるAWS 〜S3の簡単なユースケースの紹介〜
kentosuzuki
1
850
AWS のポリシー言語 “Cedar” で実現するアクセス制御
kentosuzuki
0
520
探せぇ!お薦めAWSセキュリティワークショップ!!〜 怒涛のワークショップ 48 連戦 〜
kentosuzuki
1
850
SIEM って何?〜 Amazon OpenSearch で始める SIEM 〜
kentosuzuki
0
1.2k
Other Decks in Technology
See All in Technology
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
30
18k
beyond jj: config & tools ecosystem
indirect
0
5.6k
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
140
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
2.3k
CLIライブラリ開発を支える技術
htnabe
0
140
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.5k
AI coding 整合正規方法
philipz
0
430
おい、エージェントを使って終わらせろ
nwiizo
2
830
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
560
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
220
2026_devsumi_ozono.pdf
o3
3
550
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Unsuck your backbone
ammeep
672
58k
Documentation Writing (for coders)
carmenintech
77
5.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Building Applications with DynamoDB
mza
96
7.2k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Embracing the Ebb and Flow
colly
88
5.2k
エンジニアに許された特別な時間の終わり
watany
109
250k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Google's AI Overviews - The New Search
badams
0
1.6k
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/
参考