Deallocate Azure VMs with Azure Devops – Scheduled VM shutdown.

Having been inspired by Gregor Suttie's post 'Replacing Azure Automation using Azure CLI and Azure Devops' I decided to do something similar with Powershell. My requirement was to power off VMs with a certain tag and value at a certain time. The PowerShell for this is fairly simple: Get-AzVM | Where-Object {$_.tags['shutDown'] -eq "19:00"} | Stop-AZVM … Continue reading Deallocate Azure VMs with Azure Devops – Scheduled VM shutdown.

Combining Terraform with Azure Devops

Really short and straight to the point post. 😀 I use the 'Terraform Tasks for Azure DevOps' extensions which makes using Terraform with Azure Devops an absolute breeze I have a build pipleline which initiates the remote storage for the Terraform state file, perfoms the Terraform init and the Terraform plan, all relevant files are … Continue reading Combining Terraform with Azure Devops

Azure Security Center & log Analytics Workspaces

Azure Security Center is a good thing to have as part of your Azure resources and it comes in two tiers: Free or Standard. By default it is enabled in your Azure subscription at the free tier and changing that to standard unlocks additional features and comes with some costs . So you've upgraded Security … Continue reading Azure Security Center & log Analytics Workspaces

When life gets confusing – check your AzureRM module version

I had to enable disk encryption on some existing Azure VMs this morning but I kept hitting a snag even though I had done this before and was using the same powershell as before. Here's the PowerShell: $rgName = 'MySecureRg'; $vmName = 'MySecureVM'; $KeyVaultName = 'MySecureVault'; $KeyVault = Get-AzureRmKeyVault -VaultName $KeyVaultName -ResourceGroupName $rgname; $diskEncryptionKeyVaultUrl = … Continue reading When life gets confusing – check your AzureRM module version

Intro to using Terraform for Azure resource deployments

  I've been increasingly using Terraform for my Infrastructure as Code deployments to Azure and I really like it and prefer it to using ARM templates.  The thing I like most about Terraform is that it's simple to use yet very powerful in its capabilities. This post is not intended to be an in-depth introduction … Continue reading Intro to using Terraform for Azure resource deployments

Studying for AZ-300

I've started studying for the AZ-300 exam and I'm playing with logic apps.  I've created a logic app that monitors this blog and should email me when it detects a new post!! We'll see if it works 🙂 Update 11/01/2019 And it did work. My logic app sent me an email to let me know … Continue reading Studying for AZ-300

Deploying Azure Infrastructure Resources with Azure Devops – Part 2

In part one we setup a project in Azure Devops, create an Azure repo, added an ARM template to the repo and created a build pipeline.  In this post we'll create a release pipeline to actually deploy our resources in Azure. Within Azure Devops open our project and select 'Releases' and select 'New Pipeline' On … Continue reading Deploying Azure Infrastructure Resources with Azure Devops – Part 2

Deploying Azure Infrastructure Resources with Azure Devops – Part 1

I've recently had the opportunity to start playing with Azure Devops and as I'm historically and primarily an infrastructure guy I wondered how Azure Devops can help me with such things as Infrastructure as Code. What I'll show in this post is how to deploy ARM infrastructure resources such as VMs and vnets using ARM … Continue reading Deploying Azure Infrastructure Resources with Azure Devops – Part 1

Introducing Role-based Microsoft & Azure Certification Shakeup — Build Azure

Last July, Microsoft Learning announced some upcoming changes to the Microsoft Azure Certifications to make them more role-based. Recently, surrounding the Microsoft Ignite 2018 conference, they announced and released further information about these changes to transform the Azure certification tracks. This news includes more than just announcement of new Azure certification exams, but also the… via … Continue reading Introducing Role-based Microsoft & Azure Certification Shakeup — Build Azure