Where cloud machines live (regions and availability zones), and why some work runs near the user at the edge.
The cloud means renting computers, storage and software over the internet, on demand, and paying only for what you use. Cloud providers place these machines in regions and availability zones.
Years ago, a company bought its own servers, put them in a room and hired people to look after them. In the cloud, a provider owns huge data centres and rents you a slice. You can ask for ten servers in the morning and give them back at night. This is elastic: you grow and shrink as needed, and you pay for use.
Cloud providers organise their data centres in layers. A region is a geographic area. Inside a region there are several availability zones. Each zone is built to fail on its own: separate power, cooling and network links. Zones in one region are connected by fast links, so they are only a few milliseconds apart (an illustrative figure). Regions can be thousands of kilometres apart, so the trip between them takes tens or hundreds of milliseconds.
| Model | You manage | Provider manages | Example idea |
|---|---|---|---|
| IaaS (infrastructure) | Operating system, runtime, app, data | Machines, storage, network | Virtual machines, block storage |
| PaaS (platform) | Your app and data | OS, runtime, scaling | A service that runs your code for you |
| FaaS (functions) | Only a function | Everything else, including scaling to zero | See Serverless |
| SaaS (software) | Your settings and your data | The whole application | Email, chat or a CRM tool |
| Edge use | What happens | Limit |
|---|---|---|
| CDN cache | Static files served from a nearby site | Only content that can be cached |
| Edge functions | Small pieces of code run near the user (redirects, headers, A/B choices) | Short, small programs with little memory |
| IoT gateway | A box at a factory or shop reads sensors and reacts locally | Needs updates and care at every site |
| 5G / telecom edge | Compute inside the mobile network for very low delay | Fewer sites and special services |
An illustrative model: 20 ms on the same continent, 150 ms across continents, 10 ms to the edge. Cost counts 1 per active zone and 0.5 per standby zone. Real numbers depend on the provider, the regions and the prices.
| Term | Meaning in easy words |
|---|---|
| Cloud | Computing resources rented over the internet, on demand, with pay-for-use pricing |
| Region | A geographic area where a provider has a group of data centres |
| Availability zone (AZ) | A separate data centre (or group) inside a region with its own power, cooling and network |
| Elasticity | Growing and shrinking resources to match demand |
| IaaS / PaaS / SaaS | Renting machines, a platform to run code, or a finished application |
| Edge computing | Running code or caching data at many places close to users or devices |
| Edge location | A small site near users that serves cached content or runs light code |
| Data residency | A rule that data must stay in a certain country or area |
| Shared responsibility model | The provider secures the cloud itself, and you secure what you build on it |
| Egress fee | A charge for moving data out of a cloud or between regions |
| Vendor lock-in | Being so tied to one provider's special services that leaving is hard and costly |
| Choice | We gain | We lose |
|---|---|---|
| One zone | Cheapest and simplest | Any zone problem is an outage |
| Many zones, one region | Survive a data-centre failure with fast links between zones | A whole-region outage still stops you |
| Two regions, passive | Survive a region failure | A pause while switching, and you pay for idle capacity |
| Two regions, active-active | Fast for users in both areas and no big pause | Highest cost, data copied across regions, conflicts to manage |
| More edge | Lower delay for cacheable content | Stale data, harder deployments, small runtimes |
| Managed services | Less work for your team | Less control and more lock-in |