Skip to main content
Jorge Bernhardt Jorge Bernhardt

Virtual networks

2022

How to resize peered Azure VNets with no downtime
·681 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkPeering Azure PowerShell Connect-AzAccount format-table
In a previous article called “ Connect Azure VNets using VNet Peering,” I explained that changes to the settings of a virtual network that has peered couldn’t be done without deleting the existing peering.

2021

How to change the PSK of the Azure VPN Gateway Connection
·770 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure VPN Gateway Connect-AzAccount
When deploying a VPN Gateway in Azure, we are limited to using pre-shared keys (PSK) for authentication. As you know, Azure generates a Pre-Shared Key (PSK) when the VPN tunnel is created.
How to create IP Groups for Azure Firewall rules
·944 words·5 mins· 100 views · 5 likes
Azure CLI Azure Firewall Azure PowerShell Connect-AzAccount
Hi everyone, In a previous post, I showed you how to deploy an Azure Firewall. Today I will show you how to create and manage IP Groups in your Azure Firewall using PowerShell and Azure CLI.
How to configure Azure Bastion host to send logs and metrics to Log Analytics workspace
·793 words·4 mins· 100 views · 5 likes
Azure Bastion Azure CLI Azure PowerShell Connect-AzAccount
Hi, In a previous post, I showed you how to configure Azure Bastion diagnostic parameters to send logs and metrics to a storage account. But suppose you already have a log analysis workspace.
How to configure Azure Bastion diagnostic settings
·781 words·4 mins· 100 views · 5 likes
Azure Bastion Azure CLI Azure Cloud Shell Azure PowerShell
Hello! everybody. Today I will show you how to configure Azure Bastion Diagnostic to send logs and metrics to a storage account using PowerShell and Azure CLI. Once this configuration is established, you can use the stored information to find out which users connected through Azure Bastion, when, from where, and metric information about the workloads of the Azure Bastion host.
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 install the Network Watcher VM extension from the Command Line
·652 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzSubscription
In a previous post, I showed you how to enable network watcher in your Azure region. Today I will show you how to install the Network Watcher VM extension on your virtual machines using PowerShell and Azure CLI.

2020

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 enable Azure Network Watcher for your region
·509 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Today I want to talk to you about Azure Network Watcher, a handy tool to diagnose and repair the state of the IaaS network. Once this tool is enabled in our region, we can use various tools to check and repair the communication between the different resources of our virtual network, such as virtual machines, virtual networks, application gateways, load, etc.
How to implement the Azure Forced Tunneling via S2S VPN
·557 words·3 mins· 100 views · 5 likes
add-azrouteconfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Hi, As you know, by default, resources deployed to an Azure virtual network that need access to the Internet will use the system-defined default routes to use the Azure backbone. Forced tunneling allows you to redirect all Internet-bound traffic to your on-premise location through a site-to-site VPN tunnel, thus allowing you to manage, inspect, and audit outgoing traffic on your Azure network.
How to deploy a VPN S2S in an existing VNet
·803 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Some time ago, I wrote a post showing how to deploy an Azure VPN S2S (site-to-site) from scratch. But this time, I will use the new PowerShell Az module and show you how to deploy it in an existing Azure virtual network.
How to deploy an Azure Application Gateway
·941 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzApplicationGateway
Hi, today I want to talk to you about Azure Application Gateway. This Azure resource is a web traffic load balancer that redirects traffic (HTTP or HTTPS) to specific resources in a back-end group.
How to deploy an Azure NAT Gateway
·1052 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 Virtual Network NAT, this functionality allows us to simplify and unify the outgoing Internet connectivity for virtual networks in Azure. it is configured at the subnet level and all outbound connectivity uses a single specified IP or a range of public IPs.
Network Security Groups (NSGs)
·942 words·5 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzNetworkInterface
Hi everyone. In this post, I want to show you how to create a network security group (NSG) and security rules using Azure PowerShell and how to associate these security groups with the different available Azure resources.
How to manage DNS records in the Azure Private Zone
·801 words·4 mins· 100 views · 5 likes
Add-AzPrivateDnsRecordConfig Azure CLI Azure Cloud Shell Azure PowerShell
In a previous post, I showed you how to create a private DNS zone in Azure using PowerShell and Azure CLI. Today I will show you how to manage the DNS records of that area using PowerShell and Azure CLI.
How to reserve an Azure Public IP Range
·863 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 the Azure public IP prefix. This functionality allows us to have a range of continuous public IPs and thereby simplify the administration of our public endpoints in Azure.
How to create an Azure Private DNS Zone
·691 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzPrivateDnsVirtualNetworkLink
I recently published an article on how to connect VNets using VNet peering; today, I want to show you how to create Azure private DNS zones. These DNS zones can be shared between virtual networks and simplify cross-network and service-discovery scenarios, such as VNet peering.
Connect Azure VNets using VNet Peering
·442 words·3 mins· 100 views · 5 likes
Add-AzVirtualNetworkPeering Azure PowerShell Connect-AzAccount Get-AzSubscription
Hello everyone, and happy new year. In the year’s first post, I want to show you how to interconnect Azure Virtual Networks using VNet Peering. Once peered, the VNets appear as one network, and all VMs in the peered VNets can communicate with each other directly.