Amazon OpenSearch Service now offers AI-assisted migrations
Describe your migration goal in plain language and let an AI agent handle planning, infra deployment, and cutover—weeks of manual work, automated.
View original announcement →Visual Summary
What's New
Amazon OpenSearch Service's Migration Assistant now includes an AI-assisted experience that lets engineers describe their migration goals in plain language and have an agent handle planning, infrastructure deployment, and execution. The feature supports migrations from self-managed Apache Solr, Elasticsearch, and OpenSearch clusters to either OpenSearch Serverless or Managed Clusters, and works with popular AI coding tools such as Kiro, Claude Code, Codex, and Cursor. This release also adds live traffic capture and replay support for Apache Solr, a capability previously unavailable for that source platform.
How It Works
- Agent mode activation: Install the Migration Assistant CLI via a single
curlinstaller script, then choose "Agent mode" at setup or invoke it directly withmigration-assistant agent; the agent operates as an interactive CLI session driven by natural-language instructions. - Environment discovery: The agent automatically identifies source cluster endpoints, validates network connectivity, checks authentication methods, and confirms all prerequisites (AWS CLI v2, kubectl, Helm 3) are in place before proceeding.
- Migration planning: Based on your stated goals and source cluster characteristics, the agent proposes a migration path—historical backfill only, live traffic migration, or both—and presents the plan for your approval before any action is taken.
- Infrastructure provisioning: The agent deploys the full EKS-based Migration Assistant 3.0 stack, including networking, Kafka, Pod Identity Agent add-ons, and supporting services, using Helm charts without requiring manual CloudFormation or Kubernetes authoring.
- Workflow configuration: It generates the workflow JSON configuration (source, target, snapshot settings, schema transforms) and surfaces it for human review at defined approval gates before submission.
- Migration execution and monitoring: The agent submits the workflow, monitors backfill and live traffic replay progress, and pauses at key checkpoints requiring explicit operator approval before advancing.
- Validation: Post-migration, the agent compares document counts between source and target, verifies schema translation accuracy, and checks replayer health to confirm a successful migration.
- Solr live traffic support: A new capture-and-replay proxy can now intercept and record live Solr traffic, replay it against the OpenSearch target, and compare latency and response codes for pre-cutover validation.
Why It's Important
- Dramatic reduction in planning overhead: Migrations that previously required weeks of manual planning—constructing workflow JSON, running CLI commands, and troubleshooting step by step—can now be initiated and structured through conversational prompts, compressing the pre-migration phase significantly.
- Lower error risk: The agent-guided workflow enforces a structured, repeatable sequence with built-in approval gates, reducing the ad-hoc mistakes that commonly occur when engineers manually orchestrate complex multi-step migrations.
- Broader source platform coverage: Adding live traffic capture and replay for Apache Solr closes a major gap, enabling organizations running Solr-based search infrastructure to validate OpenSearch behavior under real production traffic before cutting over.
- Democratizes complex migrations: Teams without deep OpenSearch or Kubernetes expertise can now execute production-grade migrations by describing their intent in plain language, lowering the skill barrier for cloud adoption.
- Risk mitigation preserved: The AI layer sits on top of the existing low-risk migration architecture—abort capabilities, source cluster preservation, snapshot-based backfill, and multi-hop support—so automation does not come at the cost of safety controls.
How It's Different
- Natural language vs. manual CLI: Unlike the original Migration Assistant (launched December 2023), which required engineers to manually construct workflow JSON and run CLI commands, the new AI-assisted mode accepts plain-language descriptions and translates them into executable steps automatically.
- Tool-agnostic AI integration: Rather than locking users into a single AI platform, the agent works with any MCP-compatible or CLI-driven coding agent (Kiro, Claude Code, Codex, Cursor, and others), fitting into existing developer toolchains.
- End-to-end orchestration vs. task automation: The original Migration Assistant automated individual manual tasks; the AI agent orchestrates the entire lifecycle—assessment, infrastructure deployment, configuration, execution, and validation—as a single guided workflow.
- Solr live traffic parity: Competing migration tools and the prior version of Migration Assistant lacked live traffic capture and replay for Solr; this release brings Solr to feature parity with Elasticsearch and OpenSearch sources.
- Approval-gated autonomy: Unlike fully autonomous migration scripts, the agent pauses at defined checkpoints for human review, providing a balance between automation speed and operator control that is uncommon in self-service migration tooling.
When to Prefer It
- Large or complex self-managed clusters: Use the AI-assisted mode when migrating clusters with many indices, custom analyzers, or complex schema mappings where manually authoring workflow JSON would be time-consuming and error-prone.
- Teams new to OpenSearch or Kubernetes: Ideal when the migration team lacks deep familiarity with OpenSearch internals or the EKS-based Migration Assistant infrastructure, as the agent handles configuration generation and troubleshooting automatically.
- Apache Solr migrations requiring live validation: Choose this path when migrating from Solr and needing to validate OpenSearch behavior under real production traffic before cutover, now enabled by the new live traffic capture and replay feature.
- Time-constrained migration projects: When business deadlines compress the planning window, the agent-guided workflow can accelerate the assessment and infrastructure-deployment phases that traditionally consume the most calendar time.
- Proof-of-concept or iterative migrations: Well-suited for teams wanting to run a low-risk trial migration to OpenSearch Serverless or a Managed Cluster before committing to full production cutover, since the agent structures and validates each phase independently.
- Organizations standardizing on AI coding tools: If your engineering workflow already uses Kiro, Claude Code, or similar agents for infrastructure-as-code tasks, the Migration Assistant agent mode integrates naturally into that existing toolchain.
Availability
- GA status: Generally available as of June 23, 2026; this is a production-ready release, not a preview.
- Supported regions: Available in all commercial AWS Regions and AWS GovCloud (US) Regions where Amazon OpenSearch Service is offered.
- Supported sources: Apache Solr 6.x–9.x, Elasticsearch 1.x–8.x, and OpenSearch 1.x–3.x; Elasticsearch 1.x–2.x migrations are backfill only (live traffic capture and replay not supported for those versions).
- Supported targets: Amazon OpenSearch Service Managed Clusters (OpenSearch 1.x, 2.x, 3.x) and Amazon OpenSearch Serverless NextGen; document ID preservation on Serverless applies to SEARCH collections only.
- Pricing: Migration Assistant is an AWS Solution (open-source, deployed into your account); you pay for the underlying AWS resources consumed (EKS, EC2, Kafka/MSK, networking) at standard AWS rates—there is no additional charge for the Migration Assistant software or AI agent mode itself.
- Prerequisites: AWS CLI v2, kubectl, Helm 3, valid AWS credentials, and a supported AI coding agent CLI must be available on the operator's workstation before launching agent mode.
Related Resources
- https://docs.aws.amazon.com/solutions/latest/migration-assistant-for-amazon-opensearch-service/agent-assisted-migration.html
- https://docs.aws.amazon.com/solutions/migration-assistant-for-amazon-opensearch-service/
- https://docs.aws.amazon.com/solutions/latest/migration-assistant-for-amazon-opensearch-service/solution-overview.html