×

Efficient suspend and resume of instances

  • US 9,645,847 B1
  • Filed: 06/08/2015
  • Issued: 05/09/2017
  • Est. Priority Date: 06/08/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • under the control of one or more computer systems configured with executable instructions,receiving a first request whose fulfillment involves suspending operations of a fleet of virtual machines of a customer of a computing resource service provider;

    as a result of receiving the first request, for each virtual machine of the fleet of virtual machines;

    preventing the virtual machine from receiving information from an external source that causes the virtual machine to perform work;

    obtaining a first set of local changes at least in part from persistent storage, the first set of local changes representing at least in part the differences between a base snapshot of an exemplary virtual machine image and a first snapshot of the virtual machine;

    capturing a second snapshot of the virtual machine;

    determining a second set of local changes based at least in part on differences between the second snapshot and the first snapshot;

    storing the first set of local changes and the second set of local changes; and

    terminating the virtual machine;

    receiving a second request whose fulfillment involves restoring former states of the fleet of virtual machines; and

    as a result of receiving the second request, for each virtual machine of the fleet of virtual machines;

    obtaining the first set of local changes, the second set of local changes, and the base snapshot from persistent storage;

    obtaining the first snapshot at least in part from the base snapshot and the first set of local changes;

    obtaining the second snapshot at least in part from the first snapshot and the second set of local changes; and

    instantiating the virtual machine to a former state based at least in part on the second snapshot.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×