Cloud computing changed the way organizations build infrastructure.
Instead of connecting only physical servers inside a traditional data center, modern applications may communicate across:
The result is a new networking model:
Cloud networking is software-defined networking built around virtual infrastructure, programmable routing, identity-aware security and highly distributed application architectures.
Understanding cloud networking therefore requires more than learning what a VPC is.
You need to understand how traffic moves.
A simplified cloud architecture looks like this:
INTERNET
│
▼
┌──────────────┐
│ Public DNS │
└──────┬───────┘
│
▼
┌───────────────┐
│ Load Balancer │
└───────┬───────┘
│
┌────────────┴────────────┐
│ │
▼ ▼
┌───────────┐ ┌───────────┐
│ Web Tier │ │ Web Tier │
│ Subnet │ │ Subnet │
└─────┬─────┘ └─────┬─────┘
│ │
└────────────┬────────────┘
▼
┌────────────┐
│ App Tier │
│ Private │
└─────┬──────┘
│
▼
┌────────────┐
│ Database │
│ Private │
└────────────┘
This guide explains the architecture behind that model and how AWS, Azure and Google Cloud implement similar networking concepts using different terminology and services.
If you are new to networking, it is useful to first read Computer Networking Explained and TCP/IP Explained.
Cloud networking is the design, configuration and management of network connectivity between cloud resources, users, applications, data centers and external networks.
Traditional networking relies heavily on physical infrastructure:
Router
Switch
Firewall
Cable
Server
Data Center
Cloud networking abstracts many of those components into software-defined resources:
Virtual Network
│
├── Subnets
├── Route Tables
├── Security Controls
├── NAT
├── VPN
├── Load Balancers
└── Private Connectivity
The physical infrastructure still exists, but cloud customers generally interact with logical resources rather than configuring the underlying switches and routers directly.
Google Cloud, for example, describes a VPC as a virtual network with system-generated routes and forwarding mechanisms that direct traffic between resources.
AWS similarly uses VPC route tables to determine where traffic from subnets or gateways is directed.
A traditional network might look like:
Internet
│
Firewall
│
Router
│
Core Switch
│
┌─┴─────────────┐
│ │
Servers Database
A cloud architecture can instead look like:
Cloud Region
│
├── Availability Zone A
│ ├── Public Subnet
│ └── Private Subnet
│
├── Availability Zone B
│ ├── Public Subnet
│ └── Private Subnet
│
└── Managed Services
The network is programmable.
Infrastructure can be created through:
This makes cloud networking extremely flexible—but also introduces new operational risks.
A wrong route or firewall rule can affect thousands of resources.
A typical cloud network contains:
Let’s examine each component.
Different cloud providers use different names.
| Provider | Virtual Network Concept |
|---|---|
| AWS | VPC |
| Microsoft Azure | Virtual Network / VNet |
| Google Cloud | VPC Network |
The terminology differs, but the basic idea is similar:
Create a logically isolated network environment in which cloud resources can communicate according to defined routing and security policies.
In AWS, a VPC contains CIDR ranges and routing constructs that determine connectivity.
In Azure, a VNet contains subnets and routing/security configurations.
In Google Cloud, a VPC provides the network foundation used by cloud resources.
The key architectural principle is network isolation.
Cloud networks require carefully planned IP addressing.
For example:
VPC: 10.0.0.0/16
This provides a large private address space.
You can divide it into subnets:
10.0.1.0/24
10.0.2.0/24
10.0.3.0/24
10.0.4.0/24
For a detailed explanation of addressing and CIDR, see the networking concepts covered in Computer Networking Explained.
Cloud IP planning becomes particularly important when connecting cloud networks to:
For example, if your corporate network already uses:
10.0.0.0/8
and your cloud environment also uses overlapping ranges, routing can become complicated.
Therefore, IP planning should happen before deploying large cloud environments.
A subnet divides a virtual network into smaller network segments.
For example:
10.0.0.0/16
can contain:
10.0.1.0/24 Web
10.0.2.0/24 Application
10.0.3.0/24 Database
10.0.4.0/24 Management
A three-tier application might therefore look like:
VPC / VNet
│
┌─────────────┼─────────────┐
│ │ │
▼ ▼ ▼
WEB APP DATA
Subnet Subnet Subnet
│ │ │
Internet Internal Private
Access Services Database
Azure’s current networking documentation explicitly describes subnets as IP ranges within a VNet that can segment workloads, apply security controls and control routing.
Subnet design should reflect application architecture rather than simply dividing IP ranges arbitrarily.
One of the most important concepts in cloud networking is the distinction between public and private resources.
A simplified architecture:
INTERNET
│
▼
Public Load Balancer
│
┌──────────┴──────────┐
▼ ▼
Web Server Web Server
Private Private
│ │
└──────────┬──────────┘
▼
Application
│
▼
Database
The database should generally not require direct public Internet access.
Instead:
Internet
X
│
│ No direct access
▼
Database
This is an important part of defense in depth.
For more security architecture principles, see Network Security Basics and Zero Trust Security.
A route table tells the network where traffic should go.
A route can be represented as:
Destination Next Hop
--------------------------------
10.0.0.0/16 local
0.0.0.0/0 Internet Gateway
10.20.0.0/16 VPN
AWS describes route tables as sets of routes that determine where traffic from a subnet or gateway is directed. AWS also uses longest-prefix matching when multiple routes match a destination.
Azure similarly uses system routes and user-defined routes. Custom routes can override certain default routes.
Google Cloud routes use destination prefixes and next hops to determine traffic paths.
This is one of the most important similarities across cloud platforms.
Consider:
10.0.0.0/8
10.10.0.0/16
10.10.20.0/24
A packet destined for:
10.10.20.50
matches all three networks.
The most specific route is:
10.10.20.0/24
Therefore, it wins.
Understanding route specificity is essential when troubleshooting cloud connectivity.
A cloud network needs a mechanism for communicating with the public Internet.
For example, AWS uses an Internet Gateway as a VPC component for Internet connectivity.
A simplified model:
Private Resource
│
▼
Route Table
│
▼
Internet Gateway
│
▼
Internet
However, giving a resource Internet connectivity does not automatically mean it should have unrestricted inbound access.
Routing and security are separate concepts.
NAT stands for:
Network Address Translation
A NAT gateway allows private resources to initiate outbound connections without requiring those resources to have publicly reachable IP addresses.
Example:
Private Server
10.0.2.10
│
▼
NAT Gateway
│
▼
Internet
The Internet sees the NAT gateway’s public address rather than the private server’s address.
A typical architecture is:
INTERNET
│
▼
Internet Gateway
│
Public Subnet
│
NAT Gateway
│
Private Subnet
│
Application
│
Database
AWS documents this architecture using public subnets containing NAT gateways while servers remain in private subnets.
Azure’s NAT Gateway similarly provides outbound Internet connectivity for resources in associated subnets and does not permit unsolicited inbound connections through the NAT gateway.
This distinction is important.
NAT primarily performs address translation and controls how connections are established through the translation mechanism.
A firewall is responsible for security policy.
Therefore:
NAT ≠ Firewall
A secure architecture may use both:
Private Subnet
│
▼
Security Controls
│
▼
NAT Gateway
│
▼
Internet
For a deeper explanation of firewalls, see Firewalls Explained.
Cloud platforms provide different forms of network access control.
Examples include:
A simplified rule:
Source: 10.0.1.0/24
Protocol: TCP
Port: 443
Action: Allow
This means HTTPS traffic from the specified source is permitted.
Security should follow least privilege.
Instead of:
Allow:
0.0.0.0/0
All Ports
All Protocols
prefer narrowly defined rules:
Web → App
TCP 443
App → Database
TCP 5432
This reduces the attack surface.
Cloud environments may use several layers of network security.
A production architecture can include:
Internet
│
▼
WAF
│
▼
Load Balancer
│
▼
Network Firewall
│
▼
Application
│
▼
Database Security Controls
These layers address different risks.
For example:
This is a defense-in-depth model.
CorgiNetwork’s Zero Trust Security guide provides the broader identity and access perspective behind this approach.
Load balancing distributes traffic across multiple backend resources.
Instead of:
Client
│
▼
Server A
you can use:
Client
│
▼
Load Balancer
│ │ │
▼ ▼ ▼
VM-A VM-B VM-C
Benefits include:
AWS’s documented private-subnet architecture uses a load balancer in public subnets while application servers operate in private subnets.
Load balancers can operate at different network layers.
Typically based on:
Example:
Client
│
TCP :443
│
▼
L4 Load Balancer
│
├── Server A
└── Server B
Understands application protocols such as:
It can make routing decisions based on:
Example:
api.example.com
│
▼
Load Balancer
│
├── /users → User Service
├── /orders → Order Service
└── /auth → Authentication Service
This becomes particularly important in microservices architectures.
DNS translates names into network destinations.
For example:
api.example.com
│
▼
DNS
│
▼
Load Balancer
│
▼
Application
For a deeper explanation of DNS, see DNS Explained.
Cloud providers offer managed DNS systems that can integrate with:
DNS becomes even more important in distributed architectures because a single application may have multiple endpoints.
Many organizations cannot move everything into the cloud.
They therefore build hybrid architectures.
For example:
CLOUD
│
Cloud VPC/VNet
│
VPN Gateway
│
Encrypted Tunnel
│
On-Premises VPN
│
Corporate Network
VPN creates an encrypted tunnel between networks.
For a deeper explanation of tunneling, encryption and VPN protocols, see VPNs Explained.
Typical use cases include:
Large enterprises may require more predictable connectivity than a traditional Internet VPN.
Cloud providers offer dedicated connectivity services.
Examples include:
A conceptual architecture:
Corporate Data Center
│
│ Dedicated Connectivity
▼
Cloud Edge
│
▼
Cloud Network
│
┌────┴────┐
▼ ▼
Apps Databases
These services are often used where organizations require predictable network paths, private connectivity, compliance requirements or large-scale data transfer.
Peering connects separate virtual networks.
Example:
VPC A
10.1.0.0/16
│
│ Peering
│
VPC B
10.2.0.0/16
This can allow workloads in separate networks to communicate privately.
However, peering creates routing relationships that must be carefully designed.
As networks grow, organizations often need more scalable architectures.
A common enterprise architecture is hub-and-spoke.
HUB
│
┌────────────┼────────────┐
│ │ │
▼ ▼ ▼
Spoke A Spoke B Spoke C
App Data Dev
The hub may contain:
The spokes contain workloads.
This allows centralized network controls.
Azure documentation describes architectures where routing through network virtual appliances can be used in hub-and-spoke environments.
Segmentation is a major security principle.
Instead of placing everything in one large network:
Everything
│
└── One Network
divide workloads:
Cloud Network
│
┌────────────┼────────────┐
│ │ │
Web App Data
│ │ │
Internet Internal Private
This limits lateral movement.
Segmentation becomes even more important when combined with Zero Trust.
Read Network Security Basics and Network Access Control (NAC) for related security concepts.
Kubernetes introduces another networking layer.
A simplified architecture:
Cloud VPC
│
▼
Kubernetes Cluster
│
├── Node
│ ├── Pod
│ └── Pod
│
├── Node
│ ├── Pod
│ └── Pod
│
└── Load Balancer
Now there are multiple networking layers:
Internet
↓
Cloud Load Balancer
↓
Cloud Network
↓
Kubernetes Service
↓
Pod Network
↓
Container
This is why cloud networking knowledge is essential for DevOps engineers and Kubernetes administrators.
CorgiNetwork’s future Kubernetes Networking Explained article should build directly on this section.
Containers communicate through virtual networks.
For example:
Host
│
├── Container A
│
├── Container B
│
└── Container C
A container platform may provide:
Docker networking becomes particularly important when applications are distributed across multiple hosts.
This also connects cloud networking to the Virtualization Explained article.
Modern cloud architectures increasingly need IPv6.
IPv6 provides a vastly larger address space than IPv4.
Instead of relying exclusively on:
10.0.0.0/8
cloud environments can support IPv6 addressing.
A dual-stack architecture may look like:
Application
│
├── IPv4
│
└── IPv6
IPv6 planning affects:
Cloud engineers should therefore avoid designing networks that assume IPv4 will always be the only protocol.
A cloud network should be observable.
Important telemetry includes:
A useful observability model is:
Network
│
┌────────────┼────────────┐
▼ ▼ ▼
Logs Metrics Traces
│ │ │
└────────────┼────────────┘
▼
Observability
│
▼
Investigation
For broader observability concepts, CorgiNetwork can later connect this topic with a dedicated Network Monitoring & Observability cluster.
Cloud networking problems usually fall into several categories.
Test:
nslookup example.com
or:
dig example.com
If DNS fails, investigate:
Check:
Source
↓
Route Table
↓
Next Hop
↓
Destination
Ask:
Azure’s routing documentation emphasizes that traffic is selected according to the applicable routes and that custom routes can override system routing.
A route may be completely correct while the firewall blocks the connection.
For example:
Client
│
▼
Route ✓
│
▼
Firewall ✗
│
X
Server
Check:
If private servers cannot access the Internet, verify:
Private Subnet
│
▼
Route Table
│
▼
NAT Gateway
│
▼
Internet
Common causes include:
If users receive errors from a load balancer, check:
Client
↓
Load Balancer
↓
Health Check
↓
Backend
Possible failures:
Use a layered approach.
Layer 1
Physical / Provider Status
↓
Layer 2
Virtual Network
↓
Layer 3
IP / Routing
↓
Layer 4
TCP / UDP Ports
↓
Layer 7
Application
↓
Security
↓
DNS
For example:
Can I resolve the hostname?
↓
Can I reach the destination IP?
↓
Does the route exist?
↓
Is the port open?
↓
Does the firewall allow it?
↓
Is the application healthy?
This methodology connects directly with the troubleshooting concepts introduced in Computer Networking Explained.
The three major providers use different names and architectures.
| Concept | AWS | Azure | Google Cloud |
|---|---|---|---|
| Virtual network | VPC | VNet | VPC |
| Subnets | Subnets | Subnets | Subnets |
| Routing | Route Tables | Route Tables / UDR | Routes |
| NAT | NAT Gateway | NAT Gateway | Cloud NAT |
| VPN | Site-to-Site VPN | VPN Gateway | Cloud VPN |
| Dedicated connectivity | Direct Connect | ExpressRoute | Cloud Interconnect |
| Load balancing | Elastic Load Balancing | Azure Load Balancer / Application Gateway | Cloud Load Balancing |
| Network firewall | AWS Network Firewall | Azure Firewall | Cloud Firewall |
| DNS | Route 53 | Azure DNS | Cloud DNS |
The names differ, but the underlying concepts are remarkably similar:
Virtual Network
↓
Subnets
↓
Routes
↓
Security
↓
NAT / Internet
↓
Load Balancing
↓
Private Connectivity
For a broader provider comparison, see AWS vs Azure vs Google Cloud.
A common AWS architecture is:
INTERNET
│
▼
Internet Gateway
│
┌──────────┴──────────┐
│ │
Public Subnet Public Subnet
│ │
Load Balancer NAT Gateway
│ │
└──────────┬──────────┘
│
Private Subnets
│ │
App A App B
│ │
└─────┬─────┘
▼
Database
AWS documents a comparable multi-Availability-Zone architecture using public subnets, load balancer nodes and NAT gateways while application servers remain private.
A simplified Azure architecture:
INTERNET
│
▼
Application Gateway
│
┌────────┴────────┐
▼ ▼
Web VM Web VM
│ │
└────────┬────────┘
▼
App Subnet
│
▼
Database Subnet
Azure allows subnets to be associated with route tables and network security controls.
Google Cloud VPC networking uses distributed routing rather than requiring customers to manage physical routers.
Conceptually:
Google Cloud VPC
│
┌─────┼─────┐
│ │ │
Subnet Subnet Subnet
│ │ │
VM GKE Services
│
Cloud NAT
│
Internet
Google Cloud documentation describes VPC routing as a distributed virtual routing mechanism, with routes defining destinations and next hops.
Cloud networking should be designed for failure.
Instead of:
One Zone
│
One Server
│
One Gateway
use:
Region
│
┌────────┴────────┐
│ │
Zone A Zone B
│ │
Servers Servers
│ │
└────────┬────────┘
│
Load Balancer
The exact implementation differs between providers, but the principle is universal:
Avoid unnecessary single points of failure.
Large applications may operate across multiple regions.
Region A
│
├── Application
└── Database
│
│
WAN
│
▼
Region B
│
├── Application
└── Database
Challenges include:
Multi-region networking should therefore be introduced because there is a clear architectural requirement—not simply because it sounds more resilient.
Do not assign public IP addresses to resources unnecessarily.
Separate:
Allow only required:
Use TLS for application traffic and secure tunnels for private connectivity.
Collect:
Do not expose SSH or RDP broadly to the Internet.
Where appropriate, route traffic through managed firewalls or security appliances.
Incorrect routes can bypass intended security controls.
DNS manipulation can redirect users and services.
Read DNS Explained and Network Security Basics for the underlying concepts.
Infrastructure as Code reduces configuration drift but should include testing and review.
Modern cloud networks are increasingly created through code.
For example, Terraform can represent infrastructure conceptually as:
resource "cloud_network" "main" {
cidr = "10.0.0.0/16"
}
resource "cloud_subnet" "app" {
cidr = "10.0.2.0/24"
}
The exact syntax depends on the provider and Terraform provider resources.
The principle is more important:
Code
↓
Review
↓
Plan
↓
Apply
↓
Monitor
This makes networking changes:
It also makes cloud networking closely connected with DevOps.
CorgiNetwork’s upcoming Infrastructure as Code Explained and Terraform Explained articles can build directly on this concept.
Cloud networking is no longer only a network administrator’s responsibility.
Modern teams often include:
A deployment pipeline might look like:
Developer
│
▼
Git
│
▼
CI/CD
│
▼
Terraform
│
▼
Cloud Network
│
▼
Application
Networking therefore becomes part of the software delivery lifecycle.
Traditional security often assumes:
Inside = Trusted
Outside = Untrusted
Zero Trust rejects that assumption.
A more modern model is:
Request
│
▼
Identity
│
▼
Device
│
▼
Context
│
▼
Policy
│
▼
Access
This makes identity and policy as important as network location.
For a deeper explanation, see Zero Trust Security.
Before deploying a production cloud network, verify:
Cloud networking is the design and management of network connectivity between cloud resources, users, applications, data centers and external networks using software-defined infrastructure.
A VPC is a logically isolated virtual network used to organize and connect cloud resources.
A VNet is Microsoft’s Azure virtual networking environment. It provides subnets, routing and connectivity for Azure resources.
A subnet is a smaller IP network inside a larger virtual network.
A NAT gateway provides outbound connectivity for private resources while avoiding the need to expose those resources directly to inbound Internet connections.
No. NAT and firewall functions are different. NAT translates addresses and manages connection translation; firewall controls enforce traffic policy.
Cloud load balancing distributes traffic across multiple backend resources to improve availability, scalability and traffic management.
Hybrid cloud networking connects cloud infrastructure with on-premises or private infrastructure, commonly through VPN or dedicated connectivity.
It is the practice of separating workloads and controlling communication between them to reduce exposure and limit lateral movement.
The individual concepts are straightforward, but large cloud environments become complex because routing, security, identity, DNS, automation and distributed applications interact.
Cloud networking is the foundation on which modern cloud applications operate.
The most important concepts are:
Virtual Networks
↓
CIDR
↓
Subnets
↓
Routing
↓
NAT
↓
Security
↓
Load Balancing
↓
DNS
↓
VPN / Private Connectivity
↓
Observability
↓
Automation
AWS, Azure and Google Cloud use different names and implementation details, but the fundamental networking principles remain closely related. AWS route tables determine traffic destinations and targets, Azure uses system and custom routing associated with subnets, and Google Cloud uses distributed VPC routing with destination prefixes and next hops.
For CorgiNetwork, cloud networking should become a major bridge between the site’s existing Networking, Servers & Infrastructure, Cybersecurity and Cloud & DevOps clusters.
This article can therefore connect naturally to:
The next logical layer is Cloud Security Explained, followed by Cloud Storage, Cloud Databases, Cloud Load Balancing, and Cloud IAM. Together, these articles can form a strong Cloud & DevOps topical cluster rather than a collection of unrelated posts.
Introduction Border Gateway Protocol (BGP) is the routing protocol used to exchange network reachability information…
Introduction A Linux server can experience connection failures even when its network interface is working…
Introduction TCP retransmissions are an important indicator of network reliability and performance. When a Linux…
Open Shortest Path First (OSPF) is a link-state routing protocol widely used in enterprise networks…
Group Policy is one of the most important management features in Windows Server Active Directory…
Windows DNS servers play an essential role in Active Directory environments, allowing computers, servers, applications,…