PLACEMENT IN A VIRTUALIZED COMPUTING ENVIRONMENT BASED ON RESOURCE ALLOCATION
The present disclosure is related to devices, systems, and methods for placement in a virtualized computing environment based on resource allocation. One embodiment includes instructions to receive a request made by a customer to create a virtual computing instance (VCI) of a project in cloud computing environment and place the VCI.
1 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:
receive a request made by a customer to create a virtual computing instance (VCI) of a project in cloud computing environment; and
place the VCI, wherein the instructions to place the VCI include instructions to:
responsive to determining the cloud computing environment is a public cloud computing environment:
determine a respective amount of a resource allocated to the customer in each of a plurality of cloud zones of the cloud computing environment;
determine a placement cloud zone of the cloud computing environment, wherein the placement cloud zone has a least amount of the allocated resource from among the plurality of cloud zones;
determine a respective amount of the resource allocated to the customer in each of a plurality of clusters of the placement cloud zone; and
place the VCI in a cluster of the placement cloud zone having a least amount of the allocated resource from among the plurality of clusters.
2 . The medium of claim 1 , wherein the resource is memory.
3 . The medium of claim 1 , wherein the resource is storage.
4 . The medium of claim 1 , wherein the resource is virtual processing.
5 . The medium of claim 1 , including instructions to:
determine a respective amount of a first resource allocated to the customer in each of a plurality of cloud zones of the cloud computing environment;
determine a first resource placement cloud zone of the cloud computing environment, wherein the first resource placement cloud zone has a least amount of the first allocated resource from among the plurality of cloud zones;
determine a respective amount of a second resource allocated to the customer in each of a plurality of clusters of the placement cloud zone; and
place the VCI in a cluster of the placement cloud zone having a least amount of the second allocated resource from among the plurality of clusters.
6 . The medium of claim 5 , wherein the first resource is one of: memory, storage, or virtual processing, and wherein the second resource is another of: memory, storage, or virtual processing.
7 . The medium of claim 1 , wherein each of the plurality of cloud zones is associated with a different geographical region.
8 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:
receive a request made by a customer to create a virtual computing instance (VCI) of a project in cloud computing environment; and
place the VCI, wherein the instructions to place the VCI include instructions to:
responsive to determining the cloud computing environment is a private cloud computing environment:
determine, for each of a plurality of cloud zones of the cloud computing environment, a respective zone proportion between an amount of the resource allocated to the customer and a total amount of the resource in the cloud zone;
determine a placement cloud zone of the cloud computing environment, wherein the placement cloud zone has a smallest zone proportion from among the plurality of cloud zones;
determine, for each of a plurality of clusters of the placement cloud zone, a respective cluster proportion between an amount of the resource allocated to the customer and a total amount of the resource in the cluster; and
place the VCI in a cluster of the placement cloud zone having a smallest cluster proportion from among the plurality of clusters.
9 . The medium of claim 8 , wherein the resource is memory.
10 . The medium of claim 8 , wherein the resource is storage.
11 . The medium of claim 8 , wherein the resource is virtual processing.
12 . The medium of claim 8 , including instructions to:
determine, for each of a plurality of cloud zones of the cloud computing environment, a respective first resource zone proportion between an amount of a first resource allocated to the customer and a total amount of the first resource in the cloud zone;
determine a placement cloud zone of the cloud computing environment, wherein the placement cloud zone has a smallest first resource zone proportion from among the plurality of cloud zones;
determine, for each of a plurality of clusters of the placement cloud zone, a respective second resource cluster proportion between an amount of a second resource allocated to the customer and a total amount of the second resource in the cluster; and
place the VCI in a cluster of the placement cloud zone having a smallest second resource cluster proportion from among the plurality of clusters.
13 . The medium of claim 12 , wherein the first resource is one of: memory, storage, or virtual processing, and wherein the second resource is another of: memory, storage, or virtual processing.
14 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:
receive a request made by a customer to create a virtual computing instance (VCI) of a project in cloud computing environment; and
place the VCI, wherein the instructions to place the VCI include instructions to:
responsive to determining the cloud computing environment includes a plurality of public cloud zones and a plurality of private cloud zones:
determine a respective total amount of a resource in each of the plurality of private cloud zones;
determine a private cloud zone from among the plurality of private cloud zones having a largest total amount of the resource;
assign the largest total amount of the resource as a respective total amount of the resource for each of the plurality of public cloud zones;
determine, for each of the plurality of public cloud zones and the plurality of private cloud zones of the cloud computing environment, a respective zone proportion between an amount of the resource allocated to the customer and the total amount of the resource in the cloud zone;
determine a placement cloud zone of the cloud computing environment, wherein the placement cloud zone has a smallest zone proportion from among the plurality of public cloud zones and private cloud zones;
determine, for each of a plurality of clusters of the placement cloud zone, a respective cluster proportion between an amount of the resource allocated to the customer and a total amount of the resource in the cluster; and
place the VCI in a cluster of the placement cloud zone having a smallest cluster proportion from among the plurality of clusters.
15 . The medium of claim 14 , wherein the resource is memory.
16 . The medium of claim 14 , wherein the resource is storage.
17 . The medium of claim 14 , wherein the resource is virtual processing.
18 . The medium of claim 14 , including instructions to:
determine a respective total amount of a first resource in each of the plurality of private cloud zones;
determine a private cloud zone from among the plurality of private cloud zones having a largest total amount of the first resource;
assign the largest total amount of the first resource as a respective total amount of the first resource for each of the plurality of public cloud zones;
determine, for each of the plurality of public cloud zones and the plurality of private cloud zones of the cloud computing environment, a respective first resource zone proportion between an amount of the first resource allocated to the customer and the total amount of the first resource in the cloud zone;
determine a placement cloud zone of the cloud computing environment, wherein the placement cloud zone has a smallest first resource zone proportion from among the plurality of public cloud zones and private cloud zones;
determine, for each of a plurality of clusters of the placement cloud zone, a respective second resource cluster proportion between an amount of a second resource allocated to the customer and a total amount of the second resource in the cluster; and
place the VCI in a cluster of the placement cloud zone having a smallest second resource cluster proportion from among the plurality of clusters.
19 . The medium of claim 18 , wherein the first resource is one of: memory, storage, or virtual processing, and wherein the second resource is another of: memory, storage, or virtual processing.
20 . The medium of claim 14 , including instructions to place the VCI without regard to an actual total amount of the resource in any of the plurality of public cloud zones.