Vmss lack of IP Issue

Shailesh Ganesh Shripati 170 Reputation points
2024-06-12T19:12:48.63+00:00

We have some vmss in a subnet but due to lack of IP address in subnet. We are planning to create new subnet. Here which is better option to increase existing subnet or create new subnet. If create new subnet then how does vmss which was part of old subnet will accommodate.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
362 questions
{count} votes

Accepted answer
  1. Miguel Gonçalves | AVANADE 961 Reputation points
    2024-06-12T20:06:30.9433333+00:00

    Hi Shailesh,

    For your need for additional IP addresses in your Azure Virtual Machine Scale Set (VMSS);

    • Increase Existing Subnet (if possible) because Expanding the existing subnet might be limited by the maximum number of available IP addresses.
      • cons; If other resources (like VMs or other services) are already using the subnet, expanding it could impact them.
    • Create a New Subnet
      • cons: You’ll need to update your VMSS configuration to use the new subnet
      • cons: Existing VMSS instances will need to be moved to the new subnet.

    |-------------------------------->>> If the reply was helpful please don't forget to upvote and/or accept as answer, thank you

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. akinbade abiola 7,515 Reputation points
    2024-06-12T23:28:47.4866667+00:00

    Hello Shailesh Ganesh Shripati,

    Thanks for your question.

    As a short-term solution, you can increase the subnet address range if there is enough space for a quicker fix.

    for future-proofing, I will recommend creating a new subnet for better flexibility and future scalability. However, this may be more complex and will require planning.

    See:

    https://video2.skills-academy.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-ip-addressing?source=recommendations

    Regards,

    You can mark it 'Accept Answer' if this helped.

    0 comments No comments