I want to make sure an anti-malware agent on any new VMs we create and there is no VM extension available for that agent vendor, should I create an “managed image” from a base VM which has the anti-malware agent on it and create VM from that managed image?
It works very well but Is this the right thing to do or there a better way of doing this?
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-vm-generalized-managed
If there is no VM extension then you really have two options:
Both these options will work, your choice will depend on a couple of things: