Pm2 Vps Release Guard
Premium
배포 및 DevOps
Deploy Node.js apps on PM2 + Nginx without overwriting secrets, losing uploads, or guessing at rollback.
A production-grade release workflow for founders and small engineering teams running Node.js on a single Linux VPS with PM2 and Nginx, optionally behind Cloudflare.
This skill makes an agent discover the real release contract before touching production, capture a safe baseline, protect .env/uploads/certificates/data, gate risky database migrations, restart only the intended PM2 process, verify from local upstream to public URL, and roll back from a known-good backup when a stop condition is met.
Included:
• A complete preflight → backup → deploy → verify → rollback workflow
• A read-only Bash checker for PM2 status, restart stability, Nginx config, disk space, ports, and health endpoints
• A detailed PM2/Nginx/Cloudflare runbook with rsync, cache, migration, and rollback patterns
• Evidence-based release reporting that clearly states what was and was not verified
Best for Node/Express/Next/Vite services on Ubuntu or Debian VPS hosts. It deliberately avoids Kubernetes and cloud-platform abstractions so single-server releases stay concrete, scoped, and recoverable.
주요 기능
01Protects .env, uploads, certificates, and persistent data
02Includes a read-only PM2, Nginx, disk, port, and health checker
03Gates risky database migrations before production
04Verifies local upstream, Nginx, CDN, and a real feature smoke path
05Handles Cloudflare cache-busting without corrupting source
06Produces an evidence-backed rollback point and release record
사용 사례
01Deploy a Node or Express API from Git or rsync to an Ubuntu VPS
02Ship static and API changes without touching .env or user uploads
03Change an Nginx route or service port with a tested rollback path
04Run a Prisma or SQL migration under explicit production safety gates
05Diagnose Cloudflare 502 or 504 errors across CDN, proxy, and upstream
06Recover from a PM2 crash loop or bad release without losing data
Get this skill
Creator
E
Eazy's Skill Shop
1 listing
Founder of Astral Nest and builder of production AI platforms. I publish field-tested skills for safe deployment, automation, and reliable agent operations.
View profile