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
【CEDEC2026】ゲームシナリオライターを支援するAIツール開発の実践 ― 設計とプロンプトの工夫 ―
cygames
PRO
1
780
制約理論(ToC)入門 2026版
recruitengineers
PRO
8
2.1k
Cursor Meetup Sapporo - Cursor物語 続編
cocacola917
0
150
SmartHR Engineering Team Deck
smarthr
1
1.6k
DatadogのBits Chatが開発組織にもたらしたもの / What Bits Chat Has Brought Us
sms_tech
1
170
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
170
強化学習「理論」入門
enakai00
3
3.6k
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
390
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
470
The Mindset for Success: Future Career Progression
greggifford
PRO
0
440
Navigating Team Friction
lara
192
16k
Paper Plane
katiecoart
PRO
2
52k
Test your architecture with Archunit
thirion
1
2.3k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
Building the Perfect Custom Keyboard
takai
2
840
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Amusing Abliteration
ianozsvald
1
240
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