Home / Companies / Semaphore / Blog / Post Details
Content Deep Dive

Blue Green Deployment for Node.js Without Kubernetes

Blog post from Semaphore

Post Details
Company
Date Published
Author
Bikash Paneru, Dan Ackerson
Word Count
3,234
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

The detailed account explores the implementation of a blue-green deployment strategy for a Node.js application running behind Nginx on a single Linux VPS. This approach aims to facilitate testing with production data and achieve zero downtime during deployments. The process involves setting up a custom CI/CD-driven pipeline without the aid of cloud providers or Kubernetes, requiring automation of various tasks such as code deployment, application start/stop, and dynamic Nginx configuration. The strategy is enhanced by using Semaphore to create workflows that trigger deployments based on branch pushes, with manual promotions to production and rollback options integrated into the UI. This automation not only reduces human error and mental overhead but also increases deployment frequency and confidence, while offering opportunities to test on production data. The implementation of this strategy also provided valuable insights into CI/CD integration, Nginx configuration, and Linux permissions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 2 1,398 143 60 +21%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.