CloudAcademia
EN

Cloud Computing · Module 05 · Virtualization and Containers

Virtualization and Containers

Overview2h 30min totalBeginnerMarkdown

Showing raw Markdown: the renderer could not load.

Every cloud server you rent is a slice of a bigger machine. Virtual machines and containers are the two ways to cut that slice, and they isolate workloads very differently. This module explains how hypervisors and containers work, what really separates a container from its host, and how images are built and limited, so you can choose the right one and run it safely.

## Learning objectives
By the end of this module you will be able to:
1. Explain how hardware virtualization works and compare type 1 and type 2 hypervisors.
2. Compare virtual machines and containers in isolation, startup time, density and overhead.
3. Explain how Linux namespaces and control groups (cgroups) isolate and limit a container.
4. Build a container image and explain its layers and the Open Container Initiative (OCI) formats.
5. Configure resource limits for a container and troubleshoot a container stopped for exceeding its memory.

## Prerequisites
- [04 — Cloud Fundamentals](../04-cloud-fundamentals/README.md).
- For the lab: a Linux machine (or a Linux VM) with Podman 4 or later; Docker works with small changes. Cost: free.

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 50 min |
| [Hands-on lab: inside a container](lab.md) | 75 min |
| [Assessment (10 questions)](quiz.md) | 15 min |

## Further reading
- [NIST SP 800-125](https://csrc.nist.gov/pubs/sp/800/125/final) — Guide to Security for Full Virtualization Technologies
- [NIST SP 800-190](https://csrc.nist.gov/pubs/sp/800/190/final) — Application Container Security Guide
- [OCI Image Format Specification](https://github.com/opencontainers/image-spec)
- [namespaces(7)](https://man7.org/linux/man-pages/man7/namespaces.7.html) and [cgroups(7)](https://man7.org/linux/man-pages/man7/cgroups.7.html) — Linux manual pages