1. A computer-implemented method for migrating nodes of a network to a cloud infrastructure, the method comprising: receiving an indication of at least one node to migrate; determining a network ontology for the at least one indicated node, the network ontology describing one or more nodes for which the indicated node has a communicates_with relationship; adding the indicated node and at least one node of the network ontology for the indicated node to a migration group; and migrating each node of the migration group to a cloud infrastructure.