|
1 | | -# Migrate |
| 1 | +# Migration to AWS |
2 | 2 |
|
3 | | -AI agent plugins and tools for migrating workloads to AWS. |
| 3 | +AI agent skills for migrating workloads to AWS, built for [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview) and [Cursor](https://www.cursor.com/). |
4 | 4 |
|
5 | | -## Plugins |
| 5 | +## What This Does |
6 | 6 |
|
7 | | -| Plugin | Description | Status | |
8 | | -| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------- | |
9 | | -| **migration-to-aws** | Migrate GCP/Azure infrastructure and AI workloads to AWS with resource discovery, architecture mapping, cost analysis, and execution planning | Available | |
| 7 | +Point this plugin at your codebase, Terraform files, or GCP billing data. It runs a structured 6-phase migration assessment — discovering what you have, asking the right questions, designing the AWS architecture, estimating costs with real pricing data, and generating runnable migration artifacts. |
| 8 | + |
| 9 | +**For AI-focused startups**, it goes further: |
| 10 | + |
| 11 | +- **Detects your entire AI stack** — not just "you use GPT-4o" but your agents, tools, orchestration patterns, memory layers, and multi-model pipelines |
| 12 | +- **Recommends three migration paths** for agentic workloads: retarget (keep your framework, swap models), AgentCore Harness (config-based managed agents), or Strands Agents (AWS-native multi-agent SDK) |
| 13 | +- **Surfaces options you wouldn't find on your own** — like Strands Agents (open-source, powers AgentCore internally) and AgentCore Harness (declare an agent in 3 API calls) |
| 14 | +- **Generates runnable artifacts** — `harness.json`, deployment scripts, incremental migration scripts, provider adapters — tailored to your specific models, tools, and architecture |
| 15 | +- **Gives honest pricing comparisons** — finds you the best Bedrock option for your workload with current pricing data, including side-by-side cost comparisons against your existing OpenAI/Gemini spend |
10 | 16 |
|
11 | 17 | ## Installation |
12 | 18 |
|
13 | 19 | ### Claude Code |
14 | 20 |
|
15 | 21 | ```bash |
16 | | -/plugin marketplace add awslabs/startups --sparse migrate |
17 | | -/plugin install migration-to-aws@startups-migrate |
| 22 | +# Add the marketplace |
| 23 | +/plugin marketplace add awslabs/startups |
| 24 | + |
| 25 | +# Install the plugin |
| 26 | +/plugin install migration-to-aws@startups-for-aws |
| 27 | +``` |
| 28 | + |
| 29 | +### Cursor |
| 30 | + |
| 31 | +> **Coming soon** — This plugin is not yet published on the Cursor Marketplace. In the meantime, you can use it locally by cloning this repository and pointing Cursor to the plugin directory at `migrate/plugins/migration-to-aws`. |
| 32 | +
|
| 33 | +## Quick Start |
| 34 | + |
| 35 | +```bash |
| 36 | +# 1. Install the plugin (see above) |
| 37 | + |
| 38 | +# 2. cd into a project with Terraform, app code, or GCP billing exports |
| 39 | +cd path/to/your/gcp-project |
| 40 | + |
| 41 | +# 3. Trigger the skill |
| 42 | +"migrate from GCP to AWS" |
18 | 43 | ``` |
19 | 44 |
|
20 | | -### Kiro |
| 45 | +The skill creates a `.migration/<MMDD-HHMM>/` directory in the current working directory and writes all artifacts there. |
| 46 | + |
| 47 | +## Workflow |
21 | 48 |
|
22 | | -Powers are available under `powers/` for direct use with Kiro. |
| 49 | +1. **Discover** — Scan Terraform files, application code, and/or billing data. Detects GCP resources, AI models, agentic frameworks, tools, and orchestration patterns. |
| 50 | +2. **Clarify** — Ask targeted questions about migration preferences, AI priorities, agentic migration approach, memory requirements, and timeline. **Mandatory** — cannot be skipped. |
| 51 | +3. **Design** — Map GCP services to AWS equivalents. For AI workloads: select Bedrock models with honest pricing comparison. For agentic workloads: design AgentCore Harness config or Strands architecture. |
| 52 | +4. **Estimate** — Calculate monthly AWS costs using real-time pricing data. Compare to current GCP/OpenAI spend. |
| 53 | +5. **Generate** — Create migration artifacts: Terraform, provider adapters, `harness.json`, deployment scripts, incremental migration scripts, and documentation. |
| 54 | +6. **Feedback** _(optional)_ — Collect anonymized feedback to improve the tool. |
| 55 | + |
| 56 | +## What It Detects |
| 57 | + |
| 58 | +| Category | Examples | |
| 59 | +| -------------------- | ----------------------------------------------------------------------------------------------------- | |
| 60 | +| Infrastructure | Cloud Run, Cloud SQL, GKE, Cloud Functions, Pub/Sub, Cloud Storage, VPC, DNS | |
| 61 | +| AI Models | OpenAI (GPT-4o, GPT-5.4, o-series, embeddings, image, speech), Gemini (Pro, Flash), Anthropic, Cohere | |
| 62 | +| Agentic Frameworks | LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, Strands, custom agent loops | |
| 63 | +| Integration Patterns | Direct SDK, LangChain, LlamaIndex, LiteLLM, OpenRouter, MCP servers | |
| 64 | +| Agent Architecture | Single agent, hierarchical, swarm, graph, sequential orchestration | |
| 65 | +| Tools & Memory | Tool definitions with transport/auth classification, memory backends (Redis, Postgres, vector stores) | |
| 66 | + |
| 67 | +## What You Get That a Base LLM Can't |
| 68 | + |
| 69 | +| Capability | Base LLM | This Plugin | |
| 70 | +| ------------------------ | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 71 | +| Model recommendation | Generic "use Bedrock" | Your specific models mapped with pricing, honest assessment per model, stay-or-migrate recommendation | |
| 72 | +| Agentic migration | "Swap ChatOpenAI for ChatBedrock" | Detects your framework, agents, tools, orchestration pattern. Recommends retarget vs Harness vs Strands with effort ranges. | |
| 73 | +| Multi-model coordination | Generic advice | Warns about re-embedding requirements, cascade pair testing, tiered strategies — based on your actual model usage | |
| 74 | +| Framework gotchas | Not covered | Documents real issues: LangGraph checkpointer incompatibility, CrewAI hierarchical process failures with smaller models, async thread pool exhaustion | |
| 75 | +| Regional validation | Outdated region lists | Live `get_regional_availability` MCP call — catches "AgentCore Harness isn't in your target region" before you commit | |
| 76 | +| Cost estimation | Stale pricing | Three-tier pricing: cached current rates, live AWS Pricing API, fallback. Shows ±5-10% accuracy. | |
| 77 | +| Generated code | Generic templates | Your model IDs, your tool names, your system prompts, your region — in runnable scripts | |
| 78 | +| Incremental migration | Not suggested | Run existing OpenAI models on AgentCore infrastructure today, A/B test with Bedrock per-invocation, swap when confident | |
| 79 | + |
| 80 | +## Agent Skill Triggers |
| 81 | + |
| 82 | +| Agent Skill | Triggers | |
| 83 | +| -------------- | ------------------------------------------------------------------------------------------------------------- | |
| 84 | +| **gcp-to-aws** | "migrate GCP to AWS", "move from GCP", "GCP migration plan", "estimate AWS costs", "migrate my AI app to AWS" | |
| 85 | + |
| 86 | +## MCP Servers |
| 87 | + |
| 88 | +| Server | Purpose | |
| 89 | +| ---------------- | --------------------------------------------------------------- | |
| 90 | +| **awsknowledge** | AWS documentation, regional availability, architecture guidance | |
| 91 | +| **awspricing** | Real-time AWS service pricing for cost estimates | |
| 92 | + |
| 93 | +## Requirements |
| 94 | + |
| 95 | +- Claude Code >=2.1.29 or [Cursor >= 2.5](https://cursor.com/changelog/2-5) |
| 96 | +- AWS CLI configured with appropriate credentials |
| 97 | +- At least one input source: Terraform files, application code, or GCP billing data |
| 98 | +- **For AI/agentic migration:** Application source code is required (billing/IaC alone cannot detect agent architecture) |
23 | 99 |
|
24 | 100 | ## Structure |
25 | 101 |
|
26 | 102 | ``` |
27 | 103 | migrate/ |
28 | 104 | ├── plugins/ # Claude Code and Cursor plugins |
29 | | -├── powers/ # Kiro powers (generated from plugin source) |
30 | | -├── docs/ # Documentation |
31 | | -├── tests/ # Evaluation fixtures and invariants |
32 | | -└── tools/ # Evaluation tooling and generators |
| 105 | +└── docs/ # Documentation |
33 | 106 | ``` |
34 | 107 |
|
35 | 108 | ## Ownership |
36 | 109 |
|
37 | 110 | This folder is maintained by the **Startups-Migrate** team. See `OWNERS.yaml` for routing details. |
| 111 | + |
| 112 | +## License |
| 113 | + |
| 114 | +This project is licensed under the Apache-2.0 License. |
0 commit comments