Skip to content
Improve VM Network Performance Using Azure Proximity Placement Groups

Improve VM Network Performance Using Azure Proximity Placement Groups

Written By Abhinash Kumar
Last Updated October 4, 2021
Posted In Azure
SHARE

Let’s check how to Improve VM Network Performance Using Azure Proximity Placement Groups. In this article, you will be learning about what is Proximity Placement Groups and their configuration details. Proximity placement groups are useful for workloads where low latency is a requirement.

Once you have configured this Azure proximity solution, you can decrease the inter-VM network latency associated with your applications. You can use tools such as SockPerf (for Linux) and latte.exe (for Windows) to measure network latency.

The performance issues because of latency are one of the pain points of all cloud deployment. This is the law of physics. If your data is not nearer to the VM, and you have a lot of ground to cover the performance issues that might arise with the apps hosted in the cloud. Let’s have a walkthrough of Azure proximity placement groups and analyze whether this helps you with the cloud deployments or not.

What is Proximity Placement Groups?

As per Microsoft, A proximity placement group is an Azure Virtual Machine logical grouping capability that you can use to decrease the inter-VM network latency associated with your applications. When the VMs are deployed within the same proximity placement group, they are physically located as close as possible to each other in Azure Datacenter. Proximity placement groups cannot be used with dedicated hosts.

Patch My PC

Proximity placement groups are useful for below workloads where low latency is a requirement –

  • Between stand-alone VMs.
  • Between VMs in a single availability set or a virtual machine scale set.
  • Between stand-alone VMs, VMs in multiple Availability Sets, or multiple scale sets. You can have multiple compute resources in a single placement group to bring together a multi-tiered application.
  • Between multiple application tiers using different hardware types. For example, running the backend using M-series in an availability set and the front end on a D-series instance, in a scale set, in a single proximity placement group.

Why We Use Proximity Placement Groups?

Some workloads require high-speed network traffic connection between two VMs than normal like SAP workloads, some custom App and DB workloads, etc. to achieve these requirements, Azure provides us Proximity Placement Groups by leveraging this, we can place our VMs as close as possible in Azure Datacenter which decreases the Network Latency between those VMs.

Steps to Create Proximity Placement Groups

Let’s create proximity placement groups to help to reduce the network latency in Azure. I would recommend performing this in a staging environment first and then try to replicate this with the production environment.

  • Login to the https://portal.azure.com/
  • Search “proximity” in global search box.
  • Under Services, click Proximity placement groups.
Select Proximity placement groups
Select Proximity placement groups
  • Then “Proximity placement groups“ Page will open in that click on Create.
Create Proximity placement groups
Create Proximity placement groups

You have to fill the options below while creating Proximity Placement Group, fill Tags, and click on Review+Create.

  • Subscription – In the Basics tab, under Project details, make sure the correct subscription is selected.
  • Resource Group – You can create a new Resource Group by clicking on the “Create new” link, or you can choose the existing one from the dropdown.

Region – Select the same region where you want to spin up your VMs. VM region is important because of the law of physics, as I mentioned above. Enter the Proximity placement group name – Type a well-defined name.

Proximity placement groups Creation page
Proximity placement groups Creation page

Add Existing VM in Proximity Placement Group

Let’s follow the below steps to add existing VM in the Proximity Placement Group –

  • First we have to deallocate the VM that we have to add in Proximity Placement Group.
  • Then click on Configuration tab under settings
Select Configuration Option

It will lead us to the configuration page, where you have to select the Proximity placement group from the dropdown and click on “Save.

VM Configuration page
VM Configuration page

Go to the Overview page and select “Start” to start the VM.

VM Overview Page
VM Overview Page

Add VM in Proximity Placement Group

Let’s follow the below steps to add VM in Proximity Placement Group while creating, and You can learn step-by-step processes to create a virtual machine in Azure.

  • While creating a Virtual Machine, Go to Advanced setting tab.
Advanced Setting - Virtual Machine
Advanced Setting – Virtual Machine

In the Proximity placement group selection, select the correct placement group.

Select Proximity placement group in VM creation page
  • When you are done making all of the other required selections, select Review + create.
  • After it passes validation, select Create to deploy the VM in the placement group.

Author

About Author -> Abhinash has over 5 years of working experience in the IT Industry. His primary focus area is Azure IAAS, PAAS & SAAS, and Azure DevOps. He writes and shares his experiences related to Cloud Computing, mainly Azure.

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Azure

Azure Files Goes Cloud-Native with Entra-Only Identities and Managed Identities

Key Takeaways Managed Identity and Entra-Only identities for Azure Files help organizations build a fully cloud-native and secure storage environment by removing the need for passwords, storage account keys, on-premises Active Directory, or hybrid identity infrastructure. With native Microsoft Entra ID authentication, applications, virtual machines, and users can securely access Azure Files using identity-based authentication […]

AC Anoop C Nair 4 min read
Azure

Microsoft Dev Box Moves to Maintenance Mode as Windows 365 Takes Lead for Developer Scenarios

key Takeaways: Let’s discuss about Microsoft Dev Box Moves to Maintenance Mode as Windows 365 Takes Lead for Developer Scenarios. Microsoft announced the Maintenance mode in Dev Box, and no additional features are planned. Microsoft’s investments for developer cloud environments are focused on Windows 365, which provides a unified, scalable solution for developer scenarios. Microsoft […]

AC Anoop C Nair 3 min read
Azure

Multi-Zone Management Platform Architecture for Windows Cloud Solutions

Key Takeaways Multi-Zone Management Platform Architecture for Windows Cloud Solutions! This architecture highlights the core MicrosoftMicrosoft Azure components used to host and deliver Cloud PC services. To ensure high availability and reliability, the infrastructure is distributed across multiple availability zones within each region. This design helps protect the service from zonal outages and keeps workloads […]

AC Anoop C Nair 4 min read
Azure

How to Protect and Recover your Infrastructure with Azure Site Recovery

Key Takeaways Azure Site Recovery is a disaster-recovery service in Microsoft Azure that helps keep your applications running if a cloud region fails. Normally, your virtual machines (VMs) run in one region. ASR creates a copy of those machines in another region so that if the main region goes down, your services can continue running […]

AC Anoop C Nair 4 min read