Part 7 of 10
Operations in the cloud era
- Ops used to be done by database admins (DBAs) and system admins. DevOps puts development and operations into the same teams, which share responsibility for services and infrastructure. SRE (site reliability engineering) is Google's version of this idea.
- The goal of ops is to deliver services reliably, by setting up infrastructure and deploying apps, and to keep production stable, by watching it and finding problems.
- Self-hosting means work per machine: planning capacity (for example, watching disk space and adding disks before they fill), setting up machines, moving services between machines, and patching the OS.
- Many cloud services hide single machines behind an API. Storage is billed by how much you use instead of being a fixed disk, so you do not plan capacity ahead. And the service keeps running when one of its machines fails.
- The goal of reliable service stays the same; the processes and tools change.
- DevOps and SRE favor:
- automation and repeatable steps over one-off manual work; - short-lived VMs and services over long-running servers; - frequent app updates; - learning from incidents; - keeping the organization's knowledge written down and shared, so it is not lost when people leave and new people join.
- Ops work splits in two. Ops people at infrastructure providers specialize in running services for many customers. Their customers try to spend as little effort as possible on infrastructure.
- Customer-side ops still exists: choosing the right service for each job, connecting services together, and moving from one service to another.
- Capacity planning turns into money planning, and speed tuning turns into cost tuning. You still need to know what resources you use and why.
- Cloud services have limits, or quotas, such as a cap on how many processes can run at once. You must know them and plan around them.
- Connecting services from many vendors is a growing job. ETL is only part of it; operational services also need to talk to each other. There are few standards for this, so it takes a lot of manual work.
- Some ops work cannot be fully handed off: security of your app and its libraries, how your own services interact, watching load, and finding the cause of slowdowns and outages. So the need for ops has not shrunk at all.