Intermediate Topic 22 of 50 DevOps & Tooling
Deployment Strategies
Blue-green, canary and rolling releases.
How it works
A deployment strategy defines how a new version replaces the old. A recreate deployment stops the old version and starts the new, accepting downtime. A rolling deployment replaces instances a few at a time. Blue-green keeps two full environments and switches traffic from blue to green at once, allowing instant rollback. A canary sends a small share of traffic to the new version and increases it while watching error rates and latency. Shadow deployments mirror traffic to a new version without exposing results, and feature flags separate release from deploy. Load balancers and orchestrators implement the traffic shifting.
Where it is used
Companies use them to release without downtime, limit the number of users hit by a bad release and verify changes under real traffic.
Common pitfall
Database schema changes that break the old version make rollback impossible, and canaries without good metrics prove nothing. Use backward-compatible migrations, health checks and automatic rollback on error thresholds.
Where it fits in the course
Deployment Strategies is topic 22 of 50 in DevOps & Tooling, rated Intermediate. It follows Continuous Delivery. The next topic is Docker Images and Layers.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the DevOps & Tooling quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the DevOps & Tooling quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Deployment Strategies?
Where do people use Deployment Strategies?
What is the most common mistake with Deployment Strategies?
What should I learn before this topic?
How can I practice it?
Is Deployment Strategies hard to learn?
How long does it take to learn Deployment Strategies?
Which topics are related to Deployment Strategies?
What should I study after Deployment Strategies?
Related topics
- Continuous Delivery (DevOps & Tooling)
- Docker Images and Layers (DevOps & Tooling)
- Continuous Integration (DevOps & Tooling)
- Docker Compose (DevOps & Tooling)
- Replication Strategies (Distributed Systems & Cloud)
- Caching Strategies (Web Development)