Azure clasic VM

iyyappan Gopal 1 Reputation point
2023-01-10T17:08:44.373+00:00

how to create new public in azure clasic vm and the public ip need to be use in existing clasic vm

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,224 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,216 Reputation points
    2023-01-10T17:43:52.277+00:00

    Hi,

    So to create a Public IP and link to the VM you need to follow these steps:

    Try these steps --you can create a new public IP address and associate it to an existing virtual machine by following these steps:

    In the Azure Management Portal, navigate to the "Virtual Machines" section.

    Select the virtual machine that you want to associate the new public IP address with.

    In the virtual machine's dashboard, click on the "ENDPOINTS" tab.

    Click on the "Add" button to create a new endpoint.

    In the "Add Endpoint" dialog box, select "Public" as the endpoint type.

    Select the protocol (TCP or UDP) and enter the public and private port numbers.

    Select "Create a new IP address" and provide a name and IP address or select an existing IP address if it is available.

    Click the "Add" button to create the new endpoint.

    Once you've created the new endpoint, the new public IP address will be associated with the virtual machine, and traffic sent to the public IP address will be directed to the virtual machine. Also need to make sure to configure the Network security group rules to allow the traffic to the virtual machine on the specific port and protocol that you want to use.

    Hope this helps. JS

    == Please Accept the answer if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Luke Murray 11,246 Reputation points MVP
    2023-01-10T19:09:52.547+00:00

    Classic VMs are going out of support in March this year: https://learn.microsoft.com/en-us/azure/virtual-machines/classic-vm-deprecation

    You need to get these converted to ARM, ASAP!

    How does this affect me? As of February 28, 2020, customers who didn't utilize IaaS VMs through ASM in the month of February 2020 can no longer create VMs (classic). On March 1, 2023, customers will no longer be able to start IaaS VMs by using ASM. Any that are still running or allocated will be stopped and deallocated. On March 1, 2023, subscriptions that are not migrated to Azure Resource Manager will be informed regarding timelines for deleting any remaining VMs (classic).

    In regards to creating a Public IP for the Classic VM - you could try the article below which relies on an old Azure PowerShell module: https://www.damirscorner.com/blog/posts/20160229-CreateAReservedIpForAClassicAzureVm.html

    If the above steps in the article fail to work, your best bet may be to migrate it to ARM, then attach a Public IP via ARM.

    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.