Hello @Aleksandr Slypchenko
There is no built-in feature in azure to automatically update (install updates for Windows and Linux distributions for (*.vhd ) in the azure storage blob containers. I am providing you with some general approaches and concepts, but please note that there might have been advancements or changes since then.
Automated Update Process for VHD Blobs: Updating Windows and Linux distributions within VHD blobs can be challenging, especially if you're looking to do it without spinning up virtual machines. This is because updating an operating system typically involves booting into the system and applying updates using the native package manager or Windows Update.
Using Custom Automation: If you have a specific setup where you can mount these VHD blobs and interact with their contents, you might be able to develop custom scripts or automation tools to update the operating systems within these blobs. This would involve scripting the process of mounting the VHD, running update commands, and then unmounting the VHD.
Azure Update Management: If you are dealing with Azure VHD blobs, you might be able to leverage Azure Update Management. This service is designed to automate patching of Azure VMs and can also support managing updates for certain Linux distributions and Windows. However, it might not work directly with VHD blobs, and you might need to create VMs to benefit from this service.
Containerized Systems: Instead of dealing with VHD blobs, consider using containerization. Containers are lightweight and can be updated more easily. You could create Docker images for your Linux-based systems, update the images, and then redeploy your containers. For Windows containers, consider using Windows Server Core images.
Azure Managed Images: If your goal is to manage and update system images (VHDs), Azure Managed Images can be a solution. You create a managed image from a VHD and then deploy VMs using that image. This doesn't require running a VM for each blob, but it still involves managing VM images.
Continuous Integration/Continuous Deployment (CI/CD): For applications running within these Windows or Linux distributions, consider setting up CI/CD pipelines that automatically deploy updated versions of your applications to new VM instances. This way, you're focusing on application updates rather than updating the entire operating system.
Please keep in mind that the above options might have limitations and considerations that could impact their feasibility for your specific use case. It's recommended to consult Azure's technical support for the most up-to-date information and best practices for your scenario.
If this does answer your question, please accept it as the answer as a token of appreciation.