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
azure入門(Azure Resource Manager)
Search
Yuta Kujirai
January 17, 2019
Technology
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
azure入門(Azure Resource Manager)
Yuta Kujirai
January 17, 2019
More Decks by Yuta Kujirai
See All by Yuta Kujirai
Azure入門(AzureBlobStarage)
yuta0910
0
180
Azure入門(Azure Virtual Machine、Azure App Service)
yuta0910
0
220
Other Decks in Technology
See All in Technology
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
17
6.6k
初めてのGitHub Actions / GitHub Actions at First
tooppoo
0
150
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
480
ホームラボ紹介
y_sera15
0
110
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
520
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
540
サイバー捜査員研修(前半)
nomizone
1
1.9k
SmartHR Engineering Team Deck
smarthr
0
720
ラジオの科学
frievea
0
280
変化の早いClaude Codeを 書籍に落とし込む
oikon48
7
1.3k
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
120
Data Hubグループ 紹介資料
sansan33
PRO
0
3.1k
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
The Curious Case for Waylosing
cassininazir
1
450
Evolving SEO for Evolving Search Engines
ryanjones
0
250
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
780
Context Engineering - Making Every Token Count
addyosmani
9
1k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
350
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
A Tale of Four Properties
chriscoyier
163
24k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
490
We Have a Design System, Now What?
morganepeng
55
8.3k
Transcript
Azure入門 ・Azure Resource Manager
Azure Resource Manager Azure Resource Manager を使用 すると、ソリューション内の複数 のリソースを 1
つのグループとし て作業できます。 ソリューション のこれらすべてのリソースを、1 回の連携した操作でデプロイ、更 新、または削除できます。 デプロ イにはテンプレートを使用します が、このテンプレートは、テスト、 ステージング、運用環境などのさ まざまな環境に使用できま す。 Resource Manager には、デ プロイ後のリソースの管理に役立 つ、セキュリティ、監査、タグ付 けの機能が用意されています。
AzurePortalで のテンプレー ト作成 ・Microsoftチュートリアル https://docs.microsoft.com/ja- jp/azure/azure-resource- manager/resource-manager- quickstart-create-templates-use-the- portal ・リソース
グループへのデプロイ 対象となるリソースを定義する JavaScript Object Notation (JSON) ファイルです。 デプロイ 対象リソース間の依存関係も、こ のテンプレートによって定義され ます。 このテンプレートを使えば、 リソースを一貫性のある形で繰り 返しデプロイできます。
チュートリアルの説明 ・ストレージ作成のテンプレートを作成 ・ストレージの名前を自動で割り振られ るユニークIDを付与することで使いまわ せるようにする
流れ ① テンプレートのサンプルを取得し、ダウンロード ② テンプレートの編集 ③ テンプレートのアップロード ④ 必要に応じてparametersファイルをアップロー ド
⑤ テンプレートによるデプロイ ※②と③は前後できる
テンプレートとは ・デプロイを自動 化するためのパラ メータセット
パラメータをテキストエディタ等に控えておく
Windows仮想 マシンを作る
Windows仮想マシンのテンプレート
Parametersファイル
Powershellで 実行
PowershellでAzureへ接続 Connect-AzureRmAccount
デプロイコマンドを実行 New-AzureRmResourceGroupDeployment -ResourceGroupName cloud-shell-storage-westus - TemplateFile .¥template.json -TemplateParameterFile .¥parameters.json
Azure上でチェック
Azure上のPowershellからも実行可能(事前にファイルアップロード)
テンプレートの書き方 ▪公式サイト https://docs.microsoft.com/ja-jp/azure/azure-resource-manager/resource- group-authoring-templates ▪キータ https://qiita.com/j-tsurumi/items/cc86e9412349da80a323