Managing virtual machine migration
AssigneeAmazon Technologies, Inc.
InventorsPradeep Vincent, Nathan Thomas
Life of this patent
Estimating the term…
Abstract
Systems and method for the management of migrations of virtual machine instances are provided. A migration manager monitors the resource usage of a virtual machine instance over time in order to create a migration profile. When migration of a virtual machine instance is desired, the migration manager schedules the migration to occur such that the migration conforms to the migration profile.
Claims36
A computer-implemented method for the migration of virtual machine instances from a first virtual machine environment to a second virtual machine environment, comprising:
- as implemented by one or more processors according to computer-executable instructions:
- determining a set of migration preferences, the migration preferences corresponding to preferences for prioritization of migration of at least one of a plurality of virtual machine instances operating within the first virtual machine environment;
- determining a set of power consumption information, each power consumption information including information corresponding to a power consumption associated with one of the plurality of virtual machine instances;
- determining a migration capacity reflective of network resources available to the first virtual machine environment for migration of virtual machine instances;
- for each of the plurality of virtual machines, determining a migration priority based at least in part on a portion of the migration capacity required to migrate each virtual machine instance, wherein virtual machine instances that are associated with lower requirements on the migration capacity are associated with a higher migration priority than virtual machine instances that are associated with higher requirements on the migration capacity;
- modifying the migration priority of each of the plurality of virtual machine instances based at least in part on the determined set of power consumption information and the determined set of migration preferences, wherein virtual machine instances associate with a high power consumption are associated with a higher migration priority than virtual machine instances associate with a lower power consumption;
- determining, according to the migration priority of each of the plurality of virtual machine instances, a migration schedule for migration of at least a portion the plurality of virtual machine instances, the migration schedule indicating that virtual machine instances with a higher migration priority—are scheduled to be migrated prior to virtual machine instances with a lower migration priority;
- obtaining a set of migration criteria, the set of migration criteria corresponding to criteria to determine events in which at least a portion of the plurality of virtual machine instances should be migrated from the first virtual machine environment to the second virtual machine environment;
- determining a migration event based on the obtained migration criteria;
- in response to the determination of a migration event, transmitting a migration command to at least one device associated with the portion of the plurality of virtual machine instances to cause migration of the portion of the plurality of virtual machine instances according to the migration schedule;
- and
- updating at least one migration priority responsive to a modification of migration capacity after migration of at least one of the plurality of virtual machine instances.
A system for the migration of virtual machine instances, comprising:
- a migration module effectuated by one or more processors of one or more computer systems, the migration module configured to:
- determine a set of power consumptions information, each power consumption information including information corresponding to a power consumption associated with one of the plurality of virtual machine instances;
- determine a migration capacity reflective of network resources available for gyration of the plurality of virtual machine instances;
- for each of the plurality of virtual machines, determine a migration priority based at least in part on a portion of the migration capacity required to migrate each virtual machine instance and at least in part on the determined set of power consumption information, wherein virtual machine instances that require a lower portion of the migration capacity are associated with a higher migration priority than virtual machine instances that require a higher portion of the migration capacity, and wherein virtual machine instances associated with a high power consumption are associated with a higher migration priority than virtual machine instances associate with a lower power consumption;
- determine, according to the migration priority of each of the plurality of virtual machine instances, a migration schedule for migration of at least a portion of the plurality of virtual machine instances;
- and
- transmit one or more migration commands to one or more servers hosting the portion of the plurality of virtual machine instances according to the migration schedule.
A computer-implemented method for the migration of virtual machine instances, comprising:
- as implemented by one or more processors according to computer-executable instructions:
- determining a set of power consumption information, each power consumption information including information corresponding to a power consumption associated with one of a plurality of virtual machine instances;
- determining a migration capacity reflective of network resources available for gyration of the plurality of virtual machine instances;
- for each of the plurality of virtual machines, determining a migration priority based at least in part on a portion of the migration capacity required to migrate each virtual machine instance and the determined set of power consumption information, wherein virtual machine instances that require a lower portion of the migration capacity are associated with a higher migration priority than virtual machine instances that require a higher portion of the migration capacity;
- determining, according to the migration priority of each of the plurality of virtual machine instances, a migration schedule, the migration schedule corresponding to a schedule of migrations of at least a portion of the plurality of virtual machine instances;
- and
- transmitting one or more migration commands to cause migration of the portion of the plurality of virtual machine instances according to the migration schedule.
Dependencies are inferred from the claim text.