Migrating workloads to different machine types