Currently viewing the AI version
Switch to human version

AWS Migration Hub Implementation Guide - AI-Optimized Technical Reference

Critical Configuration Requirements

Discovery Agent Installation

  • CPU Impact: 40%+ on legacy servers (older than 5 years)
  • Memory Consumption: 500MB+ after 2-3 weeks (memory leak)
  • Performance Threshold: Systems with <4GB RAM will experience degradation
  • Failure Scenario: Windows 2008 R2 domain controllers become unresponsive for 20+ minutes during registry scanning

Production-Ready Configuration:

# /opt/aws/discovery/config/agent.properties
collection_interval=3600  # Change from default 900 seconds

Required Maintenance:

# Weekly restart to prevent memory leak crashes
0 2 * * 0 systemctl restart aws-discovery-daemon

Network Discovery Limitations

  • Coverage Gap: Misses 20% of critical dependencies
  • Sampling Issue: Only captures active connections during scan period
  • Hidden Dependencies: Monthly/quarterly jobs, backup processes, scheduled tasks
  • Minimum Discovery Period: 14 days to catch weekly/monthly processes

Authentication Requirements

Actual Permissions Needed (beyond documented):

  • discovery:*
  • mgh:*
  • AWSApplicationMigrationAgentPolicy
  • AWSApplicationMigrationReplicationServerPolicy
  • Custom CloudWatch logs access policy

Debug Process: Use CloudTrail to identify failing API calls, then add specific permissions

Home Region Constraints

  • Critical Limitation: Cannot change home region without AWS Support intervention
  • Resolution Time: 1-2 business days via AWS Support
  • Impact: All migration data locked to initial region selection

Resource Requirements and Time Estimates

Migration Timeline Reality

Server Size Network Speed Actual Time
500GB 100Mbps 6-12 hours
2TB with database 100Mbps 2-3 days
10TB file server 100Mbps 1-2 weeks

Rule of thumb: Add 50% buffer for network issues and AWS throttling

API Rate Limiting

  • Threshold: 100+ servers trigger undocumented rate limits
  • Symptoms: HTTP 429 errors, console unresponsiveness
  • Workaround: Exponential backoff, batch API calls
  • Monitoring: CloudWatch metrics for API error spikes

Critical Failure Modes

Discovery Agent Failures

  1. CPU Overload on Legacy Systems

    • Cause: Agent scans every process/connection every 15 minutes
    • Impact: Single-core systems become unresponsive
    • Fix: Increase scan interval to 1 hour
  2. Memory Leak Crashes

    • Cause: Known leak in agent process
    • Timeline: 2-3 weeks to failure
    • Detection: Process >500MB RAM usage
    • Solution: Weekly automated restarts
  3. Network Connectivity Issues

    • Symptom: Agent shows "healthy" but no data in console
    • Cause: Firewall/proxy blocking AWS endpoints
    • Test: curl -I https://application-discovery.us-west-2.amazonaws.com
    • Fix: Configure proxy or open ports 443, 8888

Migration Tracking Failures

  1. Status Mapping Breaks

    • Frequency: 40% of migrations lose tracking
    • Cause: Automatic mapping fails between tools and discovered servers
    • Manual Fix: Migration Hub → Updates → Edit → Manually map servers
  2. Application Group Logic Fails

    • Issue: Servers assigned to wrong applications or multiple groups
    • Impact: "Partially migrated" status for completed migrations
    • Solution: Delete auto-generated groups, create manual groups
  3. Multi-Region Tracking Impossible

    • Limitation: Single home region view only
    • Impact: Cannot track migrations spanning multiple regions
    • Workaround: Custom CloudWatch dashboards and Lambda functions

Migration Execution Failures

  1. Boot Failures After Migration

    • Frequency: 30% of Windows servers, 15% of custom Linux
    • Cause: Hardware differences, driver issues, boot sector problems
    • Emergency Fix:
      • Launch rescue instance
      • Mount migrated volume as secondary disk
      • Fix /etc/fstab or Windows registry for new hardware
  2. Application Non-Functionality

    • Issue: Server migrates successfully but application fails
    • Common Causes: Database connection strings, license servers, network routing
    • Testing Required: 2-4 weeks post-migration troubleshooting

Performance Monitoring Inadequacies

Discovery Agent Metrics Limitations

  • Averaging Period: 15-minute intervals mask peak loads
  • Missing Data: Night-time backups, month-end processing spikes
  • Impact: Undersized AWS instances cause performance issues

Better Monitoring Approach:

  • Maintain existing monitoring tools during discovery
  • Export VMware vCenter performance data
  • Use AWS Systems Manager for detailed metrics
  • Run stress tests for actual resource requirements

Decision Support Matrix

Agent vs Agentless Discovery

Criteria Agent-Based Agentless
Dependency Mapping Complete (with caveats) Basic specs only
Performance Impact High (40% CPU) None
Server Compatibility All platforms VMware vCenter 5.5+ only
Application Visibility Process-level None
Installation Complexity High Medium

When to Use Alternative Tools

  • CloudEndure/AWS MGN: Better for large-scale migrations
  • Turbonomic: More accurate right-sizing analysis
  • Zerto: Enterprise-grade replication with better tracking

Emergency Procedures

Agent Removal (When Breaking Server)

sudo systemctl stop aws-discovery-daemon
sudo systemctl disable aws-discovery-daemon
sudo /opt/aws/discovery/uninstall
sudo rm -rf /opt/aws/discovery
# If uninstaller fails:
sudo pkill -f discovery

Migration Rollback Triggers

  • Boot failures exceeding downtime window
  • Database corruption or data inconsistency
  • Unusable application performance
  • Network connectivity preventing user access

Support Escalation Paths

  1. Basic Issues: AWS re:Post Migration Hub questions
  2. Critical Failures: AWS Enterprise Support (24/7)
  3. Complex Migrations: AWS Professional Services
  4. Large Scale: AWS Migration Acceleration Program

Operational Intelligence

What AWS Documentation Doesn't Tell You

  • "Minimal performance impact" = 40% CPU on legacy systems
  • "Automated mapping" works 60% of the time
  • Rate limits exist but aren't documented
  • Memory leaks require weekly restarts
  • Boot failure rate is 30% for Windows migrations

Hidden Costs

  • Time Investment: 2-4 weeks post-migration troubleshooting per application
  • Expertise Required: Network engineering, systems administration, AWS architecture
  • Infrastructure: Separate testing environment mandatory
  • Support: Enterprise Support recommended for production migrations

Success Criteria

  • Technical: Application functionality, not just server replication
  • Performance: Stress testing under production loads
  • Integration: All dependencies and scheduled jobs working
  • Monitoring: Full observability stack operational
  • Rollback: Tested and documented fallback procedures

Breaking Points

  • 100+ servers: API rate limiting kicks in
  • Legacy servers (>5 years): Performance degradation likely
  • Complex applications: Manual dependency mapping required
  • Multi-region: Native tracking fails, custom solution needed
  • Large datasets (>2TB): Week+ migration windows required

This guide prioritizes real-world operational intelligence over vendor marketing claims, focusing on what actually breaks and how to fix it.

Useful Links for Further Investigation

Resources for When Everything Goes Wrong

LinkDescription
Migration Hub Troubleshooting GuideBasic troubleshooting that covers 20% of real problems, offering initial guidance for common issues encountered during migration processes.
Application Discovery Service TroubleshootingAddresses agent installation and connectivity issues, providing steps to resolve problems with the Application Discovery Service.
Application Migration Service TroubleshootingProvides solutions for scenarios where servers won't boot after migration, helping to diagnose and fix post-migration startup failures.
Migration Hub API Error CodesA reference guide to decode cryptic error messages returned by the Migration Hub API, aiding in understanding and resolving API-related issues.
AWS re:Post Migration Hub QuestionsExplore real problems and solutions shared by real engineers on AWS re:Post, focusing on questions related to Migration Hub.
AWS Developer Forums - MigrationParticipate in community discussions and find solutions for various migration troubleshooting challenges within the AWS Developer Forums.
AWS Migration Samples RepositoryAccess workshop materials and sample code for application migration, providing practical examples and guidance for implementation.
Stack Overflow Migration Hub TagsFind solutions and discussions for code-level troubleshooting related to AWS Migration Hub on Stack Overflow, a popular developer Q&A site.
AWS CLI Migration Hub Config CommandsUtilize AWS CLI commands for Migration Hub configuration when the console is inaccessible or for scripting automated management tasks.
AWS MigOps CloudFormation TemplatesLeverage CloudFormation templates to automate the setup and configuration of Migration Operations (MigOps) that might otherwise fail manually.
PowerShell AWS Migration ModuleAccess PowerShell cmdlets for AWS Migration Hub to create and manage migration resources and automate Windows-based migration tasks.
Terraform AWS Migration Hub ProviderManage AWS Migration Hub applications and resources using Terraform, enabling infrastructure as code for migration tracking and orchestration.
IDrive Business BackupExplore IDrive Business Backup for reliable server replication and data protection, offering a robust solution that actually works for business continuity.
Turbonomic Migration PlanningDiscover Turbonomic for right-sizing analysis and cloud migration planning, providing more accurate resource recommendations than native AWS tools.
CloudEndure User ForumAccess community knowledge and discussions from the CloudEndure User Forum, which is now part of AWS MGN but still offers valuable insights.
Zerto IT Resilience PlatformLearn about Zerto's IT Resilience Platform for enterprise-grade migration, offering advanced replication, recovery, and better tracking capabilities.
AWS Enterprise SupportOpt for AWS Enterprise Support when you need someone to answer the phone at 3 AM, providing critical assistance for urgent issues.
AWS Migration Acceleration ProgramEngage with the AWS Migration Acceleration Program for professional services and funding to accelerate large-scale cloud migrations.
AWS Professional ServicesConsult with AWS Professional Services, a team of experts who have seen it all before and can provide tailored guidance for complex migrations.
AWS Partner Network Migration SpecialistsFind third-party help and specialized expertise from AWS Partner Network Migration Specialists when native AWS support isn't enough.
CloudWatch Migration MetricsConfigure CloudWatch to monitor migration metrics and set up alerts for potential migration failures, ensuring timely detection of issues.
Migration Hub Events for EventBridgeIntegrate Migration Hub events with EventBridge to automate responses and trigger workflows based on various migration-related occurrences.
AWS Systems Manager for Migration MonitoringUtilize AWS Systems Manager to monitor the health and operational status of servers after they have been migrated to AWS.
Third-party Migration Monitoring ToolsExplore third-party migration monitoring tools available through AWS partners when native monitoring solutions do not meet specific requirements.
AWS Migration WhitepaperReview the AWS Migration Whitepaper for theoretical insights and best practices, though it may not always perfectly match real-world migration challenges.
AWS re:Invent Migration SessionsAccess recordings of AWS re:Invent conference sessions focused on migration strategies, best practices, and lessons learned from various customer scenarios.
AWS Migration Hub Orchestrator User GuideConsult the official user guide for AWS Migration Hub Orchestrator to understand and implement hands-on automation workflows for complex migration tasks.
AWS Migration BlogRead the AWS Migration Blog for case studies, lessons learned, and updates on migration strategies and services from AWS experts.

Related Tools & Recommendations

tool
Similar content

AWS Application Migration Service (MGN) - Copy Your Servers to AWS

MGN replicates your physical or virtual servers to AWS. It works, but expect some networking headaches and licensing surprises along the way.

AWS Application Migration Service
/tool/aws-application-migration-service/overview
100%
tool
Similar content

AWS MGN Enterprise Production Deployment - Security & Scale Guide

Rolling out MGN at enterprise scale requires proper security hardening, governance frameworks, and automation strategies. Here's what actually works in producti

AWS Application Migration Service
/tool/aws-application-migration-service/enterprise-production-deployment
94%
tool
Similar content

AWS Migration Hub - Track Your Migration So You Don't Lose Your Mind

Explore AWS Migration Hub, a project management dashboard for tracking cloud migrations. Learn about the 6 Rs of migration strategies and common challenges.

AWS Migration Hub
/tool/aws-migration-hub/overview
84%
tool
Recommended

Azure Migrate - Microsoft's Tool for Moving Your Crap to the Cloud

Microsoft's free migration tool that actually works - helps you discover what you have on-premises, figure out what it'll cost in Azure, and move it without bre

Azure Migrate
/tool/azure-migrate/overview
64%
tool
Recommended

AWS Database Migration Service - When You Need to Move Your Database Without Getting Fired

integrates with AWS Database Migration Service

AWS Database Migration Service
/tool/aws-database-migration-service/overview
63%
tool
Popular choice

jQuery - The Library That Won't Die

Explore jQuery's enduring legacy, its impact on web development, and the key changes in jQuery 4.0. Understand its relevance for new projects in 2025.

jQuery
/tool/jquery/overview
58%
tool
Popular choice

Hoppscotch - Open Source API Development Ecosystem

Fast API testing that won't crash every 20 minutes or eat half your RAM sending a GET request.

Hoppscotch
/tool/hoppscotch/overview
55%
tool
Popular choice

Stop Jira from Sucking: Performance Troubleshooting That Works

Frustrated with slow Jira Software? Learn step-by-step performance troubleshooting techniques to identify and fix common issues, optimize your instance, and boo

Jira Software
/tool/jira-software/performance-troubleshooting
53%
tool
Popular choice

Northflank - Deploy Stuff Without Kubernetes Nightmares

Discover Northflank, the deployment platform designed to simplify app hosting and development. Learn how it streamlines deployments, avoids Kubernetes complexit

Northflank
/tool/northflank/overview
50%
tool
Popular choice

LM Studio MCP Integration - Connect Your Local AI to Real Tools

Turn your offline model into an actual assistant that can do shit

LM Studio
/tool/lm-studio/mcp-integration
48%
tool
Recommended

ServiceNow Cloud Observability - Lightstep's Expensive Rebrand

ServiceNow bought Lightstep's solid distributed tracing tech, slapped their logo on it, and jacked up the price. Starts at $275/month - no free tier.

ServiceNow Cloud Observability
/tool/servicenow-cloud-observability/overview
47%
tool
Recommended

ServiceNow App Engine - Build Apps Without Coding Much

ServiceNow's low-code platform for enterprises already trapped in their ecosystem

ServiceNow App Engine
/tool/servicenow-app-engine/overview
47%
tool
Popular choice

CUDA Development Toolkit 13.0 - Still Breaking Builds Since 2007

NVIDIA's parallel programming platform that makes GPU computing possible but not painless

CUDA Development Toolkit
/tool/cuda/overview
46%
news
Popular choice

Taco Bell's AI Drive-Through Crashes on Day One

CTO: "AI Cannot Work Everywhere" (No Shit, Sherlock)

Samsung Galaxy Devices
/news/2025-08-31/taco-bell-ai-failures
43%
tool
Recommended

Terraform Enterprise - HashiCorp's $37K-$300K Self-Hosted Monster

Self-hosted Terraform that doesn't phone home to HashiCorp and won't bankrupt you with per-resource billing

Terraform Enterprise
/tool/terraform-enterprise/overview
42%
troubleshoot
Recommended

Your Terraform State is Fucked. Here's How to Unfuck It.

When terraform plan shits the bed with JSON errors, your infrastructure is basically held hostage until you fix the state file.

Terraform
/troubleshoot/terraform-state-corruption/state-corruption-recovery
42%
integration
Recommended

How We Stopped Breaking Production Every Week

Multi-Account DevOps with Terraform and GitOps - What Actually Works

Terraform
/integration/terraform-aws-multiaccount-gitops/devops-pipeline-automation
42%
news
Popular choice

AI Agent Market Projected to Reach $42.7 Billion by 2030

North America leads explosive growth with 41.5% CAGR as enterprises embrace autonomous digital workers

OpenAI/ChatGPT
/news/2025-09-05/ai-agent-market-forecast
41%
news
Popular choice

Builder.ai's $1.5B AI Fraud Exposed: "AI" Was 700 Human Engineers

Microsoft-backed startup collapses after investigators discover the "revolutionary AI" was just outsourced developers in India

OpenAI ChatGPT/GPT Models
/news/2025-09-01/builder-ai-collapse
38%
news
Popular choice

Docker Compose 2.39.2 and Buildx 0.27.0 Released with Major Updates

Latest versions bring improved multi-platform builds and security fixes for containerized applications

Docker
/news/2025-09-05/docker-compose-buildx-updates
38%

Recommendations combine user behavior, content similarity, research intelligence, and SEO optimization