PAGE1
DEVOPS INDONESIA
PAGE
1
DEVOPS INDONESIA
DEVOPS INDONESIA
DevOps Community in Indonesia Jakarta, 10 Oktober 2019
Azure ARM Templates
By : Jan Hadrava
DevOps Indonesia Meetup
Azure ARM Templates
Jan Hadrava
Agenda
1. Introduction
2. Theory and architecture
3. Practice
Introduction
• 2 years in Embedit
• Almost 4 years experience with Azure
• 3 Azure certifications:
70-533: Implementing Microsoft Azure Infrastructure Solutions
70-532: Developing Microsoft Azure Solutions
AZ-300: Microsoft Azure Architect Technologies
Contacts
• Linkedin
• GitHub
Infrastructure as a code
Infrastructure as a code
• Imperative vs declarative syntax
• Imperative is for example: azure cli, powershell, bash
• Declarative are ARM templates, yaml for kubernetes (can run multiple times)
• Repository for templates – GitHub, GitLab
• Two modes for ARM Template deployment (incremental and complete)
Which tools I use?
Prerequisites
• Azure CLI
• Visual Studio Code
Extensions to visual studio code:
• Azure resource manager tools (syntax and so on)
• JSON Tools (format JSON)
Template format
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-
01/deploymentTemplate.json#",
"contentVersion": "",
"parameters": { },
"variables": { },
"resources": [ ],
"outputs": { }
}
Template format
"$schema": JSON schema file that describes the version of the template language
"contentVersion": version of the template
"parameters": values that are provided when deployment is executed to customize resource
deployment
"variables": values that are used as JSON fragments in the template to simplify template
language expressions
"resources": resource types that are deployed or updated in a resource group
"outputs": values that are returned after deployment
ARM Templates and web
You can find all templates and web in my github – hadr10
ARM Templates
Web
GitHub
Azure deploy architecture
Azure deploy architecture
Azure deploy architecture
Azure deploy architecture
Azure deploy architecture
Web deploy architecture
Web deploy architecture
Web deploy architecture
Web deploy architecture
Web deploy architecture
Web deploy architecture
Web deploy architecture
Azure deployment
Azure resources
Deployment center
Simple web
Pull request
Check and merge
Web deploy architecture
Deployment center update
Updated simple web
Web app managed identity
Web app managed identity
App settings for secret
"name": "test",
"value":
"@Microsoft.KeyVault(SecretUri=https://techtalkidwebkeyvault.vault.azure.net/secrets
/techtalkid/4cf60922ef8b403388c79ad30e1883ac)",
"slotSetting": false
Web app secret from key vault
Practice in Azure
Q & A
PAGE37
DEVOPS INDONESIA
Stay Connected with DevOps
Indonesia
@devopsindonesia
http://www.devopsindonesia.com
@IDDevOps
@DevOpsIndonesia
@IDDevOps
PAGE38
DEVOPS INDONESIA
AloneWearesmart,togetherWearebrilliant
THANKYOU!
Quote by Steve Anderson

Azure ARM Template