Limiting VM per resoure group

Samantha 21 Reputation points
2021-11-13T14:09:13.123+00:00

i would like to know if i can limit the number of vms we can create per resource group

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

Accepted answer
  1. Tasadduq Burney 8,681 Reputation points MVP
    2021-11-13T14:12:32.863+00:00

    Hello @Samantha-535!

    Hope you are having a great day!
    Thank you for asking a Question! We are Glad to Assist you!.

    The number of VM's per resource group parameter is fixed and cant be changed, Please visit the link below to learn more :-
    https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#virtual-machines-limits---azure-resource-manager

    You can try out creating Azure policy for the second use case of only creating certain types of VM's in a resource group :-
    https://learn.microsoft.com/en-us/azure/governance/policy/tutorials/create-and-manage

    Let me know if the above solution resolved your issue!

    Regards,
    Tasadduq Burney

    __

    |- Please don't forget to "Upvote" and "Accept as answer" if the reply is helpful -|

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.