Matias & Ramirez Ingenieros y Consultores, homeLet's talk

Blog

Checklist: is my cloud set up properly?

A list for reviewing your Azure or AWS cloud: access, secrets, backups with tested restores, costs, alerts, documentation and environments.

“Everything is working, but we don’t know if it’s set up properly.” If your company runs on Azure or AWS and someone in management has said something similar, this list is for checking.

Systems that respond today tell you little about what happens on the day something fails: a leaked password, a backup that will not restore or a bill that doubles without warning. The questions below focus on those moments.

How to use it: sit down with whoever runs your cloud, whether someone on your team or a provider, and answer each point yes or no. An “I don’t know” counts as a no. The technical terms are there so that person knows exactly what to check.

Access and permissions: you know who can do what

  • You have the list of people with administrator permissions, by name, and you know why each of them needs them.
  • Each person signs in with their own account. With a shared account, the activity log cannot tell you who made a change.
  • Multi-factor authentication is on for every account with permissions, starting with the AWS root account and the Microsoft Entra ID global administrators.
  • The AWS root account is kept for emergencies and nobody uses it for day-to-day work.
  • Permissions are assigned by role, with the minimum each task requires.
  • When someone leaves the company or a provider’s contract ends, their access is removed that same day, and it is clear who does it.

In a handover, access tends to stay open. The provider or engineer who leaves keeps administrator permissions, or the root account and its keys stay in the name of someone who is no longer there. Removing access should be a step in the offboarding process, with an owner and a date.

Secrets: no password lives in the code

  • Passwords, API keys, connection strings and certificates are stored in Azure Key Vault, AWS Secrets Manager or AWS Systems Manager Parameter Store.
  • The code repository and configuration files contain no secrets, old branches included.
  • If a key ever reached a repository, it was rotated. Deleting it from the code leaves the original key in the history.
  • Applications use managed identities in Azure or IAM roles in AWS instead of fixed keys, wherever the service allows it.
  • You know which certificates and keys expire, and when.

Backups: someone has already restored one

Having backups configured is the first step. Until someone restores one in a separate environment and opens the data, you do not know whether it works or how long it takes.

  • You know what is backed up: databases, files, and also the configuration needed to bring the system back up.
  • Backups sit in a different account or subscription, or are protected against deletion. If an attacker or a mistake gains administrator permissions over production, the backups have to survive.
  • A full restore has been done in a separate environment, someone timed it and the result was written down.
  • The restore is repeated on a fixed date in the calendar, and it has an owner.
  • For each important system, it is agreed how much data can be lost and how long it can be out of service. Those two values set how often to back up.

We recommend testing a full restore at least every quarter, and also after any major change: a database migration, a change of region or of backup tool. How often depends on how much the data changes and how long the business can go without the system. If an hour of downtime already costs money, test monthly and measure how long the restore takes, as well as whether it works.

Costs: the bill is never a surprise

  • A budget is set up in AWS Budgets or Azure Cost Management, with alerts that reach a person who reads them.
  • Resources are tagged with project, environment and owner, so you know what drives each cost.
  • Someone reviews the bill every month and can explain why it went up or down.
  • Someone looks for resources that are paid for and unused: disks with no machine attached, unassigned public IP addresses and development environments left running out of hours.

Monitoring and alerts: you find out before your users do

  • If an important system goes down, the alert reaches your team before the first complaint from a client.
  • Each alert goes to a channel with an owner, and covers what affects the business: availability, errors and capacity.
  • Alerts are few and useful. If so many arrive that the team ignores them, they need trimming.
  • The activity log (AWS CloudTrail or the Azure activity log) is switched on and kept long enough to reconstruct what happened after an incident.

Documentation: someone else can carry on

  • There is an up-to-date diagram of what is in the cloud and how it connects.
  • The procedures for deploying, restoring and granting or removing access are written down, and someone other than their author has already followed them.
  • The infrastructure is defined as code (Terraform, Bicep or CloudFormation). If any part was created by hand in the console, it is identified.
  • If the person who runs your cloud were unavailable tomorrow, someone else could carry on from what is written down.

Environments: production is kept apart

  • Production lives in an account or subscription separate from development and testing.
  • Your development team does its daily work without permissions over production.
  • Changes reach production through an automated process with approval, and there is a record of who approved each one.
  • Real client data is not copied to development or testing without being anonymised first.

Where to start if there are many noes

Order the open items by how hard it would be to recover if the risk materialised. Our suggested order:

  1. Multi-factor authentication and personal accounts, together with budget alerts. Usually the quickest to fix, and it protects the accounts that can change everything. Budget alerts are set up once and warn you before the bill arrives.
  2. Secrets out of the code, with a single source. A leaked key can be used without going through multi-factor authentication. If the pipeline reads one secret store and the application reads another, nobody knows which one is in charge. That mess is worth closing before the rest. Also rotate any keys that were ever exposed.
  3. A test restore of the most important system. It tells you whether you could recover your data today.
  4. Documentation, environments and monitoring, which take more work and can be planned in stages.

Want to apply this in your company?

Tell us about your case in a free initial assessment of about 30 minutes. From there we decide the next step.

Let's talk