Cloud computing has changed how we build networks: applications deploy with one click onto shared, elastic infrastructure, and the network itself becomes software. CompTIA’s summary for this topic names NFV (Network Function Virtualization), VPC (Virtual Private Cloud), network security groups, and cloud gateways alongside the deployment models (public, private, hybrid) and service models (SaaS, IaaS, PaaS). It also hosts the objective 1.8 “evolving use cases” — software-defined networking, VXLAN, Zero Trust, and infrastructure as code — so this note covers both how cloud networks are designed and how they are secured and automated. These notes follow Prof. Messer’s Network+ N10-009 videos: “Designing the Cloud” and “Cloud Models” (1.3), “Software Defined Networking”, “Virtual Extensible LAN”, “Zero Trust”, and “Infrastructure as Code” (1.8).
⏱ Video — Designing the Cloud (9:39): 0:01 cloud computing basics · 1:00 migrating to virtual servers · 1:52 network function virtualization · 3:01 virtual private cloud · 3:35 transit gateway · 3:57 vpn connectivity · 4:25 internet gateway · 4:41 nat gateway · 6:03 vpc endpoints · 6:19 security groups and lists · 7:17 network security lists · 8:23 network security groups · 9:29 virtual firewalls ⏱ Video — Cloud Models (5:13): 0:01 who accesses your application · 0:13 public cloud · 0:28 private cloud · 0:34 hybrid cloud · 0:40 software as a service · 1:55 infrastructure as a service · 2:50 platform as a service · 3:50 the responsibility matrix · 5:07 choosing a model ⏱ Video — Software Defined Networking (6:47): 0:02 virtualizing device functions · 0:27 the data plane · 1:31 the control plane · 1:51 the management plane · 2:04 a physical firewall example · 3:06 introducing sd-wan · 4:01 leaving the centralized data center · 4:45 application-aware routing · 5:23 zero touch provisioning · 6:03 transport-agnostic connectivity · 6:16 central policy management ⏱ Video — Virtual Extensible LAN (5:08): 0:02 data center interconnect · 0:52 differing ip schemes and links · 1:47 enter vxlan · 1:57 vlan limits · 2:22 sixteen million virtual networks · 2:43 two data centers · 3:23 vtep endpoints · 3:43 vni identifiers · 4:12 the vxlan tunnel · 4:35 encapsulation · 4:46 decapsulation ⏱ Video — Zero Trust (6:32): 0:02 protecting the edge · 0:25 the zero trust approach · 1:06 authentication process · 1:21 adaptive identity · 1:57 risk-based decisions · 3:25 authorization and least privilege · 4:01 avoiding administrative access · 4:37 users and apps everywhere · 5:09 sase · 5:56 sase services ⏱ Video — Infrastructure as Code (8:11): 0:02 what is infrastructure as code · 0:15 deploying from a config file · 0:44 versions and updates · 1:01 replicating environments · 1:34 a sample config file · 2:11 playbooks · 2:27 a malware playbook · 3:08 soar platforms · 3:41 use cases · 4:18 documenting existing systems · 6:08 source control · 6:34 branches and merges
Cloud computing and NFV
Cloud computing means deploying an application and multiple services with one click, with seemingly unlimited resources. You scale up and down with demand (elasticity) and access the app from anywhere. Clouds use multitenancy — many customers share the same infrastructure — for efficiency in technology and cost.
Take a typical data center with 100 physical servers, redundant networking, load balancers, and multiple firewalls. Now migrate those 100 servers into one very large physical server running 100 virtual servers. The network virtualises too: NFV (Network Function Virtualization) replaces physical routers, switches, firewalls, and other devices with virtual versions. The devices, network interfaces, and configuration are all visible from the hypervisor; you push a button to deploy a new firewall, switch, or router configuration.
Virtual Private Clouds and connectivity
A common application instance — web server, database server, load balancers, virtual switches and routers, virtual firewalls — runs inside a VPC (Virtual Private Cloud). Larger environments use separate VPCs per application or division, keeping systems separated but managed as individual virtual appliances.
- Transit gateway — a cloud router connecting VPCs together so they can communicate.
- VPN connectivity — a remote site or user workstation brings up a VPN (Virtual Private Network) tunnel to the transit gateway to reach the VPCs securely.
- Internet gateway (VPC gateway) — publishes applications so anyone on the internet can reach them.
- NAT gateway — lets devices inside a VPC communicate outbound over the internet. NAT (Network Address Translation) maps private addresses to a public IP; outbound traffic is allowed, inbound may be restricted.
- VPC endpoint — a direct connection from a VPC on one cloud provider to a VPC on another. Example: cloud storage at a different provider connects to a private subnet through a VPC endpoint rather than the public internet.
Cloud security groups and lists
Security groups and lists are effectively a firewall for cloud services, controlling inbound and outbound traffic to VPCs. Rules are built on TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) port numbers, plus layer 3 addresses — individual IPs, blocks in CIDR (Classless Inter-Domain Routing) notation, or IPv4/IPv6 ranges.
| Feature | Scope | Granularity |
|---|---|---|
| Network security list | Applies to all VPCs / cloud networks automatically | Broad — same rules everywhere |
| Network security group | Assigned to individual VNICs (Virtual Network Interface Cards) | Per-interface rules, more administration |
A network security list is defined in the cloud provider’s front end and applied to all virtual cloud networks (Subnet X, Y, Z). The challenge is low granularity — every network gets the same rules even where a rule is unneeded, and you cannot add per-network rules. A network security group assigns rules to individual VNICs — Group A (inbound TCP 443) on one interface and Group B (inbound TCP 22) on another, even inside the same subnet. For more security, add a virtual firewall or other virtualized platform in front of the application instances.
Cloud models: deployment and service
Deployment models ask who accesses the application. An app for anyone on the internet lives in a public cloud; an internal-only app may use a private cloud in your own virtualized local data center; many organisations need a hybrid of both.
| Model | Who runs it | What you do |
|---|---|---|
| SaaS (Software as a Service) | Provider writes and manages the app | Log in and use it — Google Mail, Office 365 |
| IaaS (Infrastructure as a Service) — also HaaS (Hardware as a Service) | Provider gives computing resources; you install, manage, and upgrade your software | Build, deploy, manage your own application and data |
| PaaS (Platform as a Service) | Provider runs the engine and gives building blocks | Customise the app; manage development — Salesforce.com |
The responsibility matrix splits duties between customer and provider. With on-prem, the customer handles everything. With IaaS, the provider handles the physical data center, network, and host, and the customer handles software and data. With PaaS, network controls and identity may be shared. With SaaS, the provider handles applications and the customer controls accounts, devices, and data.
Software-defined networking
Every networking device has three functional planes; SDN (Software Defined Networking) recreates each in software for virtual deployment:
- Data plane (infrastructure layer) — the heavy lifting: forwarding traffic from one interface to another, trunking, encrypting, and NAT.
- Control plane (control layer) — the tables that decide where data goes: routing tables, switching tables, NAT tables.
- Management plane (application layer) — how you manage the device: SSH to a console or a web-based front end.
A physical firewall shows the split: the front-panel interfaces are the data plane, the internal forwarding/filtering and routing tables are the control plane, and the console or web front end is the management plane.
SD-WAN (software-defined networking in a wide area network) applies this to the cloud era. Services used to sit in one centralized data center reached by permanent WAN links; now email, databases, and apps live in cloud providers anywhere and may move at any time. SD-WAN is:
- Application aware — it knows which application is in use and forwards data to the closest service for it.
- Zero-touch provisioning — remote routers and switches update automatically when the network or service location changes.
- Transport agnostic — fiber, 5G, or DSL all work the same way.
- Centrally managed — policies are set on one central management console and pushed to all SD-WAN routers automatically.
VXLAN (Virtual Extensible LAN)
Organisations spread applications and servers across data centres; DCI (Data Center Interconnect) links them. The problem: data centre A and B may have completely different IP addressing and different connectivity (fiber, metro Ethernet, copper). Applications should work anywhere without concern for the underlying link.
VLANs (Virtual LANs) stretch layer 2 across switches so areas share IP subnets, but VLANs top out at around 4,000 virtual networks and are confined to layer 2 — they are not routable.
VXLAN (Virtual Extensible LAN) supports up to 16 million virtual networks and connects them over a layer 3 network, routing over the existing internet. It was designed for the large virtualised environments we run today.
In a typical setup two data centres each have a virtualization server with a virtual switch and VMs (A1/B1/C1 in one, A2/B2/C2 in the other). The top-of-rack switch in each data centre hosts a VTEP (VXLAN Tunnel End Point) — 1.1.1.1 in one centre, 2.2.2.2 in the other. Each VTEP carries VNIs (VXLAN Network Identifiers): VNI 2000, 3000, and 4000 in both centres. A VXLAN tunnel links VNI 2000 in one centre to VNI 2000 in the other (and likewise for 3000, 4000). The original Ethernet frame is encapsulated inside a VXLAN header, then a UDP header, an IP header, and an Ethernet frame. It is routed through the tunnel and decapsulated on the far side back into the original Ethernet frame.
original frame: [Eth hdr][IP hdr][data]
encapsulated: [Eth hdr][IP hdr][UDP hdr][VXLAN hdr][original frame]
└────────── routed across the VXLAN tunnel ──────────┘
far side: decapsulated back to [Eth hdr][IP hdr][data]Zero trust
Traditionally we protect the network edge — who enters, who leaves — but once inside everything tends to be accessible. Zero trust is a holistic security approach: every user, device, and application is inherently untrusted, and all traffic is checked and verified so only the right users access the right data. This means authentication, encryption, additional firewalls, monitoring, and other controls inside the network.
Authentication usually involves a username and password, possibly additional factors. With policy-based authentication and an adaptive identity, every attempt considers who is authenticating (a 10-year employee or a recent vendor), where they are (local area or a different country), the IP address, and the connection type — combined into a risk assessment. Inside the building, username and password may suffice; from an unknown IP in another country over VPN, require additional factors. Correct credentials from an unusual location at an unusual time may still be denied.
Authorization determines what the authenticated user can do. A help desk staff member can view the hardware database; the help desk manager can modify it; everyone else has no access. Location matters (a different country may mean different rights), and a company laptop with a verifiable certificate may earn additional rights. Best practice: least privilege — provide only the rights and permissions that match the job. Never grant administrative access just to reach certain data; if a device with admin access is infected with malware, the malware inherits admin access everywhere.
Users are anywhere (corporate office, home, field) and applications are anywhere (public cloud, private data center). SASE (Secure Access Service Edge), pronounced “sassy”, is a next-generation VPN that moves security technologies into the cloud near the application data. A SASE client is installed on every user device and connects automatically. SASE provides network as a service (QoS and routing), ZTNA (Zero Trust Network Access), firewall as a service, and DNS security.
Infrastructure as code
IaC (Infrastructure as Code) describes a piece of the network as code — a configuration file that defines every server, network device, firewall, switch, router, and application. Instead of building, installing, and configuring each device by hand, you do the work in code and tell the cloud to build everything to those specifications. Build a configuration, deploy it, make small changes, redeploy — or take the code to a separate data centre and build an identical copy.
A simplified config file might define a host named mail.example.com with children such as web servers and database servers (hostnames listed), CPU type, network configuration, IP addresses, and applications to install.
A playbook is a series of steps for handling a problem — investigating a data breach, recovering from ransomware — turning manual work into an automated process. Example: a system identifies malware, references a playbook that removes the device from the network, deletes everything on its storage, reimages the system, and redeploys it into the infrastructure. Playbooks are typically executed within SOAR (Security Orchestration, Automation and Response) platforms — a central administrative control pane for security operations.
Key benefits of IaC:
- Avoid configuration drift (small setting differences between instances).
- Keep every system compliant by building each from the same definitions.
- Ensure a test environment matches production exactly.
- Replicate configurations across data centres worldwide.
- Make changes or upgrades by editing the definition file and deploying — the system detects the difference and applies changes.
- Document an existing system: scan it, capture its configuration in an IaC definition file, and duplicate it at will.
In large environments these definition files are critical, so they live in source control (version control) — e.g. git over the internet with a central repository. Every change is tracked; when two people change the same line, the version control system detects a conflict and resolves it automatically or with manual intervention. You can also branch the code: take a production definition into a test environment for upgrades and changes, then merge it back to create a new version.
Where attacks live — mental map (beyond the video)
Not from the video — why this matters for security.
- Broad network security lists (“any IP” on TCP 22 or 443) hand attackers their first foothold; per-VNIC security groups shrink the blast radius, but only if each rule is actually justified.
- Zero trust is the defense against stolen credentials: adaptive identity should reject the correct password at the wrong time and place, and least privilege keeps malware from inheriting administrative reach.
- IaC and source control cut both ways — one malicious change merged into the central repository deploys to every data centre at once. Protect the repo, review merges, and keep playbooks ready to redeploy from a known-good definition.
- SD-WAN / SASE central policy is a single control point: whoever controls the console steers every site’s application traffic — and the same automation that fixes the network can be turned against it.
- VXLAN tunnels carry layer 2 segments across routed networks and the internet; without encryption or tunnel authentication, anything that can inject into the transport can reach across data centres.