# zero downtime deploy

> Automate blue-green, rolling, and canary deployments with atomic symlinks, Nginx swaps, and health-check rollbacks.

zero downtime deploy is a free AI agent skill on Agensi by claude-dev-suite, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [claude-dev-suite](https://www.agensi.io/creators/claude-dev-suite)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 3
- Version: 1.0
- Last updated: 2026-09-21
- Security: scan passed (2026-09-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/zero-downtime-deploy
- Tags: devops, nginx, bash, ci-cd, automation, ssh

## About this skill

### The problem

Standard deployments cause service interruptions, broken connections, or data corruption during transitions. Manual SSH updates are error-prone, lack rollback mechanisms, and often fail to validate application health before exposing new code to users.

### What it does

- Generates Nginx upstream configurations for blue-green and canary traffic splitting.
- Authors Bash scripts for atomic release management using Capistrano-style symlink swaps.
- Builds GitHub Actions workflows for SSH-based deployment with health check polling.
- Designs safe database migration strategies using the expand/contract pattern.
- Creates automated rollback runbooks to restore service in under 30 seconds.

### Frameworks & tools

Nginx, GitHub Actions, Systemd, Rsync, Bash, SSH, and any backend capable of health check endpoints (Node.js, Python, Go, etc.).

### Why this beats prompting it yourself

General LLMs often overlook the race conditions inherent in symlink swaps or the necessity of `CREATE INDEX CONCURRENTLY` in Postgres. This skill provides production-hardened scripts that include atomic file moves, pre-swap health validation, and automated cleanup of old releases.

### Use cases

- Implementing zero-downtime blue-green environments on VPS or bare metal.
- Gradually rolling out features to 10% of users via canary traffic splitting.
- Setting up CI/CD pipelines that automatically roll back on failed health checks.
- Planning non-breaking database schema changes for high-traffic apps.

### Known limitations

Does not support Kubernetes-native objects like Argo Rollouts or cloud-managed services like AWS CodeDeploy. Frontend CDN cache invalidation is out of scope.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the zero downtime deploy skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent service interruptions compared to a standard git pull deployment?

This skill provides production-ready Bash scripts, Nginx configurations, and GitHub Actions workflows specifically designed to handle atomic symlink swaps and traffic splitting, ensuring your users never see a 502 error during updates.

### What specific assets are included in this automation package?

The skill includes templates for Nginx upstream management, Capistrano-style directory structures, health-check polling scripts, and automated rollback runbooks.

### Can this skill help with database migrations without locking my tables?

Yes, the skill specializes in 'expand/contract' migration patterns and production-safe SQL practices, such as concurrent indexing, to ensure your database stays online during schema changes.

### Does this skill support deployments to Kubernetes clusters or AWS-managed services?

While it excels at VPS and bare metal environments using Nginx and Systemd, it does not support container orchestration platforms like Kubernetes or proprietary cloud services like AWS CodeDeploy.

### How are updates handled if deployment best practices change?

Once you purchase the skill, you will have access to all future updates and optimizations, ensuring your deployment scripts remain compatible with the latest security standards for SSH and Nginx.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
