CloudAcademia
EN

Cloud Computing · Module 06 · Cloud Networking: Virtual Networks, Subnets and Gateways

Cloud Networking: Virtual Networks, Subnets and Gateways

Overview3h totalIntermediateMarkdown

Showing raw Markdown: the renderer could not load.

In the cloud you never touch a cable, but you still design networks: address ranges, subnets, routes, gateways and firewalls, all defined in software. Most cloud outages and data leaks involving networking come from a wrong route or an over-open rule. This module maps the networking you already know onto cloud virtual networks and lets you build one yourself on your own machine.

## Learning objectives
By the end of this module you will be able to:
1. Design a virtual network (VPC) with public and private subnets across availability zones, choosing non-overlapping address ranges.
2. Explain how route tables, the Internet gateway and the NAT gateway decide where traffic goes.
3. Compare stateful security groups with stateless network access control lists (ACLs), and write rules for a two-tier application.
4. Explain how virtual networks are connected (peering, transit hubs, VPN) and why peering is not transitive.
5. Troubleshoot reachability problems caused by routes, NAT or filtering rules.

## Prerequisites
- [Networking 06 — Subnetting](../../networking/06-subnetting/README.md) and [Networking 10 — Routing Fundamentals](../../networking/10-routing-fundamentals/README.md).
- [04 — Cloud Fundamentals](../04-cloud-fundamentals/README.md) and [05 — Virtualization and Containers](../05-virtualization-containers/README.md).
- For the lab: a Linux machine with Podman 4 or later. Cost: free; no cloud account needed.

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 55 min |
| [Hands-on lab: build a virtual network on your machine](lab.md) | 90 min |
| [Assessment (10 questions)](quiz.md) | 15 min |

## Further reading
- [RFC 1918](https://www.rfc-editor.org/rfc/rfc1918) — Address Allocation for Private Internets
- [RFC 6598](https://www.rfc-editor.org/rfc/rfc6598) — IANA-Reserved IPv4 Prefix for Shared Address Space
- [nftables wiki](https://wiki.nftables.org/) — the Linux packet filter used in the lab