Azure CLI: Suppress Output for Silent Commands / Quiet Mode
The Azure CLI is really great for writing imperative scripts for automating Microsoft Azure resource management. Generally, the command output is helpful in telling you that updates were made or...
View ArticleMicrosoft Azure is Multiple Clouds – Public, US Gov, China and Germany
Did you know that Microsoft Azure is not just one public cloud? Most of us only interact with the Public Azure Cloud, but this isn’t the only Microsoft Azure cloud. There are actually four different...
View ArticleUpdate Azure CLI from the command-line (az upgrade)
The Azure CLI can be updated from the command-line in Windows. The command az upgrade is used for this, and it has a few options which are useful. Like all Azure CLI (az) commands, there is help that...
View ArticleAzure CLI: Delete All Resources Within Resource Group
There are times when you want to delete all the resources within a specific Azure Resource Group, but you do not want to delete the resource group. Sure, deleting the entire resource group might be...
View ArticleAzure CLI: Delete Public IP from Existing NIC / VM
So you have already created a Virtual Machine in Azure that is provisioned with a Public IP address and you need to remove it. Don’t worry, you do NOT need to delete the VM. You can disassociate the...
View ArticleAzure CLI: Get Private Link Service Alias / DNS Name
Azure Private Link provides a way to be able to access resources sitting behind an Azure Load Balancer (such as Virtual Machines) to be accessed by other Azure services using Private Endpoints from...
View ArticleAzure CLI: Add/Remove IP Addresses on Azure Synapse Firewall
Recently, I performed a lot of work as a Site Reliability Engineer (SRE) / DevOps Engineer on a project that utilizes Azure Synapse for a large data lake and data processing implementation. Through my...
View ArticleAzure CLI: Call Azure REST API Directly
The Azure CLI is a command-line tool built to give a native CLI interface for working with Microsoft Azure resources. The Azure CLI itself will make calls to the Azure REST API to perform actions that...
View ArticleTerraform: Import Existing Azure Resource Group
If you find yourself with an existing Azure Resource Group that you need to import into a Terraform project, you can use the terraform import command to do it. This article goes through the steps...
View ArticleGet Started with Azure CLI infrastructure as code scripting
Azure CLI is a powerful tool for managing Azure resources from the command line. It enables developers and system administrators to perform a wide range of tasks, from creating and managing resources...
View ArticleDeploying Azure Bicep Templates using the Azure CLI
Using the Azure CLI to deploy Azure Bicep templates can be used to more efficiently build Infrastructure as Code (IaC) deployment workflows for managing Microsoft Azure resources. Azure Bicep templates...
View ArticleAzure CLI: Check if Blob Exists in Azure Storage
Before we dive into the nitty-gritty details, let’s clarify some essential concepts. Azure Storage, a cloud-based storage solution, is organized into a hierarchy of containers, and within these...
View ArticleAzure Resource Tags: Important Organization Strategies and Tips
In the Microsoft Azure cloud, the organization and management of resources are extremely important for operational efficiency and cost-effectiveness. Azure Tags serve as a fundamental tool in...
View ArticleUpload File from URL to Azure Blob Storage using Azure CLI with Bash and...
The Azure CLI az storage blob upload command can be used to upload a local file into Azure Blob Storage. However, there are times when it would be easier to upload a file straight from the HTTP(S) URL...
View ArticleMigrate Azure VM Across Regions Using Azure CLI and Bash Script
Migrating an Azure Virtual Machine (VM) from one Azure Region to another can be necessary for several reasons, including disaster recovery, optimizing performance, or reducing latency. While Azure...
View Article