Docs

Release for production

After you have created your development environment on Northflank to build, deploy, and preview your applications and microservices, you can use the features explained in this guide to release production deployments smoothly and with zero downtime.

Northflank's features allow you to:

  • Release quickly
  • Deploy with zero downtime
  • Add health checks to ensure requests are served only to healthy containers
  • Run migrations and other jobs automatically
  • Re-run previous releases easily

Release strategies

The right release strategy for your project depends on its complexity. Choose the approach that fits your needs:

1. Manual deployment

Best for: Single-service applications

Manually select a specific build or image to deploy. Best for projects with one or two resources.

2. CI/CD

Best for: Smaller projects

Automatically build and deploy your latest commit using continuous integration and deployment. Set up path rules and commit message filters to control when builds trigger.

3. Environments

Best for: All projects, especially complex releases

Create environments for each deployment stage and define workflows within each environment to automate your entire release process including backups, migrations, and multi-service deployments. Run manually, on Git push, or on a schedule.

Manage your production environment

You can ensure your production environment has the correct environment variables and build arguments available using secret groups and tags.

Secret groups can contain connection details for addons, passwords, tokens, keys, and other sensitive data. You can also create configuration groups to manage non-sensitive data, and assign roles to your team members accordingly.

You can create groups that contain the relevant secrets for your different environments, and restrict them based on tag, or by specific resources.

Tags are a useful way to identify and manage resources in different environments. You can quickly add or remove multiple groups of secrets and configuration details from resources by adding and removing tags.

Run migrations during release

When you make changes to your database schema you may need to update your application and change your production database simultaneously. Workflows are the recommended approach, as they allow you to back up your database, run a migration, and deploy your new release only when the migration is successful.

Deploy with zero downtime

With the default rolling strategy, Northflank starts replacement instances before stopping the old ones. Configure a readiness probe so that each replacement is ready to serve requests before it receives traffic.

Recreate causes downtime

The Recreate strategy stops existing instances before starting replacements. Your service is unavailable until the replacements are ready.

During service creation, open Resources → Advanced resource options to configure Pod rollout strategy. Other strategies can allow instances to stop before replacements are ready. Health checks alone do not guarantee zero downtime.

Single Read/Write volumes limit a service to one instance and require stopping it before its replacement starts.

Upgrade databases with zero downtime

You can configure your addons for high availability, which allows you to update or scale them without losing access to your data.

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com