Enterprises steadily start their journey by re-hosting (lift-and-shift) their on-premises workloads into AWS and working Amazon Elastic Compute Cloud (Amazon EC2) situations. A less complicated solution to re-host is by utilizing AWS Utility Migration Service (Utility Migration Service), a cloud-native migration service.
To streamline and expedite migrations, automate reusable migration patterns that work for a variety of functions. Utility Migration Service is the really helpful migration service to lift-and-shift your functions to AWS.
On this weblog submit, we discover key variables that contribute to server replication velocity when utilizing Utility Migration Service. We will even take a look at exams you’ll be able to run to establish these bottlenecks and, the place acceptable, embody remediation steps.
Overview of migration utilizing Utility Migration Service
Determine 1 depicts the end-to-end knowledge replication circulate from supply servers to a goal machine hosted on AWS. The diagram is designed to assist visualize potential bottlenecks throughout the knowledge circulate, that are denoted by a black diamond.

Determine 1. Information circulate when utilizing AWS Utility Migration Service (black diamonds denote potential factors of rivalry)
Baseline testing
To find out a baseline replication velocity, we advocate performing a management check between your goal AWS Area and the closest Area to your supply workloads. For instance, in case your supply workloads are in a knowledge middle in Rome and your goal Area is Paris, run a check between eu-south-1 (Milan) and eu-west-3 (Paris). This can give a theoretical higher bandwidth restrict, as replication will happen over the AWS spine. If the goal Area is already the closest Area to your supply workloads, run the check from throughout the similar Area.
Community connectivity
There are a number of methods to ascertain connectivity between your on-premises location and AWS Area:
- Public web
- VPN
- AWS Direct Join
This part pertains to choices 1 and a couple of. If dealing with replication velocity points, the primary place to look is at community bandwidth. From a supply machine inside your inside community, run a velocity check to calculate your bandwidth out to the web; frequent check suppliers embody Cloudflare, Ookla, and Google. That is your bandwidth to the web, to not AWS.
Subsequent, to verify the information circulate from inside your knowledge middle, run a traceroute
(Home windows) or tracert
(Linux). Establish any community hops which are uncommon or doubtlessly throttling bandwidth (because of {hardware} limitations or configuration).
To measure the utmost bandwidth between your knowledge middle and the AWS subnet that’s getting used for knowledge replication, whereas accounting for Safety Sockets Layer (SSL) encapsulation, use the CloudEndure SSL bandwidth software (check with Determine 1).
Supply storage I/O
The following space to search for replication bottlenecks is supply storage. The underlying storage for servers is usually a level of rivalry. If the storage is maxing-out its learn speeds, this can affect the data-replication charge. In case your storage I/O is closely utilized, it will possibly affect block replication by Utility Migration Service. So as to measure storage speeds, you should use the next instruments:
- Home windows: WinSat (or different third-party tooling, like AS SSD Benchmark)
- Linux: hdparm
We advise lowering learn/write operations in your supply storage when beginning your migration utilizing Utility Migration Service.
Utility Migration Service EC2 replication occasion dimension
The scale of the EC2 replication server occasion can even have an effect on the replication velocity. Though it is suggested to maintain the default occasion dimension (t3.small), it may be elevated if there are enterprise necessities, like to hurry up the preliminary knowledge sync. Observe: utilizing a bigger occasion can result in elevated compute prices.
Frequent replication occasion modifications embody:
- Servers with <26 disks: change the occasion sort to m5.giant. Improve the occasion sort to m5.xlarge or increased, as wanted.
- Servers with <26 disks (or servers in AWS Areas that don’t help m5 occasion varieties): change the occasion sort to m4.giant. Improve to m4.xlarge or increased, as wanted.
Observe: Altering the replication server occasion sort won’t have an effect on knowledge replication. Information replication will robotically decide up the place it left off, utilizing the brand new occasion sort you chose.
Utility Migration Service Elastic Block Retailer replication quantity
You possibly can customise the Amazon Elastic Block Retailer (Amazon EBS) quantity sort utilized by every disk inside every supply server in that supply server’s settings (change staging disk sort).
By default, disks <500GiB use Magnetic HDD volumes. AWS greatest apply suggests not change the default Amazon EBS quantity sort, except there’s a enterprise want for doing so. Nonetheless, as we intention to hurry up the replication, we actively change the default EBS quantity sort.
There are two choices to select from:
- The decrease price, Throughput Optimized HDD (st1) choice makes use of slower, cheaper disks.
-
- Contemplate this feature in case you(r):
- Wish to maintain prices low
- Giant disks don’t change steadily
- Will not be involved with how lengthy the preliminary sync course of will take
- Contemplate this feature in case you(r):
- The sooner, Common Objective SSD (gp2) choice makes use of sooner, however costlier disks.
-
- Contemplate this feature in case you(r):
- Supply server has disks with a excessive write charge, or in case you want sooner efficiency on the whole
- Wish to velocity up the preliminary sync course of
- Are keen to pay extra for velocity
- Contemplate this feature in case you(r):
Supply server CPU
The Utility Migration Service agent that’s put in on the supply machine for knowledge replication makes use of a single core usually (agent threads will be scheduled to a number of cores). If core utilization reaches a most, this is usually a limitation for replication velocity. So as to test the core utilization:
- Home windows: Launch the Job Manger software inside Home windows, and click on on the “CPU” tab. Proper click on on the CPU graph (that is at the moment displaying a mean of cores) > choose “Change graph to” > “Logical processors”. This can present particular person cores and their present utilization (Determine 2).

Determine 2. Logical processor CPU utilization
Linux: Set up htop
and run from the terminal. The htop
command will show the Utility Migration Service/CE course of and point out the CPU and reminiscence utilization proportion (that is of the complete machine). You possibly can test the CPU bars to find out if a CPU is being maxed-out (Determine 3).

Determine 3. AWS Utility Migration Service/CE course of to evaluate CPU utilization
Conclusion
On this submit, we explored a number of key variables that contribute to server replication velocity when utilizing Utility Migration Service. We encourage you to discover these key areas throughout your migration to find out in case your replication velocity will be optimized.
Associated data