How to avoid legal hassles when switching cloud vendors