Jump to content
Updated Privacy Statement
  • 0

Temporary Virtual Machines are being created under the wrong Azure Resource Group


ed wiazewicz1709160321

Question

When a new server image is imported from Azure to Citrix, it appears a temporary VM is created to prepare the image for deployment, This seems to be getting created in the Resource Group of the original "Base image VM", however as I have a "delete lock" on this resource group, the temporary VM is not being removed.

If the temporary VM was created using the same Resource Group the Remote Desktop VMs use then the temporary VM will be deleted without issue. 

Is this possiblle?
 

Link to comment

1 answer to this question

Recommended Posts

  • 0

Since MCS deployments in Azure don't use snapshots in the same way as they do on-prem, it's usually a good idea to copy your master image to a new version named disk which you then choose to deploy to your machine catalogs. This then gives you a more granular way to version control your deployments.

 

If you introduced a copy process as part of your deployment, there's no reason the target storage account of your copy couldn't be in a different resource group without a delete lock. If you then use this for your MCS deployments then the temp instance would be created in the same resource group as the disk avoiding the issue.

 

It would be fairly straightforward to script this process to minimise admin overhead.

 

Andy

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...