Query Azure SQL Database using Service Principal with PowerShell

Looking to query Azure SQL SQL Database using Service Principal with PowerShell? Have a look at this blog post! Recently I had been asked to configure a script that can be used to query an Azure SQL Database table data…

Deploying Terraform from develop to production consecutively using Azure DevOps

In this blog post, I am going to be diving further into deploying Azure Resources with Terraform using Azure DevOps with a CI/CD perspective in mind. I am going to show how you can deploy a develop & production terraform…

Inspec-Azure in Azure DevOps Pipeline

I am going to show how you can run Inspec-Azure tests in an Azure DevOps Pipeline to test and validate your Azure Resources. In a previous blog post, I blogged Using Inspec-Azure to test your Azure Resources . In that blog…

Using Inspec-Azure to test your Azure Resources

Inspec-Azure is a resource pack provided by Chef that uses the Azure REST API, to allow you to write tests for resources that you have deployed in Microsoft Azure. These tests can be used to validate the Azures resources that…

Network Security Group Rule Creation using Terraform

In this blog post I am going to create a set of Network Security Group rules in Terraform using the resource azurerm_network_security_rule and rather than copying this resource multiple times I will show how you can iterate over the same resource multiple times using for_each meta-argument in Terraform.

Validating Terraform Code During A Pull Request In Azure DevOps

I will show how to create a branch policy that will run a CI pipeline to validate Terraform code along with a Terraform plan, during a Pull Request in Azure DevOps and will include the YAML CI Pipeline. Branch policies…

Deploy ARM template using Terraform

Deploy ARM template using Terraform

Deploy Terraform using Azure DevOps

Using Terraform to deploy your Azure resources is becoming more and more popular; in some instances overtaking the use of ARM to deploy into Azure. I will show you in this blog how you can deploy your Azure Resources created…

Hyper-V prevented starting virtual machine because it is prepared for failover fix

Using Azure Migrate to migrate Virtual Machines from a Hyper-V host to Azure, you may want to start a Hyper-V Virtual Machine (VM) after they have been migrated for various reasons including:- VM not accessible in AzureAzure Migration issue and…

Creating custom runbooks from start/stop VM solution for specific sets of VMs using tags for sequenced start/stop

Azure provides a start/stop VM solution that allows you to stop/start VMs on a schedule; it consists of multiple PowerShell runbooks. This solution offers three options when deployed:- Schedule VMs to start and stopSchedule VMs to start and stop in…