Avoiding common problems when moving to the cloud.