If i have a resource group 1 with VM1 Domain controller and now i want to put an App server out there is it better to create a new resource group 2 with all its drives, nics etc. and make sure it works first and move later into resource group 1.
If need to delete it and start over this this would make more sense. If i put it in resource group 1 right away how do i know which resources go to which objects?
What is best practice when it comes to resource groups and creation.
This may be answered in future classes but not sure.
-
Azure AZ-900 Resource groups video
-
Resource groups are typically used to group resources that have the same lifecycle, or the same security needs.
You are on the right track when you ask how will I know what resources to delete if I want to delete the app server. Because the app server has a different lifecycle than the DC, you would not want them in the same resource group.
The recommended practice would be to put all the resources that had to do with the application, the app server, NICs and IPs, database servers, etc., in the same resource group.
The domain controllers, and any associated resources, would be in there own resource group. I would not recommend moving things like app servers into that resource group. Your DC's will most likely need policies that wouldn't apply to your app servers.
You can have 980 resource groups per subscription!
Hope this helps!
Mike Rodrick
Edutainer, ITProTV**if the post above has answered the question, please mark the topic as solved.