Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
Azure Master Class:
Introduction To Azure ARM Templates
Expected Learning OutcomesAzure Master Class: Introduction To Azure ARM Templates
@tetranoodle
By the end of this section, you should be able to:
Understand basic cloud computing conceptsDescribe the Azure Resource ManagerDefine resource groups and resource providersOutline the basic structure of an ARM templateCreate an ARM templateInstall Visual Studio Code
“Cloud computing is a kind of Internet-based
computing that provides shared processing
resources and data to computers and other devices on demand.”
- Wikipedia
@tetranoodle
@tetranoodle
BenefitsOf Cloud Computing
Capex To Opex
@tetranoodle
Agility
Flexibility
@tetranoodle
GreenEnergy
Savings€
Growth
@tetranoodle
Infrastructure as a Service (IaaS), Providing Infrastructure hosting
Platform as a Service (PaaS), Providing framework services to IT directors
Software as a Service (SaaS), Providing software application service to end-users
@tetranoodle
Azure Resource Manager
What is ARM?Azure Masterclass: Introduction to ARM Templates
Web Apps
Storage AccountServers
Virtual Machine Virtual Network
3rd Party Services
@tetranoodle
Provides security and auditing capabilities
Supports multiple client SDKs
Based on JSON syntax
Support for pre-defined, structured templates
Define the resources to be deployed in Azure
@tetranoodle
DeploymentTip
@tetranoodle
Basic TerminologyAzure Masterclass: Introduction to ARM Templates
Resource Provider
RM Template
Syntax
Resource Group
Resource
@tetranoodle
Benefits of using Azure Resource ManagerAzure Masterclass: Introduction to ARM Templates
Template-driven
Idempotent
Multi-service
Declarative
Multi-region Access control
Some of the key benefits of using the Azure Resource Manager are:
@tetranoodle
Basic Structure of an ARM TemplateAzure Masterclass: Introduction to ARM Templates
Here is the basic structure of an ARM template:
@tetranoodle
Basic Structure of an ARM TemplateAzure Masterclass: Introduction to ARM Templates
Schema
Content Version
Parameters
Variables
Resources
Output
Mandatory
Layout of ARM template
Defines ARM template design
Mandatory
Convenience and tacking
Not mandatory
Provides flexibility
Values provided with customized deployment
Not mandatory
Values used to simplify language expressions
Mandatory
Key component of ARM templates
Defines collection of resources
Not mandatory
Values returned after deployment
@tetranoodle
Sample ARM TemplateAzure Masterclass: Introduction to ARM Templates
If you take an empty resource template, it looks like this:
@tetranoodle
ARM Templates In Azure DEMO
@tetranoodle@tetranoodle
Play Video
Tools for ARM TemplatesAzure Masterclass: Introduction to ARM Templates
You can use Azure to create ARM resources
Azure is useful, but may not be scalable
Use one of many available IDEs or tools to edit JSON templates
Visual Studio
Sublime TextVisual Studio Code
Notepad
@tetranoodle
Tools for ARM TemplatesAzure Masterclass: Introduction to ARM Templates
Visual Studio
Sublime TextVisual Studio
Code
Notepad
Can edit JSON templates
Limited functionality
Easy way to start
Automatically generates JSON for Resource groups you create
One of the best IDEs
Lightweight, loads fast
ARM package, quick authoring
Not very stable
Lacks in ARM authoring support
@tetranoodle
Install Visual Studio Code DEMO
@tetranoodle
Play Video
@tetranoodle