What is a Virtual Machine and How is it Used in Cloud Computing?

Click For Summary
SUMMARY

A virtual machine (VM) is a software-based emulation of a physical computer that runs on a hypervisor, allowing users to operate multiple operating systems simultaneously on a single physical machine. In the context of cloud computing, services like Azure and IBM Cloud offer VMs, but not all cloud services, such as Office 365, utilize VMs. Windows 365, however, is a cloud-based VM that provides users with a virtual desktop experience. Understanding the distinctions between VMs and other cloud services is crucial for effective utilization of cloud resources.

PREREQUISITES
  • Understanding of hypervisors, specifically Type 2 hypervisors like VirtualBox and VMware.
  • Familiarity with operating systems, particularly Windows 10 and Linux.
  • Knowledge of cloud computing concepts and services, including Azure and IBM Cloud.
  • Basic understanding of virtual desktops and their applications in cloud environments.
NEXT STEPS
  • Research the installation and configuration of VirtualBox or VMware on Windows 10.
  • Explore the differences between Windows 365 and Office 365 to understand their functionalities.
  • Learn about the security implications of using VMs in cloud environments, particularly in healthcare.
  • Investigate the use cases for VMs in application development and testing across different operating systems.
USEFUL FOR

This discussion is beneficial for IT professionals, cloud architects, developers experimenting with virtualization, and anyone interested in understanding the practical applications of virtual machines in both local and cloud environments.

fog37
Messages
1,566
Reaction score
108
TL;DR
understand virtualization
Hello,

I am about to create (should I say install?) a virtual machine (VM) on my Windows pc to experiment with Linux.
My understanding is that a VM is a "software" (or is it more properly a file? Or is it an image? I guess an image is just a big file?) that is run/managed by a hypervisor (another software) which is run by the primary operating system (Windows 10 in my case). Having a VM will allow me to quickly switch between Linux and Windows as if I had two different physical machines...

The VM is essentially a "virtual computer" inside my computer. An operating system (Linux in my case) running on top of another operating system (Windows).

I hear a lot about VMs in the context of cloud computing (Azure, IBM cloud, etc.). Does that mean that every individual customer (or a group of employees in a business) is using a VM every time they connect and use the cloud and its services? For examples, if someone uses Office 365 online on the cloud, are they essentially using a VM that then disappears after they stop using Office 365?
Or do the VMs exist as long as the cloud subscription exists?

Thanks as always.
 
Technology news on Phys.org
fog37 said:
I am about to create (should I say install?) a virtual machine (VM) on my Windows pc to experiment with Linux.
My understanding is that a VM is a "software" (or is it more properly a file? Or is it an image? I guess an image is just a big file?) that is run/managed by a hypervisor (another software) which is run by the primary operating system (Windows 10 in my case).
You don't seem to be very clear about the meanings of the terms 'file', 'image' and 'software' but the differences are not important here so going into this in detail is just going to confuse things: I suggest you do some reading around these subjects elsewhere.

I assume you are talking about either VirtualBox or VMWare? These are both Type 2 Hypervisors. That link goes into some detail, but briefly this means that they are programs that run as Windows 10 applications.

fog37 said:
Having a VM will allow me to quickly switch between Linux and Windows as if I had two different physical machines...
No, the Linux machine will always exist as a (possibly full screen) 'window' within Windows.

fog37 said:
I hear a lot about VMs in the context of cloud computing (Azure, IBM cloud, etc.). Does that mean that every individual customer (or a group of employees in a business) is using a VM every time they connect and use the cloud and its services?
No, the term 'cloud computing' covers a lot of different services. Virtual machines are just one service offered by most vendors.
fog37 said:
For examples, if someone uses Office 365 online on the cloud, are they essentially using a VM that then disappears after they stop using Office 365?
No, the cloud versions of Office 365 applications are not desktop versions running in virtual machines.
 
fog37 said:
I hear a lot about VMs in the context of cloud computing (Azure, IBM cloud, etc.). Does that mean that every individual customer (or a group of employees in a business) is using a VM every time they connect and use the cloud and its services? For examples, if someone uses Office 365 online on the cloud, are they essentially using a VM that then disappears after they stop using Office 365?
I login to a VMware system every day. A Windows virtual desktop is created each time I login and is destroyed an hour or so after I log out. (And, to my great chagrin, my login expires on a regular basis every couple of hours whether I am i the middle of typing or not).

Other people also login daily, and each gets their own VM created for them.
 
  • Like
Likes   Reactions: fog37 and pbuk
Thanks.

Correction on my part: I mean Windows 365 but wrote Office 365...

So Windows 365 is a VM on the cloud, a virtual computer with apps and computing power. Office 365 online is just a suite of applications (Word, Excel, etc.) on the cloud so it is not a VM...

For all practical purposes, the experience of using Office 365 would seem the same as using Windows 365: we are using a service online in the cloud instead of from our personal physical pc.
Azure also offers "virtual desktops". I am looking into it...DaveC426913, just for curiosity, your VM is a cloud machine. Is it for work? Why do you have it?
I am currently not interested in a cloud VM but, to start, on creating a VM on my own Windows pc to use Linux...

Thanks!
 
Normally you install windows to your hard drive, and it runs "on the bare metal". Why we call it that I don't know, because I don't think silicon is a metal.

In a VM, you install windows to the hard drive, but another program (the hypervisor) runs it as a guest of your existing operating system. This means it'll be installed into a "virtual disk" that appears to it as a real disk, and to the host as a disk file. The host "passes through" the commands issued by the guest to the metal, and vice-versa, so the guest thinks it's running normally. It's like it's in the matrix.

Office 365 isn't regular desktop office in a VM, but I can't say anything useful about exactly what they're doing without inside information on their architecture.

EDIT: As you're asking about reaosns to use a VM. There are many, a partial list is: You might use it to run an application for a different OS, for testing an environment, for building an app for a different archectiure, to multi-box video games (play several at once), to isolate suspect applications, and to hire out to others who want a "machine" in the cloud.
 
fog37 said:
DaveC426913, just for curiosity, your VM is a cloud machine. Is it for work? Why do you have it?
I am currently not interested in a cloud VM but, to start, on creating a VM on my own Windows pc to use Linux...
Not sure if it's cloud, really.

It's run from the hospital (where I go two days a month to work).
I tunnel into the hospital network from my personal lappie (which is not secure) via a VPN, so that I can work securely as if I'm sitting at my desk in the office environment. But there's no physical machine, just a virtual one that's created when I tunnel in.

Naturally, when dealing with confidential patient data, and doctors' finances, the security is essential.
 

Similar threads

  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
13
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
29
Views
5K
Replies
7
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 20 ·
Replies
20
Views
4K