Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between machine image and instance in virtualization?

These two terms have been used frequently in virtualization. Is there a subtle difference? Or are they totally different things in the context of virtualization.

like image 843
user866098 Avatar asked Nov 26 '11 03:11

user866098


2 Answers

Image is static data containing the software (the OS and applications together with their configuration and data files etc) that the virtual machine will run once started. It is usually stored on disk (though you can store it anywhere you like).

Instance is a running virtual machine. It has been started from an image and it is capable of running an OS and processes, performing computations, I/O etc. Unlike static image, instance is a dynamic thing which does some work and with which you can interact.

like image 84
Adam Zalcman Avatar answered Sep 22 '22 22:09

Adam Zalcman


Typically, "instance" refers to a specific, well, instance of a server. It is one virtual machine. The "image" is the filesystem that is used to initialize, or create that instance.

like image 44
Dan Avatar answered Sep 23 '22 22:09

Dan