Self-terminating or self-shelving virtual machines and workloads
First Claim
Patent Images
1. A system, comprising:
- a computer processor; and
a memory containing a program, which when executed by the processor, performs an operation comprising;
monitoring, by a cloud tuning service, use of each of a plurality of system resources by a first workload executing on a first virtual machine on a first host in a first cloud computing environment, of a plurality of cloud computing environments, wherein the cloud tuning service executes on the system, wherein the system is external to each of the plurality of cloud computing environments;
determining, by the cloud tuning service, that the use of a first system resource of the plurality of system resources by the first workload does not exceed a threshold;
determining, based on the use of the first system resource by the first workload not exceeding the threshold, that the first workload has completed processing a set of tasks;
receiving, by the cloud tuning service from the first workload, a first abstract request to shelve the first workload, wherein the first abstract request identifies the first workload does not identify the first host or the first cloud computing environment, does not include required credentials, and wherein the first abstract request does not include specific operations required to shelve the first workload;
upon receiving the first abstract request, generating, by the cloud tuning service operating external to each of the plurality of cloud computing environments, a specific request that is compatible with the first cloud computing environment by;
determining, by the cloud tuning service, based on a predefined configuration, that the first workload is executing on the first host in the first cloud computing environment;
identifying a first set of commands that are specific to the first cloud computing environment based on the predefined configuration, wherein the first set of commands cause the first cloud computing environment to shelve the first workload and wherein the first set of commands includes at least one command that was not specified in the first abstract request; and
identifying a set of login credentials needed to access the first cloud computing environment; and
initiating, by the cloud tuning service, shelving of the first workload by transmitting the specific request to the first cloud computing environment, wherein the specific request includes the set of login credentials and the first set commands, and wherein shelving the first workload removes the first workload from the first virtual machine and the first host and stores an image of the first workload in a data store.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and computer program products to perform an operation comprising receiving a request to perform a predefined operation on at least one of a virtual machine and a workload executing on a host in a first cloud computing environment, identifying a set of credentials to access the first cloud computing environment, and initiating performance of the predefined operation on the at least one of the virtual machine and the workload, wherein the predefined operation comprises at least one of: (i) deleting, and (ii) shelving the at least one of the virtual machine and the workload.
-
Citations
15 Claims
-
1. A system, comprising:
-
a computer processor; and a memory containing a program, which when executed by the processor, performs an operation comprising; monitoring, by a cloud tuning service, use of each of a plurality of system resources by a first workload executing on a first virtual machine on a first host in a first cloud computing environment, of a plurality of cloud computing environments, wherein the cloud tuning service executes on the system, wherein the system is external to each of the plurality of cloud computing environments; determining, by the cloud tuning service, that the use of a first system resource of the plurality of system resources by the first workload does not exceed a threshold; determining, based on the use of the first system resource by the first workload not exceeding the threshold, that the first workload has completed processing a set of tasks; receiving, by the cloud tuning service from the first workload, a first abstract request to shelve the first workload, wherein the first abstract request identifies the first workload does not identify the first host or the first cloud computing environment, does not include required credentials, and wherein the first abstract request does not include specific operations required to shelve the first workload; upon receiving the first abstract request, generating, by the cloud tuning service operating external to each of the plurality of cloud computing environments, a specific request that is compatible with the first cloud computing environment by; determining, by the cloud tuning service, based on a predefined configuration, that the first workload is executing on the first host in the first cloud computing environment; identifying a first set of commands that are specific to the first cloud computing environment based on the predefined configuration, wherein the first set of commands cause the first cloud computing environment to shelve the first workload and wherein the first set of commands includes at least one command that was not specified in the first abstract request; and identifying a set of login credentials needed to access the first cloud computing environment; and initiating, by the cloud tuning service, shelving of the first workload by transmitting the specific request to the first cloud computing environment, wherein the specific request includes the set of login credentials and the first set commands, and wherein shelving the first workload removes the first workload from the first virtual machine and the first host and stores an image of the first workload in a data store. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product, comprising:
a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by one or more computer processors to perform an operation comprising; receiving, by a cloud tuning service from a first workload, a first abstract request to perform a shelving operation on the first workload, wherein the first workload is executing on a first virtual machine on a first host in a first cloud computing environment, of a plurality of cloud computing environments, wherein the cloud tuning service executes on a system external to the each of the plurality of cloud computing environments, wherein the first abstract request identifies the first workload does not identify the first host or the first cloud computing environment, does not include required credentials, and wherein the first abstract request does not include specific operations required to shelve the first workload; determining, by the cloud tuning service, that use of a first system resource of a plurality of system resources of the first host by the first virtual machine does not exceed a threshold; upon receiving the first abstract request, generating, by the cloud tuning service operating external to each of the plurality of cloud computing environments, a specific request that is compatible with the first cloud computing environment by; determining, by the cloud tuning service, based on a predefined configuration, that the first workload is executing on the first host in the first cloud computing environment; identifying a first set of commands that are specific to the first cloud computing environment based on the predefined configuration, wherein the first set of commands cause the first cloud computing environment to shelve the first workload and wherein the first set of commands includes at least one command that was not specified in the first abstract request; and identifying a set of login credentials needed to access the first cloud computing environment; and initiating, by the cloud tuning service, shelving of the first workload using the specific request, wherein the specific request includes the set of login credentials and the first set of commands, and wherein shelving the first workload removes the first workload from the first virtual machine and the first host and stores an image of the first workload in a data store. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15)
Specification