Insights / Cloud security

What a cloud health check usually finds

Most cloud setups do not fail in exotic ways. Here are the findings that show up again and again in a read-only review, and what to do about each one.

When people book a health check, they often expect us to find something clever. Usually we don't. Most risk in a cloud account comes from a short list of ordinary things that were fine when the company had five engineers and quietly stopped being fine at forty.

Here are the findings that come up most often, roughly in the order we would fix them.

1. Long-lived keys with far too much access

A deploy pipeline authenticates with an access key that was created three years ago, has administrator rights, and lives in a CI variable that half the company can read. Nobody remembers who made it, so nobody wants to rotate it.

The fix is well understood: move CI to short-lived credentials through OIDC federation, give the pipeline a role that can do only what it deploys, and delete the old key. It is rarely more than a few days of work, and it removes the single most likely way into the account.

2. A Kubernetes version close to end of support

Managed Kubernetes moves fast. A cluster that was current eighteen months ago is now one or two versions from end of standard support, and the add-ons on it (ingress controller, CNI, CSI drivers, cert-manager) are older still.

This is not urgent today. It becomes urgent the week the provider starts forcing upgrades or charging extended support fees. The useful output here is a plan: which manifests use deprecated APIs, which add-ons need to move first, and how many upgrade steps you are behind.

3. One Terraform state for everything

Every environment, every service, one state file. A plan takes ten minutes, touches hundreds of resources, and nobody is quite sure what an apply will do to production. So people stop applying, and changes start being made by hand in the console. Now the code and reality disagree.

Splitting state by environment and by service, with remote state and locking, is not glamorous work. It is what makes every later change safe.

4. Public endpoints nobody meant to expose

A database with a public IP "just for the migration". A Kubernetes API server open to the whole internet. A storage bucket with a listing policy left over from a test. Each one has a reason, and each one is a finding.

5. Logging that exists but answers nothing

Audit logs are switched on but kept for seven days. Application logs go to three places. Alerts fire, but there is no runbook, so the person on call either ignores them or wakes up someone senior. When an auditor or a customer asks "who changed this, and when?", there is no answer.

Retention, a single place to search, and runbooks for the top five alerts cover most of what is needed.

What a useful report looks like

A long list of findings is easy to produce and hard to act on. What matters is the ranking. Each finding should say how likely it is to hurt you, what it would cost if it did, and roughly how long the fix takes. Then you can decide what to fix this month, what can wait, and whether to do it yourself or hand it to someone else.

That is the format we use for our own health check: five working days on read-only access, every finding ranked, and an estimate against each fix.

More from the blog

Keep reading

Ready to get it sorted?

Tell us what you need. A written proposal with a fixed scope, a fixed price and the name of your engineer lands in your inbox within two working days.