Quantcast
Channel: Azure CLI – Build5Nines
Browsing latest articles
Browse All 27 View Live

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 Article


Microsoft 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 Article


Update 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 Article

Azure 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 Article

Azure 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 Article


Azure 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 Article

Azure 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 Article

Azure 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 Article


Terraform: 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 Article


Get 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 Article

Deploying 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 Article

Azure 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 Article

Azure 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 Article


Upload 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 Article

Migrate 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

Browsing latest articles
Browse All 27 View Live