Hello @Muhammad Farrukh ,
Welcome to Microsoft QnA.
Virtual machine scale sets (VMSS) allow you to create and manage a group of identical, load balanced VMs. When you create a VMSS, you specify a base image to use when creating the VMs in the scale set. When you increase the number of VMs in the scale set, the new VMs will be created based on this base image. This means that the new VMs will not have any of the customizations or changes that you made to the base VM. They will be identical to the base image and will not contain any of the text files or other customizations that you made to the base VM.
- The benefit of VMSS is that it allows you to easily and automatically scale the number of VMs in your deployment up or down based on the workload and demand. This can help you ensure that you have enough capacity to handle the load and can reduce costs by scaling down when demand is low.
- If you deployed an application on the base VM, you would typically configure the application to be load balanced across all of the VMs in the scale set. This would allow the application to distribute the load across all of the VMs and improve performance.
- If you want to deploy updates or changes to the application on the VMs in the scale set, you can use a continuous deployment solution like Azure DevOps or Jenkins to automate the deployment process. This would allow you to automatically update the VMs in the scale set with the latest version of your application. You can also use custom scripts to automate the deployment process and ensure that the updates are applied consistently to all of the VMs in the scale set.
Hope that helps. If you have any further questions, feel free to reach back. Thanks :)
----------
Please accept as answer
and upvote
if the above information is helpful.