Cloud & DevOps

Infrastructure

Step-by-step articles on Infrastructure, part of our Cloud & DevOps collection.

  • 20 articles
  • 22 min of reading
  • 2 sub-topics
  • 29 Sep, 2026 last updated

Showing 20 articles

Terraform 1 min read

Terraform State: Remote Backends and Locking

The state file is Terraform's memory: which real resources belong to which blocks in your code. For a team, it must be shared, locked during changes and protected, because it can contain secrets. An S3 backend with locking terraform { backend "s3" { bucket = "...

11 Sep, 2026 Author 1.04K 43
Read article
Observability 2 min read

Distributed Tracing Explained

In a system of many services, one slow user request might pass through an API gateway, three services, a queue, two databases and a third-party API. Distributed tracing reconstructs that whole path. Traces and spans A trace is the full journey of one request,...

23 Aug, 2026 Author 1.52K 83
Read article
Terraform 1 min read

Writing Reusable Terraform Modules

A module is a folder of Terraform files used as a building block. Good modules capture your organisation's standards (encryption on, tags set, sensible defaults) so every team gets them for free. Module layout modules/static-site/ main.tf # resources variables...

05 Aug, 2026 Author 330 123
Read article
Terraform 1 min read

Managing Multiple Environments in Terraform

Almost every project needs the same infrastructure in several environments, with small differences: smaller instances in dev, more replicas in prod. There are three common approaches. 1. Separate directories (most common) infra/ modules/ app/ # the shared buil...

18 Jul, 2026 Author 247 82
Read article
Observability 2 min read

SLOs, SLIs and Error Budgets Explained

"Make it reliable" isn't a goal you can measure. Service level objectives turn reliability into a number that product and engineering can agree on. The terms SLI (indicator) - a measurement of user experience, usually a ratio of good events to total events. Ex...

12 Jun, 2026 Author 551 135
Read article
Observability 1 min read

Alerting Without Alert Fatigue

When alerts fire constantly, people stop reading them, and the one that matters gets missed. Good alerting is mostly about deciding what not to page on. 1. Every page must be urgent and actionable Ask: "If this fires at 3 a.m., does someone need to do somethin...

06 May, 2026 Author 1.05K 125
Read article
Terraform 1 min read

Testing Terraform Code with terraform test

Modules are code that many teams depend on, so they deserve tests. Terraform includes a test framework: .tftest.hcl files with runs and assertions. A plan-only test # tests/naming.tftest.hcl variables { environment = "staging" domain = "shop.example.com" } run...

19 Apr, 2026 Author 1.52K 76
Read article