VM映像和Azure中的快照之间有什么区别? [英] What is the Difference between VM image and Snapshot in Azure?

查看:39
本文介绍了VM映像和Azure中的快照之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我浏览过Azure Docs的多个文档,但是在实现,目的等方面,dint却获得了它们之间的确切区别.需要一种方案/建议,我可以实施此方案!

先谢谢您

解决方案

如上所述 httpskarishma Tiwari(MSFT)的://github.com/MicrosoftDocs/azure-docs/issues/12540

VM映像包含一个OS磁盘,该磁盘已被概括,需要在部署期间进行配置.今天的OS映像已被概括.这旨在用作快速淘汰相似虚拟机的模型",例如在生产中扩展应用程序的前端,或快速拆分和拆除相似的开发和测试环境.

快照包含已配置的OS磁盘.它与当今的磁盘相似,因为它可以立即使用",但是与磁盘不同,快照的VHD在部署新的虚拟机时被视为只读并被复制.快照是虚拟机磁盘文件在给定时间点的副本,旨在用于将VM部署到已知的时间点,例如在检查开发人员计算机之前进行检查执行可能会出错并导致虚拟机无法使用的任务.

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.

解决方案

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.

这篇关于VM映像和Azure中的快照之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆