What is a Virtual Machine? | VMware Glossary (2024)

    We couldn't find a match for given <KEYWORD>, please try again.

    A Virtual Machine(VM)isacompute resourcethatuses softwareinstead of a physical computerto runprogramsanddeployapps.One or morevirtual“guest”machinesrun onaphysical“host”machine.Each virtual machine runs itsown operating systemandfunctions separatelyfromtheother VMs,evenwhenthey are allrunningonthe samehost.This means that, for example,a virtual MacOS virtual machine can run on a physical PC.

    Virtual machine technology is usedfor many use cases across on-premises and cloud environments. More recently, public cloud servicesareusingvirtual machines toprovidevirtual application resourcesto multiple users atonce, for even more cost efficient and flexible compute.

    What is a Virtual Machine? | VMware Glossary (1)

    Get the Latest Edition of Next-Gen Virtualization for Dummies

    Take the Virtualized Data Center to the Next Level.

    DOWNLOAD NOW

    What are virtual machines used for?

    Virtual machines (VMs)allowa businessto run an operating systemthat behaves like a completelyseparate computerin an app window onadesktop.VMsmay bedeployedto accommodatedifferentlevels ofprocessing powerneeds, to runsoftwarethatrequires a different operating system,or to testapplicationsin a safe, sandboxed environment.

    Virtual machineshave historically been usedforserver virtualization, which enables IT teams toconsolidate their computing resourcesand improve efficiency.Additionally, virtualmachinescanperform specific tasksconsideredtoorisky tocarry outin a host environment, such as accessing virus-infected dataortesting operating systems. Since the virtual machine isseparatedfrom the rest of the system, the software inside the virtual machine cannot tamper with the host computer.

    How do virtual machines work?

    The virtual machine runs as a process in an applicationwindow, similar to any other application,ontheoperating systemof the physical machine.Key files that make up a virtual machine include a log file, NVRAM setting file, virtual disk file and configuration file.

    Advantages of virtual machines

    Virtual machinesare easy to manage and maintain, and theyoffer several advantages over physical machines:

    • VMs can run multiple operating system environments on a single physical computer, saving physical space, time and management costs.
    • Virtual machinessupport legacy applications, reducing the cost ofmigratingto a new operating system. For example,a Linux virtual machinerunning a distribution of Linux as the guest operating system can exist on a host server that is running a non-Linux operating system, such as Windows.
    • VMs can alsoprovideintegrated disaster recovery and application provisioning options.

    Disadvantages of virtual machines

    While virtual machines have several advantages over physical machines, there are also somepotentialdisadvantages:

    • Running multiple virtual machines on one physical machine canresult inunstable performanceif infrastructure requirements are not met.
    • Virtual machines are less efficient and run slower than afullphysical computer.Most enterprises use a combination of physical andvirtual infrastructureto balance thecorresponding advantages and disadvantages.

    The two types of virtual machines

    Users can choose from two different types of virtual machines—processVMsand system VMs:

    Aprocess virtual machineallowsa single process to run as an application on a host machine, providinga platform-independent programming environmentbymaskingthe information of the underlying hardware or operating system.An example of a process VM is the Java Virtual Machine, which enables any operating system torun Java applications as if they were native to thatsystem.

    Asystem virtual machineisfully virtualizedtosubstitute for a physical machine.A system platform supportsthe sharing of a host computer’s physical resources between multiple virtual machines, eachrunning its own copy of the operating system.This virtualization processrelies onahypervisor, which can run on bare hardware, such asVMwareESXi,or on top of an operating system.

    What are 5 types of virtualization?

    All the components of a traditionaldata centeror IT infrastructurecan be virtualized today, with variousspecific types of virtualization:

    • Hardware virtualization:When virtualizinghardware, virtual versions of computers and operating systems(VMs)are created and consolidated into a single, primary,physical server.Ahypervisorcommunicatesdirectlywith a physical server’s disk space and CPUto manage the VMs.Hardware virtualization, which is also known as server virtualization,allows hardware resources to be utilized moreefficiently and for one machine tosimultaneouslyrun different operating systems.
    • Softwarevirtualization:Software virtualizationcreates a computer system complete with hardware thatallowsone or moreguest operating systemsto runon a physical host machine.Forexample,Android OScan runon a host machinethat isnatively using a Microsoft Windows OS, utilizing the same hardwareasthe host machine does.Additionally,applicationscanbe virtualizedand deliveredfrom a server toanend user’s device, such as a laptop or smartphone. Thisallowsemployees to accesscentrally hostedapplications when working remotely.
    • Storage virtualization:Storage can be virtualized by consolidating multiple physical storage devicestoappear as a single storage device.Benefits includeincreased performance and speed,load balancing andreduced costs. Storage virtualizationalsohelps with disaster recovery planning, asvirtual storage data can beduplicatedandquicklytransferred to another location, reducing downtime.
    • Network virtualization:Multiple sub-networks can be created on the same physical network bycombiningequipment into a single, software-basedvirtual networkresource.Network virtualization alsodivides available bandwidth into multiple, independent channels, each of which can be assigned to servers and devices in real time.Advantagesinclude increased reliability,network speed,security and better monitoringofdata usage.Network virtualization can be a good choice for companies with ahigh volume ofuserswho need accessat all times.
    • Desktop virtualization:Thiscommontype ofvirtualization separates the desktop environment from the physical device andstoresadesktop on a remote server, allowing usersto accesstheirdesktopsfromanywhere on any device.In addition toeasyaccessibility,benefits of virtual desktops includebetter data security,costsavingson software licensesand updates,andease of management.

    Container vs virtual machine

    Like virtual machines, containertechnologysuch asKubernetesissimilar in the sense ofrunning isolated applications on a single platform.While virtual machinesvirtualizethehardwarelayer to create a “computer,”containerspackage up just asingleapp along with its dependencies.Virtual machines areoftenmanaged by a hypervisor,whereascontainer systems providesharedoperating system services from the underlying host and isolate the applications using virtual-memory hardware.

    A key benefit of containersis that theyhave less overhead compared to virtual machines. Containersincludeonlythe binaries, librariesandother required dependencies, andthe application.Containersthat areon the same host share the same operating systemkernel, making containersmuchsmaller than virtual machines.As a result,containersboot faster,maximize server resources,andmakedeliveringapplicationseasier.Containershave becomepopluarforuse casessuchasweb applications,DevOpstesting, microservices and maximizing the number of apps that can be deployed per server.

    Virtual machinesare larger andslower tobootthan containers. They arelogically isolated from one another,with their ownoperating systemkernel, and offer thebenefits of acompletely separateoperating system.Virtual machinesare best forrunning multiple applications together, monolithic applications, isolation between apps, and for legacy apps running on older operating systems.Containers and virtual machines may also be used together.

    Setting up a virtual machine

    Virtual machines can be simple to set up, and there are many guides online that walkusersthrough the process. VMware offersone suchusefulvirtual machine set-up guide.

    Recommended for You

    • Virtual Desktop Infrastructure
    • Virtual Desktops
      • Business Mobility
      • Server Virtualization
      What is a Virtual Machine? | VMware Glossary (2024)
      Top Articles
      Latest Posts
      Article information

      Author: The Hon. Margery Christiansen

      Last Updated:

      Views: 5585

      Rating: 5 / 5 (70 voted)

      Reviews: 93% of readers found this page helpful

      Author information

      Name: The Hon. Margery Christiansen

      Birthday: 2000-07-07

      Address: 5050 Breitenberg Knoll, New Robert, MI 45409

      Phone: +2556892639372

      Job: Investor Mining Engineer

      Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

      Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.