Patent ID: 9600267
Date: 2017-03-21
CPC Classifications: G06F,H04L

Claim:
1. A method comprising: identifying, by one or more processors, a virtual machine (VM) provisioned according to a first VM template; initiating, by one or more processors, a patching process that applies a set of patch(es) to the VM, thereby creating a patched VM; determining, by one or more processors, a patch threshold based, at least in part, on a cost function, wherein the patch threshold is an amount of time that must elapse before a resource cost of completing the patching process is greater than a resource cost of creating a new VM template that already includes the set of patch(es); determining, by one or more processors, that an amount of time taken to complete the patching process is greater than the patch threshold; and responsive to determining that the amount of time taken to complete the patching process is greater than the patch threshold, generating, by one or more processors, a second VM template based, at least in part, on the patched VM.