Cloud Deployment Preflight Checklist for Web Applications
A reliable cloud release starts before the deploy button is pressed. This reusable web app deployment checklist helps you verify configuration, builds, databases, security, observability, domains, backups, and rollback readiness before moving an application into staging or production.
Overview
Cloud deployment problems are often caused by small mismatches rather than complex code: a missing environment variable, an unsupported runtime version, a migration that cannot be reversed, or a health check that tests the wrong path. A preflight review creates a deliberate pause between “works locally” and “safe to release.”
Use this checklist for applications running on a PaaS for web apps, a managed container service, virtual machines, or another cloud app development platform. The exact control names differ between providers, but the decisions are broadly the same. Record the result for each item as ready, blocked, or accepted risk. A release should not proceed with an unresolved blocker.
For a broader security review, pair this guide with the Cloud App Security Checklist. If the release includes an API, also review versioning, rate limits, pagination, and error contracts before exposing the new behavior.
What to track
1. Source, build, and runtime settings
- Confirm the exact commit, tag, or artifact being deployed. Do not rely on an unrecorded local build.
- Verify the build command, output directory, start command, and working directory.
- Check the runtime version, operating system assumptions, package manager, lockfile, and native dependencies.
- Run the same automated tests and build steps used by the deployment pipeline, not only a developer workstation setup.
- Confirm that development-only packages, debug flags, test routes, and verbose error responses are not enabled in production.
For a Node.js application, this may mean checking the Node runtime, package-lock or equivalent lockfile, and the process command. For a Python application, check the Python version, dependency file, web server command, and any required system libraries. Provider terminology changes, so treat the platform configuration as part of the application’s versioned delivery documentation.
2. Environment variables and secrets
- List every required variable and mark whether it belongs in local development, staging, or production.
- Check names, spelling, formats, and expected values without copying secret values into tickets or logs.
- Store credentials in the platform’s secret manager or an approved secret store rather than in source control.
- Confirm that rotated keys, database passwords, signing keys, and third-party tokens are available to the new release.
- Review access scope: an application should receive only the credentials and permissions it needs.
Use a safe configuration check during startup where appropriate. It should report which required variables are missing while masking their values. Never use a public online utility to process production secrets, private tokens, or customer data. Developer tools online can help inspect harmless sample payloads, but sensitive material belongs in controlled environments.
3. Database connectivity and migrations
- Test connectivity from the deployed application environment, including network rules, allowed origins, certificates, and connection limits.
- Confirm the database name, region or location, schema version, and application credentials.
- Review whether migrations run automatically, as a separate release step, or through an operator-approved process.
- Check that the migration is compatible with both the old and new application versions when instances may overlap during rollout.
- Verify a recent backup and, where practical, rehearse restoration in a non-production environment.
Prefer an expand-and-contract approach for changes that cannot be applied atomically: add compatible structures first, deploy code that can use both versions, backfill carefully, and remove obsolete structures only after the old path is no longer needed. The guide to zero-downtime database migrations provides a focused review path.
4. Health checks, monitoring, and operational signals
- Set a liveness check that confirms the process is running and a readiness check that confirms the application can serve traffic.
- Ensure checks do not perform expensive queries or expose internal details.
- Confirm that logs include a request or correlation identifier where useful, while excluding passwords, tokens, and unnecessary personal data.
- Verify error tracking, metrics, traces, and alerts in the target environment.
- Define who receives an alert and what the first response should be.
Measure more than whether a deployment completed. Review startup failures, error rate, latency, traffic, resource usage, and important business actions. The cloud application monitoring checklist can help turn these checks into a repeatable dashboard review.
5. Domain, TLS, and application security
- Confirm DNS records, the intended hostname, redirects, and any staging-versus-production distinction.
- Verify that TLS is active for every public endpoint and that renewal is handled by a documented process.
- Check cookie settings, allowed origins, authentication callbacks, security headers, and rate limits.
- Review dependency changes, container or image provenance, exposed ports, and administrative access.
- Test authorization with accounts that should have different permissions; authentication success alone is not enough.
6. Backups, rollback, and release ownership
- Identify the previous known-good application version and confirm how to redeploy it.
- Define rollback triggers, such as elevated errors, failed health checks, data corruption signals, or a critical user journey failing.
- Check whether database changes are backward-compatible with the rollback version.
- Confirm backups cover the data that matters and that restoration instructions are accessible to the on-call team.
- Assign a release owner, observer, and decision-maker for the deployment window.
Cadence and checkpoints
Run the full preflight checklist before each production release. A shorter version can be used for routine staging deployments, but database, secrets, health checks, and rollback items should not be skipped when those areas change.
Use three checkpoints:
- Before merge: review tests, dependency changes, migration design, and configuration differences.
- Before deployment: verify the artifact, environment variables, database readiness, backups, domains, and rollback target.
- After deployment: watch health checks, logs, alerts, key user journeys, latency, and resource usage for an agreed observation period.
Maintain a monthly or quarterly review even when no release is planned. Reconfirm runtime support, secret rotation procedures, backup restoration, access permissions, alert ownership, cloud spending signals, and unused environments. Preview environments also need cleanup rules and data protection; see the guide to preview environments for cloud apps.
How to interpret changes
A successful deployment status is only one signal. Compare the new release with the previous baseline. Did error rates, response times, restart frequency, queue depth, database connections, or resource consumption change? A small configuration change can produce a large operational effect, while a code change may appear healthy until a less common workflow is used.
Separate deployment failure from application failure. A failed build, missing secret, or unhealthy instance usually points to delivery configuration. A successful rollout followed by authorization errors, slow queries, or incorrect output requires application or data investigation. Record the evidence, time window, affected version, and mitigation rather than relying on memory.
Watch for changes that are not immediately visible: increased cloud resource use, new third-party permissions, altered retention behavior, or a growing number of manual steps. These are signals to improve the release process, not merely to complete the current deployment.
When to revisit
Revisit this checklist before every production release and after any change to the runtime, deployment provider, database, authentication model, domain, secret store, dependency set, or monitoring system. Schedule a formal review monthly or quarterly, depending on release frequency and operational risk. Refresh platform-specific examples at least every six months, or sooner when the provider changes configuration names, runtime support, networking behavior, or deployment workflows.
After an incident or rollback, update the checklist with the missed signal and the prevention step. Keep the document beside the release process, not in an isolated wiki page. Before the next deployment, copy the current commit, environment, migration plan, backup confirmation, monitoring owner, and rollback target into the release record. That final habit turns a static production deployment checklist into a practical control for safer cloud app hosting.