DEEP DIVE — Virtual Machines (VMs) Flashcards
(30 cards)
What is a Virtual Machine?
a simulated computer system that runs within a physical computer
What does a Virtual Machine Do?
create a virtual environment where you can run different operating systems and software. It’s like having multiple computers running on a single piece of hardware
what are the 5 types of Virtual Machines
B-Series, D-series. F-series. E-series, NC-series
B-Series
burstable, cheap, light workloads, small website
D-series
general purpose, balanced CPU/memory, App servers, databases
F-Series
Need Strong CPU for fast calculations
E-Series
Needs lots of Ram for big databases
NC-series
is a GPU VM, graphics heavy stuff (Ai, video rendering,)
Why use virtual machines?
flexibility, scalability, global access and cost savings
What is Flexible about virtual machines
can spin up a machine for 2 hours and shut it down (only pay for 2 hours)
what are the real world uses of VMs
Hosting Websites, Running Database servers, Setting up testing environments for new apps, hosting game servers, creating secure servers for remote work.
Components of a VM
Operating System, CPU, RAM (Memory), Storage, Network Interface.
Operating System
What system it runs, Windows server 2022, Ubuntu Linux
CPU
How much processing power
Ram (memory)
How much “desk space” for active work.
Storage
Virtual hard drives, SSD and HDD
Network Interface
Virtual “ethernet port” for internet, connects to a Virtual Network (Vnet)
Optional extras for a VM
Back up plans, monitoring/logging, Auto-shutdown settings (to avoid wasting money).
How are VMs Billed?
billed per second or minute they are running.
what do you Pay for on a running VM
Compute ( CPU + RAM usage, Storage (Vms disks), Networking (outbound data traffic if big enough).
When you deallocate your VM, what do you still pay for?
You still pay for storage, but stop paying for compute.
why should you turn off AND deallocate
because Azure keeps billing, the VM’s are still reserved for the user.
What are 3 good security practices to secure a VM
Set strong passwords/SSH keys, use Network Security Groups (NSG), use Azure bastion.
What does a Network Security Group (NSG) do?
blocks unwanted access (like a firewall).