Returning terminated virtual machines to a pool of available virtual machines to be reused thereby optimizing cloud resource usage and workload deployment time
First Claim
1. A computer program product for optimizing cloud resources in utilizing a pool of virtual machines to service user workloads, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code comprising the programming instructions for:
- receiving a request from a user'"'"'s workload for an instance of a virtual machine;
obtaining said instance of said virtual machine from a pool of virtual machines;
creating a writeable partition to store middleware and user activity to be associated with said obtained instance of said virtual machine;
mounting said created writable partition in a storage unit;
unmounting said created writable partition from said storage unit in response to said instance of said virtual machine being terminated;
erasing contents of said created writable partition in response to said instance of said virtual machine being terminated; and
returning said instance of said virtual machine to said pool of virtual machines in response to said instance of said virtual machine being terminated.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product for optimizing cloud resources in utilizing a pool of virtual machines to service user workloads. A writeable partition is created to store middleware and user activity associated with a virtual machine obtained from a pool of available virtual machines to be deployed. In response to the obtained virtual machine being terminated, the contents of the created writeable partition are erased so that the data generated by the middleware and user activity will not be available for subsequent users. The virtual machine is later returned to the pool of available virtual machines after resetting its password and network address to a default state. In this manner, fewer cloud resources are used since resource intensive activities that were required in provisioning a new virtual machine can be eliminated since previously terminated virtual machines can be utilized in the pool of available virtual machines.
16 Citations
14 Claims
-
1. A computer program product for optimizing cloud resources in utilizing a pool of virtual machines to service user workloads, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code comprising the programming instructions for:
-
receiving a request from a user'"'"'s workload for an instance of a virtual machine; obtaining said instance of said virtual machine from a pool of virtual machines; creating a writeable partition to store middleware and user activity to be associated with said obtained instance of said virtual machine; mounting said created writable partition in a storage unit; unmounting said created writable partition from said storage unit in response to said instance of said virtual machine being terminated; erasing contents of said created writable partition in response to said instance of said virtual machine being terminated; and returning said instance of said virtual machine to said pool of virtual machines in response to said instance of said virtual machine being terminated. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
a memory unit for storing a computer program for optimizing cloud resources in utilizing a pool of virtual machines to service user workloads; and a processor coupled to the memory unit, wherein the processor is configured to execute the program instructions of the computer program comprising; receiving a request from a user'"'"'s workload for an instance of a virtual machine; obtaining said instance of said virtual machine from a pool of virtual machines; creating a writeable partition to store middleware and user activity to be associated with said obtained instance of said virtual machine; mounting said created writable partition in a storage unit; unmounting said created writable partition from said storage unit in response to said instance of said virtual machine being terminated; erasing contents of said created writable partition in response to said instance of said virtual machine being terminated; and returning said instance of said virtual machine to said pool of virtual machines in response to said instance of said virtual machine being terminated. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification