Overview

We strongly recommend treating each virtual machine as if it was a physical machine for most activities. Virtual machines are vulnerable to most of the same things as physical machines including data loss/corruption, hardware failures, viruses, and hackers. Install and use virus scanning software. Take regular updates to your operating system, preferably via an automatic update system. Make regular backups of important data. Follow the recommended best practices for your guest operating system. In most cases, simply treat your virtual workstation as you would any other machine.

Best Practices 

 

Backups 

The importance of backing up your data cannot be stressed enough.  Virtual machines are at just as much risk, if not more, for data loss due to hardware failure, file corruption, system compromise, and other events.  If data loss happens, a backup can make a world of difference in recovering from such an event.  How you use your virtual machine will determine the best way to do backups for your virtual machines. 

  1. You have important software/data in the VM (research, data, etc) - Install TSM within your virtual machine and have it run regular backups of the data within your virtual machine.  This method does not preserve your virtual machine, just the data within it.
  2. Your VM is an appliance- We recommend that the sys admin manually makes backups.  Drag and copy it somewhere (IE: an external drive). Exclude your VM files from regular backups via TSM.  See items 2 and 3 below for reasons.  For more information, see: Q. I want to make a backup/copy of my virtual machine. What is the best way to do so?

Things to note regarding virtual machine backups:

  1. Mac: time machine does not backup virtual machine files.
  2. A virtual machine image is actually comprised of several files.  All of those have to be in sync or behavior is erratic.
  3. From outside the virtual machine (host machine), if a backup is made when the virtual machine is running, the results are inconsistent.  Backup your virtual machine files on the host machine when the virtual machine is not running.

Security Recommendations

 We strongly recommend you treat each virtual machine as though it is an individual machine for the purposes of security.

Security Risks Specific to Virtual Machines

While virtual machines are at risk of all the same things as any other machine, you should be aware of a few additional issues.