Comprehending Cloud Networking

Comprehending Cloud Networking // Cloud+ Field Notes
CompTIA Cloud+ · Objective 1.3 · Cloud Networking

7
Comprehending Cloud Networking

Same routers, switches, and firewalls you already know — virtualized, layered with SDN, and stretched across on-premises and cloud. Second half of the module: what breaks, and how you find it.

8 Parts 40 Exam Keywords 3 Interactive Tools Read time ~16 min
connectivity-check.log

$ ping web-server3

# hostname resolves, reply received

✓ connectivity · ✓ name resolution

$ traceroute www.comptia.org

# tracing route through 8 hops...

$

01

Cloud Networking Concepts

Traffic still flows along predetermined paths — the cloud just virtualizes the devices that manage it.

Network flow diagrams document

  • Wired and wireless segments · Network boundaries (internal, external, DMZ) · Mitigation devices · Trusted/untrusted networks · Public/private cloud connections · Connected nodes

Used for compliance, security, troubleshooting, scaling, design, risk mitigation, and updates. A related data flow diagram tracks information through its lifecycle instead — creation, use, storage, destruction.

Public vs. private — connecting on-premises to the cloud starts with security and privacy, then performance. Organizations choose dedicated connections or VPNs to keep that link private.
02

Securing the Connection

IP traffic is unencrypted by default and easy to intercept. VPN tunneling protocols fix that.

ProtocolNotes
IPsecEncrypts any application-layer protocol; common with VPNs
SSHProtected remote administration, standard on Linux/macOS
L2TP/IPsecCommon VPN protocol, relies on IPsec for encryption
PPTPLegacy — avoid, known vulnerabilities
OpenVPNOpen source, very strong security, slower
Site-to-Site
Point-to-Site

SSH key-based authentication

  • ssh-keygen — generate a key pair on the client
  • ssh-copy-id {vm} — send the public key to the remote VM
  • ssh {vm} — connect, no password prompt
IPsec modes — transport mode encrypts the payload only (host-to-host); tunnel mode encrypts the whole packet, header included (router-to-router).
03

Load Balancers & Firewalls

Two virtual devices that decide where traffic goes, and whether it's allowed to go there at all.

Application
Network
Gateway

Distribution methods

  • Round robin — sequential, ignores current load
  • Static algorithm — evenly split; best for steady workloads
  • Dynamic algorithm — least-busy server first; best for variable workloads

Stateful vs. stateless firewalls

StatefulStateless
ChecksFull TCP connection, traffic characteristicsIndividual packets only
SpeedSlower, more thoroughFaster, better for high workloads
WAF — works at Layer 7, virtually patching known vulnerabilities (XSS, CSRF, SQLi, DDoS) before the application code itself is fixed.
04

Network Components

Switches connect devices; routers connect segments. Both get virtualized in the cloud.

ComponentOSI LayerUses
SwitchLayer 2MAC addresses
RouterLayer 3IP addresses / network ID

Network segmentation designs (Azure)

  • Single virtual network with subnets
  • Multiple virtual networks as peers
  • Multiple virtual networks in a hub-and-spoke topology
Microsegmentation — traditional segmentation isolates traffic at the network perimeter; microsegmentation applies policy at the individual workload level — visible, granular, and it follows the app as it scales.

Static vs. dynamic routing tables

StaticDynamic
Maintained byAdministrator, manuallyRouters, automatically
Best forSmall, unchanging networksLarger, changeable networks
RiskTypos, hard to scaleCommunication issues between routers

Common routing protocols: OSPF, EIGRP, and BGP — which connects Autonomous Systems across the Internet (eBGP) or within large internal networks like a VPC (iBGP).

05

VLANs, SDN & Virtual Private Clouds

Software takes over the job physical wiring used to do.

VLANVXLAN
Segment limit4,094~16 million
HeaderLayer 2 tagLayer 2 encapsulated in a Layer 3 UDP header

Azure uses NVGRE, AWS uses VXLAN — incompatible with each other. GENEVE is the standard that bridges all three implementations for multi-cloud stretching.

Software-defined networking (SDN)

  • Data plane — forwards and filters traffic (the compute level)
  • Control plane — centralized, policy-based management, decoupled from individual devices

VPC design: hub-and-spoke

A central hub hosts shared services (identity, DNS); spoke networks attach to the hub, not to each other. Peering connects hub to each spoke — spokes are never peered directly.

06

NAT, Transit Gateways & CDNs

Address translation hides internal networks; transit gateways and CDNs move traffic efficiently once it's out.

NAT — maps internal, non-routable IPs to a single external routable IP, hiding internal addressing from the Internet. Cloud NAT extends this to VPC-hosted VMs (AWS NAT Gateway, Azure NAT Gateway, GCP Cloud NAT).

Transit gateways connect

  • VPCs · VPN-connected on-premises networks · Dedicated-connection networks · SD-WAN links

CDN benefits

  • Reduced load delay and latency
  • Increased scalability and load balancing
  • Automatic failover / higher availability
  • Better support for latency-intolerant apps

CDN caching locations are called points of presence (PoP). Examples: Azure CDN, GCP Cloud CDN, AWS CloudFront.

07

Name Resolution, DHCP & Time

Three quiet services that everything else depends on.

ServiceJob
DNSResolves names to IP addresses
DHCPDynamically assigns IP address configuration
NTPSynchronizes device clocks

DHCP lease — four steps

  • Client sends DHCPDiscover
  • Server sends DHCPOffer
  • Client sends DHCPRequest
  • Server sends DHCPAck

The client always initiates the process — not the server.

DNS isn't encrypted by default — lookups are vulnerable to eavesdropping and manipulation. DNS over HTTPS, DNS over TLS, and DNSSEC each help secure the resolution process.
08

Troubleshooting the Network

Ping and traceroute are still the first two tools you reach for — cloud or not.

ping — hostname vs. IP

Reading a ping response

ResultMeaning
Reply receivedConnection up, both directions working
Request timed outSent fine — likely a problem on the destination
Destination host unreachableCouldn't even send — likely a problem on the source

Common troubleshooting commands

CommandPurpose
ping / tracerouteTest connectivity and path
nslookup / dig / hostTest name resolution
ipconfig / ip addrView IP address configuration
route / ip routeView or edit the routing table
ss / netstatView current connections
Wireshark / tcpdumpCapture and inspect packets
NmapScan a network for devices and services
HTTP status codes worth memorizing
403 Forbidden and 404 Not Found are client-side (400-level) issues. 500 Internal Server Error and 502 Bad Gateway are server-side (500-level) issues — the server itself, or something it depends on, failed.
Scope exhaustion — a DHCP server runs out of IP addresses to lease. Watch DHCP logs and keep documentation of client counts versus available scope size to catch it before it causes outages.

Exam Keyword Flashcards

Tap a card to flip it.

Quick Self-Check

Four questions pulled straight from the module.

Score: 0 / 0
Module 7 · Comprehending Cloud Networking CompTIA Cloud+ Objective 1.3