Skip to main content
Jorge Bernhardt Jorge Bernhardt

Azure Cloud Shell

2021

How to enable the Key vault's firewall
·854 words·5 mins· 100 views · 5 likes
Add-AzKeyVaultNetworkRule Azure CLI Azure Cloud Shell Azure PowerShell
One of the security recommendations established by Microsoft in Azure Security Center is to enable the key vault’s firewall to prevent unauthorized traffic from reaching your key vault. This post will show you how to enable the firewall to ensure that only traffic from permitted networks can access your key vault using PowerShell and the Azure CLI.
How to configure Azure Firewall diagnostic settings
·778 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hey, guys, following the series of publications on Azure Firewall, today I’ll show you How to configure Azure Firewall Diagnostics to send logs and metrics to a storage account using PowerShell and the Azure CLI.
How to use Packet captures with Azure Network Watcher
·875 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi everyone, continuing with the series of articles related to Azure Network watcher, I want to show you how to use the packet capture tool from the command line. Packet captures are in a standard format and can be analyzed offline using tools such as Wireshark and stored in an Azure storage account.
How to deploy an Azure Firewall in an existing VNet
·1051 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure CLI Azure Cloud Shell Azure Firewall
This is the first post in a series of articles where I will show you how to manage an Azure Firewall using PowerShell and Azure CLI. In this first post, I want to show you how to deploy an Azure Firewall in an existing virtual network.
How to enable Azure Blob storage versioning
·737 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi everyone, in this post, I will show you how to enable blob versioning on your Azure storage account using PowerShell and Azure CLI. When blob versioning is enabled, you can restore a previous version of a blob to recover data if modified or deleted by mistake.
How to store the Terraform state file in Azure Storage
·874 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Get-AzStorageAccount
In this post, I want to show you how to configure terraform to use an Azure storage account to store and protect your tfstate file. To manage the infrastructure and configuration, Terraform writes the status of resources to a tfstate file.
How to create an Azure Service Principal with Password
·958 words·5 mins· 100 views · 5 likes
Azure AD Azure CLI Azure Cloud Shell Azure PowerShell
Hello, guys. Today I want to show you how to create a service principal using PowerShell and Azure CLI. In case you don’t know, an Azure service identity is an identity that is created in Azure AD and associated with an application.
How to disable anonymous public access for an Azure storage account
·604 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
One security recommendation Microsoft established in Azure Security Center is to disable public access to storage accounts. In this post, I will show you how you can configure your storage account to prevent public access to an Azure storage account using PowerShell and the Azure CLI.
How to configure Storage Analytics metrics
·910 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Azure PowerShell
Hi, Jorge is back. In this post, I want to show you how to configure Storage Analytics metrics using PowerShell and Azure CLI. Azure Storage Analytics: performs logging and provides metrics data for a storage account.
How to select Azure Defender plan by resource type in Azure Security Center
·603 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
Hi everyone, and happy new year. In the first post of the year, I want to show you how to change the Azure Defender plans for your subscription in Azure Security Center using PowerShell and Azure CLI.

2020

Managing automatic provisioning of agents in Azure Security Center
·556 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
In this post, I want to show you how to enable the automatic provisioning of agents in Azure Security Center. Although Microsoft recommends enabling this option, it is disabled by default.
How to configure Azure Security Center notifications
·556 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
In this mini-post, I will explain something essential that you should configure when you start the Azure Security Center configuration, the security notifications. Today I will explain how to do this configuration using PowerShell and Azure CLI.
How to configure Azure Key Vault to send logs and metrics to Log Analytics workspace
·787 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hello, Jorge is back. In a previous post, I showed you how to configure Azure Key Vault diagnostic parameters to send logs and metrics to a storage account, but many of you have asked me to show you how to configure Azure Key Vault diagnostic parameters to send to a Log Analytics workspace.
How to enable soft delete in Azure Storage Services
·713 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hello, today I want to talk to you about soft delete, this feature allows you to recover files or blobs that were previously marked for deletion. When the feature is enabled, you can recover your data after deletion, within a retention period that you must specify when enabling this feature.
How to configure Azure Key Vault diagnostic settings
·778 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
One of the security recommendations established by Microsoft in Azure Security Center is to enable diagnostic logs in Key Vaults. This lets you know how, when, and by whom your key vaults are accessed.
How to deploy an Azure Bastion host in an existing VNet
·945 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure CLI Azure Cloud Shell Azure PowerShell
Hello everyone, in this post, I want to show you how to deploy an Azure bastion host to connect securely, directly from the Azure portal, to all your virtual machines within your virtual network without the need to expose the RDP or SSH ports to the internet.
How to enable the Azure DevOps CLI extension
·307 words·2 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure DevOps DevOps
Today I want to talk to you about Azure DevOps CLI. This extension of Azure CLI allows us to manage the Azure DevOps Services from the command line. The first step to using Azure DevOps CLI is to check that the extension for Azure CLI is installed.
How to enable Azure DDoS Protection for an existing VNet
·1022 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
In this post, I’ll show you how to create a standard DDoS plan and associate it with an existing virtual network using PowerShell and the Azure CLI. Distributed denial of service (DDoS) attacks are becoming more and more frequent and it is one of the main security problems that customers who have their resources in the cloud must face.
How to set Immutable storage for Azure Blob storage
·801 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
Hi, today I want to talk to you about immutable storage. Immutable Storage is an Azure Blob Storage capability that allows you to store business-critical data in a WORM state (write once, read many).
Azure Management Groups
·884 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, today I want to talk to you about Azure Management Groups. These groups help us create an effective and efficient hierarchy to manage our Azure subscriptions. If you have many subscriptions, at some point you will need a way to effectively manage access, policy, and compliance for those subscriptions.