A Production Checklist for Authentication, APIs, Databases, and CI/CD
Use this reusable cloud app production checklist to verify authentication, API security, database resilience, environment separation, secrets, observability, deployment approvals, dependency maintenance, and rollback readiness before each release.
Overview
A production release is more than a successful build. A cloud app is ready when the team can explain who may access it, how requests are protected, how data can be recovered, how changes move between environments, and what happens when a deployment fails.
This checklist is designed for teams using a cloud app development platform, a backend-as-a-service product, managed databases, serverless app hosting, or a more traditional application stack. The provider and framework may differ, but the control questions remain similar. For every item, record both the decision and the evidence that supports it. Evidence might include a configuration export, test result, pull request, dashboard screenshot, log query, backup report, or link to an operational runbook.
Do not treat the checklist as a one-time launch gate. Infrastructure settings, authentication defaults, dependencies, API contracts, and CI/CD workflows change over time. Assign an owner to each control and keep the checklist with the repository or engineering documentation so it is reviewed as part of the app development workflow.
What to track
1. Authentication and authorization
Confirm that every sign-in and account-recovery path has been tested in the production-like environment. Track:
- Supported authentication methods and the user journeys for sign-up, sign-in, sign-out, password reset, email verification, and account deletion.
- Session lifetime, refresh behavior, cookie settings, token storage, and logout or token-revocation behavior.
- Multi-factor authentication requirements, administrative access rules, and recovery procedures where the application needs stronger protection.
- Authorization rules for ordinary users, support staff, administrators, service accounts, and background jobs.
- Tenant or organization boundaries, including tests showing that one tenant cannot read or modify another tenant's records.
- Rate limits, lockout or abuse controls, and alerts for unusual authentication activity.
Evidence to collect: an authentication test matrix, authorization test results, a role-permission table, and a list of privileged accounts with owners. If a managed identity provider or backend service is used, record the relevant project, environment, redirect, and callback configuration without exposing secrets.
2. API security and contracts
Inventory public, private, administrative, and internal API endpoints. For each endpoint, document the expected caller, authentication requirement, authorization rule, input validation, response behavior, and rate-limit policy. Verify that:
- Production endpoints do not rely on development credentials or permissive cross-origin settings.
- Secrets, tokens, personal data, and internal error details are not written to responses or ordinary logs.
- Validation covers required fields, types, lengths, formats, pagination limits, file uploads, and unexpected values.
- Write operations are protected against replay or duplicate submission where that could create an incorrect state.
- Webhook consumers verify signatures when supported, handle retries safely, and place failed events where they can be inspected.
- API documentation matches the deployed behavior, including authentication, error codes, versioning, and deprecation notes.
Keep an automated contract or integration test for the most important flows. An OpenAPI documentation workflow can help teams validate the interface before release. For webhook-heavy systems, also review the reliable webhooks checklist.
3. Databases, migrations, and recovery
Before deployment, identify the schema change, its compatibility period, and its rollback approach. Track:
- Migration order, ownership, and whether the application remains compatible while the migration is running.
- Indexes, constraints, access policies, and row- or document-level isolation rules required by the application.
- Backup schedule, retention assumptions, encryption settings, and the person or team responsible for restore operations.
- A recent restore test that demonstrates the backup can produce a usable database, not merely that a backup job completed.
- Expected recovery time and acceptable data loss, expressed as internal targets appropriate to the application.
- Growth indicators such as storage, connection usage, query latency, and resource limits.
Never make a destructive migration dependent on an untested backup. Use a staged approach for renames, removals, and data transformations: add the replacement, deploy compatible code, migrate or backfill data, verify results, and remove the old structure only after the transition is complete. For a broader recovery review, see the cloud app backup and disaster recovery checklist.
4. Environments, secrets, and configuration
Separate development, test, staging, and production resources wherever practical. Confirm that each environment has the correct database, storage bucket, authentication project, callback URL, API endpoint, and notification destination. A staging test that accidentally sends real customer email or writes to production data is not a reliable release check.
Maintain a list of required configuration values and classify each one as public configuration, sensitive secret, or runtime-managed value. Store secrets in an approved secret manager or platform mechanism, limit access by role, and document rotation steps. Check that secrets are absent from source control, build artifacts, client-side bundles, logs, screenshots, and issue comments. Evidence should include an environment configuration checklist and a successful test of secret rotation or replacement where the platform supports it.
5. Logging, monitoring, and operational signals
Define the signals that show whether the application is healthy: request failures, latency, authentication errors, background job failures, database saturation, queue depth, and important business transactions. Logs should include enough context to investigate a failure without exposing credentials or unnecessary personal data.
For each alert, record its threshold or trigger, owner, notification path, and expected first response. Test an alert rather than assuming it works. Connect release identifiers to logs and metrics so an operator can compare behavior before and after a deployment. The cloud app SLO and observability checklist provides a useful companion review.
6. CI/CD controls
A CI/CD checklist for web apps should verify more than compilation. Require automated checks appropriate to the stack, such as formatting, unit tests, integration tests, dependency or secret scanning, migration checks, and a production build. Protect the production branch, require review for sensitive infrastructure changes, and make the deployment artifact identifiable and reproducible.
Document who can approve production releases, whether approval is required after a failed check, and how emergency changes are recorded. Separate deployment permission from ordinary code contribution when the risk profile calls for it. Verify that the pipeline uses the intended environment variables, runs migrations in a controlled order, records its result, and stops safely when a required step fails.
Finally, test rollback. A rollback may mean redeploying a prior artifact, reversing a feature flag, restoring a compatible schema state, or routing traffic to a prior version. It should not be an unexamined assumption. Feature flags can support safer release control when their targeting, expiry, and cleanup are documented; use the feature flag release workflow as a related reference.
Cadence and checkpoints
Use three review layers so the checklist remains useful without turning every release into a full infrastructure audit.
| Cadence | Review focus | Evidence |
|---|---|---|
| Every release | Changed authentication, API, schema, configuration, dependencies, tests, monitoring, and rollback path | Pull request, CI result, migration plan, approval, deployment record |
| Monthly | Failed jobs, alerts, privileged access, secret exposure checks, dependency notices, backup completion, and open incidents | Access review, backup report, dependency report, incident notes |
| Quarterly | Restore test, authorization review, disaster recovery assumptions, environment inventory, cost or capacity signals, and CI/CD permissions | Restore evidence, test results, inventory, capacity review, action register |
| After a major change | New provider, framework, identity flow, database, hosting model, API version, or deployment process | Architecture decision, updated runbook, new test coverage |
At each checkpoint, mark every control as pass, fail, not applicable, or accepted risk. A not-applicable decision should include a short reason. A failed control should have an owner and due date; otherwise the checklist becomes a record of observations rather than a production safeguard.
How to interpret changes
Look for changes in exposure, not only changes in software version. A small feature can introduce a large operational risk if it adds a privileged role, accepts file uploads, changes tenant filtering, creates a new webhook, or modifies a payment or account-recovery path.
When a check changes from pass to fail, first determine whether the control changed, the evidence expired, or the test stopped representing production. For example, a successful backup job does not resolve a failed restore test; a passing unit test does not prove that an authorization boundary works; and a green deployment does not prove that the new schema is compatible with the previous application version.
Group findings by likely impact and reversibility. Address exposed credentials, cross-tenant access, unsafe migrations, broken recovery, and unmonitored production changes before lower-impact documentation gaps. Record temporary mitigations, such as disabling a feature flag or restricting an endpoint, and set a date to remove them.
Review recurring failures for process improvements. If releases repeatedly miss migration verification, add it to the pipeline. If alerts are ignored, change the signal, owner, or escalation path. If teams cannot identify the active production version, improve release metadata rather than relying on memory.
When to revisit
Run the full checklist before the first production release, after a significant architecture or provider change, and at least on a quarterly review cycle. Perform the shorter release review every time code changes authentication, authorization, APIs, database structure, secrets, deployment configuration, or observability.
Refresh provider settings, framework defaults, security guidance, dependency rules, and CI/CD examples at least every six months or sooner after a major ecosystem change. Revisit immediately after an incident, failed restore, suspected secret exposure, unexpected access event, migration problem, or material change in traffic and data sensitivity.
To make this practical, copy the control headings into your repository or ticket system. Assign an owner, link the evidence, record the decision, and keep unresolved risks visible. Before approving the next release, ask four questions: can the right users access the right data, can the team detect and investigate failure, can data and service be recovered, and can the change be reversed safely? If any answer is unclear, pause the release or document an explicit, time-bound exception.