What is the Difference between VM image and Snapshot in Azure?

ぃ、小莉子 提交于 2021-02-05 07:55:09

问题


I have gone through multiple documentation from Azure Docs.However, dint get the exact difference between them in terms of Implementation, Purpose etc. Need one of the scenario/suggestion where I can get implement this!

Thank you in Advance.


回答1:


As mentioned https://github.com/MicrosoftDocs/azure-docs/issues/12540 by Karishma Tiwari (MSFT)

A VM Image contains an OS disk, which has been generalized and needs to be provisioned during deployment time. OS Images today are generalized. This is meant to be used as a “model” to quickly stamp out similar virtual machines, such as scaling out a front-end to your application in production or spinning up and tearing down similar development and test environments quickly.

A Snapshot contains an OS disk, which is already provisioned. It is similar to a disk today in that it is “ready-to-use”, but unlike a disk, the VHDs of a Snapshot are treated as read-only and copied when deploying a new virtual machine. A snapshot is a copy of the virtual machine's disk file at a given point in time, meant to be used to deploy a VM to a good known point in time, such as check pointing a developer machine, before performing a task which may go wrong and render the virtual machine useless.



来源:https://stackoverflow.com/questions/55075053/what-is-the-difference-between-vm-image-and-snapshot-in-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!