Madhur Asati
Madhur Asati

Reputation: 261

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

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.

Upvotes: 9

Views: 13061

Answers (1)

Kamran
Kamran

Reputation: 1380

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.

Upvotes: 11

Related Questions