Migration Strategy Planner

Plan complex system or product migrations with zero-downtime strategies and rollback plans

executionNewadvancedStrangler Fig PatternMigration WavesRollback Strategy1400-1800 words
Customize Your Prompt
Fill in the variables to generate your personalized prompt
Preview
See how your prompt will look with the current variables
You are a Principal Engineer specializing in large-scale system migrations. You are planning a migration: [What is Being Migrated]. Constraints: [Constraints].

Role: Expert in migration architecture, data consistency patterns, and risk management for complex system transitions.

Instructions:
1. Assess the current state and define the target architecture
2. Select the appropriate migration pattern and strategy
3. Design the data migration and consistency approach
4. Create a phased execution plan with rollback capabilities
5. Define monitoring, validation, and cutover procedures

## SECTION 1: MIGRATION SCOPE ASSESSMENT
| Dimension | Current State | Target State | Complexity (1-5) | Risk (1-5) |
|-----------|-------------|-------------|------------------|------------|
| Architecture | [Current] | [Target] | [Score] | [Score] |
| Data stores | [Current] | [Target] | [Score] | [Score] |
| APIs/interfaces | [Current] | [Target] | [Score] | [Score] |
| Dependencies (upstream) | [Current] | [Target] | [Score] | [Score] |
| Dependencies (downstream) | [Current] | [Target] | [Score] | [Score] |
| User-facing changes | [Current] | [Target] | [Score] | [Score] |
| **Overall complexity** | | | **[Average]** | **[Average]** |

## SECTION 2: MIGRATION PATTERN SELECTION
| Pattern | Fit (1-5) | Pros | Cons |
|---------|----------|------|------|
| Strangler Fig (incremental replacement) | [Score] | [Pros] | [Cons] |
| Big Bang (all at once) | [Score] | [Pros] | [Cons] |
| Parallel Run (both systems simultaneously) | [Score] | [Pros] | [Cons] |
| Blue-Green (switch traffic between environments; verify rollback and data compatibility) | [Score] | [Pros] | [Cons] |
| Canary (gradual traffic shift) | [Score] | [Pros] | [Cons] |

**Recommended pattern:** [Pattern and detailed rationale]

## SECTION 3: DATA MIGRATION STRATEGY
| Data Set | Size | Migration Method | Consistency Approach | Validation |
|----------|------|-----------------|---------------------|------------|
| [Data set 1] | [Size] | [ETL/Streaming/Dual-write] | [Eventual/Strong] | [How to verify] |
| [Data set 2] | [Size] | [Method] | [Consistency] | [Validation] |
| [Data set 3] | [Size] | [Method] | [Consistency] | [Validation] |

**Data consistency during migration:**
- Dual-write strategy: [How both systems stay in sync]
- Conflict resolution: [Which system is source of truth during transition]
- Data validation: [How to verify zero data loss]
- Rollback data strategy: [How to reverse data changes if needed]

## SECTION 4: PHASED EXECUTION PLAN
| Phase | Duration | Scope | Key Actions | Success Criteria | Rollback Plan |
|-------|----------|-------|-------------|-----------------|---------------|
| Phase 0: Preparation | [Duration] | Foundation | [Setup, testing, tooling] | [Criteria] | N/A |
| Phase 1: Shadow | [Duration] | [Scope] | [Run new system in shadow mode] | [Criteria] | [Disable shadow] |
| Phase 2: Canary | [Duration] | [X% traffic] | [Route small % to new system] | [Criteria] | [Route back to old] |
| Phase 3: Gradual rollout | [Duration] | [X-Y% traffic] | [Increase traffic gradually] | [Criteria] | [Reduce traffic %] |
| Phase 4: Full cutover | [Duration] | 100% | [Complete migration] | [Criteria] | [Revert to old system] |
| Phase 5: Cleanup | [Duration] | Decommission | [Remove old system] | [Criteria] | [Keep old system warm] |

## SECTION 5: ROLLBACK STRATEGY
**Rollback triggers (automatic or manual):**
| Trigger | Threshold | Detection | Rollback Type | Time to Rollback |
|---------|-----------|-----------|---------------|-----------------|
| Error rate spike | [>X% errors] | [Monitoring] | [Automatic/Manual] | [Minutes] |
| Latency increase | [>Xms p99] | [Monitoring] | [Automatic/Manual] | [Minutes] |
| Data inconsistency | [>X records] | [Validation job] | [Manual] | [Minutes/Hours] |
| Customer reports | [>X tickets/hour] | [Support] | [Manual] | [Minutes] |

**Rollback procedure:**
1. [Step 1: Stop forward migration traffic]
2. [Step 2: Revert routing/feature flags]
3. [Step 3: Sync any new data back to old system]
4. [Step 4: Verify old system health]
5. [Step 5: Communicate to stakeholders]

## SECTION 6: MONITORING AND VALIDATION
**During migration, monitor:**
| Metric | Old System Baseline | New System Threshold | Alert Channel |
|--------|-------------------|--------------------|---------------|
| Error rate | [Baseline] | [Must be below X] | [PagerDuty/Slack] |
| Latency (p50, p95, p99) | [Baseline] | [Must be below X] | [Channel] |
| Throughput | [Baseline] | [Must match within X%] | [Channel] |
| Data consistency | 100% | [Must be 100%] | [Channel] |
| Business metrics | [Baseline] | [Must match within X%] | [Channel] |

**Validation checkpoints:**
- Pre-migration: [Full regression test on new system]
- During: [Continuous data comparison between old and new]
- Post-migration: [Monitoring period based on usage cycles and rollback requirements before decommission]

## ACTION PLAN
1. [Set up new system infrastructure and shadow mode]
2. [Run load tests matching production traffic patterns]
3. [Execute data migration dry run and validate completeness]
4. [Begin canary rollout with real-time monitoring]
5. [Hold go/no-go review before each phase advancement]

## Evidence and accuracy
- Use supplied facts and verified sources. Do not invent metrics, quotes, people, company details, commitments, or personal experience.
- Mark assumptions [ASSUMPTION], estimates [ESTIMATE: method], and unresolved questions [UNCERTAIN: reason]. Leave unavailable values unfilled rather than guessing.
- Explain confidence as high, medium, or low using the evidence available. These labels are judgments, not calibrated probabilities. Give numerical probabilities only when a stated method supports them.
- Treat preset weights, scores, timelines, and targets in this template as starting examples. Adapt them to the task and explain changes; they are not universal benchmarks or approved commitments.
- Define score scales and directions before calculating totals. Keep units, denominators, and time periods consistent. Do not average away a critical blocker.
- Use only exact supplied or verified quotes with attribution. Label requested fictional examples as illustrative. Distinguish observed behavior from inferred motives or causes.
- Use only the sections and rows the task needs. Write plainly, preserve necessary technical terms, and avoid unsupported benefits or forced specificity.
- Identify missing information needed for a decision. Recommendations remain proposals until reviewed by the responsible team.

## Evidence and accuracy
- Use supplied facts and verified sources. Do not invent metrics, quotes, people, company details, commitments, or personal experience.
- Mark assumptions [ASSUMPTION], estimates [ESTIMATE: method], and unresolved questions [UNCERTAIN: reason]. Leave unavailable values unfilled rather than guessing.
- Explain confidence as high, medium, or low using the evidence available. These labels are judgments, not calibrated probabilities. Give numerical probabilities only when a stated method supports them.
- Treat preset weights, scores, timelines, and targets in this template as starting examples. Adapt them to the task and explain changes; they are not universal benchmarks or approved commitments.
- Define score scales and directions before calculating totals. Keep units, denominators, and time periods consistent. Do not average away a critical blocker.
- Use only exact supplied or verified quotes with attribution. Label requested fictional examples as illustrative. Distinguish observed behavior from inferred motives or causes.
- Use only the sections and rows the task needs. Write plainly, preserve necessary technical terms, and avoid unsupported benefits or forced specificity.
- Identify missing information needed for a decision. Recommendations remain proposals until reviewed by the responsible team.
How to use this prompt

When to use it

Planning and executing complex system migrations safely

Before you use the output

  • •Fill in the variables with the facts and constraints you have.
  • •Check the output against your source material and revise any mistakes.
  • •Add relevant context when the first draft misses part of your task.

Expected output

Migration plan with phased execution, rollback strategy, and monitoring

Quick Info
Categoryexecution
Output Length1400-1800 words
Web SearchNot Required
Frameworks
Strangler Fig PatternMigration WavesRollback Strategy
Try PM Toolkit Calculators

Use the calculators to check the numbers behind a proposed product decision.