Aws SMS
Aws SMS
Migration
Services
Oct 5, 2021
An SMS connector is deployed in the Hyper V Server. It collects server information and transmits it to the
Server Migration Service in AWS.
In SMS users can then issue a replication job for the candidate servers. This will in turn transmit and convert
the VMs as AMIs. Which eventually can be launched as EC2s in AWS
4 Copyright 2020 FUJITSU LIMITED
Prerequisites
You may check the General Requirements from this site.
https://docs.aws.amazon.com/server-migration-service/latest/userguide/prereqs.html#general-requirements\
Since we will be exploring Server Migration Services using Hyper V, please see image
below.
We also need IAM accounts for SMS
to work. This will be discussed during
the Getting Started portion.
Select Users under the Access Management menu on the left-side pane. Then click on Add
Users.
Name the User and select Access key - Programmatic Access since this account will not
logon to the console.
Once the user has been created, take note of the Access Key ID and the Secret Access Key
since it will be used later. You may also download them by clicking the Download .csv
button.
Since we are already done with Step 1 during the getting started portion. We
start with Step 2: Download and deploy the Server Migration Connector.
Since our sample environment is in Hyper V, we will be using the Download VHD Zip for
SCVMM/Hyper-V environment.
11 Copyright 2020 FUJITSU LIMITED
SMS Deploying the connector
After the connector zipped file download completes, we need to transfer it to the Hyper V
Host and extract it. Once done, the connector can now be imported.
Importing the virtual appliance should be as easy as clicking Next. You may be prompted
with the virtual switch from a list and the location for the checkpoints if the host is not
configured with an E:\ Drive.
Just remember the 8GB Free requirement to run the virtual appliance.
12 Copyright 2020 FUJITSU LIMITED
SMS Running the configuration script
After deployment, you may run the vm to check for errors. If there are no errors during
startup, we can continue and just go back to the connector setup later.
We can now proceed to Step 3, 4 and 5.
We go back to the AWS console. Click on the Link for Step 3, you will be redirected to the
link below. Download the following files and transfer them in the Hyper V host.
https://docs.aws.amazon.com/server-migration-service/latest/userguide/HyperV.html#hyperv-script
Select yes
If by chance, you haven’t configured the password for the site through the virtual
appliance. The site will prompt you to input a password.
The next time you access the site it will prompt you to enter your password.
You may also do this on the connector vm the account to access the vm is ec2-user with ec2pass as its
password.
20 Copyright 2020 FUJITSU LIMITED
SMS Configure the connector
Step 3 is just information and Step 4 for is for handling Logs and Upgrades click Next if
they are acceptable.
On Step 5 we need to provide the following.
The region where the vms are to be migrated
The access key and the secret key. These are the credentials we prepared in IAM during the Getting Started
phase
Supply all the information to continue
Unfortunately during the investigation I could only manage to do until this part. The connector really requires
8GB ram otherwise it will hang and discontinue replication.
For the latter part I will be using video screen shots of successful deployments
Ticking the checkbox next to the vm will enable the Create replication job button. Click on
it to start a replication job.
We can determine the replication as a One time replication or to Replicate every x number
of Hrs
The next step is the preview of the choices from here we can click Create Replication
Note: vms with checkpoints will fail on replication. You must remove checkpoints in Hyper
on servers that will be migrated to AWS.
You can view the status of the replication job by ticking the checkbox beside the job ID
From here we can now Launch a server using the AMI that was created during the
replication.
From this we have now accomplished transferring a vm image from our on-premises
Hyper-V server into AWS using Server Migration Services.