Cloud Fundamentals for Network Engineers
The vocabulary and mental model you need before cloud networking: regions and availability zones, the shared responsibility model, virtual networks as software, how cloud differs from a data centre, and how the big three providers name the same ideas.
Why this lesson first
You already know routing, switching, VLANs and firewalls. The cloud uses the same ideas with different names, a different operating model (everything is an API call) and different economics. Engineers who struggle in the cloud usually carry over assumptions that no longer hold: “I can plug a cable in”, “the network is free once it is built”, “I can sniff any port”. This lesson gives you the map before the later lessons go deep on each provider.
What “the cloud” is
Cloud computing is renting computing resources (servers, storage, networks, databases, managed services) from a provider over the internet, on demand, billed by use. The essential characteristics are self-service (you create things with a console, CLI or API), elasticity (add and remove capacity in minutes), pooled resources shared securely among customers, and metered billing.
Service models describe how much the provider manages:
| Model | You manage | Examples |
|---|---|---|
| IaaS (infrastructure) | Operating systems, apps, data, network rules | Virtual machines, virtual networks, block storage |
| PaaS (platform) | Your code and data | Managed databases, app platforms, container services |
| SaaS (software) | Just your use of it | Email, CRM, collaboration tools |
Deployment models: public cloud (shared provider infrastructure), private cloud (dedicated to one organisation), hybrid (on-premises plus public cloud, joined by VPN or dedicated links) and multi-cloud (more than one provider).
Geography: regions and availability zones
A region is a geographic area where the provider runs data centres (for example “eu-west-1” in Ireland or “us-east-1” in Virginia). Within a region there are several availability zones (AZs): separate data-centre locations, with independent power, cooling and networking, joined by fast low-latency links.
Why it matters to a network engineer:
- A subnet lives in one availability zone. To survive the loss of a zone you create a subnet in each zone and spread your workloads across them.
- Latency and cost rise with distance. Traffic inside a zone is cheapest and fastest; between zones it is slightly slower and usually billed; between regions it is slower and billed more; out to the internet it is billed most.
- Regions are independent. Resources, address ranges and often services are regional. Connecting regions is something you design.
- Choose regions for latency, data-residency law and available services, not only price.
Virtual networks are software
In a data centre you plug devices into physical switches and routers. In the cloud the network is software-defined: you declare a virtual network and the provider’s hypervisor and fabric implement it.
- VPC (AWS and Google Cloud) or VNet (Azure): a logically isolated network with an address space you choose (such as
10.20.0.0/16). - Subnets: slices of that space, in one zone each.
- Route tables: decide where traffic goes (local, internet, VPN, peering).
- Gateways: internet gateway, NAT gateway, VPN gateway, transit gateway.
- Security controls: security groups, network ACLs, firewall rules.
- Load balancers, DNS and endpoints: managed services, not boxes you configure.
Things you cannot do, or do differently, compared with a physical network:
| On-premises habit | In the cloud |
|---|---|
| Plug a laptop into a SPAN port to capture traffic | Use traffic mirroring or flow logs (provider features) |
| Run spanning tree, rely on broadcast and multicast | Layer 2 as you know it generally does not exist; no arbitrary broadcast, and multicast needs specific services |
| Choose your own MAC or run gratuitous ARP failover tricks | Use the provider’s mechanisms (floating IPs, load balancers) |
| Buy bandwidth once | Pay for data transferred and for gateways by the hour |
| Change a cable | Change an API object (and keep it in code) |
The shared responsibility model
The provider and you split security duties. The line moves with the service model:
- The provider secures the cloud: facilities, hardware, the hypervisor, the physical network.
- You secure what you put in the cloud: identities and permissions, network rules, operating system patches (for VMs), application code, data classification and encryption choices.
One idea, three names
| Concept | AWS | Azure | Google Cloud |
|---|---|---|---|
| Virtual network | VPC | Virtual Network (VNet) | VPC (global) |
| Subnet scope | One availability zone | Regional (can span zones) | Regional (can span zones) |
| Stateful instance firewall | Security group | Network security group (NSG) | VPC firewall rules |
| Subnet-level filter | Network ACL (stateless) | An NSG can also be attached to a subnet (stateful) | VPC firewall rules and firewall policies (stateful) |
| NAT for private instances | NAT gateway | NAT Gateway | Cloud NAT |
| Private access to provider services | VPC endpoints / PrivateLink | Private Endpoint / Private Link | Private Service Connect |
| Hub for many networks | Transit Gateway | Virtual WAN / hub VNet | Network Connectivity Center |
| Load balancer | ELB (ALB, NLB, GWLB) | Load Balancer, Application Gateway | Cloud Load Balancing |
| Managed DNS | Route 53 | Azure DNS | Cloud DNS |
| Dedicated private link to on-premises | Direct Connect | ExpressRoute | Cloud Interconnect |
| IPsec VPN | Site-to-Site VPN | VPN Gateway | Cloud VPN |
Differences to remember: in AWS a subnet is tied to a single AZ and a VPC is regional; in Google Cloud a VPC is global and subnets are regional; in Azure a VNet is regional with subnets that can span zones. Always check the current documentation for each service’s limits and behaviour, because they change.
How you will work: everything is an API
Every console click is an API call, so cloud networking is naturally automatable. Professionals define networks in code (Terraform, CloudFormation, Bicep, Pulumi) kept in Git, reviewed and deployed through pipelines. Learn to read the command line too:
aws ec2 describe-vpcs --query "Vpcs[].{id:VpcId,cidr:CidrBlock}" --output table
az network vnet list -o table
gcloud compute networks list
Cost awareness from day one
Typical network-related charges (check each provider’s current price list, which changes):
- Data transfer out to the internet, and sometimes between zones and regions.
- NAT gateways and load balancers: hourly charges plus per-gigabyte processing.
- VPN and dedicated connections: hourly or monthly port fees plus transfer.
- Public IPv4 addresses: providers now charge for them, which is one reason IPv6 is attractive.
- Interface and private endpoints, transit gateway attachments, flow logs storage.
Habit: for every design, ask “what flows where, and which of those flows are billed?”
A starting checklist for any cloud network
- Pick non-overlapping address ranges (RFC 1918) that also do not collide with on-premises or other clouds you may connect later. Overlap is very hard to fix afterwards.
- Plan subnets per zone and per tier (public, private application, data).
- Default to private subnets and expose only what must be public, through controlled entry points.
- Tag everything (owner, environment, cost centre).
- Put the network in code and review changes.
- Turn on logging (flow logs, audit logs) from the start.
A team puts all its servers in one subnet in a single availability zone to keep things simple. What risk does this create and how do you fix it?
The subnet lives in one zone, so a zone failure takes the whole application down. Create subnets in at least two zones, place instances in each, and put a load balancer in front so traffic continues if one zone fails. Also check that cross-zone traffic costs are understood.
Can You Explain It?
Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.
- Explain the difference between a region and an availability zone and why a subnet's zone matters.
- Give three on-premises habits that do not carry over to the cloud, and what replaces each.
- Describe the shared responsibility model using a security group as the example.
🧪 Want to practise this on your own computer? See how to set up your lab →