Taking steps to scale back the hazards of cloud migration