Automatic determination of resource sizing
First Claim
Patent Images
1. A computer-implemented method, comprising:
- determining, based on a request to execute a program code of a user, a user-specified amount of a first computing resource to be used to execute the program code;
obtaining a virtual machine instance to be used to execute the program code, the virtual machine instance associated with a first maximum amount of the first computing resource and a second maximum amount of a second computing resource, the second computing resource being different from the first computing resource;
determining a first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource;
computing a corresponding amount of the second computing resource based on (i) the first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource and (ii) the second maximum amount of the second computing resource associated with the virtual machine instance; and
executing the program code in a container created in the virtual machine instance, the container having at least the user-specified amount of the first computing resource and the computed corresponding amount of the second computing resource.
0 Assignments
0 Petitions
Accused Products
Abstract
A system for providing automatic resource resizing 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 allocate computing resources for executing the program code on one of the virtual machine instances. The amount of resources allocated for executing the program code may be specified by the request and adjusted as needed.
-
Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
determining, based on a request to execute a program code of a user, a user-specified amount of a first computing resource to be used to execute the program code; obtaining a virtual machine instance to be used to execute the program code, the virtual machine instance associated with a first maximum amount of the first computing resource and a second maximum amount of a second computing resource, the second computing resource being different from the first computing resource; determining a first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource; computing a corresponding amount of the second computing resource based on (i) the first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource and (ii) the second maximum amount of the second computing resource associated with the virtual machine instance; and executing the program code in a container created in the virtual machine instance, the container having at least the user-specified amount of the first computing resource and the computed corresponding amount of the second computing resource. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
one or more processors; and one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, cause the one or more processors to; determine, based on a request to execute a program code of a user, a user-specified amount of a first computing resource to be used to execute the program code; obtain a virtual machine instance to be used to execute the program code, the virtual machine instance associated with a first maximum amount of the first computing resource and a second maximum amount of a second computing resource, the second computing resource being different from the first computing resource; determine a first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource; compute a corresponding amount of the second computing resource based on (i) the first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource and (ii) the second maximum amount of the second computing resource associated with the virtual machine instance; and cause the program code to be executed in a container created in the virtual machine instance, the container having at least the user-specified amount of the first computing resource and the computed corresponding amount of the second computing resource. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. Non-transitory physical computer storage storing computer executable instructions that, when executed by one or more processors, configure the one or more processors to:
-
determine, based on a request to execute a program code of a user, a user-specified amount of a first computing resource to be used to execute the program code; obtain a virtual machine instance to be used to execute the program code, the virtual machine instance associated with a first maximum amount of the first computing resource and a second maximum amount of a second computing resource, the second computing resource being different from the first computing resource; determine a first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource; compute a corresponding amount of the second computing resource based on (i) the first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource and (ii) the second maximum amount of the second computing resource associated with the virtual machine instance; and cause the program code to be executed in a container created in the virtual machine instance, the container having at least the user-specified amount of the first computing resource and the computed corresponding amount of the second computing resource. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification