Home icon

Right-Size AWS Transform MGN Replication Servers

Migration and Modernization Blog



This article presents an automated Lambda-based solution for right-sizing AWS Transform MGN replication servers based on source disk capacity during large-scale migrations.

  • Lambda function evaluates provisioned source-disk capacity and maps servers to configurable replication-server instance tiers
  • Supports dry-run mode for review before applying changes, with optional EventBridge scheduling for recurring evaluation
  • Uses configurable size tiers (default: m5.xlarge to m5.12xlarge) based on disk capacity thresholds in GiB
  • Deploys via two-phase Terraform: automation stack in deployment account, then target-account IAM role
  • Includes safety controls: upgrade-only policy, per-server validation, reserved Lambda concurrency, and encrypted dead-letter queue for failed events
  • Provides manual invocation, dry-run validation, and recovery procedures for failed updates

The solution automates repetitive replication-server configuration work while maintaining operator approval, cost control, and post-change validation throughout the migration wave.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Oct 22
2026
Centralized multi-account server migration to AWS with AWS Transform
Oct 27
2026
Amazon ECR now supports replication backfill for existing container images
Nov 3
2026
AWS Transform for mainframe improves the reimagine modernization workflow
May 13
2026
Accelerating VMware migrations with AWS Transform and MGN replication agent installation automation

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.