How to Add the Public IP for newly clonned VM

Developer Atigro 0 Reputation points
2025-06-05T02:25:09.0266667+00:00

Cloned the new VM after it is cloned the new VM doesn't have public IP associated how to fix that. Is that something to do with Public IP quota or so.

Azure NAT Gateway
Azure NAT Gateway
NAT Gateway is a fully managed service that securely routes internet traffic from a private virtual network with enterprise-grade performance and low latency.
61 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 125.8K Reputation points Volunteer Moderator
    2025-06-05T02:47:43.1433333+00:00

    Hi,

    If you clone an existing Azure VM you need to associate its Network Interface IP configuration with a Public IP address resource.

    To do this in Azure portal navigate to the VM -- Networking -- Network settings blade. Next on right side near top click on the Network interface/ ipconfig at top.

    User's image

    Once on IP configurations screen, click on the IP configuration (often it is named ipconfig1).

    User's image

    Check Associate public IP address, select existing public IP from dropdown or create new one, then click Save.

    User's image

    The above assumes you are referring to VM with its own dedicated Public IP address. If this assumption is incorrect, please let me know.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.