Maintain IP Address after Azure VM move across regions

Konspec 1 Reputation point
2021-01-31T02:57:20.493+00:00

Hi,

We are planning to move our Linux VM from South region to Central region within India. Can I continue to retain my static IP address as well as the hostname?

Regards,
Anand

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,997 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AdamZachary 2,871 Reputation points
    2023-11-22T05:50:40.7066667+00:00

    Hi Anand,

    When moving an Azure VM from one region to another, such as from South India to Central India, you cannot retain the same public IP address.

    Azure public IPs are region-specific and cannot be moved across regions. You will need to allocate a new static IP address in the destination region and update any DNS records accordingly.

    While you can use an Azure Resource Manager template to export and replicate the configuration of your public IP in the new region, the IP address itself will be different​​.

    For the hostname configured inside your VM, it can remain the same as it is not tied to the VM's public IP address or its Azure region. However, any external references (like DNS records) to the old IP will need to be updated to reflect the new IP address.

    Kindly if you find the provided information helpful and it resolves your query, please consider accepting the answer. Your feedback is valuable and helps ensure the quality and relevance of the responses.

    0 comments No comments