the art of modern azure deployments

15
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

Upload: biztalk360

Post on 24-Jan-2018

1.027 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: The ART of Modern Azure Deployments

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

Page 2: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

The ART of modern Azure Deployments

Page 3: 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

Page 4: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

Whatare resource templates?

Whyshould we use them?

Howdo we create them?

Page 5: The ART of Modern Azure Deployments

+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

Page 6: The ART of Modern Azure Deployments

+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

Page 7: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

Authoring Templates

• Visual Studio 2013/2015

• Azure SDK

• PowerShell

Page 8: The ART of Modern Azure Deployments

+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

Page 9: The ART of Modern Azure Deployments

+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

Page 10: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

Monitoring Deployments

resources.azure.comportal.azure.com

Page 11: The ART of Modern Azure Deployments

+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

Page 12: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

Walkthrough

rikhepworth blogs.blackmarble.co.uk rikhepworth

Page 13: The ART of Modern Azure Deployments

+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

Page 14: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

FUTUREDECODED

Register to attend using the code

FD15ARCHITECT

www.futuredecoded.com

Page 15: The ART of Modern Azure Deployments

+44 1274 300 175 blackmarble.com

Thanks for listening

rikhepworth blogs.blackmarble.co.uk rikhepworth