# SaaS launch checklist

From https://www.huzaifaa.club/blog/saas-launch-checklist by Muhammad Huzaifa Abdulahad.
Every "no" is either a fix or a risk you accept on purpose and write down.

## Backups and recovery
- [ ] **Automatic daily backups are on.** Your database will be damaged eventually, by a bug, a bad migration or a mistaken delete.
- [ ] **Backups live outside the main database account or region.** A backup that disappears with the database it backs up isn't a backup.
- [ ] **You've restored one into an empty database, and timed it.** It's the only proof the backup works, and the time is your real recovery time.
- [ ] **Point-in-time recovery is on** (or you've decided a day of lost data is acceptable). It's the difference between losing a day and losing five minutes.
- [ ] **Uploaded files are versioned or backed up too.** Database backups don't include S3 buckets.

## Secrets and security
- [ ] **No secrets in the frontend or in Git**, including Git history. Anything shipped to the browser is public.
- [ ] **Every secret that was ever exposed has been rotated.** Moving a leaked key doesn't un-leak it.
- [ ] **Production and staging use different keys and databases.** A test script should never be able to touch real customers.
- [ ] **HTTPS everywhere, with HSTS.** Browsers then refuse to talk to your domain over plain HTTP.
- [ ] **Security headers are set** (Content-Security-Policy, X-Content-Type-Options, frame protection). They block whole classes of browser attacks for one config change.
- [ ] **Dependencies are scanned** (`npm audit`, Dependabot or similar) and nothing critical is open. Most breaches use known holes in old packages.
- [ ] **Servers are patched and hardened.** If you run your own, follow an Ubuntu hardening checklist.

## Authentication and access control
- [ ] **Every API route checks who the caller is and what they may touch**, on the server. Hiding a button isn't access control.
- [ ] **One customer can't read another's data.** Test it: log in as user B and open user A's URLs. For teams and companies, see multi-tenant SaaS in PostgreSQL.
- [ ] **Login, signup and password reset are rate-limited.** Otherwise they're a free password-guessing service.
- [ ] **Password reset links expire and work once.** Old links in inboxes are keys lying around.
- [ ] **Admin accounts use multi-factor authentication.** An admin login is the most valuable credential you have.
- [ ] **Sessions can be revoked** (log out everywhere, disable a user). You'll need it the first time a laptop is stolen.

## Payments
- [ ] **Access is granted by a verified webhook, not by the success page.** Anyone can open a success page.
- [ ] **Webhook signatures are checked on the raw request body.** Otherwise anyone can post a fake "payment succeeded".
- [ ] **Duplicate and out-of-order events change nothing.** Stripe delivers at least once, sometimes twice, in any order.
- [ ] **Failed payments, cancellations and refunds remove or adjust access.** Billing is a state machine, not a single event.
- [ ] **You've tested with the Stripe CLI**, including resending an event you've already handled.

## Database and migrations
- [ ] **Migrations run automatically, once, before the new code starts.** Hand-run SQL in production is how databases drift.
- [ ] **Each migration is backward-compatible** with the code still running. During a deploy, old and new code share the database.
- [ ] **Long-locking changes are split up** (add columns nullable, backfill in batches, create indexes concurrently). A locked table is an outage.
- [ ] **Slow queries are found before users find them.** Check the top queries with `pg_stat_statements` and EXPLAIN ANALYZE.

## Deploys and rollback
- [ ] **Every deploy goes through CI**: build, test, then release. Deploying from a laptop is how untested code ships.
- [ ] **Deploys don't drop requests.** Users shouldn't see errors because you shipped a fix. See zero-downtime deploys with Docker, Nginx and GitHub Actions.
- [ ] **You can roll back in under five minutes, and you've done it once.** The first rollback shouldn't happen during an incident.
- [ ] **There's a staging environment that matches production.** "Works in preview" isn't a test of production config.

## Monitoring, logs and alerts
- [ ] **An external uptime check hits a real health endpoint** every minute. Your own server can't tell you it's down.
- [ ] **Errors are tracked** in the frontend and the backend, with alerts on new ones. Users rarely report errors; they leave.
- [ ] **Logs are structured, centralised and kept for a set time.** You'll need them to answer "what happened at 3 a.m.?" See CloudWatch logs, metrics and alarms for a Node.js API.
- [ ] **Alerts reach a person** (email, Slack, phone) and someone is on the hook during launch week. A dashboard nobody watches isn't monitoring.
- [ ] **Disk, memory, database connections and queue length have alarms.** These fill up quietly, then all at once.

## Performance and limits
- [ ] **Public APIs are rate-limited per user or key.** One script, or one AI agent in a loop, shouldn't take everyone down.
- [ ] **You've run a load test at a few times your expected launch traffic** (k6 or similar). Find the first bottleneck on your schedule, not your users'.
- [ ] **Static assets go through a CDN with long cache headers.** It's the cheapest speed you'll ever get.
- [ ] **Paid APIs (AI, maps, SMS) have spending caps and alerts.** A bug in a loop can spend a month's budget in an hour; see keeping your AI feature's API bill under control.

## Email
- [ ] **SPF, DKIM and DMARC are set for your sending domain.** Without them, your password-reset emails land in spam. Gmail's sender guidelines spell out what's required.
- [ ] **Transactional and marketing email use separate streams.** A marketing complaint shouldn't block password resets.
- [ ] **Every email a user can trigger has been sent and read on a phone.** Broken templates are a first impression.

## Legal and trust
- [ ] **A privacy policy** that says what you collect, why, who you share it with (your hosting, email and payment providers count) and how users can delete their data.
- [ ] **Terms of service**, especially for refunds, cancellations and acceptable use.
- [ ] **Cookie consent where it's required.** In the UK and EU, non-essential cookies such as most analytics and ad trackers need consent first; the UK ICO's cookie guidance explains what counts as essential.
- [ ] **Users can export and delete their data**, even if the first version is a manual process behind a support email.
- [ ] **Regulated data has its own review.** Health, financial and children's data come with rules (HIPAA, PCI DSS, COPPA and others) that this checklist doesn't cover.

## Support and operations
- [ ] **There's one obvious way to reach you**, and someone answers within a day during launch week.
- [ ] **You have a short runbook:** how to roll back, restore, rotate a key and disable a user. Written while calm, used while panicking.
- [ ] **Costs have budgets and alerts** on your cloud and AI accounts. Launch traffic and bugs can both cost money.
