cloud-migration
Use when the user asks about cloud migration, lift and shift, the 7 Rs (rehost, replatform, refactor), AWS MGN, Azure Migrate, migration waves, discovery and…
от j4flmao★ 47 звёзд на GitHub
Установить cloud-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Cloud Migration
Purpose
Plan and execute cloud migrations using the 7 Rs strategy framework, with tools, testing, cutover planning, and post-migration optimization.
Agent Protocol
Trigger
"cloud migration", "migrate to cloud", "lift and shift", "rehost", "replatform", "7 Rs", "migration strategy", "AWS MGN", "Azure Migrate".
Input Context
Application inventory, dependencies, data volumes, downtime tolerance, target cloud, licensing constraints.
Output Artifact
Migration plan, wave schedule, cutover runbook. No file unless requested.
Response Format
Portfolio: {apps and chosen R (rehost|replatform|refactor|repurchase|relocate|retain|retire)}
Waves: {wave -> apps}
Tooling: {MGN|DMS|Azure Migrate|...}
Cutover: {strategy, downtime window, rollback}
Risks: {...}
Architecture Decision Trees
7 Rs Migration Strategies
| Strategy | Definition | Effort | Duration | Cloud Benefit |
|---|---|---|---|---|
| Retire | Decommission | Low | Short | Cost savings |
| Retain | Keep on-prem | None | N/A | None |
| Rehost (Lift-Shift) | Move as-is to IaaS | Low | Weeks-Months | Minimal (lower DC cost) |
| Replatform | Move to managed service | Medium | Months | Moderate |
| Refactor / Rearchitect | Rewrite for cloud-native | High | Months-Years | Maximum |
| Repurchase | Switch to SaaS | Medium | Weeks-Months | Functional improvement |
| Relocate | Move to hyperscaler DC | Low | Weeks | Lower latency |
Strategy Selection Decision
Is the application end-of-life?
├── Yes → Retire (decommission, cost savings)
└── No → Is it a SaaS replacement available?
├── Yes → Repurchase (SaaS switch)
└── No → Need cloud-native benefits (scalability, resilience)?
├── Yes → Can we rewrite the application?
│ ├── Yes → Refactor/Rearchitect (max benefit, max effort)
│ └── No → Replatform (managed services, moderate effort)
└── No → Immediate migration needed?
├── Yes → Rehost (fastest path to cloud)
└── No → Replatform or retain (take time to optimize)
Readiness Assessment
| Dimension | Assessment | Metrics |
|---|---|---|
| Technical | Architecture compatibility | OS, DB, dependency graph |
| Operational | Process maturity | Monitoring, backup, DR |
| Security | Compliance requirements | Encryption, IAM, audit logs |
| Financial | TCO analysis | Current vs cloud cost |
| Skills | Team readiness | Training needs assessment |
Discovery Tool Selection
| Tool | Scope | Platform | Data Collected |
|---|---|---|---|
| AWS MGN (Application Migration) | VMs | AWS | OS, apps, resources |
| Azure Migrate | VMs + databases | Azure | Dependency mapping |
| Google Migrate for Compute | VMs | GCP | Utilization, network |
| RVTools | VMware VMs | Any | VM config, storage |
| ServiceNow ITOM | Enterprise | Any | CMDB, dependencies |
| CloudHealth | Multi-cloud | Any | Cost, utilization |
| Faddom | App dependency | Any | Application dependency mapping |
| CloudEndure (now AWS MGN) | VMs | AWS | Continuous replication |
Migration Wave Planning
| Wave | Type | Risk | Duration | Max Workloads |
|---|---|---|---|---|
| Wave 0 | Foundation | Low | 2-4 weeks | N/A (infrastructure) |
| Wave 1 | Pilot (low-risk) | Low | 2 weeks | 3-5 workloads |
| Wave 2 | Early adopters | Low-Medium | 4 weeks | 10-15 workloads |
| Wave 3-N | Bulk migration | Medium | 4-6 weeks ea. | 20-50 workloads |
| Final Wave | Complex/high-risk | High | 4-8 weeks | 5-10 workloads |
Core Workflow
Step 1: Migration Assessment — TCO Analysis
# assessment/tco_analysis.py
"""Total Cost of Ownership comparison for on-prem vs cloud."""
import json
from dataclasses import dataclass, asdict
@dataclass
class WorkloadSpec:
name: str
vcpu: int
memory_gb: int
storage_gb: int
storage_type: str # HDD, SSD, NVMe
network_throughput: str # Mbps
licenses: list[str] # Windows, SQL, Oracle, etc.
def estimate_cloud_cost(self, provider="aws", region="us-east-1"):
"""Estimate monthly cloud cost."""
cost = 0
# Compute costs (example pricing)
if provider == "aws":
instance_map = {
(2, 4): "m6i.large",
(4, 16): "m6i.xlarge",
(8, 32): "m6i.2xlarge",
(16, 64): "m6i.4xlarge",
}
key = (self.vcpu, self.memory_gb)
instance = instance_map.get(key, "m6i.xlarge")
compute = {"m6i.large": 69, "m6i.xlarge": 138,
"m6i.2xlarge": 276, "m6i.4xlarge": 553}
cost += compute.get(instance, 138)
# Storage costs
storage_rates = {"HDD": 0.08, "SSD": 0.125, "NVMe": 0.25}
cost += self.storage_gb * storage_rates.get(self.storage_type, 0.125)
# License costs
license_rates = {"Windows": 50, "SQL": 300, "Oracle": 500}
for lic in self.licenses:
cost += license_rates.get(lic, 0)
return cost
def estim
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cloud-migration-advanced.md
- references/cloud-migration-fundamentals.md
- references/migration-phases.md
- references/migration-runbook-template.md
- references/migration-strategies.md
- references/migration-testing.md
- references/migration-tools.md
- references/post-migration-optimization.md
FAQ
Что делает скилл cloud-migration?
Use when the user asks about cloud migration, lift and shift, the 7 Rs (rehost, replatform, refactor), AWS MGN, Azure Migrate, migration waves, discovery and assessment, or cutover planning. Produces a migration plan with waves, tooling and rollback. Not for database schema migrations (use database-migration) or hybrid connectivity (use hybrid-cloud).
Как установить скилл cloud-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cloud-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…