Cloud networking for beginners
What is cloud networking?
Cloud networking connects applications, users and services using software-defined networks and provider-managed physical infrastructure. A virtual network is a logical space where you choose address ranges and connectivity rules. It resembles a local network in its use of addresses and routes, but the provider operates the underlying switches and links.
Imagine an online bookstore: a browser sends a request to a public entrance, which forwards it to an application server. The server may query a database. The database does not need a public internet address merely because the bookstore has a public website.
IP addresses, CIDR and subnets
An IP address identifies a network-layer destination or source. IPv4 uses 32 bits; IPv6 uses 128 bits. A subnet is an address range within a network. CIDR notation specifies a prefix length: 10.20.0.0/24 fixes the first 24 bits of an IPv4 address, leaving 8 bits for addresses inside the block. The range is 10.20.0.0 to 10.20.0.255, containing 256 addresses. A /26 has 64 addresses. These totals are not the number of assignable cloud interfaces: providers reserve addresses and apply other constraints.
In our fictional network 10.20.0.0/16, use 10.20.1.0/24 for the application tier and 10.20.2.0/24 for the data tier. These ranges do not overlap. The 10.20.1.10 application address belongs to the first subnet; 10.20.2.20 belongs to the second. Private IPv4 ranges can be reused in isolated networks, but overlapping ranges complicate connecting them. Documentation-only public addresses such as 203.0.113.10 are never real service targets in these examples.
Routes, gateways and filtering
A route describes where to send packets for a destination prefix. A gateway is a next-hop or boundary component that can connect networks. A default IPv4 route, 0.0.0.0/0, matches any IPv4 destination when no more specific applicable route wins. For example, a route for 10.20.2.0/24 is more specific than the default. Actual cloud routing also has provider-specific route types, priority rules and restrictions.
A firewall applies traffic rules, usually based on attributes such as protocol, address and port. A route is not permission. For a connection to work, both the forward and return path must be usable and filtering must permit the relevant traffic. An application must also listen and respond. Some firewalls track connection state and permit replies to allowed connections; stateless rules require explicit attention to both directions.
Follow a browser request
Consider this fictional HTTPS request to https://books.example.com/catalog. The DNS system resolves the name to 203.0.113.10, an illustrative public frontend address. DNS supplies address information; it does not forward the actual HTTP request. The browser establishes a connection to the frontend, normally using port 443 for HTTPS, and validates its certificate. TLS protects the connection against eavesdropping and tampering when correctly configured. HTTP carries the application request and response. HTTP/3 uses QUIC rather than a TCP connection; for this example assume HTTP/1.1 over TLS and TCP.
The load balancer receives the request and selects an eligible application backend at 10.20.1.10:8443. A load balancer distributes traffic; it is not automatically an authorization system. The application queries 10.20.2.20:5432 using its authorized database identity. It sends its response through the frontend. If TLS terminates at the frontend, the backend connection is separate; configure and validate encryption on that hop according to the security requirements.
Text diagram (all addresses and names are fictional): browser -> public HTTPS frontend -> private application -> private database. DNS resolves the frontend name before the request. The response follows the established connections back. A missing backend route, a denied port or a failed certificate check can prevent success even though the DNS record is correct.
Latency, bandwidth and throughput
Latency is the time a message takes to travel or complete an exchange; round-trip time (RTT) measures an exchange back to the sender. Bandwidth is the capacity of a link in bits per second. Throughput is the achieved rate of useful data transfer, often lower than the capacity.
A 20 MB file contains 160 megabits using decimal units. At a constant effective throughput of 40 Mbit/s, the data transfer alone needs 4 seconds. At 80 Mbit/s it needs 2 seconds. DNS, connection setup, server processing and retransmissions may add time. A faster link does not necessarily reduce propagation delay. A request using two sequential 30 ms round trips spends 60 ms on those exchanges before other work; parallel exchanges should not be added as if sequential.
Practice and common mistakes
Do not count DNS resolution as evidence that an application is healthy. Do not equate subnet size with assignable address count or bandwidth with observed throughput. For a fictional request, write the name, resolved address, destination port, route, filtering decision, listener and response path. If any fact is missing, record it as unknown instead of declaring the connection healthy.
Try the chapter practice worksheet before continuing to public and private reachability. Detailed binary subnetting, packet formats and transport behavior belong in the dedicated Networking track.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Cloud networking for beginners — knowledge check
Choose the best answer for each offline scenario.
How many total IPv4 addresses are in a /26 prefix?
A browser resolves books.example.com. What has been established?
Which route is more specific for 10.20.2.20 in the simple teaching model?
At an effective 40 Mbit/s, how long does transferring 20 decimal MB take, ignoring other delays?
Where does HTTP travel after DNS returns the frontend address in the example?