Scripts for initializing AWS MGN and installing AWS MGN replication agents
- Configure AWS creds using
aws configure
. - Fork this repo.
Run ./init.sh
and answer prompts.
Tip
Migration inventory is great for migration multiple VMs across multiple migration waves, or VMs that are dependent on other VMs (grouped into the same "Application").
- Run
./inventory.sh
or manually add data toaws-application-migration-service-import.csv
. - Replace all of the
REPLACE
keys with desired values. - Update all of the indexes (
0
) where needed. - Import completed inventory using
./import.sh
.
- Run
./generate_install_script.sh
and answer prompts. - Copy code output and paste into source server to download and install the replication agent.
- Check AWS MGN console for source server replication status or use:
aws mgn describe-source-servers --region <region>
- Once VM final cutover occurs, VMs can be migrated by filling out and running
./setenvs.sh
. - Then follow the guide here.