# Right-Size AWS Transform MGN Replication Servers

DevFeed: [Right-Size AWS Transform MGN Replication Servers](<https://devfeed.tech/articles/right-size-aws-transform-mgn-replication-servers-121785.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/migration-and-modernization/right-size-aws-transform-mgn-replication-servers/>)

Author: Rajamuthu Sundaram

Published: 2026-11-06T11:35:00Z

Content type: tutorial

Language: en

Sources: [Migration & Modernization](<https://devfeed.tech/sources/migration-modernization.md>)

Topics: [AWS Transform](<https://devfeed.tech/topics/aws-transform.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [function as a service](<https://devfeed.tech/topics/function-as-a-service.md>), [Amazon Elastic Block Store (Amazon EBS)](<https://devfeed.tech/topics/amazon-elastic-block-store-amazon-ebs.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-elastic-compute](<https://devfeed.tech/tags/amazon-elastic-compute.md>), [amazon-elastic-compute-cloud-amazon-ec2](<https://devfeed.tech/tags/amazon-elastic-compute-cloud-amazon-ec2.md>), [application](<https://devfeed.tech/tags/application.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-application-migration-service](<https://devfeed.tech/tags/aws-application-migration-service.md>), [aws-transform](<https://devfeed.tech/tags/aws-transform.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [compute](<https://devfeed.tech/tags/compute.md>), [customer-solutions](<https://devfeed.tech/tags/customer-solutions.md>), [ec2](<https://devfeed.tech/tags/ec2.md>), [elastic](<https://devfeed.tech/tags/elastic.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [migration](<https://devfeed.tech/tags/migration.md>), [replication](<https://devfeed.tech/tags/replication.md>), [right](<https://devfeed.tech/tags/right.md>), [servers](<https://devfeed.tech/tags/servers.md>), [size](<https://devfeed.tech/tags/size.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

A Lambda function can evaluate non-archived AWS Transform MGN source servers in one configured account and Region, sum their provisioned disk capacity, and map them to configurable exact EC2 replication-server instance tiers. It reports proposed changes in dry-run mode by default and, when an authorized caller invokes apply mode, updates eligible servers to higher managed tiers. Servers with incomplete disk inventory, unmanaged types, or equal or lower targets are skipped. The example requires Terraform 1.3+, Python 3.12 Lambda, deployment and target-account IAM setup, approved instance types and quotas, and a change window. Capacity is only a policy signal: the function does not measure used space, write rate, replication lag, transfer volume, or completion time, and its tiers are not sizing recommendations or performance guarantees. Updates are not transactional; review dry-run results and validate each changed server. The sample does not scale down automatically; operators may manually restore a smaller approved type after synchronization. Test runtime and throttling for fleet size, and monitor replication and cost.

## Source excerpt

Migration teams need a consistent way to right-size AWS Transform MGN replication servers when a wave includes many source servers. The challenge grows when source servers range from small systems to workloads with several tebibytes of provisioned disk capacity. AWS Transform MGN, formerly AWS Application Migration Service, uses lightweight Amazon Elastic Compute Cloud (Amazon EC2) [...]