Stateful virtual compute system
AssigneeAmazon Technologies, Inc.
InventorsTimothy Allen Wagner, Sean Philip Reque
Life of this patent
Estimating the term…
Abstract
A system for providing a stateful virtual compute system is provided. The system may be configured to maintain a plurality of virtual machine instances. The system may be further configured to receive a request to execute a program code and select a virtual machine instance to execute the program code on the selected virtual machine instance. The system may further associate the selected virtual machine instance with shared resources and allow program codes executed in the selected virtual machine instance to access the shared resources.
Claims20
A system, comprising:
- one or more hardware computing devices configured to execute specific computer-executable instructions to at least:
- determine that a first event configured to trigger execution of a first program code has occurred;
- initiate a first execution of the first program code on a first virtual machine instance, wherein the first virtual machine instance is associated with a first shared resource in a first state, and wherein the first program code causes the first state of the first shared resource to be modified during the first execution of the first program code on the first virtual machine instance to a second state of the first shared resource different from the first state of the first shared resource;
- determine that a second event configured to trigger execution of the first program code has occurred;
- and
- subsequent to the first execution of the first program code on the first virtual machine instance, initiate a second execution of the first program code on one of the first virtual machine instance or a second virtual machine instance different from the first virtual machine instance, wherein the first program code accesses, during the second execution of the first program code on one of the first virtual machine instance or the second virtual machine instance, the second state of the first shared resource.
A computer-implemented method, as implemented by one or more computing devices configured with specific executable instructions, the computer-implemented method comprising:
- determining that a first event configured to trigger execution of a first program code has occurred;
- initiating a first execution of the first program code on a first virtual machine instance, wherein the first virtual machine instance is associated with a first shared resource in a first state, and wherein the first program code causes the first state of the first shared resource to be modified during the first execution of the first program code on the first virtual machine instance to a second state of the first shared resource different from the first state of the first shared resource;
- determining that a second event configured to trigger execution of the first program code has occurred;
- and
- subsequent to the first execution of the first program code on the first virtual machine instance, initiating a second execution of the first program code on one of the first virtual machine instance or a second virtual machine instance different from the first virtual machine instance, wherein the first program code accesses, during the second execution of the first program code on one of the first virtual machine instance or the second virtual machine instance, the second state of the first shared resource.
Non-transitory physical computer storage storing computer executable instructions that, when executed by one or more computing devices, configure the one or more computing devices to:
- determine that a first event configured to trigger execution of a first program code has occurred;
- initiate a first execution of the first program code on a first virtual machine instance, wherein the first virtual machine instance is associated with a first shared resource in a first state, and wherein the first program code causes the first state of the first shared resource to be modified during the first execution of the first program code on the first virtual machine instance to a second state of the first shared resource different from the first state of the first shared resource;
- determine that a second event configured to trigger execution of the first program code has occurred;
- and
- subsequent to the first execution of the first program code on the first virtual machine instance, initiate a second execution of the first program code on one of the first virtual machine instance or a second virtual machine instance different from the first virtual machine instance, wherein the first program code accesses, during the second execution of the first program code on one of the first virtual machine instance or the second virtual machine instance, the second state of the first shared resource.
Dependencies are inferred from the claim text.