Skip to main content

Strategies

Nife supports multiple deployment strategies to minimise risk and downtime when releasing new versions.

Available Strategies

Rolling Deployment

Gradually replaces old instances with new ones. Zero downtime, but both versions run simultaneously during the update.

Blue-Green Deployment

Maintains two identical environments (blue = current, green = new). Switch traffic instantly once the new version is verified.

Benefits:

  • Instant rollback by switching back to blue
  • No downtime during deployment
  • Full testing of new version before going live

Canary Deployment

Routes a small percentage of traffic to the new version first. Gradually increase traffic as confidence grows.

Benefits:

  • Reduced blast radius if new version has issues
  • Real user testing before full rollout
  • Easy rollback

Configuring Strategies

  1. Navigate to your application in the Nife dashboard
  2. Go to DeploysStrategies
  3. Select your preferred strategy
  4. Configure traffic split percentages (for canary)
  5. Deploy