Capacity management using virtual machine family modeling in cloud computing systems
By predicting the available capacity of the virtual machine series and taking appropriate mitigation measures, the problem of insufficient resources in the cloud computing system is solved, the balance and efficiency of resource utilization are achieved, and the waste and cost increase caused by over-provisioning are avoided.
Patent Information
- Application Number
- CN202080019430.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-08
- Filing Date
- 2020-02-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-02-25
AI Technical Summary
In cloud computing systems, it is difficult to ensure sufficient computing resources to meet user needs without causing over-provisioning, leading to allocation failures and resource waste.
By predicting the available capacity of the virtual machine series in the system unit, based on current and future available capacity and demand growth ratio, automatically take mitigating actions such as purchasing computing resources or adjusting resource allocation to ensure resource adequacy.
It effectively reduces the occurrence of allocation failures, avoids resource waste and cost increase caused by over-provision, and ensures the balance and efficiency of resource utilization.
Smart Images

Figure CN113544647B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to the field of computers, and more particularly to capacity management using virtual machine family modeling in cloud computing systems. Background Art
[0002] Cloud computing is the delivery of computing services (e.g., servers, storage, databases, networking, software, analytics) over the Internet. Broadly speaking, a cloud computing system consists of two parts, the front end and the back end, which communicate with each other over the Internet. The front end includes the interface that users encounter through client devices. The back end includes the resources that deliver cloud computing services, including processors, memory, storage, and networking hardware.
[0003] The backend of a cloud computing system typically includes multiple data centers, which may be located in different geographic regions. Each data center typically includes a large number (e.g., thousands) of servers, which may be organized into different clusters. Each server may be used to run one or more virtual machines. In this case, the term "server" refers to a physical computer system, and the term "virtual machine" (VM) refers to a simulation of a computer system on a server. In other words, a VM is a program running on a server that acts like a virtual computer. Like a physical computer, a VM runs an operating system and one or more applications.
[0004] A cloud computing system may be able to provide VMs corresponding to different VM families. As used herein, the term "VM family" refers to a set of one or more VM sizes. The term "VM size" refers to a certain allocation of computing resources. For example, in some cases, a VM size may include a combination of (i) some portion of a central processing unit, (ii) a certain amount of memory, and (iii) a certain amount of storage.
[0005] In a cloud computing system, the demand for computing resources may sometimes exceed the available supply. This can result in allocation failures, in which users request computing resources, but the system is unable to provide them. One way to mitigate allocation failures is to purchase additional computing resources for the cloud computing system. However, this can result in overprovisioning, in which too many computing resources are available, resulting in a large amount of excess capacity. Overprovisioning is also undesirable because it increases the cost of providing cloud computing services. Administrators of cloud computing systems therefore face the difficult task of trying to ensure that there are enough computing resources to meet user demand without overprovisioning. Summary of the invention
[0006] A method for minimizing allocation failures in a cloud computing system without over-provisioning is disclosed. The method includes determining a predicted supply for a VM series in a system unit of the cloud computing system during an upcoming time period. As used herein, the term "system unit" refers to a portion of a cloud computing system that is considered a unit for purposes of determining the capacity for allocating VMs corresponding to a particular VM series. The predicted supply may be based at least in part on a shared available current capacity for the VM series in the system unit and a shared available future added capacity for the VM series in the system unit. The method also includes predicting an available capacity for the VM series in the system unit during an upcoming time period. The predicted available capacity may be based at least in part on a predicted demand for the VM series in the system unit during an upcoming time period and a predicted supply for the VM series in the system unit during an upcoming time period. The method also includes taking at least one mitigation action in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period.
[0007] Determining a shared available current capacity for the VM families in the system unit may be based at least in part on the current available capacity for the system unit and a demand growth ratio for the VM families in the system unit. Determining a shared available future added capacity for the VM families in the system unit may be based at least in part on the future added capacity for the system unit and a demand growth ratio for the VM families in the system unit.
[0008] In some embodiments, in response to determining that predicted demand exceeds predicted supply during an upcoming time period, at least one mitigation action may be automatically taken.
[0009] The method additionally includes determining a plurality of forecasts regarding available capacity for the series of VMs in the system unit during an upcoming time period.The plurality of forecasts regarding available capacity may be based on a plurality of different demand forecasts.
[0010] In some embodiments, the method additionally includes monitoring the predicted available capacity and providing an alert when the predicted available capacity changes from indicating a first type of prediction to indicating a second type of prediction. The method may also include performing a root cause analysis to determine why the predicted available capacity changed from indicating a first type of prediction to indicating a second type of prediction, and providing a root cause analysis report describing what was determined during the root cause analysis.
[0011] The method additionally includes monitoring the predicted demand, currently available capacity, and future added capacity, and providing an alert when the values of the predicted demand, currently available capacity, and future added capacity change by more than a predetermined amount within a predetermined time period.
[0012] In some embodiments, the method may further include performing a root cause analysis in response to detecting the anomaly, and providing a root cause analysis report describing what was determined during the root cause analysis.
[0013] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
[0014] Additional features and advantages will be described in the following description. The features and advantages of the present disclosure can be realized and obtained by the systems and methods particularly pointed out in the appended claims. The features of the present disclosure will become more fully apparent from the following description and the appended claims, or can be learned by practicing the disclosed subject matter described below. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to describe the manner in which the above and other features of the present disclosure can be obtained, a more particular description will be provided by reference to specific embodiments thereof illustrated in the accompanying drawings. For a better understanding, like elements are designated by like reference numerals in the various drawings. It is understood that the drawings depict some example embodiments, which will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:
[0016] Figure 1 Some aspects of a cloud computing system including a capacity modeling service according to the present disclosure are illustrated.
[0017] Figure 2 An example is illustrated showing how a capacity modeling service can use shared available current capacity and shared available future added capacity to determine predicted available capacity.
[0018] Figure 3A and Figure 3B An example is illustrated showing how a demand growth ratio may be calculated for a particular family of VMs in a particular system unit.
[0019] Figure 4 Illustrated is a capacity modeling service configured to generate multiple forecasts for the same family of VMs in the same system unit.
[0020] Figure 5 An example is illustrated showing a comparison of predicted demand and predicted supply for a particular VM family in a particular system unit during a particular time period.
[0021] Figure 6Another example of comparing predicted demand and predicted supply is illustrated, where the capacity added in the future is not zero.
[0022] Figure 7 A time series is shown representing the predicted available capacity for a particular series of VMs in a particular system unit during a particular time period.
[0023] Figure 8 A capacity management engine is illustrated that is configured to monitor predicted available capacity and provide related alerts.
[0024] Fig. 9 A method of minimizing allocation failures in a cloud computing system without over-provisioning is illustrated.
[0025] Fig.10 The diagram illustrates certain components that may be included in a computer system that may be used to implement the various devices, components, and systems described herein. DETAILED DESCRIPTION
[0026] The present disclosure generally relates to ensuring that there are sufficient computing resources in a cloud computing system to meet user demand while at the same time preventing overprovisioning that would result in a large amount of unused capacity. In order to achieve an appropriate balance between these competing objectives, the present disclosure describes an intelligent capacity model to predict the available capacity of a virtual machine (VM) family for a particular system unit during an upcoming time period. In general, the predicted available capacity represents the difference between the predicted demand for the VM family in the system unit during the upcoming time period and the predicted supply for the VM family in the system unit during the upcoming time period. If the predicted demand is predicted to exceed the predicted supply at any point during the upcoming time period, one or more mitigation actions can be performed, such as purchasing additional computing resources.
[0027] The predicted provisioning may be based on both currently available capacity and future added capacity. In this case, the term "currently available capacity" refers to the computing resources currently available for allocating VMs of a particular VM family within a particular system unit. The term "future added capacity" refers to the additional computing resources that are expected to become available at some point during the time period for which the predicted available capacity is determined and that may be used to allocate VMs of a particular VM family within a particular system unit.
[0028] Advantageously, the predicted provisioning may also take into account the fact that servers within the cloud computing system are fungible with respect to VM families. In other words, the same server may be used to host different VM families. When determining the predicted available capacity for a particular VM family, it may be determined how much of the currently available capacity and the future added capacity within the system unit may be considered available for allocation of VMs corresponding to the VM family, given the fact that some of the currently available capacity and the future added capacity may be used to allocate VMs corresponding to other families.
[0029] Figure 1 Some aspects of a cloud computing system 100 in which aspects of the present disclosure may be implemented are illustrated. The cloud computing system 100 provides computing resources to multiple regions 102 via the Internet. Each region 102 includes multiple availability zones 105. The availability zones 105 are different physical locations within the region 102. Each availability zone 105 includes one or more data centers 104. Each data center 104 includes multiple servers 106, which can be logically organized into multiple clusters 108. Each server 106 can be configured to host multiple VMs 110. The physical separation of the availability zones 105 within the region 102 protects applications and data from failures of the data center 104.
[0030] When a user requests allocation of a VM 110, the user may be able to request a specific zone 102 in which the VM 110 should be located. This is advantageous because the location of the VM 110 may be important to the user. For example, the user may want the VM 110 to be located near where the user themselves (and / or their customers) are located in order to minimize latency when using or otherwise interacting with the VM 110.
[0031] As described above, cloud computing system 100 may be able to provide VMs 110 corresponding to different VM series. When a user requests allocation of VM 110, in addition to requesting a specific system unit (e.g., zone 102) where VM 110 should be located, the user may also specify a specific VM series to allocate VM 110.
[0032] In addition to the servers 106 within the data center 104, there are several controllers and other components that are responsible for handling various aspects of the operation of the cloud computing system 100 (e.g., allocating VMs 110, performing software updates, tracking usage for billing purposes). In the depicted cloud computing system 100, one of these components is represented as a capacity management engine 112.
[0033] The capacity management engine 112 includes a capacity modeling service 114 that is configured to predict available capacity 116 for available VM families in various system units of the cloud computing system 100. As indicated above, the term "system unit" refers to a portion of the cloud computing system 100 that is considered a unit for purposes of determining the capacity of VMs 110 for allocating a particular VM family. For example, in some embodiments, a system unit may be a region 102 and / or an availability zone 105. In other words, system capacity may be modeled and predicted with respect to a particular region 102 of the cloud computing system 100 and / or with respect to a particular availability zone 105.
[0034] In general, the predicted available capacity 116 for a particular VM family in a particular system unit (e.g., region 102, availability zone 105) during an upcoming time period is the difference between (a) the predicted demand 118 for the particular VM family in the particular system unit during the upcoming time period and (b) the predicted supply 120 for the particular VM family in the particular system unit during the upcoming time period. The predicted supply 120 can be based on both the current available capacity 122 and the future added capacity 124. As indicated above, the predicted supply 120 can take into account the fact that the servers 106 within the cloud computing system 100 can be used to host VMs 110 corresponding to different VM families. This will be discussed in more detail below.
[0035] The capacity modeling server 114 can be integrated with a mitigation engine 126. When the predicted demand 118 for a particular VM series in a particular system unit is predicted to exceed the predicted supply 120 for the VM series in the system unit, the information can be provided to the mitigation engine 126, and in response, the mitigation engine 126 can take one or more mitigation actions. According to the present disclosure, many different types of mitigation actions can be taken. For example, additional computing resources can be purchased. Another example of a mitigation action is to impose a quotation limit. In other words, in a system unit, one or more VM series can be temporarily suspended, at least with respect to new subscriptions, until there is sufficient capacity for the VM series in the system. Some other examples include attempting to recover an unhealthy server 106, migrating lower priority workloads to other system units, and evicting lower priority workloads from the cloud computing system 100.
[0036] In response to detecting that the predicted demand 118 for a particular VM family in a particular system unit exceeds the predicted supply 120 for the VM family in the system unit, the mitigation engine 126 can take one or more mitigation actions. In some embodiments, such mitigation actions can be taken automatically. In other words, once the mitigation engine 126 detects that the predicted demand 118 exceeds the predicted supply 120, the mitigation engine 126 can take one or more mitigation actions without additional human involvement. Alternatively, at least some mitigation actions can be taken manually (e.g., with at least minimal human involvement) by individuals responsible for ensuring that the system units of the cloud computing system 100 have sufficient capacity to meet customer demand.
[0037] As indicated above, servers 106 within cloud computing system 100 are fungible with respect to VM families, so that the same server 106 can be used to host VMs 110 corresponding to different VM families. This presents a modeling challenge of how to partition available computing resources between the various VM families competing to consume the available computing resource pool.
[0038] To address this challenge, the present disclosure proposes estimating what will be referred to as “shared available current capacity” and “shared available future added capacity.” The shared available current capacity for a particular VM series in a particular system unit indicates how much of the current available capacity 122 within the system unit is considered available for allocating VMs 110 corresponding to the VM series, given the fact that some of the current available capacity 122 within the system unit may be used to allocate VMs 110 corresponding to other VM series. Similarly, the shared available future added capacity for a particular VM series in a particular system unit indicates how much of the future added capacity 124 within the system unit is considered available for allocating VMs 110 corresponding to the VM series, given the fact that some of the future added capacity 124 within the system unit may be used to allocate VMs 110 corresponding to other VM series.
[0039] Figure 2 The diagram shows an example showing how the predicted available capacity 216 may be determined by the capacity modeling service 214 , which estimates the shared available current capacity 2288 and the shared available future added capacity 230 . Figure 2 The capacity modeling service 214 shown in FIG. Figure 1 One possible implementation of capacity modeling service 214 in system 100 is shown.
[0040] To determine the shared available current capacity 228 for a particular VM series in a particular system unit, the currently available capacity 222 for the VM series in the system unit may be multiplied by the demand growth ratio 232 for the VM series in the system unit. Similarly, to determine the shared available future added capacity 230 for a particular VM series in a particular system unit, the future added capacity 224 for the VM series in the system unit may be multiplied by the demand growth ratio 232 for the VM series in the system unit. In general, the demand growth ratio 232 for a particular VM series in a particular system unit indicates how fast demand for the VM series is expected to grow in the system unit relative to how fast demand for all available VM series is expected to grow in the system unit. Some examples of how the demand growth ratio 232 may be calculated are discussed below.
[0041] By adding the shared available current capacity 228 and the shared available future added capacity 230, the predicted supply 220 may be determined. Then, by taking the difference between the predicted demand 218 and the predicted supply 220, the predicted available capacity 216 may be determined.
[0042] There are several different ways to represent the currently available capacity 222 and the future added capacity 224 for a particular VM series. In some examples, these metrics can be expressed in terms of the number of virtual central processing units (CPUs) that can be allocated. For example, the currently available capacity 222 for a particular VM series in a particular system unit can indicate how many virtual CPUs corresponding to the VM series can be allocated if all of the currently available capacity 222 in the system unit is dedicated to allocating VMs 110 corresponding to the VM series. Similarly, the future added capacity 224 for a particular VM series in a particular system unit can indicate how many virtual CPUs corresponding to the VM series can be allocated if all of the future added capacity 224 in the system unit is dedicated to allocating VMs 110 corresponding to the VM series.
[0043] In an embodiment where the current available capacity 222 for a particular VM series in a particular system unit is expressed in terms of the number of virtual CPUs that can be allocated, the shared available current capacity 228 can also be expressed in terms of the number of virtual CPUs that can be allocated. This is because the shared available current capacity 228 can represent the current available capacity 222 multiplied by the demand growth rate 232 (as discussed above). Similarly, in an embodiment where the future added capacity 224 for a particular VM series in a particular system unit is expressed in terms of the number of virtual CPUs that can be allocated, the shared available future added capacity 230 can also be expressed in terms of the number of virtual CPUs that can be allocated, because the shared available future added capacity 230 can represent the future added capacity 224 multiplied by the demand growth rate 232 (also as discussed above).
[0044] An example is now discussed that shows how the shared available current capacity 228 and the shared available future added capacity 230 can be calculated. In this example, it is assumed that the current available capacity 222, the shared available current capacity 228, the future added capacity 224, and the shared available future added capacity 230 are expressed in terms of the number of virtual CPUs that can be allocated. It is also assumed that only two available VM series VM1 and VM2 can coexist in the same system unit. In other words, it is assumed that the server 106 within a particular system unit can simultaneously host some VMs 110 corresponding to the VM series VM1 and other VMs 110 corresponding to the VM series VM2. VM1 represents a certain combination of physical CPUs, memory, and storage devices, while VM2 represents another different combination of physical CPUs, memory, and storage devices. Of course, there may be more than two VM series available within the cloud computing system 100, but for simplicity, only two VM series will be discussed in conjunction with this example.
[0045] In this example, it is also assumed that the current available capacity 222 of VM 110 corresponding to VM series VM1 is determined by Q1 current , and the current available capacity 222 of VM 110 corresponding to VM series VM2 is represented by Q2 current In other words, if all of the currently available capacity 222 is used to allocate VM 110 corresponding to VM series VM1, Q1 can be allocated current Alternatively, if all of the currently available capacity 222 is used to allocate VM 110 corresponding to VM series VM2, Q2 may be allocated. current A virtual CPU corresponding to VM2 of VM series. That is, Q1 can then be assigned current A virtual CPU corresponding to VM series VM1, or Q2 can be assigned currentA virtual CPU corresponding to VM2 of the VM series, but not both.
[0046] It is also assumed that the demand growth rate 232 of the VM 110 corresponding to the VM series VM1 is represented by X1, and the demand growth rate 232 of the VM 110 corresponding to the VM series VM2 is represented by X2. Based on these assumptions, the shared available current capacity 228 for the VM 110 corresponding to the VM series VM1 can be represented as Similarly, the shared available current capacity 228 for the VM 110 corresponding to the VM family VM2 may be represented as
[0047] Continuing with the example, assume that the future added capacity 224 of VM 110 corresponding to VM series VM1 is provided by Q1 future Indicates that the future added capacity 224 of VM 110 corresponding to VM series VM2 is provided by Q2 future In other words, if all of the capacity 224 added in the future is used to allocate VM 110 corresponding to VM series VM1, Q1 can be allocated future Alternatively, if all of the future added capacity 224 is used to allocate VMs 110 corresponding to VM series VM2, Q2 may be allocated. future Based on these assumptions, the shared available future added capacity 230 of VM 110 corresponding to VM series VM1 can be expressed as Similarly, the shared available future added capacity 230 of the VM 110 corresponding to the VM series VM2 may be represented as
[0048] In the example just described, it is assumed that the current available capacity 222, the shared available current capacity 228, the capacity to be added in the future 224, and the shared available capacity to be added in the future 230 are expressed in terms of the number of virtual CPUs that can be allocated. In an alternative embodiment, these metrics can instead be expressed in terms of the number of VMs 110 that can be allocated.
[0049] For example, in some embodiments, the current available capacity 222 for a particular VM series in a particular system unit may indicate how many VMs 110 corresponding to the VM series could be allocated if all of the current available capacity 222 within the system unit were dedicated to allocating VMs 110 corresponding to the VM series. This is different from representing the current available capacity 222 in terms of the number of virtual CPUs that can be allocated because, in some cases, a single VM may include multiple virtual CPUs (depending on the VM series). Similarly, the future added capacity 224 for a particular VM series in a particular system unit may indicate how many VMs 110 corresponding to the VM series could be allocated if all of the future added capacity 224 in the system unit were dedicated to allocating VMs 110 corresponding to the VM series.
[0050] In embodiments where the currently available capacity 222 for a particular VM family is expressed in terms of the number of VMs 110 that can be allocated, the shared available current capacity 228 can also be expressed in terms of the number of VMs 110 that can be allocated, because the shared available current capacity 228 can simply represent the currently available capacity 222 multiplied by the demand growth rate 232 (as discussed above). Similarly, in embodiments where the future added capacity 224 for a particular VM family is expressed in terms of the number of virtual CPUs that can be allocated, the shared available future added capacity 230 can also be expressed in terms of the number of VMs 110 that can be allocated, because the shared available future added capacity 230 can simply represent the future added capacity 224 multiplied by the demand growth rate 232 (also as discussed above).
[0051] Figure 3A and Figure 3B An example is illustrated showing how a demand growth ratio 232 may be calculated for a particular VM family in a particular system unit. As with the previous example, for simplicity, it is assumed that only two VM families are available in the system unit, namely VM1 and VM2. Figure 3A The forecasted demand 218 for VM family VM1 during an upcoming time period is illustrated. Figure 3B The forecasted demand 218 for VM family VM2 during an upcoming time period is illustrated.
[0052] In the depicted example, predicted demand 218 is expressed in terms of virtual CPUs corresponding to allocated VMs 110. However, in alternative embodiments, predicted demand 218 may be expressed in terms of a different capacity metric, such as the number of VMs 110 that have been allocated.
[0053] initial reference Figure 3A, at time t0 (which represents the current time point in this example), the demand for VM 110 corresponding to VM series VM1 is 10,000 vCPU. In other words, 10,000 vCPUs corresponding to VM 110 corresponding to VM series VM1 have been allocated. At time t1 (which represents a future time point), the demand for VM 110 corresponding to VM series VM1 is predicted to be 30,000 vCPU. In other words, it is predicted that at time t1, 30,000 vCPUs corresponding to VM 110 corresponding to VM series VM1 have been allocated. Therefore, the demand for VM 110 corresponding to VM series VM1 is predicted to increase by 20,000 vCPU in the time period between the upcoming time t0 and time t1.
[0054] Now refer to Figure 3B , at time t0, the demand for VM 110 corresponding to VM series VM2 is also 10,000 vCPU. However, at time t1, the demand for VM 110 corresponding to VM series VM2 is only predicted to be 20,000 vCPU. Therefore, the demand for VM 110 corresponding to VM series VM2 is predicted to increase by only 10,000 vCPU between time t0 and time t1.
[0055] As indicated above, the demand growth rate 232 for a particular VM series in a particular system unit indicates how fast the demand for that VM series is expected to grow in that system unit relative to how fast the demand for all available VM series is expected to grow in that system unit. The demand growth rate 232 for VM series i in a particular system unit can be mathematically represented as In this expression, Growth i represents the forecasted growth in demand for VM Series i. The expression represents the sum of the predicted growth in demand for all available VM families in the system unit, where there are N available VM families and j is an exponent. FIG. 3A to FIG. 3B For the specific example shown in FIG. , the demand growth rate 232 for VM series VM1 can be expressed as The demand growth rate 232 for VM series VM2 can be expressed as Therefore, the current available capacity 222 and future added capacity 224 within the system unit is considered available for allocation of VM 110 corresponding to VM series VM1, and the current available capacity 222 and the future added capacity 224 in the system unit It will be considered available for allocation of VM110 corresponding to VM series VM2.
[0056] Of course, for clarity, FIG. 3A to FIG. 3B The example shown in is highly simplified. In the depicted example, the predicted demand 218 for VM series VM1 and VM series VM2 is shown as increasing linearly between time t0 and time t1. However, in actual practice, the predicted demand 218 for a particular VM series may be substantially non-linear.
[0057] Those skilled in the art will recognize that a variety of forecast models may be used to provide the predicted demand 218 described herein, and the scope of the present disclosure should not be limited to any particular forecast model.
[0058] Now refer to Figure 4 In some embodiments, multiple predictions may be generated for the same VM family in the same system unit. Specifically, Figure 4 A plurality of demand forecasts (specifically, a first demand forecast 418a, a second demand forecast 418b, and an Nth demand forecast 418n) are shown as inputs to a capacity modeling service 414, along with information about a current available capacity 422 and a future added capacity 424. The capacity modeling service 414 can use the plurality of demand forecasts 418a-418n, the current available capacity 422, and the future added capacity 424 to make multiple predictions of the available capacity for the series of VMs in the system unit. Figure 4 Capacity modeling service 414 is shown generating a first available capacity forecast 416a corresponding to a first demand forecast 418a, a second available capacity forecast 416b corresponding to a second demand forecast 418b, and an Nth available capacity forecast 416n corresponding to an Nth demand forecast 418n.
[0059] Different demand forecasts 418a to 418n may correspond to different degrees of uncertainty regarding the predicted demand for the series of VMs in the system unit. In some embodiments, different demand forecasts 418a to 418n may correspond to different percentile levels. For example, a first demand forecast 418a may represent percentile level x (meaning there is an x% probability that the actual demand will be less than predicted), a second demand forecast 418b may represent percentile level y, and an Nth demand forecast 418n may represent percentile level z.
[0060] In some embodiments, different demand forecasts 418a-418n can correspond to different "what if" scenarios. For example, in some cases, certain features or settings associated with cloud computing system 100 can vary in a particular way to affect demand for different VM families. Different demand forecasts 418a-418n can correspond to different scenarios representing different sets of these features and / or settings, and different available capacity forecasts 416a-416n can correspond to different scenarios represented by different demand forecasts 418a-418n.
[0061] In an embodiment where multiple available capacity forecasts 416a to 416n are generated, one or more of the available capacity forecasts 416a to 416n may indicate that there is sufficient capacity to meet user demand (in other words, the predicted supply 120 exceeds the predicted demand 118 during the time period under consideration), while one or more of the available capacity forecasts 416a to 416n may indicate that there is insufficient capacity to meet user demand (in other words, the predicted demand 118 exceeds the predicted supply 120 during at least a portion of the time period under consideration). In such a case, the mitigation engine 126 may decide whether to take any mitigation action. Such a decision may be based at least in part on one or more settings within the capacity management engine 112.
[0062] For example, assume that two demand forecasts are generated: a first demand forecast representing a 50th percentile level and a second demand forecast representing a 90th percentile level. Two available capacity forecasts can be generated: a first available capacity forecast corresponding to the 50th percentile level demand forecast (P50 forecast) and a second available capacity forecast corresponding to the 90th percentile level demand forecast (P90 forecast). It is also assumed that the P50 forecast indicates that there is enough capacity to meet user demand, but the P90 forecast indicates that there is not enough capacity to meet user demand. In this case, the mitigation engine 126 can decide whether to take any mitigation action based at least in part on one or more settings within the capacity management engine 112 indicating whether the P50 forecast or the P90 forecast should be followed. If the (multiple) settings indicate that the P50 forecast should be followed, the mitigation engine 126 may not take any mitigation action. However, if the (multiple) settings indicate that the P90 forecast should be followed, the mitigation engine 126 may take one or more mitigation actions.
[0063] Figure 55 is a graph illustrating an example showing a comparison of predicted demand 518 and predicted supply 520 for a particular VM family in a particular system unit during a particular time period. The x-axis of the graph represents time, and the y-axis of the graph represents some metric indicative of capacity. For example, the capacity metric may be the number of virtual CPUs that can be allocated for a particular VM family, the number of VMs 110 that can be allocated for a particular VM family, etc.
[0064] In this example, it is assumed that the future added capacity 224 is zero. In other words, in this example, at any point during the time period used to determine the predicted available capacity 116, no additional computing resources are expected to become available. Therefore, the predicted supply 520 does not change during the time period, and it is equal to the shared available current capacity 228. The other line 540 shown in the chart represents the sum of the current available capacity 222 and the future added capacity 224. Because the future added capacity 224 is zero, this line 540 corresponds to the current available capacity 222 in this example. In other words, this line 540 (shown for illustration purposes only) represents the original (non-shared) capacity, and it can be used to calculate the shared available current capacity 228.
[0065] Between time t0 and time t1, predicted supply 520 exceeds predicted demand 518. Therefore, it is predicted that there will be sufficient capacity to handle user demand between time t0 and time t1. However, after time t1, predicted demand 518 exceeds predicted supply 520, and therefore it is predicted that there will not be sufficient capacity to handle user demand after time t1. Therefore, it may be beneficial to take one or more mitigation actions before time t1 (the point at which predicted demand 518 begins to exceed predicted supply 520) so that allocation failure does not occur.
[0066] If the predicted available capacity 116 is represented as the difference between the predicted supply 520 and the predicted demand 518, then between time t0 and time t1, the predicted available capacity 116 would be represented as a positive value. However, after time t1, the predicted available capacity 116 would be represented as a negative value.
[0067] Figure 6is a chart illustrating another example showing a comparison of the predicted demand 618 and the predicted supply 620 for a particular VM family in a particular system unit during a particular time period. In this example, additional computing resources are added to the system unit at two separate moments (time t1 and time t3) within the time period in which the predicted available capacity 116 is determined. Therefore, the future added capacity 224 is not zero. This is reflected in the other line 640 shown in the chart, which represents the sum of the current available capacity 222 and the future added capacity 224. In other words, the line 640 can be viewed as representing the total capacity in the system unit. When additional computing resources are added to the system unit between time t1 and time t3, the value of the line 640 increases.
[0068] The addition of computing resources results in an increase in the total capacity represented by line 640 and in the predicted supply 620. The increase in predicted supply 620 is not as large as the increase in total capacity represented by line 640 because, as described above, some of the additional computing resources may be used to allocate VMs 110 corresponding to other VM families.
[0069] Between time t0 and time t2, predicted supply 620 exceeds predicted demand 618, so it is predicted that there will be enough capacity to handle user demand during that time. However, after time t2, predicted demand 618 increases above predicted supply 620, so it is predicted that there will not be enough capacity to handle user demand between time t1 and time t3. However, due to the addition of additional computing resources at time t3, between time t3 and time t4, predicted supply 620 again exceeds predicted demand 618. However, after time t4, predicted demand 618 again exceeds predicted supply 620.
[0070] As from Figure 6 As can be inferred from the graph shown in , in some embodiments, the predicted demand 618 and the predicted supply 620 can be represented as time series, respectively. Therefore, the predicted available capacity 116 can also be represented as a time series.
[0071] In addition, future added capacity 224 and shared available future added capacity 230 may also be represented as time series, respectively. These time series may include time points when additional computing resources are added to the system unit (e.g., at Figure 6 Non-zero values at times t1 and t3 in the example shown in and zero values at other time points.
[0072] Figure 7is a chart showing a time series representing the predicted available capacity 716 for a particular VM family in a particular system unit during a particular time period. In the depicted example, each value in the time series represents the predicted available capacity 716 during a particular time interval (e.g., day, hour, week).
[0073] In the depicted example, a positive value corresponding to a particular time interval indicates that the predicted supply 120 exceeds the predicted demand 118 during the time interval, which means that the system unit is predicted not to exhaust capacity for the VM family during the time interval. Conversely, a negative value corresponding to a particular time interval indicates that the predicted supply 118 exceeds the predicted demand 120 during the time interval, which means that the system unit is predicted to exhaust capacity for the VM family during the time interval.
[0074] The chart shows that the predicted available capacity 716 remains positive (which means that the system unit is predicted to not run out of capacity for a particular VM family) until time interval t1. At time interval t1, the predicted available capacity 716 becomes negative (which means that the system is predicted to run out of capacity for a particular VM family). The predicted available capacity 716 remains negative until time interval t2, when the predicted available capacity 716 becomes positive again. This may be due to additional computing resources added to the system unit and / or an increase in predicted demand 118. The predicted available capacity 716 remains negative until time interval t3, when the predicted available capacity 716 becomes negative again. After time interval t3, the predicted available capacity 716 remains negative.
[0075] In some embodiments, a time series (such as Figure 7 In response, the mitigation engine 126 may take one or more mitigation actions prior to time t1 (the point at which the predicted available capacity 716 becomes negative).
[0076] Reference now Figure 8 Another aspect of the present disclosure relates to monitoring the predicted available capacity 816 and providing alerts related to changes in the predicted available capacity 816. Figure 8 In the capacity management engine 812 shown in , the capacity modeling service 814 determines the predicted available capacity 816 for a particular VM series in a particular system unit. Determining the predicted available capacity 816 can be based on the predicted demand 818 and the predicted supply 820 (as determined from the current available capacity 822 and the future added capacity 824) for the VM series in the particular system unit, as described above. When determining the predicted supply 820, the fact that the same server 106 can be used to host different VM series can also be taken into account, as also described above.
[0077] In the depicted capacity management engine 812, the predicted available capacity 816 output by the capacity modeling service 814 can be monitored. As indicated above, the predicted available capacity 816 for a particular VM family in a particular system unit during an upcoming time period can include a set of values (e.g., a time series of values). Two possible predictions can be inferred from the set of values: a positive prediction (which means that the system unit is predicted to not run out of capacity for the VM family during the upcoming time period) or a negative prediction (which means that at some point during the upcoming time period the system unit is predicted to run out of capacity for the VM family).
[0078] In some embodiments, an alert 842 may be provided whenever the predicted available capacity 816 for a particular VM family in a particular system unit changes from indicating a positive prediction to indicating a negative prediction. Alternatively, in other embodiments, an alert 842 may be provided when the predicted available capacity 816 for a particular VM family in a particular system unit changes from indicating a positive prediction to indicating a negative prediction after having indicated a positive prediction during a predetermined time period. For example, assume that the predetermined time period is N consecutive days. If the predicted available capacity 816 for a particular VM family in a particular system unit indicates a positive prediction for N consecutive days, then in this example, an alert 842 may be sent when the predicted available capacity 816 changes to indicating a negative prediction. However, if the predicted available capacity 816 for a particular VM family in a particular system unit indicates a positive prediction for only M consecutive days (where M<N) before changing to indicating a negative prediction, then in this example, in this case, an alert 842 may not necessarily be sent.
[0079] When alert 842 is provided, alert 842 can be sent to one or more individuals who are responsible for ensuring that the system units of cloud computing system 100 have sufficient capacity to meet customer demand. If alert 842 has changed from indicating a positive forecast to indicating a negative forecast, the individual(s) receiving alert 842 can take one or more mitigation actions (possibly in conjunction with mitigation engine 826) to prevent an allocation failure from occurring.
[0080] In some embodiments, whenever the predicted available capacity 816 for a particular VM family in a particular system unit changes from indicating a negative prediction to indicating a positive prediction, an alert 842 can also be provided. In this case, it may be beneficial to provide an alert 842 so that a responsible individual (e.g., an individual responsible for ensuring that the system units of the cloud computing system 100 have sufficient capacity to meet customer demand) can take steps to ensure that the change is accurate (e.g., the change is not due to a data quality issue).
[0081] More generally, an alert 842 may be provided whenever the predicted available capacity 816 for a particular family of VMs in a particular system unit changes from indicating a first type of prediction (eg, a positive prediction or a negative prediction) to indicating a second type of prediction (eg, a negative prediction or a positive prediction).
[0082] In addition to providing the alert 842, a root cause analysis may also be performed to determine the reason(s) for the change to occur. A root cause analysis (RCA) report 844 may also be prepared to describe what was determined during the root cause analysis. The RCA report 844 may describe the reasons for the change in the predicted available capacity 816 as determined by the root cause analysis. In some embodiments, the reasons for the change in the predicted available capacity 816 may be described in terms of changes in the inputs to the capacity management engine 812 (e.g., predicted demand 818, current available capacity 822, and / or future added capacity 824). For example, if the root cause analysis finds that a change in the predicted available capacity 816 was caused by a sudden increase in predicted demand 818, this finding may be included in the RCA report 844.
[0083] In some embodiments, in addition to monitoring the predicted available capacity 816, the signals provided as inputs to the capacity management engine 812 (i.e., the predicted demand 818, current available capacity 822, and future added capacity 824 in the depicted example) may also be monitored for anomalies, which may be indicated by sudden fluctuations in the input signals. When an anomaly is detected (e.g., the value of the input signal has changed by more than a predetermined amount during a predetermined time period), an alert 842 may be provided. The alert 842 may be sent to one or more individuals responsible for aspects of the cloud computing system 100 related to the affected input signal. For example, if the value of the predicted demand 818 has changed by more than a predetermined amount within a predetermined time period, an alert 842 may be provided to one or more individuals responsible for determining the predicted demand 818.
[0084] In addition to providing an alert 842 when an anomaly is detected (e.g., a sudden fluctuation in an input signal), a root cause analysis may be performed to determine the cause(s) for the anomaly to occur. An RCA report 844 may also be prepared to describe what was determined during the root cause analysis.
[0085] In some cases, the sudden fluctuation of the input signal may be caused by a problem with the cloud computing system 100 itself. However, in other cases, the sudden fluctuation of the input signal may be caused by other factors, such as data quality issues. For example, assume that the input signal representing the current available capacity 822 suddenly drops. This may be caused by an actual problem with the cloud computing system 100 itself, such as the failure of a large number of servers 106. Alternatively, the sudden fluctuation of the input signal representing the current available capacity 822 may be caused by a data quality issue, such as an error in the way the current available capacity 822 is measured and / or reported.
[0086] In some embodiments, the root cause analysis performed on the sudden fluctuation in the input signal can determine whether the sudden fluctuation is caused by an actual problem with the cloud computing system 100 itself, or by other factors (such as data quality issues). For example, continuing the example discussed above, if the root cause analysis determines that the sudden fluctuation in the input signal representing the current available capacity 822 is caused by the failure of a large number of servers 106, an RCA report 844 can be prepared, which identifies the failure of a large number of servers 106 as the reason why such sudden fluctuation occurred. The RCA report 844 can then be sent to the person responsible for maintaining the servers 106 in the correct working order and / or the person responsible for purchasing additional servers 106. Alternatively, if the root cause analysis determines that the sudden fluctuation in the input signal representing the current available capacity 822 is caused by a data quality problem, an RCA report 844 can be prepared, which identifies the data quality problem as the reason why such sudden fluctuation occurred. In this case, the RCA report 844 can be sent to the person responsible for measuring and / or reporting the current available capacity 822.
[0087] Figure 8 The capacity management engine 812 shown in FIG. 8 includes a signal monitoring and root cause analysis (RCA) engine 846. The signal monitoring and RCA engine 846 may be configured to provide the signal monitoring and root cause analysis functions described above.
[0088] Fig. 9 Illustrated is a method 900 for minimizing allocation failures in a cloud computing system 100 without over-provisioning. For clarity, the method 900 will be described with reference to the aforementioned systems, components, and data.
[0089] Step 902 involves determining a shared available current capacity 228 for a particular VM family in a particular system unit. As indicated above, the shared available current capacity 228 for a particular VM family in a particular system unit indicates how much of the current available capacity 222 within the system unit is considered available for allocating VMs 110 corresponding to the VM family, given the fact that some of the current available capacity 222 within the system unit may be used to allocate VMs 110 corresponding to other VM families. The shared available current capacity 228 for a particular VM family in a particular system unit may be based at least in part on the current available capacity 222 for the VM family in the system unit and a demand growth rate 232 for the VM family in the system unit. For example, the current available capacity 222 may be multiplied by the demand growth rate 232 to determine the shared available current capacity 228.
[0090] Step 904 involves determining a shared available future added capacity 230 for VM families in a system unit during an upcoming time period. As indicated above, the shared available future added capacity 230 for a particular VM family in a particular system unit indicates how much future added capacity 224 of the system unit is considered available for allocating VMs 110 corresponding to the VM family, given the fact that some of the future added capacity 224 of the system unit may be used to allocate VMs 110 corresponding to other VM families. The shared available future added capacity 230 for a particular VM family in a particular system unit may be based at least in part on the future added capacity 224 for the VM family in the system unit and a demand growth rate 232 for the VM family in the system unit. For example, the future added capacity 224 may be multiplied by the demand growth rate 232 to determine the shared available future added capacity 230.
[0091] Step 906 involves determining a predicted supply 220 for the VM families in the system unit based at least in part on the shared available current capacity 228 and the shared available future added capacity 230. For example, the shared available current capacity 228 and the shared available future added capacity 230 may be added to determine the predicted supply 220.
[0092] Step 908 involves predicting available capacity 216 for the VM families in the system unit during an upcoming time period based at least in part on predicted supply 220 and predicted demand 218. For example, predicted available capacity 216 may represent a difference between predicted supply 220 and predicted demand 218.
[0093] Step 910 involves taking at least one mitigation action in response to determining that the predicted demand 218 during the upcoming time period exceeds the predicted supply 220. As discussed above, in accordance with the present disclosure, many different types of mitigation actions may be taken, such as purchasing additional computing resources, enforcing bid limits, attempting to recover unhealthy servers 106, migrating lower priority workloads to other system units, and evicting lower priority workloads from the cloud computing system 100.
[0094] Fig.10 Illustrated are certain components that may be included within computer system 1000. One or more computer systems 1000 may be used to implement the various devices, components, and systems described herein.
[0095] Computer system 1000 includes processor 1001. Processor 1001 may be a general-purpose single-chip or multi-chip microprocessor (e.g., Advanced RISC (Reduced Instruction Set Computer) Machine (ARM)), a special-purpose microprocessor (e.g., a digital signal processor (DSP)), a microcontroller, a programmable gate array, etc. Processor 1001 may be referred to as a central processing unit (CPU). Fig.10 Only a single processor 1001 is shown in the computer system 1000 , but in an alternative configuration, a combination of processors (eg, an ARM and DSP) could be used.
[0096] The computer system 1000 also includes a memory 1003 in electronic communication with the processor 1001. The memory 1003 may be any electronic component capable of storing electronic information. For example, the memory 1003 may be embodied as a random access memory (RAM), a read-only memory (ROM), a magnetic disk storage medium, an optical storage medium, a flash memory device in a RAM, an onboard memory including a processor, an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, etc., including combinations thereof.
[0097] Instructions 1005 and data 1007 may be stored in memory 1003. Instructions 1005 may be executable by processor 1001 to implement some or all of the steps, operations, actions, or other functions disclosed herein. Executing instructions 1005 may involve using data 1007 stored in memory 1003. Any of the various examples of modules and components described herein may be implemented in part or in whole as instructions 1005 stored in memory 1003 and executed by processor 1001. Any of the various examples of data described herein may be data 1007 stored in memory 1003 and used during execution of instructions 1005 by processor 1001.
[0098] The computer system 1000 may also include one or more communication interfaces 1009 for communicating with other electronic devices. The communication interface(s) 1009 may be based on wired communication technology, wireless communication technology, or both. Some examples of the communication interface 1009 include a universal serial bus (USB), an Ethernet adapter, a wireless adapter operating according to the Institute of Electrical and Electronics Engineers (IEEE) 1002.11 wireless communication protocol, Wireless communication adapter and infrared (IR) communication port.
[0099] The computer system 1000 may also include one or more input devices 1011 and one or more output devices 1013. Some examples of input devices 1011 include keyboards, mice, microphones, remote control devices, buttons, joysticks, trackballs, touchpads, and light pens. Some examples of output devices 1013 include speakers and printers. One specific type of output device that is typically included in the computer system 1000 is a display device 1015. The display device 1015 used with the embodiments disclosed herein may utilize any suitable image projection technology, such as a liquid crystal display (LCD), light emitting diodes (LED), gas plasma, electroluminescence, etc. A display controller 1017 may also be provided for converting data 1007 stored in the memory 1003 into text, graphics, and / or moving images (as appropriate) displayed on the display device 1015.
[0100] The various components of the computer system 1000 may be coupled together via one or more buses, which may include a power bus, a control signal bus, a status signal bus, a data bus, etc. For the sake of clarity, the various buses are described in Fig.10 FIG. 1 is illustrated as bus system 1019 .
[0101] The techniques described herein may be implemented in hardware, software, firmware, or a combination thereof, unless specifically described as being implemented in a particular manner. Any features described as modules, components, etc. may be implemented in an integrated logic device or separately as discrete but mutually cooperating logic devices. If implemented in software, the techniques may be implemented at least in part by a non-transient computer-readable medium having computer executable instructions stored thereon, which when executed by at least one processor perform some or all of the steps, operations, actions, or other functions disclosed herein. Instructions may be organized into routines, programs, objects, components, data structures, etc., which may perform specific tasks and / or implement specific data types, and may be combined or distributed in various embodiments as desired.
[0102] Without departing from the scope of the claims, the steps, operations and / or actions of the methods described herein may be interchangeable with each other. In other words, unless a specific order of steps, operations and / or actions is required for the normal operation of the described method, the order and / or use of specific steps, operations and / or actions may be modified without departing from the scope of the claims.
[0103] The term "determining" (and its grammatical variations) encompasses a variety of actions, and thus, "determining" may include calculating, computing, processing, deriving, investigating, searching (e.g., searching in a table, a database, or another data structure), ascertaining, etc. Likewise, "determining" may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory), etc. Likewise, "determining" may include solving, selecting, choosing, establishing, etc.
[0104] The terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements. Alternatively, it should be understood that reference to "one embodiment" or "an embodiment" of the present disclosure is not intended to be interpreted as excluding the existence of additional embodiments that also include the referenced features. For example, any element or feature described with respect to an embodiment herein may be combined with any element or feature of any other embodiment described herein, where compatible.
[0105] The present disclosure may be embodied in other specific forms without departing from its spirit or characteristics. The described embodiments are considered to be illustrative rather than restrictive. Therefore, the scope of the present disclosure is indicated by the appended claims rather than by the preceding description. Changes within the meaning and scope of the equivalents of the claims are included within their scope.
Claims
1. A method for minimizing allocation failures in a cloud computing system without over-provisioning, comprising: A system unit running a cloud computing system, the system unit comprising a first series of virtual machines and a second series of virtual machines, the first series of virtual machines having a first plurality of deployed virtual machines, the second series of virtual machines having a second plurality of deployed virtual machines, wherein the first series of virtual machines and the second series of virtual machines compete for currently available capacity of the system unit; receiving a request for a new subscription for the first series of virtual machines; determining a shared available current capacity for the first series of virtual machines in the system unit based on sharing the current available capacity for the system unit between the first series of virtual machines and the second series of virtual machines, wherein the shared available current capacity for the first series of virtual machines is proportional to the current available capacity for the system unit and a first demand growth ratio for the first series of virtual machines; determining a shared available future added capacity for the first series of virtual machines in the system unit based on sharing the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines, wherein the shared available future added capacity for the first series of virtual machines is proportional to the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines and the first demand growth ratio for the first series of virtual machines; determining a predicted provision for the first family of virtual machines in the system unit during an upcoming time period, wherein the predicted provision is based on the shared available current capacity for the first family of virtual machines and the shared available future added capacity for the first family of virtual machines; forecasting an available capacity for the first family of virtual machines in the system unit during the upcoming time period, wherein the forecasted available capacity is based on a forecasted demand for the first family of virtual machines in the system unit during the upcoming time period and the forecasted supply for the first family of virtual machines in the system unit during the upcoming time period; as well as For the first series of virtual machines in the system unit, in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, temporarily suspending the first series of virtual machines to not service the request for the new subscription for the first series of virtual machines.
2. The method according to claim 1, wherein: The shared available current capacity for the first series of virtual machines includes an amount of shared available current capacity of the first series of virtual machines in the system unit that is available for allocation to the first series of virtual machines and the second series of virtual machines; and The first demand growth ratio is a ratio of an expected growth rate of demand for the first series of virtual machines in the system unit to an expected growth rate of demand for the first series of virtual machines and the second series of virtual machines in the first series of virtual machines in the system unit.
3. The method according to claim 1, further comprising: In response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, lower priority workloads are migrated to other system units.
4. The method according to claim 1, further comprising: A plurality of predictions regarding the available capacity for the first family of virtual machines in the system unit during the upcoming time period are determined, wherein the plurality of predictions regarding the available capacity are based on a plurality of different demand predictions.
5. The method according to claim 1, further comprising: monitoring said predicted available capacity; as well as For the upcoming time period, when the forecasted available capacity changes from a forecast indicative of a first type to a forecast indicative of a second type, an alert is provided.
6. The method according to claim 5, further comprising: associated with the upcoming time period, performing a root cause analysis to determine why the predicted available capacity changed from a prediction indicative of the first type to a prediction indicative of the second type; as well as A root cause analysis report is provided that describes what was determined during the root cause analysis.
7. The method according to claim 1, further comprising: monitoring the predicted demand, the currently available capacity, and the future added capacity for the first series of virtual machines in the system unit; as well as When the value of the predicted demand, the currently available capacity, or the future added capacity for the first series of virtual machines in the system unit changes by more than a predetermined amount within a predetermined time period, an alert is provided.
8. The method according to claim 1, further comprising: The predicted provisioning for the first series of virtual machines in the system unit is also determined based on the shared available current capacity for the second series of virtual machines and the shared available future added capacity for the second series of virtual machines.
9. A non-transitory computer-readable medium comprising instructions executable by one or more processors to cause a computing system to: receiving a request for a new subscription for a first series of virtual machines of a system unit in a cloud computing system; determining a shared available current capacity for the first series of virtual machines based on sharing the current available capacity for the system unit between the first series of virtual machines and a second series of virtual machines for the system unit, wherein the shared available current capacity for the first series of virtual machines is proportional to the current available capacity for the system unit and a first demand growth ratio for the first series of virtual machines, wherein the first series of virtual machines and the second series of virtual machines each have a plurality of deployed virtual machines, and wherein the first series of virtual machines and the second series of virtual machines compete for the current available capacity for the system unit; determining a shared available future added capacity for the first series of virtual machines in the system unit based on sharing the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines, wherein the shared available future added capacity for the first series of virtual machines is proportional to the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines and the first demand growth ratio for the first series of virtual machines; determining a predicted provision for the first family of virtual machines in the system unit during an upcoming time period, wherein the predicted provision is based on the shared available current capacity for the first family of virtual machines and the shared available future added capacity for the first family of virtual machines; forecasting an available capacity for the first family of virtual machines in the system unit during the upcoming time period, wherein the forecasted available capacity is based on a forecasted demand for the first family of virtual machines in the system unit during the upcoming time period and the forecasted supply for the first family of virtual machines in the system unit during the upcoming time period; as well as For the first series of virtual machines in the system unit, in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, temporarily suspending the first series of virtual machines to not service the request for the new subscription for the first series of virtual machines.
10. The non-transitory computer-readable medium of claim 9, further comprising additional instructions executable by the one or more processors to: in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, add additional computing resources to the cloud computing system.
11. The non-transitory computer-readable medium of claim 9, further comprising additional instructions executable by the one or more processors to determine multiple predictions regarding the available capacity for the first series of virtual machines in the system unit during the upcoming time period, wherein the multiple predictions regarding the available capacity for the system unit are based on multiple different demand predictions.
12. The non-transitory computer-readable medium of claim 9 further comprises additional instructions executable by the one or more processors to enable the computing system to: determine the predicted supply for the first series of virtual machines in the system unit based on the shared available current capacity for the second series of virtual machines and the shared available future added capacity for the second series of virtual machines.
13. The non-transitory computer readable medium of claim 12, further comprising additional instructions executable by the one or more processors to cause the computing system to: monitoring the predicted available capacity to determine when the predicted available capacity changes from a prediction indicative of a first type to a prediction indicative of a second type; performing a root cause analysis during the upcoming time period to determine why the forecasted available capacity changed from a forecast indicative of the first type to a forecast indicative of the second type; as well as A root cause analysis report is provided that describes what was determined during the root cause analysis.
14. The non-transitory computer readable medium of claim 9, further comprising additional instructions executable by the one or more processors to cause the computing system to: monitoring the predicted demand, the currently available capacity, and the future added capacity for the first series of virtual machines in the system unit; and When the value of the predicted demand, the currently available capacity, or the future added capacity for the first series of virtual machines in the system unit changes by more than a predetermined amount within a predetermined time period, an alert is provided.
15. The non-transitory computer readable medium of claim 9, further comprising additional instructions executable by the one or more processors to cause the computing system to: In response to detecting an anomaly within the first series of virtual machines in the system unit, performing a root cause analysis; and A root cause analysis report is provided that describes what was determined during the root cause analysis.
16. A system for minimizing allocation failures in a cloud computing system without over-provisioning, the system comprising: one or more processors; a memory in electronic communication with the one or more processors; as well as instructions stored in the memory, the instructions executable by the one or more processors to: receiving a request for a new subscription for a first series of virtual machines of a system unit in a cloud computing system; determining a shared available current capacity for the first series of virtual machines based on sharing the current available capacity for the system unit between the first series of virtual machines and a second series of virtual machines for the system unit, wherein the shared available current capacity for the first series of virtual machines is proportional to the current available capacity for the system unit and a first demand growth ratio for the first series of virtual machines, wherein the first series of virtual machines and the second series of virtual machines each have a plurality of deployed virtual machines, and wherein the first series of virtual machines and the second series of virtual machines compete for the current available capacity for the system unit; determining a shared available future added capacity for the first series of virtual machines in the system unit based on sharing the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines, wherein the shared available future added capacity for the first series of virtual machines is proportional to the future added capacity for the system unit between the first series of virtual machines and the second series of virtual machines and the first demand growth ratio for the first series of virtual machines; determining a predicted provision for the first family of virtual machines in the system unit during an upcoming time period, wherein the predicted provision is based on the shared available current capacity for the first family of virtual machines and the shared available future added capacity for the first family of virtual machines; forecasting an available capacity for the first family of virtual machines in the system unit during the upcoming time period, wherein the forecasted available capacity is based on a forecasted demand for the first family of virtual machines in the system unit during the upcoming time period and the forecasted supply for the first family of virtual machines in the system unit during the upcoming time period; as well as For the first series of virtual machines in the system unit, in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, temporarily suspending the first series of virtual machines to not service the request for the new subscription for the first series of virtual machines.
17. The system of claim 16, further comprising additional instructions executable by the one or more processors to: in response to determining that the predicted demand exceeds the predicted supply during the upcoming time period, restore an unhealthy server or evict a lower priority workload.
18. The system of claim 16, further comprising additional instructions executable by the one or more processors to: monitoring the predicted demand, the current available capacity, the future added capacity, and the predicted available capacity of the first series of virtual machines in the system unit; providing an alert when the predicted available capacity for the first series of virtual machines in the system unit changes from a prediction indicating a first type to a prediction indicating a second type or when an anomaly is detected; as well as A root cause analysis associated with a change to the first series of virtual machines in the system unit is performed.
19. The system according to claim 16 further includes additional instructions executable by the one or more processors to: determine the predicted supply for the first series of virtual machines in the system unit based on the shared available current capacity for the second series of virtual machines and the shared available future added capacity for the second series of virtual machines.
20. The system of claim 16, wherein: The shared available current capacity for the first series of virtual machines includes an amount of shared available current capacity of the first series of virtual machines in the system unit that is available for allocation to the first series of virtual machines and the second series of virtual machines; and The first demand growth ratio is a ratio of an expected growth rate of demand for the first series of virtual machines in the system unit to an expected growth rate of demand for the first series of virtual machines and the second series of virtual machines in the first series of virtual machines in the system unit.
