the art of modern azure deployments
TRANSCRIPT
Sponsored & Brought to you by
The ART of Modern Azure Deployments
Rik Hepworth
http://www.twitter.com/rikhepworth
https://uk.linkedin.com/pub/rik-Hepworth/8/34b/175
+44 1274 300 175 blackmarble.com
The ART of modern Azure Deployments
+44 1274 300 175 blackmarble.com
Rik HepworthIT Director, Black Marble
V-TSP, Microsoft
@rikhepworth blogs.blackmarble.co.uk rikhepworth
+44 1274 300 175 blackmarble.com
Whatare resource templates?
Whyshould we use them?
Howdo we create them?
+44 1274 300 175 blackmarble.com
What are Resource Templates
• Declarative configuration of Azure Resources in
Resource Manager model
• JSON format
• Configuration File and accompanying parameters file
• Idempotent – can be reapplied
+44 1274 300 175 blackmarble.com
Why Use Them?
• Version controlled
• Easier to read than scripts
• More efficient to deploy
• Fits with the configuration as code DevOps world view
+44 1274 300 175 blackmarble.com
Authoring Templates
• Visual Studio 2013/2015
• Azure SDK
• PowerShell
+44 1274 300 175 blackmarble.com
Deployment: Azure PowerShell 0.9.8
New-AzureResourceGroup -Name $ResourceGroupName `-Location $ResourceGroupLocation `-TemplateFile $TemplateFile `-TemplateParameterFile $TemplateParametersFile `-Force -Verbose
New-AzureResourceGroup -Name $ResourceGroupName `-Location $ResourceGroupLocation `-TemplateFile $TemplateFile `-envPrefix $envPrefix `-Force -Verbose
this is a parameter specified in my template file
+44 1274 300 175 blackmarble.com
Deployment: Azure PowerShell 1.0
New-AzureRMResourceGroup -Name $ResourceGroupName `-Location $ResourceGroupLocation
New-AzureRMResourceGroupDeployment `-ResourceGroupName $ResourceGroupName `-TemplateFile $TemplateFile `-envPrefix $envPrefix `-Force -Verbose
+44 1274 300 175 blackmarble.com
Monitoring Deployments
resources.azure.comportal.azure.com
+44 1274 300 175 blackmarble.com
DEMO
.json
N+S
.json
Create vNet and
storage accounts
DC
.json
ADFS
.json
WAP
.json
Create VMs
DC-
DSC
.json
Make the DC a
DC and Cert
server
vNet
.json
Update vNet with
DC IP for DNS
ADFS-
DSC
.json
WAP-
DSC
.json
Domain-join VMs
and install roles
DC-CS
.json
Create Certs
ADFS-
CS
.json
Configure ADFS
WAP-
CS
.json
Configure WAP
dsc
.zip
dsc
.zip
dc
.ps1
adfs
.ps1
wap
.ps1
+44 1274 300 175 blackmarble.com
Walkthrough
rikhepworth blogs.blackmarble.co.uk rikhepworth
+44 1274 300 175 blackmarble.com
Resources
• My Blog
http://blogs.blackmarble.co.uk/blogs/rhepworth
• Azure PowerShell 1.0 Preview
https://azure.Microsoft.com/en-us/blog/azps-1-0-pre/
• Azure QuickStart Templates
https://github.com/Azure/azure-quickstart-templates
http://azure.microsoft.com/en-us/documentation/templates/
• ARM Template Documentation
https://msdn.microsoft.com/en-us/library/azure/dn835138.aspx
• Azure Resource Explorer
https://resources.azure.com/
• “Azure Resource Manager DevOps Jumpstart”
https://www.microsoftvirtualacademy.com/en-US/training-courses/azure-resource-manager-devops-
jump-start-8413
+44 1274 300 175 blackmarble.com
FUTUREDECODED
Register to attend using the code
FD15ARCHITECT
www.futuredecoded.com
+44 1274 300 175 blackmarble.com
Thanks for listening
rikhepworth blogs.blackmarble.co.uk rikhepworth