# Topic 07: Virtualization and Private Cloud

**Fictional Northstar case · self-paced · 45–90 minutes plus optional setup**

## Opening question
Does a VM snapshot replace a backup?

## Explain
Virtualization abstracts physical compute into virtual machines with assigned resources. A hypervisor schedules resources but does not create unlimited capacity or eliminate shared host failures. A snapshot can help with some rollback scenarios; it can share the same storage failure domain and is not automatically an independent backup. Private-cloud operation adds repeatable provisioning, access controls and service ownership.

## Supporting technologies
- **Hypervisor and VMs:** Isolated guest systems share host resources.
- **Resource allocation:** Configured capacity and sustained demand require different checks.
- **Virtual networks:** Guest connectivity still needs segmentation and policy.
- **Snapshots and backup:** Rollback convenience differs from independent recovery copies.

## Scenario
Northstar plans three VMs on a host with 32 GB RAM. Reserve 8 GB for host and overhead in this fictional model.

```text
VM,RAM_GB
identity,8
portal,8
analytics,12
host_total,32
reserved,8
```

## Hands-on procedure
1. Calculate available guest RAM and total requested guest RAM.
2. Identify the shortfall and propose a supported alternative: reduce validated demand, add capacity or change placement.
3. Draw host, shared datastore and backup target; mark correlated failures.
4. Define guest networking and administrator access requirements.
5. Use a VM worksheet or, optionally, a disposable local VM to record vCPU, RAM, disk and network settings without using licensed images you cannot redistribute.
6. Write a restore test that assumes host storage is unavailable; explain which copies would survive.

## Expected reasoning and limits
The model provides 24 GB for guests but requests 28 GB, a 4 GB shortfall. A snapshot on the lost datastore does not satisfy the independent restore scenario.

## Best practices
- Reserve host capacity and measure real demand.
- Keep management isolated and restrict hypervisor access.
- Use independent backup copies and verify restores.
- Document image licensing, patch ownership and guest lifecycle.

## Vendors, projects and learning
- [Microsoft](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/): Hyper-V documentation
- [Proxmox](https://pve.proxmox.com/pve-docs/): Virtual environment documentation
- [Red Hat](https://docs.redhat.com/): Virtualization and platform documentation

## Optional technical extension
Create one small disposable VM using a permitted image, shut it down cleanly, back up its required files and document a restore. Resource and license requirements vary.

## Career practice
Relevant role families to investigate: Virtualization support technician, Infrastructure analyst, Junior systems administrator. No current vacancy or hiring requirement is asserted.

Interview: What failures would a VM snapshot on the same storage not protect against?

## Sources
- [Hyper-V backup approaches](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/backup-approaches)

## Portfolio evidence
Use the [portfolio guide](../guides/portfolio.md). Submit original input, decisions, tests, actual results, limitations and source attribution. Clearly label modeled, planned and performed work.

## Suggested prerequisites
Topic 5, Topic 6
