Got it

Snapshots vs Images - which one to choose? Highlighted

Latest reply: Nov 21, 2021 15:46:25 1503 36 15 0 0

A lot of times we use and hear these terms. Sometimes it’s hard to understand the actual need of a particular one or when to prefer images over snapshots. This post is thus about the proper differences among these two, as it's essential to grasp the differences between images and snapshots.


SNAPSHOTS


A snapshot of a virtual machine (VM) records the state and data of the virtual machine at the moment the snapshot was taken. It behaves similarly to standard operating system snapshots. A VM snapshot is a complete duplicate of the VM that may be used for VM migration or to create numerous instances of the same VM. It may also be used to restore the VM to the state it was in when the snapshot was taken.


Essentially, these snapshots are particularly useful for two purposes:


  • isolating a virtual machine's disks from the write activity so they may be backed up; and


  • enabling a short-term failback during patching and software updates.


You should not maintain them once the requirement to roll back to a certain point-in-time state has passed; for example, after the updates have been successfully done. If snapshots are retained for longer than advised, they might expand in size and eventually cause performance difficulties.

ss

Figure 1: VMware snapshot


IMAGES


A VM image is an executable image file from a VM that is in a unique storage format. By uploading the image file to the real system, we may build a new VM.


It allows for the obvious separation of different settings. It is simple to deploy and decommission. The entire environment (OS, database and/or application server) may be simply moved to another server.


014713pukbbo3g0382k7ku.jpg

Figure 2: VM image


SNAPSHOTS vs IMAGES

 

014713wr3dgidipdvd1dmv.png


CONCLUSION


As per the above discussion, it's quite clear now that Images are meant to create a new VM, as it contains an operating system and a boot loader and may be used to start an instance. In the case of images, public can refer to official public images if they are supplied.


Alternatively, in the case of snapshots, they allow a virtual machine's disks to be isolated from the write activity so that they can be backed up and to provide a short-term failback during patching and software upgrades. Snapshots use quite a lot of disk space as well. As a result, storing too many snapshots on the same storage system might degrade performance. Snapshots are designed to be destroyed after a specified amount of time.


REFERENCES:


  • https://www.parallels.com/blogs/ras/vm-snapshot/;

  • https://ars.els-cdn.com/content/image/3-s2.0-B9780128014769000033-f03-12-9780128014769.jpg.

  • x
  • convention:

Saqib123
Moderator Created Sep 15, 2021 18:13:15

Snapshots for sure
View more
  • x
  • convention:

MahMush
MahMush Created Sep 15, 2021 18:28:51 (0) (0)
Thanks for sharing feedback.. Good to hear :)  
MahMush
MahMush Created Jun 28, 2022 13:23:00 (0) (0)
Yeah but make sure to delete the snapshot after certain amount of time is passed  
MahMush
MahMush Created Jun 28, 2022 13:23:30 (0) (0)
Because it takes up a lot of space to keep the old snapshots  
wissal
MVE Created Sep 15, 2021 18:14:55

Important content
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:34:35 (0) (0)
Thanks for the feedback  
andersoncf1
MVE Author Created Sep 15, 2021 18:18:48

Very useful
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:35:03 (0) (0)
Thank you so much  
Vlada85
MVE Author Created Sep 15, 2021 18:45:13

Good
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:35:45 (0) (0)
Hope it can help all  
RajK
Created Sep 15, 2021 21:13:40

Thanks for sharing this.
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:36:40 (0) (0)
It can help you hopefully  
Sara_Obaid
Created Sep 16, 2021 04:29:19

Excellent post! Thanks for sharing this.
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:37:13 (0) (0)
Great to hear this feedback from you  
Anno7
Anno7 Created Oct 16, 2021 13:07:05 (0) (0)
yest very detailed n informative  
zaheernew
MVE Author Created Sep 16, 2021 06:24:31

Thanks for sharing Snapshots vs Images - which one to choose?-4142475-1
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:38:44 (0) (0)
Snapshot and images both are important concepts and can help us  
zaheernew
zaheernew Reply MahMush  Created Sep 17, 2021 06:01:02 (0) (0)
 
user_4358465
Created Sep 16, 2021 12:29:48

Informative post
View more
  • x
  • convention:

MahMush
MahMush Created Sep 16, 2021 19:37:56 (0) (0)
Snapshot and images both are important  
Anno7
Moderator Author Created Oct 10, 2021 15:08:44

very useful for all
View more
  • x
  • convention:

MahMush
MahMush Created Jun 28, 2022 13:20:09 (0) (0)
Yeah mostly it's misunderstood  
MahMush
MahMush Created Jun 28, 2022 13:20:57 (0) (0)
Simple concepts are sometimes misunderstood and used interchangeably  
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.