Virtual Machines Flashcards
What is a virtual machine (VM) in cloud computing?
A virtual machine is a customizable, scalable, and on-demand virtual server that mimics a physical computer and can run various applications. In Azure, VMs fall under the category of infrastructure as a service (IaaS).
What are the essential components required for a virtual machine?
A virtual machine requires CPU, memory (RAM), a virtual disk for storage, networking configurations (including private and public IP addresses), and an operating system (Windows or Linux) to function properly.
How are virtual machines deployed in Azure with respect to networking?
Virtual machines in Azure must be deployed within a virtual network (VNet), which provides the necessary networking infrastructure for communication. Each VM is assigned private and optional public IP addresses associated with a network interface card (NIC).
What are the key aspects to consider when configuring VMs?
When configuring VMs, considerations include selecting the appropriate VM size (CPU and RAM configurations), disk sizes and types, networking settings, and choosing between public and private IP addresses.
How is VM pricing structured in Azure?
VM pricing in Azure involves separate charges for compute resources (CPU and RAM, billed by the minute when VM is running), disks (charged regardless of VM state), licensed operating systems (charged while VM is running), and public IP addresses (charged by the hour, based on the SKU type).
What are the advantages and disadvantages of using virtual machines compared to managed services?
Advantages of VMs include full control, application compatibility, ease of migration for existing infrastructure, testing and development flexibility, and extending data center capabilities. However, VMs come with more management overhead, higher costs when compared to well-configured managed services, and complexity in scaling.
What is the main difference in pricing between compute resources and disks for virtual machines?
Compute resources (CPU and RAM) are charged only when the VM is running, while disks are charged regardless of the VM’s state (running or stopped).