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
0
240
azure入門(Azure Resource Manager)
Yuta Kujirai
January 17, 2019
Tweet
Share
More Decks by Yuta Kujirai
See All by Yuta Kujirai
Azure入門(AzureBlobStarage)
yuta0910
0
160
Azure入門(Azure Virtual Machine、Azure App Service)
yuta0910
0
200
Other Decks in Technology
See All in Technology
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
240
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.7k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
18k
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
470
モニタリング統一への道のり - 分散モニタリングツール統合のためのオブザーバビリティプロジェクト
niftycorp
PRO
1
520
Talk to Someone At Delta Airlines™️ USA Contact Numbers
travelcarecenter
0
160
組織内、組織間の資産保護に必要なアイデンティティ基盤と関連技術の最新動向
fujie
0
270
Amazon SNSサブスクリプションの誤解除を防ぐ
y_sakata
3
190
SRE with AI:実践から学ぶ、運用課題解決と未来への展望
yoshiiryo1
0
310
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
670
60以上のプロダクトを持つ組織における開発者体験向上への取り組み - チームAPIとBackstageで構築する組織の可視化基盤 - / sre next 2025 Efforts to Improve Developer Experience in an Organization with Over 60 Products
vtryo
3
1.9k
CDK Vibe Coding Fes
tomoki10
1
630
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
A designer walks into a library…
pauljervisheath
207
24k
A better future with KSS
kneath
238
17k
Side Projects
sachag
455
42k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
What's in a price? How to price your products and services
michaelherold
246
12k
For a Future-Friendly Web
brad_frost
179
9.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
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