How to migrate a CPM Server to a different region

How to migrate a CPM Server to a different region

Here are the steps for migrating a CPM Server to a different region:

1) Stop your existing instance (when no backups/DR are running).
2) Take a snapshot of the data volume
3) Copy that snapshot to the target region
4) Create an EBS volume from the copied snapshot in the target region.
5)
Launch a new CPM Server instance from the marketplace in the same region and availability zone as the newly created volume.
    To determine the availability zone of the new instance, you’ll need to launch it using the "Manual launch" option, rather than using the "1-click" option.
6) When the new instance is in the “running” state, connect to it with a browser using https (approve exception to the SSL certificate)
7) In step 2 of the CPM Configuration Wizard, please choose "This account is already licensed" (for the BYOL edition) and use the same username you had before (can create a new password).
8) In step 3 of the CPM Configuration Wizard, please choose “Use Existing Data Volume”.
    Select your new volume from the list of volumes to complete the configuration process.
9)  If you are using backup scripts that utilize SSH, you may need to login to the CPM Server once and run the scripts manually, so the use of the private key will be approved.
10) If you are using CPM Agents, they need to be updated to use the new CPM hostname/IP
11) If successful, Terminate the old instance. Please wait until it is in the “terminated” state.
If migration fails, start your old instance and terminate the new one.