The question
"Do we have auditing or health checks on AWS?" The honest answer for my own five-account organization was: one budget in one account, and an alert topic nobody was subscribed to. Five accounts is small. A management account, production, development, a sandbox, and one account that holds a client's website. Small is exactly when this gets skipped, because nothing has gone wrong yet and every service involved sounds like enterprise furniture. It is also when it is cheapest to do. The whole list below took one afternoon, plus a morning the next day chasing two emails that never came.
Alerting first, because everything else reports into it
1. One topic, one subscription. A single SNS topic in
the production account, with my address subscribed. Every alarm and
detector below publishes to it. Trap one: a new email subscription
sits in PendingConfirmation until the link in the
confirmation email is clicked, and until then every alarm publishes
into a void with no error anywhere. If alarms ever seem not to mail,
list the subscriptions and look for the word pending before
debugging anything else.
2. A budget in every account. One monthly cost budget per account, set at roughly one and a half times a normal month, which for me ranges from five to twenty-three dollars. Budgets without automated actions cost nothing. Trap two, and this one cost me a morning: a budget's email notifications go through AWS User Notifications, which creates a contact per account that starts inactive and receives nothing until it is verified. The verification link expires in twelve hours and only works while you are signed in to that specific account. Four accounts, four separate verifications, and no warning in the budget console that the contact is dead. I found it by noticing that a budget I had deliberately set too low never wrote to me. Now my tooling lists the contact state next to every budget it creates.
Health checks on the real origin, not the CDN
3. Route 53 HTTPS health checks. Two public services run on an always-on machine behind a CDN. The obvious check is the public hostname, and it is the wrong one: a CDN in front of a dead origin returns a 5xx page "successfully," and a check against the CDN stays green while users see errors. The checks point at the origin hostname itself. One service answers its health route with a login redirect, which Route 53 accepts as healthy. The other requires a token on every route except a discovery path, so the check asks for the discovery path, the one anonymous 200 it serves. An alarm fires after two failing minutes and clears on recovery. Missing data is treated as breaching, which means a freshly created check sits in alarm for about two minutes; accept that rather than silence the case where the check itself stops reporting. About three and a half dollars a month for both.
A record of everything, and a detector
4. One organization trail. A single CloudTrail in the management account covering management events in every region for every member account, with log-file validation on, delivered to one bucket and mirrored into CloudWatch Logs with a ninety-day retention for searching. Member accounts see it as a shadow trail within minutes. The first copy of management events is free; the storage is pennies. Before this, a credential used in the development account at three in the morning would have left no record anyone was keeping.
5. GuardDuty in production. Enabled in the account that holds the public services, with findings published every fifteen minutes to the same topic. A few dollars a month at this size. Development and sandbox can follow once the production findings have shown what normal looks like.
Root accounts that cannot be used
6. No credentials on member roots. Centralized root access, turned on from the management account, lets you delete the root password and keys of every member account. Mine now have none: no password, no access keys, nothing to phish. If a member account ever needs root again, the management account mints a recovery path on demand. The side effect to know before you do it: "forgot password" stops working for every member root, by design.
7. Two organization policies and three contacts. Service control policies on the workload accounts that deny creating root access keys and deny leaving the organization. And alternate contacts for security, billing and operations on every account, so that AWS has an address to write to that is not the root email. The contacts took five minutes and are the thing most small organizations have never set.
What I deliberately left off
AWS Config and Security Hub, because at five accounts their cost and their noise outweigh what they would add to the trail and the detector; that balance changes with growth, and it is on the list to revisit. A customer-managed key on the trail bucket, for the same reason. A web application firewall on the static marketing site, which has nothing to attack. And offsite backup of the data that lives on that always-on machine, which is not done, is the largest remaining risk, and belongs in a post of its own when it is.
The afternoon, as a list
- Topic and subscription. Click the confirmation. Check for pending.
- Budgets in every account. Verify the notification contact in each, within twelve hours, signed in to that account.
- Health checks on the origin, not the CDN. Missing data breaching. Alarm to the topic.
- One organization trail, all regions, validation on, ninety days searchable.
- GuardDuty where the public surface is.
- Centralized root access; delete member root credentials; deny root keys and leaving the organization by policy.
- Alternate contacts on every account.
- Prove the chain end to end: set one budget below current spend and wait for the email. Mine took a day to arrive, which is how I found trap two.
Everything above is written as repeatable targets in my own infrastructure tool so I can run it against a new account in minutes. The console does all of it too. The order is what matters: alerting first, then the things that alert, then prove an email actually lands before you trust any of it.