deploying a website in azure using arm templates

15
DEPLOY A WEBSITE IN AZURE USING ARM TEMPLATES PRATIK KHASNABIS DDD BY NIGHT 2016

Upload: pratik-khasnabis

Post on 22-Jan-2018

47 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Deploying a website in Azure using ARM templates

DEPLOY A WEBSITE IN AZURE USING ARM

TEMPLATESPRATIK KHASNABIS

DDD BY NIGHT

2016

Page 2: Deploying a website in Azure using ARM templates

Pratik KhasnabisSolution ArchitectBupa

@softveda

Solution Architect, .Net Developer, MCSD (Azure Solutions Architect, Web Applications), TOGAF

18+ years experience

Lurks in VIC.Net, ALT.Net, DDD Melbourne

Currently working on: Azure, API, MicroServices

Interested in: IoT, BigData, Machine Learning

Page 3: Deploying a website in Azure using ARM templates

Architecture

App Service App Service

Git repository

Microsoft

Azure

Web App Web App

Traffic Manager

Australia SE Southeast Asia

Page 4: Deploying a website in Azure using ARM templates

ARM TEMPLATE STRUCTURE

Page 5: Deploying a website in Azure using ARM templates

Parameter

• Name

• Type

• Default Value

• Allowed Values

• Metadata: Description

• Type

• Name

• API Version

• Location

• Properties

• Copy Block

Resource

Page 6: Deploying a website in Azure using ARM templates

POWERSHELL TO DEPLOY THE TEMPLATE

Page 7: Deploying a website in Azure using ARM templates

Parameters

Resource -> Add Resource -> App Service Plan -> ‘farm’

Page 8: Deploying a website in Azure using ARM templates

Resource – App Service Plan

Page 9: Deploying a website in Azure using ARM templates

Parameters

Page 10: Deploying a website in Azure using ARM templates

RESOURCE – WEB APP

Page 11: Deploying a website in Azure using ARM templates

RESOURCE – TRAFFIC MANAGER

Page 12: Deploying a website in Azure using ARM templates

RESOURCE – TRAFFIC MANAGER

Page 13: Deploying a website in Azure using ARM templates

RESOURCE - SOURCECONTROL

Page 14: Deploying a website in Azure using ARM templates

VISUALIZATION

https://resources.azure.com

https://armviz.io

Page 15: Deploying a website in Azure using ARM templates

THANK YOU

https://azure.microsoft.com/en-us/documentation/articles/best-practices-resource-manager-design-templates/

https://azure.microsoft.com/en-us/documentation/articles/app-service-web-arm-from-github-provision/

https://github.com/Azure/azure-resource-manager-schemas/tree/master/schemas

https://azure.microsoft.com/en-us/documentation/templates/