On this section, we will create a CloudEndure account (if you don’t have one already) and will create a migration project in CloudEndure using scripts.
1. Register your CloudEndure account if you don’t have one. If you already have a Cloudendure Account, make sure it has administrator privileges.
You may not be able to receive one email from CloudEndure if you already used that email address to register in CloudEndure in the past.
Sign in to CloudEndure console after creating the CloudEndure account is optional.
2. Open c:\Migrations\Scripts-CE folder and update 0-CEProjects.csv. Update the 2nd row with the following fields using the information collected in Event Engine dashboard Outputs screen.
|Key||Current Value||Event Engine dashboard Output Value|
If you’re using your own AWS account for this workshop, please check the CEAccessKeyID and CESecretAccessKey in the CloudFormation output for the stack that contains CEIAM in the name.
Please DO NOT change project name from “project1” to other value, it is hardcoded value for this lab.
Notepad can be used to edit the files.
If you prefer, use the find/replace function in Notepad to replace the following values found in the Event Engine dashboard output: AKIAIOSFODNN7EXAMPLE by CEAccessKeyID value, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY by CESecretAccessKey value and subnet-xxxxxxxxxxxxx by SubnetTargetPublic value
3. Open CMD.exe (Windows Command Prompt) and go to the c:\Migrations\Scripts-CE directory
4. Run the following command replacing the username firstname.lastname@example.org with your CloudEndure credentials
0-CEProjects.py -i 0-CEProjects.csv -u email@example.com
5. Write down the API TOKEN output (Microsoft Notepad can be used). You will need the CloudEndure API token for the next steps.
Automation tip: For complex projects where multiple AWS accounts and different regions are going to be used, CloudEndure requires the creation of multiple migration projects. The script provided here can automate the creation and configuration of CloudEndure projects, including AWS credentials and CloudEndure Replication configuration settings