~/netref / Cloud & Virtualization
##

Cloud & Virtualization

How networking maps to the cloud — virtual networks, security boundaries, and the overlay tech underneath.

// service models
IaaSRaw compute / network / storage
PaaSManaged runtime / platform
SaaSFinished application
// deployment
PublicShared provider infrastructure
PrivateDedicated / on-prem
HybridMix + cloud bursting
Multi-cloudAcross providers

// cloud networking

  • VPC / VNet = isolated virtual network
  • Security Group = stateful, per-instance
  • NACL = stateless, per-subnet
  • IGW / NAT Gateway for internet egress
  • Peering / Transit Gateway connect VPCs
  • Direct Connect / ExpressRoute = private link

// virtualization

  • Hypervisor Type 1 (bare-metal) vs Type 2 (hosted)
  • VM = full OS · Container = shared kernel, lightweight
  • VxLAN = L2 overlay, 24-bit VNI (16M segments)
  • Underlay (physical) vs Overlay (virtual)
  • SDN separates the control & data planes
// security group vs NACL
Security GroupNACL
ScopePer instance / ENIPer subnet
StateStateful — return traffic auto-allowedStateless — allow both directions
RulesAllow onlyAllow + Deny
EvaluationAll rules togetherNumbered order, first match wins
// cloud connectivity
VPN (IPsec)Encrypted tunnel over the internet to the VPC
Direct Connect / ExpressRoutePrivate dedicated circuit to the provider
VPC PeeringPrivate 1:1 link between two VPCs
Transit GatewayHub interconnecting many VPCs & on-prem
VPC Endpoint / PrivateLinkReach a service without crossing the internet
// containers & kubernetes
ContainerIsolated process sharing the host kernel
PodK8s smallest unit — one+ containers, shared IP
ServiceStable VIP / DNS in front of pods
CNIContainer Network Interface — pod networking plugin
IngressL7 HTTP routing into the cluster
Overlay (VXLAN/Geneve)Flat pod network spanning all nodes
// provider terminology
ConceptAWSAzureGCP
Virtual networkVPCVNetVPC
Instance firewallSecurity GroupNSGFirewall rule
Region zoneAvailability ZoneAvailability ZoneZone
Object storageS3BlobCloud Storage
Managed K8sEKSAKSGKE