1. A computer-implemented method executed by at least one processor for optimizing migration of a live virtual appliance having a plurality of virtual objects from a first virtual environment to a second virtual environment, the method comprises: determining a cost of connections for moving each virtual object; comparing the cost of connections for moving each of the virtual objects; determining from the cost of connections for moving each of the virtual objects a migration order for the plurality of virtual objects of the live virtual appliance comprising: creating a list of objects for an initial cloud and a list for a target cloud; repeatedly selecting a first object from the initial cloud and moving it to the target cloud and performing the following steps until each virtual object in the initial cloud is moved to the target cloud: determining how many connections are drawn to the target cloud; moving an object connected to the first object and add the connections required to a total connections and store a maximum connections; repeatedly moving objects connected to the selected first object until all objects of the virtual appliance have been moved to the target cloud; and moving the plurality of virtual objects of the live virtual appliance to the second virtual environment in the order of the determined migration order.