Skip to main content
Jorge Bernhardt Jorge Bernhardt

Azure Cloud Shell

2024

Terraform – Simplified Azure Container Instances (ACI) Deployment
·1712 words·9 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell ACI Microsoft
Hi everyone! Today, in this blog post, we will explore how to deploy Azure Container Instances (ACI) using Terraform. As we have discussed several times on this blog, ACI is a vital Azure service for running Docker containers without the need to manage underlying virtual machines.
Terraform - Azure Compute Gallery Deployment and Image Management
·1865 words·9 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
Hi everyone! Today, in this blog post, we will explore how to deploy and manage Azure Shared Image Galleries using Terraform. As you know, Shared Image Galleries in Azure provide a centralized way to store and manage custom images for your virtual machines, enabling consistent and efficient deployments across multiple regions.
Bicep - Creating Custom Azure Policy Initiatives
·1048 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
Hi everyone! This week we’re talking again about “Policy as Code,” an approach that brings consistency and efficiency to policy management, similar to how “Infrastructure as Code” transformed infrastructure deployment.
Terraform – Simplified Azure Container Registry (ACR) Deployment
·1407 words·7 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell ACR Microsoft
Hi folks! Today, in this blog post, we’re going to explore how to implement Azure Container Registry (ACR) using Terraform. As we’ve discussed on several occasions in this blog, ACR is an essential Azure service for storing and managing Docker container images.

2023

Bicep - Deploy an Azure Active Directory B2C Tenant
·903 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell AzureB2C Microsoft
Bicep promises more efficient resource management, but there are notable challenges when working with Azure B2C. From customizing certain tenant properties to retrieving detailed information, we must face limitations. This post will show you how to create an Azure B2C resource with Bicep, identify current limitations, and find potential solutions.
Bicep - Deploy Azure Container Registry (ACR)
·864 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell ACR Microsoft
The use of Infrastructure as Code (IaC) has become vital in achieving successful and scalable implementations. Azure Bicep allows us to provision and manage resources in Azure with reliability and conciseness.
Bicep - Assigning Azure Policy Initiatives to Enforce Compliance
·800 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
Hi all! Today I want to talk to you about “Policy as Code” Just as “Infrastructure as Code” changed how we handle infrastructure deployment, “Policy as Code” gives us consistency, traceability, and rapid implementation in policy management.
Bicep - Deploy a Subscription Budget using Azure CLI
·738 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Budgets Microsoft
Managing your resources and services costs is crucial to your Azure subscriptions’ governance. That’s where Azure Budgets comes in. Azure Budgets helps us manage our cloud costs by setting spending limits.
Bicep - Deploy Azure Storage Account using Azure CLI
·713 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Storage Account Microsoft
Azure Storage is a core foundational PaaS (Platform as a Service) offering within Microsoft Azure, providing a versatile and scalable solution for storing files, blobs (binary large objects), and other data types.
Analyzing Azure Activity Logs with Command-Line Tools
·848 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
As administrators of an Azure subscription, we are always interested in monitoring what is happening in our environment. To do this, Azure gives us a way to do this through activity logs, which record the actions that are performed on our subscription.
How to update the tenant ID in an Azure key vault
·832 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
I recently migrated an Azure subscription to a new tenant, and in the key vault resources, I had to perform a few additional steps that I want to show you. So In this week’s article, we’ll look at updating the tenant ID and removing previous access policies and role assignments to the key vault resource once it’s moved to the new subscription.
Creating Restore Points for Azure VMs using Azure CLI
·1360 words·7 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
If you need to perform a quick ad-hoc backup of your virtual machine before maintenance that allows you to take consistent snapshots of all managed disks attached to your virtual machine, you should try Azure restore points.

2022

How to manage Log Analytics tables using the Azure CLI
·907 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
Microsoft last month announced the general availability of a new experience for managing Azure Log Analytics table metadata from the Azure portal. So I think it’s an excellent time to see how to view and edit table properties in Log Analytics workspaces using the Azure CLI and check how these changes are reflected in the Azure portal.
Setting Lifecycle Management Policy on Azure Storage using Azure CLI
·948 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
In my last article, I showed you how to enable access time tracking on the Azure Storage Blob service. Today I want to show you how to take advantage of this functionality by setting up a data lifecycle management policy in your Azure storage account using Azure CLI.
How to enable Access Time Tracking for the Azure Storage Blob service
·768 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
To manage storage costs, it can help to organize your data based on how often it will be accessed. Azure offers us different levels of access to store blob data most cost-effectively, depending on how we use it.
How to enable SFTP support for an Azure storage account
·1520 words·8 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Blob storage now supports SSH File Transfer Protocol (SFTP). This allows us to use SFTP for file access, transfer, and management. In this post, I will show you how to enable an SFTP endpoint for your blob storage account and configure local user identities to authenticate and connect your storage account with SFTP over port 22.
How to enable hierarchical namespace on an Azure storage account
·928 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
To enable a hierarchical namespace and unlock capabilities such as file and directory-level security on an Azure storage account, you need to upgrade your Azure Blob storage with Azure Data Lake Storage Gen2 capabilities.
Logging into an Azure Linux VM using an Azure AD account
·876 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Today I want to show you how you can improve the security of your Linux virtual machines in Azure by integrating with Azure Active Directory (Azure AD) authentication. In this post, I’ll show you how to set up a Linux virtual machine and log in with Azure AD using openSSH certificate-based authentication.

2021

How to change Azure Premium Disk Performance tiers without downtime
·694 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
On Azure Premium disks, we can change the performance tier even when it is connected to running virtual machines. With Premium SSD performance tiers, we have the flexibility to scale drive performance without increasing the size of the drive by selecting a higher performance tier and returning it to its original performance tier, allowing us to fine-tune the performance to our needs and save money.
How to use a VM system-assigned managed identity to access Azure Key Vault
·1070 words·6 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, In a previous post, I showed you how to enable system-assigned managed identity on an Azure virtual machine. Today, I want to show you how to assign a managed identity to access an Azure resource securely.