I am running an application with autoscaled Azure VM. Let's suppose the current version of application is 1.0 is being served by 4 VM's as per the current load on application. Now, if I have a patch update and release a new version of application,i.e 2.0, then how will this new version of application updated to the currently VM's running? If load increases, and new VM gets started, they all will be having this new version of application 2.0, but the previously running 4 VM's, will they have this new version of application? And if yes, how? Can anyone solve my query?
Thanks