in VMSS sku upgrade, exisitng public ip and private ip for existing vms is maintained or new public ip/internal ips are allocated ?

Mayank Sharma 20 Reputation points Microsoft Employee
2023-07-19T17:22:45.9233333+00:00

scenario:

  1. VMSS is on sku with 2 vms with public ip allocated to VM NIC and private IP
  2. SKU is upgraded lets say to new SKU and scale out to 5 instances via arm template
  3. Is the public ip/internal ip of VMs maintained for the 2 Vms which were already there before upgrade ?
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,628 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 27,786 Reputation points
    2023-07-20T07:29:52.47+00:00

    Hello @Mayank Sharma

    Thank you for reaching out to the Microsoft Q&A platform.

    In VMSS SKU upgrade, the existing public IP and private IP for existing VMs are maintained. The upgrade process does not affect the IP addresses of the VMs in the scale set.

    Regarding the issue with the Azure Log Analytics Connector and the Data Collection endpoint, if you have turned off public access to the endpoint, you will need to use a private endpoint to send data to your log analytics workspace.

    Since you have regional VNet integration and can reach the private endpoints, you can set up a private endpoint for Azure Monitor and update your logic app to use the private endpoint instead of the Data Collection endpoint. This will allow you to securely send data to your log analytics workspace without exposing the Data Collection endpoint to the public internet.

    To set up a private endpoint for Azure Monitor, you can follow the steps outlined in the Azure Monitor documentation. Once you have set up the private endpoint, you can update your logic app to use the private endpoint instead of the Data Collection endpoint.

    I hope this helps! Let me know if you have any further questions.

    Ref: https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-endpoint-overview?tabs=portal

    If this does answer your question, please accept it as the answer as a token of appreciation.

    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.