The cloud
After today, you can explain what a cloud provider rents a team, why a product runs in particular places, and what makes the bill go up.
Dip your toes 1 min
The cloud means renting computers instead of buying them. Companies like Amazon, Microsoft, and Google run huge buildings full of machines and rent them out by the hour or by the request. Spotify once ran its own data centers. It moved to Google Cloud, retiring the last one in 2018, so its engineers could focus on music. The trade is that costs stop being fixed. The bill works like a utility meter: every machine-hour, stored file, and byte sent to users is counted. That turns design choices into cost choices. An autoplaying video or a full-resolution gallery sends more data out, and the charge for sending data grows with every view.
The full lesson 10 min
Why this exists
Until the late 2000s, running a website usually meant buying computers. A company ordered servers, waited weeks for them, and installed them in a data center. That’s a building full of computers with power, cooling, and network connections.
It had to guess its busiest day a year ahead and buy enough machines to survive it. Most of the year, much of that hardware sat idle. When the guess was too low, the site went down on its biggest day.
Spotify ran its own data centers for years, four of them by the time it left for Google Cloud, the move Day 1 mentioned. In a history of the move, its engineers put the reason plainly: Spotify is in the music business, not the data center business. Every hour spent on hardware failures and network cables was an hour not spent on listening. Spotify started exploring the cloud in 2015, routed all its traffic to Google Cloud by May 2017, and retired its last data center in 2018.
That’s the trade the cloud offers every company. You stop owning machines and start renting them, by the hour or by the request. You can get a new server in minutes instead of weeks, and give it back when you’re done. In exchange, your costs stop being a fixed purchase and start moving with your traffic, every day.
What it is
A cloud provider is a company that rents out computing power, storage, and networking over the internet, billed by usage. The three largest are Amazon Web Services (AWS), Microsoft Azure, and Google Cloud. Customers don’t touch the hardware. They ask for what they need through a website or an API, and the provider finds it in one of its data centers.
What you rent comes at different heights, like rungs on a ladder. On the lowest rung, you rent virtual servers, slices of a physical machine that each behave like a whole computer. Google calls this product Compute Engine, and Amazon calls it EC2. You get a bare machine, and your team installs, updates, and watches everything on it.
The middle rung is the managed service, a ready-to-use component the provider runs for you, like a database, a queue, or file storage. Google’s Cloud SQL is a managed database, BigQuery is a managed data warehouse for analysis, and Amazon S3 stores files. The provider handles backups, updates, and replacing broken hardware. Your team handles the data and the settings. On the top rung, full platforms like Vercel or Render take your code and hand back a running app with a web address.
Spotify’s engineers described their goal as moving “up the stack,” which means climbing this ladder. Google’s announcement of the deal in 2016 pointed to managed data tools, like BigQuery, as a large part of why Spotify chose it. Spotify also chose to go all in on one provider rather than spread its services across several. That made the move simpler, and it deepened its vendor lock-in with Google.
Most teams mix rungs. A product might run its code on a platform and keep its data in a managed database. It might also rent a few raw machines for one unusual job.
The cloud also has a geography. A region is a geographic area where a provider runs a group of data centers. Google names them with codes: us-east1 is in South Carolina, europe-west1 is in Belgium, and asia-northeast1 is in Tokyo. Each region contains several zones, each made of one or more data centers with their own power and networking. Running a product in two zones means one data center can fail without taking the product down.
Teams choose regions for two reasons: distance and rules. A listener in Madrid gets faster answers from Belgium than from South Carolina, because data takes time to cross an ocean. And some customers, contracts, and laws limit where personal data can be stored. A product that sells to European governments, for example, may need to promise that their data stays in Europe.
Regions are real places, and occasionally a whole one has a bad day. On October 19 and 20, 2025, a fault in AWS’s Northern Virginia region, us-east-1, disrupted apps across the internet for hours. AWS’s post-event summary traces it to a bug in an automated system inside one database service. Products that ran only in that region went down with it. Running in two regions protects against that, but it costs more and makes data harder to keep in step.
Renting by the hour also makes autoscaling possible: adding and removing machines automatically as traffic rises and falls. A team sets a rule, such as keeping each machine less than two-thirds busy. When an evening rush pushes past it, the provider starts more machines, and when the rush ends, it removes them. The product pays for roughly the capacity it needs, hour by hour, instead of for its busiest day all year.
The bill follows the same logic. Compute is charged by machine time, storage by how much you keep each month, and managed services by queries, requests, or size. Then there’s egress, data leaving the provider’s network, like images and video sent to users. Providers generally charge for data going out and little or nothing for data coming in.
Egress is the line that surprises teams most, because design decisions drive it directly. Moving data between providers counts as egress too. The big three now waive it for customers who leave entirely, but the engineering work of moving stays expensive.
How it shows up in your work
Heavy files are where design touches the bill most directly. An autoplaying video, a full-resolution image gallery, or an offline download feature all send bytes out of the cloud, and every byte out is egress. A content delivery network from Day 19 cuts some of that cost, but it has its own bill. When engineers ask whether a hero video can be shorter or load only on tap, they may be asking about money, not taste. Ask which line of the bill your design moves.
The second is launch day. Autoscaling handles a normal evening rush well, but a big moment tests its limits. Spotify Wrapped, the year-end recap many listeners open in the same few days, is the kind of event teams plan for weeks ahead.
New machines take time to start, and providers cap how many an account can run until someone asks for more. Databases are harder to grow quickly than web servers. Teams often run a load test before the date, sending fake traffic at the product to find what breaks first. If you’re designing for a launch with a hard date, ask what the team does before the day, not only during it.
The third is the sales or legal question you didn’t expect. A large customer asks where their data is stored, or a launch in a new country needs data to stay inside its borders. Answering might mean running a copy of the product in another region, which is weeks of work and a second bill. That can show up in your work as a settings screen for data location, or as a feature that ships later in one market. When a launch plan mentions a new market, ask whether it needs a new region.
The one thing people get wrong
It’s tempting to read a cloud bill as a subscription, a fixed monthly fee like a design tool’s. It’s closer to a utility meter. Every machine-hour, stored file, query, and byte sent out is counted, and the bill is the sum. A quiet month costs less than a busy one, and a sudden spike shows up on the bill within days.
The meter also runs when nobody is looking. A test server left on over a holiday, a forgotten copy of a database, or logs kept forever all cost money every day. That’s why many companies now give teams a monthly view of their own cloud spending.
Steady, predictable usage can get a better deal. Providers offer lower rates in exchange for a commitment to a year or more of use. Google calls these committed use discounts, and AWS sells a version called Savings Plans. That turns the steady part of a bill into something like a subscription, while the spiky part stays on the meter. There’s more here about how teams plan and track cloud costs; you don’t need it yet.
For a designer, the useful habit is noticing which features turn into meters. An “export everything” button runs queries and sends files. A feature that reprocesses every user’s photos runs machines for hours.
Pricing can turn into a meter too: a free tier with no limits invites heavy users who cost more than they bring in. None of these are reasons to skip a feature. They’re reasons to ask what it costs per use before it ships, while the design can still change.
Ask an engineer this
“Which line on our cloud bill grows fastest when usage grows, and is anything on the roadmap likely to make it jump?”
Raise this when a feature on the roadmap moves a lot of data or runs on every request. Most engineers can name one line, often compute, a managed database, or egress, and say what drives it. Notice whether the team watches the bill weekly or finds out at the end of the month. Then ask which upcoming feature would move that line the most. That’s where your design choices and the team’s costs meet.
Terms from today
- Cloud provider
- A company that rents out computing power, storage, and networking over the internet and bills by usage, like Amazon Web Services, Microsoft Azure, or Google Cloud.
- Region
- A geographic area where a cloud provider runs a group of data centers, which customers choose for their machines and data.
- Managed service
- A ready-to-use component, like a database or a queue, that a cloud provider runs, updates, and backs up for you.
- Egress
- Data leaving a cloud provider’s network, such as files sent to users, which providers usually charge for by the amount sent.
- Autoscaling
- Adding and removing machines automatically as traffic rises and falls, so a product pays for roughly the capacity it needs.