Key factors to consider when migrating to the cloud