You will learn the following
- Introduction to Azure Resource Manager Templates and its benefits.
- Provision applications to Azure using a declarative template.
- How to deploy multiple services along with their dependencies using a single template.
- Also, offer the option of splitting up your ARM templates into multiple templates that each describes individual resources.
1. Azure Resource Manager Templates
Notes:
If you experience audio issues during the webinar, you can dial in through telephone details provided to you in your
registration confirmation email.
Please feel free to post questions in the questions dialog and we will try to answer as many as we can at the end.
Recording of this session will be shared in next 24-48 hours.
You can also write to us at marketing@winwire.com for any clarifications or information.
2. Session Speaker
Amit Dubay
Director – Cloud & Mobility
WinWire Technologies
Microsoft Azure Certified Developer
Sai Gunaranjan
Technical Architect
WinWire Technologies
Microsoft Specialist in
• Implementing Microsoft Azure Infrastructure
Solutions
• Architecting Microsoft Azure Solutions
4. Introduction to Azure Resource Manager
It was first announced at Build 2014 and is the currently the preferred
method for deployment of resources on Azure.
• Provides a new way to deploy and manage solutions, as a
group.
• Deployment of resources, can be an coordinated operation
using JSON based template know as ARM Templates
The Azure Resource Manager (ARM) is the service used to provision
resources in your Azure subscription.
5. Introduction to Azure Resource Manager
ARM Accessible via Azure Stack
• Azure PowerShell
• Azure CLI for Linux, Mac &
Windows
• Azure Portal
• REST API
• Comes in inbuilt support for ARM
• Same templates & commands
works on Public & Private Cloud
instances.
6. Benefits of Azure Resource Manager
1 Prevent deletion/modification of
resources using resources Locks
2 Role-Based Access Control (RBAC) is
natively integrated
3 Deploy, manage, and monitor all of
the resources
4 Declarative templates
5 View rolled-up costs for the entire
group or for a group of resources
6 Enables to group & manage multiple
resources as a single logical group
7 Repeatedly deploy solutions,
throughout the development lifecycle
8 Set sequence of deployment by
defining dependencies
7. Adoption of Azure Resource Manager
Azure SDK for .NET is
provided as a set of NuGet
Packages
SDK for .NET
The ARM Java SDK is hosted
in GitHub Azure Java SDK
repository
SDK for Java REST API
One or several calls to the
ARM’s RESTful API
Azure Resource Manager (ARM) Preview SDKs are available for multiple languages and platforms.
Each of these language implementations are available through their ecosystem package managers
and GitHub.
8. Authoring ARM Templates
Azure Subscription Visual Studio + Azure
SDK or Any text editor
Azure PowerShell
Pre Requisites
9. Authoring ARM Templates
Plan Your Template
Resources types you
need to deploy
Version of the resource provider
API, you will use when deploying
the resources
Where those resources will
reside
Sequence of resource
deployment
Output of the
template
Declaration & definition of
variables in the template
10. ARM Template contains the following elements.
Authoring ARM Templates
{
"$schema": "http://schema.management.azure.com/schemas /2015-01-01/deploymentTemplate.json#",
"contentVersion": “1.0.0.0",
"parameters": { },
"variables": { },
"resources": [ ],
"outputs": { }
}
Element Required Description
$schema Yes Location of the JSON schema file.
contentVersion Yes Version of the template.
parameters No Values provided during deployment execution.
variables No Internal variables
resources Yes Azure services deployed or updated in a resource group
outputs No Values that are returned after deployment
11. Deployment Options
Azure Portal Based Deployment Upload the JSON template into the portal for deployment
Azure PowerShell
New - AzureRmResourceGroupDeployment - Name DemoDeployment -
ResourceGroupName AzureDemo -TemplateFile C:tempazuredeploy.json
Azure CLI
Azure group deployment create -f azuredeploy.json -g AzureDemo - n
DemoDeployment
ARM REST API
https://management.azure.com/subscriptions/<YourSubscriptionId>/resourcegroups/<YourRes
ourceGroupName>/providers/Microsoft.Resources/deployments/<YourDeploymentName>?api
-version=2015-01-01
Click to Deploy
Deploy templates directly from GitHub by clicking on the deploy icon on the
template
Visual Studio Directly deploy resource groups & resources from visual studio
13. Q & A
Next Webinar
Topic : DevOps and Visual Studio Team Services
When: June 29 at 9am PDT
http://www.winwire.com/blog-winsights/
www.twitter.com/winwire
marketing@winwire.com
www.winwire.com