Not able to attach the Existing Azure Standalone VM to a VMSS Flex

Kommineni SomaShekhar 20 Reputation points
2024-07-07T18:47:14.6966667+00:00

Not able to attach the Existing Azure Standalone VM to a VMSS Flex

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,549 questions
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.
363 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 103.6K Reputation points MVP
    2024-07-07T18:57:10.7433333+00:00

    Hi @Kommineni SomaShekhar ,

    please verify the limitation for attaching a VM to a Scale Set:

    Limitations for attaching an existing VM to a scale set


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

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Azar 22,035 Reputation points MVP
    2024-07-07T18:55:44.69+00:00

    Hi there Kommineni SomaShekhar

    Thanks fir using QandA platform

    You can't directly attach an existing standalone VM to a VMSS Flex in Azure. Instead, follow these steps:

    Create an Image of the VM, Deallocate the VM in the Azure Portal and Capture an image of the VM.

    Now Create VMSS Flex, Create a new VMSS Flex using the captured image

    Set up VM sizes, instance count, and other configurations. Deploy the VMSS Flex.

    For more info follow the doc below

    https://video2.skills-academy.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-attach-detach-vm?tabs=portal-1%2Cportal-2%2Cportal-3

    If this helps kindly accept the answer thanks much.