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

How to set up blue-green deployments with CircleCI

Blog post from CircleCI

Post Details
Company
Date Published
Author
Roger Winter
Word Count
3,655
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

The tutorial provides a detailed guide on setting up blue-green deployments with CircleCI in a Kubernetes environment, highlighting the benefits of having two identical production environments to facilitate seamless version updates. It explains how traffic is switched between the active and idle environments after validating the new version, ensuring a quick rollback if necessary. The document outlines the CI/CD workflow, emphasizing the separation of deployment and release steps for better control and reduced risk. Key components include dual-environment manifests, a preview Service for validation, an approval-gated workflow, and deploy tracking. It also addresses database migration patterns to avert common failures, the compute cost during deployment, and the instant rollback capability. Additionally, the tutorial covers setting up a CircleCI pipeline with approval gates, handling database migrations safely, and monitoring the release process, making it suitable for situations where quick rollback and production validation are critical.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 28 2,168 322 107 +10%
Secrets Management 1 2,515 393 134 +17%
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.