Can I automatically update (install updates for Windows and Linux distributions at the moment) for all the blobs I have (*.vhd ) in the container

Aleksandr Slypchenko 40 Reputation points
2023-08-14T13:29:13.0666667+00:00

Good afternoon

I have some questions

  1. Can I automatically update (install updates for Windows and Linux distributions at the moment) for all the blobs I have (*.vhd ) in the container without creating a virtual machine for each blob?

If this is possible, please tell me how can I do it.

  1. If updates (for Windows and Linux distributions at the moment) can only be done with the creation of a virtual machine, is there a way to automate this process for blobs (*.vhd ) in a container?

If this is possible, please tell me how can I do it.

  1. What are other options for installing updates (Windows, Linux distributions) at the moment if there are numerous blobs (*.vhd ) in the container.

Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,929 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
431 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 24,661 Reputation points
    2023-08-16T08:05:13.11+00:00

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.