CPM Server upgrade may fail with the Reason The instance ID does not exist and Configuration failed

CPM Server upgrade may fail with the "Reason: The instance ID 'i-1234567890abcdef' does not exist" and "Configuration Failed" errors

CPM Server upgrade may fail with the "Reason: The instance ID 'i-1234567890abcdef' does not exist"  and "Configuration Failed" errors:



The reason for this failure is using wrong AWS Access Key and Secret Key - maybe they belong to the wrong account.