Method and apparatus for creating cloud service instance

By abstracting the physical resource pool into multiple logical resource pools, each logical resource pool provides a type of cloud service instance, solving the problems of unstable resource expectations and uneven computing resource utilization in the mixed resource pool, realizing stable resource expectations and balanced computing resource utilization, improving risk resistance and reducing operating costs.

WO2025011247A9PCT designated stage expired Publication Date: 2025-03-20HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/098721
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-09
Filing Date
2024-06-12
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

In the mixed resource pool, since it is impossible to evaluate how much resources can be distributed among various services, resource expectations are unstable, computing resource utilization is unbalanced, resource runs between heterogeneous services, weak risk resistance and high operating costs.

Method used

By abstracting the physical resource pool into multiple logical resource pools, each logical resource pool is used to provide a type of cloud service instance, and the amount of releasable resources can be determined based on the amount of releasable resources of the logical resource pool, ensuring the stability of resource expectations, and allocating computing resources in the configuration items of the balanced consideration of multi-dimensional settings to avoid resource runs.

Benefits of technology

The balance of computing resource utilization in the mixed resource pool is achieved, the resource expectations of heterogeneous services are stable, the risk resistance is improved, and the operating costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024098721_20032025_PF_FP_ABST
    Figure CN2024098721_20032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of computers, and provides a method and apparatus for creating a cloud service instance, aiming to improve the balance of utilization of computing resources in a hybrid resource pool and ensure stable resource expectation of various heterogeneous services deployed in the hybrid resource pool, thereby improving the anti-risk capability of the hybrid resource pool and reducing the operation costs. The method comprises: a cloud management platform receiving a service request of a tenant, wherein the service request is used for using computing resources in a physical resource pool to create a target cloud service instance, the physical resource pool is provided with a plurality of logical resource pools, the plurality of logical resource pools are used for providing different types of cloud service instances, and the proportions of computing resources required by the types of cloud service instances are different; in response to the service request, determining, from among the plurality of logical resource pools of the physical resource pool, a target logical resource pool matching the type of the target cloud service instance; and using computing resources in the target logical resource pool to create the target cloud service instance.
Need to check novelty before this filing date? Find Prior Art

Description

A method and device for creating a cloud service instance

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on July 10, 2023, with application number 202310840577.2, entitled “A computing resource management method, apparatus and computing device cluster”, and the Chinese patent application filed with the State Intellectual Property Office on November 9, 2023, with application number 202311489551.4, entitled “A method and apparatus for creating a cloud service instance”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computers, and in particular to a method and apparatus for creating a cloud service instance. Background Art

[0003] In the field of cloud computing, the collection of various hardware and software involved in a cloud computing data center is called a resource pool, which is a logical abstraction for flexible resource management.

[0004] Currently, cloud computing resource pools are mostly managed as a single resource pool (whether it's a public cloud operated by a cloud vendor or a customer's private or dedicated cloud resource pool). As a result, cloud services are composed of multiple small resource pools. However, larger resource pools can provide greater risk resilience and resource efficiency, leading to lower costs. Resource pool unification technology can transform multiple resource pools, previously managed individually, into a co-located physical resource pool (hybrid resource pool), offering significant commercial value.

[0005] In a single resource pool, the remaining available capacity for a service type can be simply calculated by subtracting the allocated capacity from the total computing resources in the pool. However, in a colocation resource pool, since the pool can provision multiple types of services, it's impossible to estimate the amount of resources the pool can allocate to each type of service, leading to unstable resource expectations for each service. This can also lead to uneven utilization of computing resources in the colocation resource pool and resource squeezes between heterogeneous services, ultimately resulting in weak risk resilience and high operating costs.

[0006] Summary of the Invention

[0007] The method and device for creating a cloud service instance provided in this application improve the balance of computing resource utilization in a hybrid resource pool, ensure the stability of resource expectations for various heterogeneous services deployed in the hybrid resource pool, thereby improving the risk resistance of the hybrid resource pool and reducing operating costs.

[0008] To achieve the above objectives, the present invention adopts the following technical solutions:

[0009] In a first aspect, a method for creating a cloud service instance is provided, which is applied to a cloud management platform, the cloud management platform being used to manage a tenant's physical resource pool. The method may include: the cloud management platform receiving a service request from a tenant, the service request being used to create a target cloud service instance using computing resources within a physical resource pool, the physical resource pool being configured as multiple logical resource pools, the multiple logical resource pools being used to provide different types of cloud service instances, each type of cloud service instance requiring a different proportion of computing resources, the computing resources including a central processing unit (CPU) and memory; in response to the service request, determining a target logical resource pool that matches the type of the target cloud service instance from the multiple logical resource pools of the physical resource pool; and creating the target cloud service instance using the computing resources within the target logical resource pool.

[0010] Through the solution provided by this application, the physical resource pool is abstracted into multiple logical resource pools. A logical resource pool is used to provide one type of cloud service instance. The internal operation of the logical resource pool can be similar to that of a single unit. According to the amount of resources already issued in the logical resource pool, it is possible to know how much computing resources can be issued to the corresponding type of cloud service instance, thereby ensuring the stability of resource expectations of each type of cloud service instance in the mixed resource pool; in the balanced consideration of the multi-dimensional setting configuration items, the number of computing resources allocated to each logical resource pool, and heterogeneous services corresponding to different logical resource pools, can ensure balanced utilization of computing resources in the mixed resource pool, avoiding resource runs between heterogeneous services; therefore, the solution provided by this application realizes the operation and management after heterogeneous services are deployed in a physical resource pool, improves the risk resistance of the resource pool, and reduces operating costs.

[0011] In one possible implementation, the method provided herein further includes: upon satisfying a trigger condition, the cloud management platform adjusting the number of computing resources allocated to at least one logical resource pool within the physical resource pool to increase the available number of cloud service instances of the first type, where the first type of cloud service instance is any one of the different types of cloud service instances provided by the logical resource pool within the physical resource pool. Adjusting the computing resources contained in the logical resource pool under the trigger condition improves computing resource utilization in the physical resource pool.

[0012] In another possible implementation, the triggering condition includes one or more of the following: a preset time, a preset period, the provisionable quantity of the first type of cloud service instance being less than a first threshold, or the allocation rate of the second type of cloud service instance exceeding a second threshold. The second type of cloud service instance is a logical resource pool within a physical resource pool, and is any one of different types of cloud service instances provided.

[0013] In another possible implementation, the method provided in the present application further includes: the cloud management platform receiving trigger conditions and capacity planning goals input by the tenant, where the capacity planning goals include: the maximum number of cloud service instances of the first type that can be issued.

[0014] In another possible implementation, upon meeting a trigger condition, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool within the physical resource pool. Specifically, upon meeting the trigger condition, the cloud management platform performs mathematical modeling and solves a resource allocation plan based on the capacity planning objective. Based on the resulting resource allocation plan, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool within the physical resource pool. By establishing a mathematical model and optimizing the solution, the resource allocation plan that best matches the capacity planning objective is determined, resulting in more effective replanning.

[0015] In another possible implementation, the method provided by the present application further includes: the cloud management platform receives capacity planning constraints input by the tenant, and the capacity planning constraints include one or more of the following: the number of physical hosts whose resource allocations are adjusted does not exceed a third threshold, and the change in the amount of cloud service instances of the third type that can be issued between two adjacent adjustments does not exceed a fourth threshold. The third type of cloud service instance is any one of the different types of cloud service instances mentioned above. Accordingly, after the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool, including: after the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool according to the capacity planning constraints.

[0016] In another possible implementation, the method provided herein further includes: before the cloud management platform receives the service request, the cloud management platform receives configuration items regarding physical resource pools input by the tenant, where the configuration items indicate multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool. The cloud management platform then configures the physical resource pool into multiple logical resource pools based on the configuration items.

[0017] In one possible implementation, the above configuration item is also used to indicate the identifier of the physical machine corresponding to each logical resource pool in the physical resource pool. The tenant specifies the physical machine that provides computing resources to the logical resource pool, improving the tenant experience.

[0018] In another possible implementation, the method provided by the present application further includes: providing a visualization interface, the visualization interface being used to display the values ​​of the observation indicators of the physical resource pool and / or the values ​​of the observation indicators of the multiple logical resource pools;

[0019] The observation indicators of the physical resource pool include one or more of the following indicators: the number of types of cloud service instances provided by the physical resource pool, the total amount of computing resources in the physical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources;

[0020] The observation indicators of the multiple logical resource pools include one or more of the following indicators: the total amount of computing resources in each logical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources.

[0021] In another possible implementation, the method provided in the present application further includes: receiving an add operation from a tenant, where the add operation is used to input an observation indicator.

[0022] In a second aspect, a method for configuring a physical resource pool is provided. The method is applied to a cloud management platform, which is used to manage a tenant's physical resource pool. The method may include: the cloud management platform receiving configuration items regarding the physical resource pool input by the tenant, the configuration items indicating multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool. The cloud management platform then configures the physical resource pool into multiple logical resource pools based on the configuration items.

[0023] In one possible implementation, the above configuration item is also used to indicate the identifier of the physical machine corresponding to each logical resource pool in the physical resource pool. The tenant specifies the physical machine that provides computing resources to the logical resource pool, improving the tenant experience.

[0024] In a third aspect, a device for creating a cloud service instance is provided. The device is deployed on a cloud management platform, which is used to manage a tenant's physical resource pool. The device for creating a cloud service instance includes: a receiving unit, a determining unit, and a creating unit.

[0025] The receiving unit is used to receive the tenant's service request. The service request is used to create a target cloud service instance using the computing resources in the physical resource pool. The physical resource pool is configured as multiple logical resource pools. The multiple logical resource pools are used to provide different types of cloud service instances. The proportion of computing resources required for each type of cloud service instance is different. The computing resources include CPU and memory.

[0026] The determining unit is configured to determine, in response to a service request, a target logical resource pool that matches the type of the target cloud service instance from a plurality of logical resource pools in the physical resource pool.

[0027] The creation unit is used to create a target cloud service instance by using computing resources in the target logical resource pool.

[0028] It should be noted that the device for creating a cloud service instance provided in the second aspect is used to perform the functions of the cloud management platform in the above-mentioned first aspect. The specific implementation can refer to the description of the above-mentioned first aspect or any possible implementation method, and will not be repeated here.

[0029] In a fourth aspect, a computing device is provided, which includes a memory and at least one processor, the memory being used to store a set of computer instructions; when the processor executes the computer instructions, the computing device executes the operating steps described in the method described in the first aspect or any possible implementation method.

[0030] In a fifth aspect, a computer-readable storage medium is provided, comprising: computer software instructions; when the computer software instructions are executed in a computer, the computer executes the operating steps of the method described in the first aspect or any possible implementation method.

[0031] In a sixth aspect, a computer program product is provided, which, when executed on a computer, enables the computer to execute the operating steps of the method described in the first aspect or any possible implementation manner.

[0032] It should be noted that various possible implementations of any of the above aspects can be combined under the premise that the solutions are not contradictory. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] FIG1 is a schematic diagram of a physical resource pool;

[0034] FIG2 is a schematic diagram of the principle of the solution provided in an embodiment of the present application;

[0035] FIG3 is a schematic diagram of the architecture of a cloud management platform provided in an embodiment of the present application;

[0036] FIG4 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0037] FIG5 is a flow chart of a method for creating a cloud service instance provided in an embodiment of the present application;

[0038] FIG6 is a flow chart of a method for configuring a physical resource pool according to an embodiment of the present application;

[0039] FIG7 is a schematic diagram of a configuration interface provided in an embodiment of the present application;

[0040] FIG8 is a flow chart of another method for creating a cloud service instance provided in an embodiment of the present application;

[0041] FIG9 is a schematic diagram of a visualization interface provided in an embodiment of the present application;

[0042] FIG10 is a schematic diagram of the working principle of the solution provided in an embodiment of the present application;

[0043] FIG11 is a schematic diagram of the structure of an apparatus for creating a cloud service instance provided in an embodiment of the present application;

[0044] FIG12 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0045] FIG13 is a schematic diagram of an implementation method of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In the embodiments of the present application, in order to clearly describe the technical solutions of the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily mean different. There is no order of precedence or priority between the technical features described by "first" and "second".

[0047] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.

[0048] In the embodiments of the present application, at least one can also be described as one or more, and multiple can be two, three, four or more, which is not limited in this application.

[0049] In addition, the network architecture and scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0050] To facilitate understanding, the terms involved in the embodiments of this application are first explained.

[0051] Computing resources refer to the hardware resources provided by a computer for computing. Computing resources include, but are not limited to, central processing units (CPUs), memory, bandwidth, graphics processing units (GPUs), and other resources.

[0052] Cloud service refers to obtaining required services through the Internet in an on-demand and easily scalable manner.

[0053] A cloud service instance is a collection of resources obtained through a cloud service. A cloud service instance can be a virtual machine, container, or other form factor.

[0054] Heterogeneous services refer to cloud services with different computing resource ratios. For example, a virtual machine with a central processing unit (CPU) memory ratio of 1:2 and a virtual machine with a CPU memory ratio of 1:4 are heterogeneous services. The types of cloud services described in this application can be infrastructure as a service (IaaS), platform-as-a-service (PaaS), software-as-a-service (SaaS), function as a service (FaaS), etc. As long as the proportion of server computing resources they occupy is different, they can be considered heterogeneous services.

[0055] A co-located resource pool refers to a scenario where two or more heterogeneous services are deployed together within the same physical resource pool. Figure 1 illustrates a co-located resource pool scenario. As shown in Figure 1 (a), multiple cloud services are deployed within the physical resource pool. The computing resources allocated to each cloud service are shown in Figure 1 (b).

[0056] Resource pool unification refers to a deployment method in which multiple resource pools that are managed by a single operation department and provide resources to different types of cloud services are mixed and deployed in the same physical resource pool for operation and management.

[0057] Capacity planning involves allocating computing resources within a colocation resource pool for different types of heterogeneous services to avoid resource squeezes between them.

[0058] In a single-location resource pool (a resource pool that provides resources to only one type of cloud service), the remaining available resources for that type of cloud service can be simply calculated by subtracting the allocated resources from the total computing resources in the resource pool. However, in a co-location resource pool, since the resource pool provides resources to multiple types of cloud services, subtracting the allocated resources from the total computing resources in the resource pool only yields the remaining computing resources in the resource pool. It is impossible to assess how much resources can be allocated to each type of cloud service. This can lead to resource squeezes between heterogeneous services. For example, if excess resources are allocated to one type of cloud service, there will be insufficient resources for other types of cloud services. This ultimately leads to unstable resource expectations for each type of cloud service instance, posing operational challenges for cloud service instances.

[0059] Although existing cloud computing providers support tenants customizing service specifications, or support tenants customizing whether private resource pools can be co-located, they still only provide the function of querying the remaining computing resources of the host. They lack scientific management methods and management tools, and are unable to know the remaining amount of computing resources that can be issued to various types of cloud service instances.

[0060] Currently, when tenants deploy heterogeneous services (also known as colocation) in their private resource pools, it's difficult to balance the placement of computing resources across multiple dimensions. This can lead to an overabundance of computing resources allocated to one type of cloud service, while leaving other types underutilized. This can cause uneven utilization of computing resources and resource runs in colocation. Tenant-defined service rules can exacerbate these resource imbalances and resource runs, which can further lead to unstable cloud service instance provisioning expectations, creating a vicious cycle that weakens the risk resilience of colocation resource pools and increases operational costs.

[0061] Based on this, the present application provides a method for creating a service instance, in which the physical resource pool is abstracted into multiple logical resource pools, and a logical resource pool is used to provide a type of cloud service instance. The internal operation of the logical resource pool can be similar to that of a single unit. In this way, according to the amount of resources already issued in the logical resource pool, it is possible to know how much computing resources can be issued to the corresponding type of cloud service instance, thereby ensuring the stability of resource expectations for each type of cloud service instance in the mixed resource pool; in the balanced consideration of the multi-dimensional setting items, each logical resource pool corresponds to the number of allocated computing resources, and heterogeneous services correspond to different logical resource pools, thereby ensuring balanced utilization of computing resources in the mixed resource pool, and avoiding resource runs between heterogeneous services. Therefore, the solution provided by the present application realizes the operation and management after heterogeneous services are deployed in a physical resource pool, improves the resource pool's weak risk resistance, and reduces operating costs.

[0062] For example, the principle of the solution provided by the present application can be shown in Figure 2. The physical resource pool provided by the X-type physical machine is abstracted into multiple logical resource pools of different types, and the multiple logical resource pools are used to provide different types of cloud service instances.

[0063] The solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0064] The solution provided in this application can be applied to the cloud management platform shown in Figure 3. As shown in Figure 3, the cloud management platform includes a management device 301, a data center 302, and a scheduler 303. The cloud management platform is used to manage the physical resource pools of tenants.

[0065] Data center 302 includes multiple physical machines 3021. The computing resources of data center 302 are provided by these physical machines 3021. These computing resources form a resource pool. Data center 302 can deploy at least two different types of cloud services, known as heterogeneous services. The resource pool formed by data center 302 is called a co-location resource pool.

[0066] Illustratively, the resource pool of the data center 302 may be a public cloud resource pool, a private cloud resource pool, or a dedicated resource pool, which is not limited in the embodiments of the present application.

[0067] The management device 301 , the data center 302 , and the multiple physical machines 3021 included in the data center 302 are connected via a network.

[0068] The management device 301 is used to manage and operate the resource pool formed by the data center 302. The resource pool management system 304 is deployed on the management device 301. Tenants operate the resource pool management system 304 to control the management device 301 and manage and operate the resource pool formed by the data center 302.

[0069] The scheduler 303 is used to receive a service request for creating a cloud service instance initiated by a tenant, and create the cloud service instance using computing resources in the data center 302 according to the service request.

[0070] For example, the architecture of the cloud management platform shown in FIG3 can add or reduce network elements according to actual needs. The embodiments of the present application are not limited to this, and FIG3 is only for illustration.

[0071] Exemplarily, the management device 301 can execute the solution provided in this application, abstract the physical resource pool into multiple logical resource pools, and the multiple logical resource pools are used to provide different types of cloud service instances, and manage and operate the resource pool of the data center 302. The specific management process can be referred to the description of the subsequent method embodiments and will not be repeated here.

[0072] In one aspect, an embodiment of the present application provides a computing device 400. The computing device 400 may be the management device 301 or the scheduler 303 shown in FIG. 2 or FIG. 3 .

[0073] As shown in Figure 4, computing device 400 may include a bus 402, a processor 404, a memory 406, and a communication interface 408. Processor 404, memory 406, and communication interface 408 communicate with each other via bus 402. Computing device 400 may be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 400.

[0074] Bus 402 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG4 illustrates a single bus line, but this does not imply a single bus or type of bus. Bus 404 may include a path for transmitting information between various components of computing device 400 (e.g., memory 406, processor 404, and communication interface 408).

[0075] The processor 404 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0076] The memory 406 may include volatile memory, such as random access memory (RAM). The processor 404 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0077] The communication interface 403 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 100 and other devices or a communication network.

[0078] In one possible implementation, the memory 406 stores executable program code, and the processor 404 executes the executable program code to implement the following functions:

[0079] Receive a service request from a tenant, where the service request is used to create a target cloud service instance using computing resources in a physical resource pool. The physical resource pool is configured as multiple logical resource pools. The multiple logical resource pools are used to provide different types of cloud service instances. Each type of cloud service instance requires a different proportion of computing resources, including CPU and memory. In response to the service request, determine a target logical resource pool that matches the type of the target cloud service instance from the multiple logical resource pools in the physical resource pool. Create the target cloud service instance using the computing resources in the target logical resource pool.

[0080] In another possible implementation, the memory 406 stores executable program code, and the processor 404 executes the executable program code to implement the following functions:

[0081] Receive tenant-entered configuration items regarding physical resource pools, where the configuration items are used to indicate multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool; configure the physical resource pool into multiple logical resource pools based on the configuration items.

[0082] On the other hand, an embodiment of the present application provides a method for creating a cloud service instance, which is applied to a cloud management platform (such as the cloud management platform shown in Figure 3), and the cloud management platform is used to manage the physical resource pool of the tenant. The physical resource pool deploys multiple types of cloud service instances (heterogeneous services) with different computing resource ratios, that is, the physical resource pool is a mixed resource pool. When the physical resource pool is a mixed resource pool, that is, the physical resource pool is used to provide multiple different types of cloud service instances.

[0083] As shown in FIG5 , the method for creating a cloud service instance provided in an embodiment of the present application may include:

[0084] S501: The cloud management platform receives a service request from a tenant of a physical resource pool, where the service request is used to create a target cloud service instance.

[0085] The physical resource pool is configured as multiple logical resource pools, which are used to provide different types of cloud service instances. Each type of cloud service instance requires a different proportion of computing resources, including CPU and memory. Different logical resource pools are isolated from each other.

[0086] Furthermore, each logical resource pool can be isolated through software isolation.

[0087] Specifically, the cloud management platform can configure the physical resource pool into multiple logical resource pools according to actual needs.

[0088] For example, the specific configuration process can refer to the process of configuring the physical resource pool shown in Figure 6 below. Of course, the cloud management platform can also configure the physical resource pool into multiple logical resource pools in other ways, such as configuring the physical resource pool into multiple logical resource pools based on statically configured configuration items. The embodiment of this application does not limit the process of configuring the physical resource pool on the cloud management platform.

[0089] The service request may include a type identifier of the target cloud service instance. The specific form and content of the type identifier are not limited in this embodiment of the application.

[0090] In another possible implementation, the service request may include the computing resource requirements (eg, CPU-to-memory ratio) of the target cloud service instance, and different computing resource requirements indicate different types of cloud service instances.

[0091] S502: In response to the service request, the cloud management platform determines a target logical resource pool that matches the type of the target cloud service instance from multiple logical resource pools in the physical resource pool.

[0092] Specifically, the type of cloud service instance provided by each logical resource pool in the physical resource pool is the type of cloud service instance matched by the logical resource pool. Therefore, the target logical resource pool that matches the type of the target cloud service instance is the logical resource pool used to provide the type of the target cloud service instance.

[0093] S503: The cloud management platform uses the computing resources in the target logical resource pool to create a target cloud service instance.

[0094] Specifically, the cloud management platform can schedule computing resources in the target logical resource pool and create a target cloud service instance according to the configuration of the target cloud service instance indicated by the service request. The embodiments of the present application do not limit the creation process.

[0095] Exemplarily, the processes from S501 to S503 may be performed by a scheduler deployed in the cloud management platform (eg, scheduler 303 in FIG. 3 ).

[0096] Through the solution provided by this application, the physical resource pool is abstracted into multiple logical resource pools. A logical resource pool is used to provide one type of cloud service instance. The internal operation of the logical resource pool can be similar to that of a single unit. According to the amount of resources already issued in the logical resource pool, it is possible to know how much computing resources can be issued to the corresponding type of cloud service instance, thereby ensuring the stability of resource expectations of each type of cloud service instance in the mixed resource pool; in the balanced consideration of the multi-dimensional setting configuration items, the number of computing resources allocated to each logical resource pool, and heterogeneous services corresponding to different logical resource pools, can ensure balanced utilization of computing resources in the mixed resource pool, avoiding resource runs between heterogeneous services; therefore, the solution provided by this application realizes the operation and management after heterogeneous services are deployed in a physical resource pool, improves the risk resistance of the resource pool, and reduces operating costs.

[0097] Furthermore, an embodiment of the present application also provides a process for configuring a physical resource pool, as shown in FIG6 , which may include processes S601 and S602 .

[0098] S601. The cloud management platform receives configuration items about physical resource pools input by a tenant. The configuration items are used to indicate multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool.

[0099] The configuration items are used to indicate multiple logical resource pools, which are used to provide different types of cloud service instances.

[0100] For example, the cloud management platform can display a configuration interface to the tenant, which includes controls for inputting configuration items. The embodiment of this application does not limit the style and specific content of the configuration interface.

[0101] Among them, the configuration item is used to indicate multiple logical resource pools, which can be a number N, or an identifier of N logical resource pools, or other forms, which is not limited in this embodiment of the present application.

[0102] The number N of logical resource pools can be configured according to actual needs and input by the tenant, and is not limited in this embodiment of the present application.

[0103] For example, the number N of logical resource pools can be the number of cloud service instance types supported by the physical resource pool. A logical resource pool only provides computing resources to one type of cloud service. Different types of cloud service instances require different proportions of computing resources.

[0104] For example, one logical resource pool is used to provide one type of cloud service instance, and N logical resource pools are used to provide N types of cloud service instances. The number N of logical resource pools can be equal to the number of types of cloud service instances supported by the physical resource pool.

[0105] It is understood that the number of computing resources allocated to each logical resource pool refers to the number of various computing resources allocated to each logical resource pool. Computing resources may include CPU, memory, etc.

[0106] In one possible implementation, the configuration item indicates the number of computing resources allocated to each logical resource pool, but the specific location of the computing resources allocated to each logical resource pool in the physical resource pool (distributed in which physical hosts) is not limited by the configuration item.

[0107] In another possible implementation, the configuration item indicates not only the number of computing resources allocated to each logical resource pool but also the identifier of the physical machine corresponding to each logical resource pool. The physical machine identifier corresponding to each logical resource pool indicated by the configuration item indicates the physical machine to which the computing resources allocated to the logical resource pool belong.

[0108] Exemplarily, the configuration item may include the number of allocated computing resources corresponding to the first logical resource pool and the identifier of the physical machine: CPU 20 of physical machine 1, memory 200 of physical machine 2.

[0109] Furthermore, the type of cloud service instance corresponding to each logical resource pool indicated by the configuration item is used to reflect the correspondence between the logical resource pool and the type of cloud service instance. A logical resource pool is used to provide a cloud service instance of its corresponding type.

[0110] For example, the configuration interface displayed to tenants by the cloud management platform may be as shown in Figure 7. The configuration interface shown in Figure 7 includes a configuration area, which includes controls 701 and 702. Control 701 is used to input the number N of logical resource pools and the number of computing resources allocated to each logical resource pool, while control 702 is used to input the type of cloud service instance corresponding to each logical resource pool.

[0111] The control shown in Figure 7 includes a drop-down box and an add icon. The drop-down box can be used to select specific input content, and the add icon allows the tenant to input the selected and / or input content into the management device.

[0112] For example, when a tenant clicks the arrow icon in the drop-down box included in control 701, the properties of a logical resource pool are displayed to the tenant. The tenant can manually enter the relevant content and then click the add icon in control 701 to complete the configuration of the properties of the logical resource pool. By repeatedly operating control 701, the tenant can complete the configuration of the properties of multiple logical resource pools, which is equivalent to entering the number N of logical resource pools, or equivalent to entering a configuration item indicating N logical resource pools.

[0113] For example, when a tenant clicks the arrow icon in the drop-down box included in control 702, the tenant will be presented with the properties of a cloud service instance. The tenant can manually enter the relevant information and then click the add icon in control 702 to add a mapping between a type of cloud service instance and a logical resource pool. By repeatedly operating control 702, the tenant can add mappings between multiple types of cloud service instances and logical resource pools.

[0114] Of course, FIG. 7 is only an example illustrating the content of a configuration interface. In actual applications, the content of the configuration interface and the style of the configuration interface can be configured according to actual needs.

[0115] S602. The cloud management platform configures the physical resource pool into multiple logical resource pools according to the configuration items.

[0116] Specifically, in S602, the cloud management platform configures the physical resource pool according to the configuration items obtained in S601, and divides it (logically) into multiple (N) logical resource pools indicated by the configuration items. During the division process, the number of computing resources corresponding to each logical resource pool indicated by the configuration items is allocated, and the resources contained in each logical resource pool are configured.

[0117] Furthermore, the cloud management platform also obtains the type of cloud service instance corresponding to each logical resource pool based on the configuration items, that is, it establishes a correspondence between the logical resource pool and the type of cloud service instance, so that after receiving a service request to create a cloud service instance, it can schedule resources from the logical resource pool corresponding to the type to create a cloud service instance.

[0118] Exemplarily, the process from S601 to S602 may be performed by a management device deployed in a cloud management platform (eg, the scheduler 301 in FIG. 3 ).

[0119] At this point, the cloud management platform has completed the configuration of the physical resource pool and abstracted the physical resource pool into multiple isolated logical resource pools.

[0120] Furthermore, the method for creating a cloud service instance provided by the present application also includes a process of repartitioning computing resources of the logical resource pool. For example, as shown in FIG8 , the method for creating a cloud service instance provided by the embodiment of the present application may further include S504 .

[0121] S504: After the trigger condition is met, the cloud management platform adjusts the quantity of computing resources allocated to at least one logical resource pool in the physical resource pool to increase the available quantity of cloud service instances of the first type.

[0122] The first type of cloud service instance is any one of the different types of cloud service instances provided by multiple logical resource pools in the physical resource pool.

[0123] The trigger condition is used to indicate the premise for performing resource reallocation. For example, the content of the trigger condition can be configured according to actual needs, and the embodiment of the present application is not limited to this.

[0124] In a possible implementation, the trigger condition may be input by the tenant.

[0125] In another possible implementation, the trigger condition may be static content configured in the management device.

[0126] Illustratively, the triggering conditions include one or more of the following: a preset time, a preset period, the provisionable quantity of the first type of cloud service instances being less than a first threshold, or the allocation rate of the second type of cloud service instances exceeding a second threshold. The second type of cloud service instance is any one of different types of cloud service instances provided by multiple logical resource pools in the physical resource pool.

[0127] The computing resource allocation ratio for a cloud service instance refers to the computing resource allocation ratio of the logical resource pool used to provide that type of cloud service instance. The computing resource allocation ratio for a logical resource pool refers to the ratio of computing resources allocated to cloud service instances in that logical resource pool to the total computing resources in that logical resource pool.

[0128] For example, the preset time may be X o'clock every day, and the preset period may be every Y hours, or every holiday.

[0129] Exemplarily, the fact that the provisionable quantity of the first type of cloud service instance is less than the first threshold value may be: the number of cores that can be provisioned of a certain type A cloud service instance is less than C cores.

[0130] Exemplarily, the allocation rate of the second type of cloud service instance exceeding the second threshold may be: the ratio of the number of issuable cores of a certain type A cloud service instance to the number of remaining cores in its corresponding logical resource pool exceeds D%.

[0131] Of course, the specific content of the triggering condition can be configured according to actual needs, and the embodiments of the present application are not limited to this.

[0132] Furthermore, the trigger conditions can be configured with corresponding redistribution constraints. When the redistribution constraints are met, the cloud management platform performs the resource redistribution operation. When the redistribution constraints are not met, a reminder message is output to remind the tenant that the trigger conditions are met but the constraints are not met.

[0133] The repartition restriction condition may be input by the tenant, or may be pre-configured in the management device.

[0134] For example, the repartitioning restriction condition may be that the minimum interval is at least F days, or no more than H times within G days, or the number of hosts adjusted in a single replanning is no more than I.

[0135] Of course, the re-division restriction conditions corresponding to the trigger conditions can be configured according to actual needs, and the embodiments of the present application are not limited to this.

[0136] In one possible implementation, the method for creating cloud service resources provided by the embodiment of the present application may further include: the cloud management platform receiving trigger conditions and / or re-partitioning restriction conditions input by the tenant.

[0137] Exemplarily, the tenant may input trigger conditions and / or repartition restriction conditions in a configuration interface displayed by the management device.

[0138] For example, the configuration interface displayed by the management device to the tenant may be as shown in Figure 7. The configuration interface shown in Figure 7 includes a control 703. The control 703 is used to input trigger conditions and / or repartitioning restriction conditions.

[0139] For example, when the tenant clicks the arrow icon in the drop-down box included in control 703, the tenant can be presented with the contents of the trigger conditions and / or re-division restrictions that can be configured. The tenant can manually enter the relevant contents and then click the add icon in control 703 to complete the input of the trigger conditions and / or re-division restrictions. The tenant can complete the input of multiple trigger conditions and / or re-division restrictions by operating control 703 multiple times.

[0140] In one possible implementation, the method for creating a cloud service instance provided in the present application further includes: the cloud management platform receiving trigger conditions and capacity planning goals input by the tenant, and the capacity planning goals include: the highest available number of cloud service instances of the first type.

[0141] Correspondingly, in S504, after the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool. Specifically, it can be implemented as follows: after the trigger condition is met, the cloud management platform performs mathematical modeling and solves according to the capacity planning target to obtain a resource allocation plan; according to the resource allocation plan, adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool.

[0142] The capacity planning target is used to indicate the performance of the physical resource pool, and the capacity planning target is a standard that must be met for resource redistribution.

[0143] Exemplarily, the capacity planning objective includes maximizing the provisioning capacity of the first type of cloud service instances, which means prioritizing ensuring the optimal provisioning capacity of the first type of cloud service instances. The first type can be configured based on actual needs and is not limited in this embodiment of the present application. Specifically, after mathematical modeling is performed according to the capacity planning objective, a resource configuration solution is solved that maximizes the provisioning capacity of the first type of cloud service instances within the mathematical model.

[0144] The optimal distribution amount can be understood as the distribution amount being within an ideal range, or the computing resource allocation rate being within an ideal range. The value of the range can be configured according to actual needs and is not limited in the present embodiment.

[0145] Of course, the specific content of the capacity planning target can be configured according to actual needs, and the embodiments of the present application are not limited to this.

[0146] For example, a tenant may input a capacity planning target in a configuration interface.

[0147] For example, the configuration interface displayed by the cloud management platform to the tenant may be as shown in Figure 7. The configuration interface shown in Figure 7 includes a control 704. The control 704 is used to input the capacity planning target.

[0148] For example, when a tenant clicks the arrow icon in the drop-down box included in control 704, the tenant is presented with the content of the capacity planning objectives that can be configured. The tenant can manually enter the relevant content and then click the add icon in control 704 to complete the entry of the capacity planning objective. The tenant can complete the entry of multiple capacity planning objectives by repeatedly operating control 704.

[0149] In a possible implementation, the method for creating a cloud service instance provided in the present application further includes: the cloud management platform receiving capacity planning constraint conditions input by the tenant.

[0150] The capacity planning constraint condition is used to indicate the impact on the performance of the physical resource pool before and after the adjustment.

[0151] Illustratively, the capacity planning constraint conditions include one or more of the following: the number of physical hosts whose resource allocations are adjusted does not exceed a third threshold, and the change in the provisioning capacity of the third type of cloud service instance between two consecutive adjustments does not exceed a fourth threshold. The third type of cloud service instance is any one of the different types of cloud service instances described above.

[0152] Of course, the specific content of the capacity planning restriction conditions can be configured according to actual needs, and the embodiments of the present application are not limited to this.

[0153] Accordingly, in S504, after the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool. Specifically, this can be implemented as follows: after the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool according to the capacity planning constraint. The adjustment process satisfies the capacity planning constraint.

[0154] Exemplarily, the tenant may input capacity planning constraints in a configuration interface displayed on the cloud management platform.

[0155] For example, the configuration interface displayed by the management device to the tenant may be as shown in Figure 7. The configuration interface shown in Figure 7 includes a control 705. The control 705 is used to input capacity planning constraint conditions.

[0156] For example, when a tenant clicks the arrow icon in the drop-down box included in control 705, the tenant is presented with the content of the capacity planning constraints that can be configured. The tenant can manually enter the relevant content and then click the add icon in control 705 to complete the entry of the capacity planning constraints. The tenant can complete the entry of multiple capacity planning constraints by repeatedly operating control 705.

[0157] Through the resource reallocation process provided in this application, the physical resource pool is always in a stable and balanced operating state.

[0158] In a possible implementation, the method for creating a cloud service instance provided by the present application may further include a process of visual display. As shown in FIG8 , the method for creating a cloud service instance provided by the embodiment of the present application may further include S505 .

[0159] S505. The cloud management platform provides a visual interface.

[0160] The visualization interface is used to display the values ​​of observation indicators of a physical resource pool and / or the values ​​of observation indicators of multiple logical resource pools.

[0161] The observed indicator may be a performance indicator of a physical resource pool or a logical resource pool.

[0162] Exemplarily, the observation indicators of the physical resource pool include one or more of the following indicators: the number of types of cloud service instances provided by the physical resource pool, the total amount of computing resources in the physical resource pool, the number of unissued computing resources of the physical resource pool, the number of issued computing resources of the physical resource pool, and the allocation rate of computing resources of the physical resource pool.

[0163] The allocation rate of computing resources in a physical resource pool refers to the ratio of the computing resources in the physical resource pool that have been allocated to cloud service instances to the total number of computing resources in the physical resource pool.

[0164] Exemplarily, the observation indicators of multiple logical resource pools include one or more of the following indicators: the total amount of computing resources in each logical resource pool, the number of unissued computing resources in each logical resource pool, the number of issued computing resources in each logical resource pool, and the allocation rate of computing resources in each logical resource pool.

[0165] Specifically, in S505 , the cloud management platform may obtain the value of the observation indicator in real time or periodically and display it in a visualization interface.

[0166] In one possible implementation, the observation indicator may be a pre-configured indicator.

[0167] In another possible implementation, the observed indicator is an indicator input by the tenant.

[0168] For example, the tenant can add observation indicators at any time. Alternatively, the tenant can delete observation indicators at any time.

[0169] In a possible implementation, the method for creating a cloud service instance provided by an embodiment of the present application may further include: the cloud management platform receives an add operation from a tenant, where the add operation is used to input an observation indicator.

[0170] For example, the visualization interface provided by the cloud management platform to the tenant may be as shown in Figure 9. The visualization interface shown in Figure 9 includes a display area 901 in which the current value of each observation indicator is displayed.

[0171] The visualization interface shown in FIG9 also includes a control 902 for adding an observation indicator.

[0172] For example, when a tenant clicks the arrow icon of the drop-down box included in control 902, a list of selectable observation indicators is displayed to the tenant. The tenant can manually select a visualization indicator and then click the add icon of control 902 to add the observation indicator. The tenant can add multiple observation indicators by repeatedly operating control 902.

[0173] For example, the tenant performs a selection operation (such as a click operation) on each observation indicator displayed in the visual interface. After receiving the tenant's selection operation on a certain observation indicator, the cloud management platform displays a control menu for the observation indicator. The control menu includes control options for the observation indicator (such as a delete option, a hide option, etc.). The cloud management platform performs the operation indicated by the control option (such as delete or hide) on the observation indicator based on the tenant's selection of the control option.

[0174] Figure 10 illustrates the working principle of the solution provided by this application. As shown in Figure 10, the cloud management platform includes a capacity planning module, a resource expectation module, and a visual monitoring module. The cloud management platform is used to manage and configure computing resources in the physical resource pool based on the tenant's configuration.

[0175] Tenants input the configuration of the logical resource pool, cloud service instance, trigger conditions, constraints, capacity planning goals, and other content. The logical resource pool configuration and cloud service instance configuration are processed by the capacity planning module, which then configures resources for the physical resource pool. The capacity planning module transmits the trigger conditions, constraints, capacity planning goals, and other content to the resource expectation module. The resource expectation module evaluates resource expectations based on the status of the physical resource pool, determines the expectations for different types of cloud service instances (how much resources can be allocated), and outputs them. The visual monitoring module displays a visual interface to tenants based on the status of the physical resource pool (obtained through queries).

[0176] Through the visualization process provided by this application, black box management is avoided.

[0177] The above mainly introduces the solution provided by the embodiment of the present invention from the perspective of the working principle of the cloud management platform. It can be understood that in order to realize the above functions, the cloud management platform, etc. includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0178] In the embodiment of the present invention, the functional modules of the cloud management platform can be divided according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical functional division. In actual implementation, other division methods may be used.

[0179] The present application also provides a device 110 for creating a cloud service instance. As shown in FIG11 , the device 110 for creating a cloud service instance may include: a receiving unit 1101 , a determining unit 1102 , and a creating unit 1103 .

[0180] Receiving unit 1101 is used to receive a tenant's service request, where the service request is used to create a target cloud service instance using computing resources in a physical resource pool. The physical resource pool is configured as multiple logical resource pools, which are used to provide different types of cloud service instances. Each type of cloud service instance requires a different proportion of computing resources, which include CPU and memory.

[0181] The determining unit 1102 is configured to determine, in response to a service request, a target logical resource pool that matches the type of the target cloud service instance from a plurality of logical resource pools in the physical resource pool.

[0182] The creation unit 1103 is configured to create a target cloud service instance by utilizing computing resources in the target logical resource pool.

[0183] The receiving unit 1101, the determining unit 1102, and the creating unit 1103 can all be implemented by software or hardware. For example, the implementation of the determining unit 1102 will be described below using the determining unit 1102 as an example. Similarly, the implementation of the receiving unit 1101 and the creating unit 1103 can refer to the implementation of the determining unit 1102.

[0184] As an example of a software functional unit, the module determines that unit 1102 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, module A may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.

[0185] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0186] As an example of a hardware functional unit, module A may include at least one computing device, such as a server. Alternatively, determining unit 1102 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0187] The multiple computing devices included in the determination unit 1102 can be distributed in the same region or in different regions. The multiple computing devices included in the determination unit 1102 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the determination unit 1102 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0188] It should be noted that, in other embodiments, receiving unit 1101 is used to execute process S501 in Figure 5 or Figure 8; determining unit 1102 is used to execute process S502 in Figure 5 or Figure 8; and creating unit 1103 is used to execute process S503 in Figure 5 or Figure 8. The steps that receiving unit 1101, determining unit 1102, and creating unit 1103 are responsible for implementing can be specified as needed. By having receiving unit 1101, determining unit 1102, and creating unit 1103 respectively implement different steps in the method for creating a cloud service instance provided in Figure 5 or Figure 8, the full functionality of the device for creating a cloud service instance is realized.

[0189] On the other hand, the memory 406 of the computing device 400 shown in FIG. 4 provided herein stores executable program code, and the processor 404 executes the executable program code to implement the functions of the aforementioned determining unit 1102 and creating unit 1103, respectively, thereby implementing the method for creating a cloud service instance illustrated in FIG. 5 or FIG. 8 . In other words, the memory 406 stores instructions for executing the method for creating a cloud service instance illustrated in FIG. 5 or FIG. 8 .

[0190] In another aspect, an embodiment of the present application further provides a computing device cluster as shown in FIG12 . The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.

[0191] As shown in Figure 12, the computing device cluster includes at least one computing device 400. The memory 406 in one or more computing devices 400 in the computing device cluster may store the same instructions for executing the method for creating a cloud service instance as shown in Figure 5 or Figure 8.

[0192] In some possible implementations, the memory 406 of one or more computing devices 400 in the computing device cluster may also store partial instructions for executing the method for creating a cloud service instance illustrated in FIG5 or FIG8 . In other words, the combination of one or more computing devices 400 may jointly execute instructions for executing the method for creating a cloud service instance illustrated in FIG5 or FIG8 .

[0193] It should be noted that the memory 406 in different computing devices 400 in the computing device cluster may store different instructions, each for executing a portion of the functions of the apparatus 110 for creating a cloud service instance. In other words, the instructions stored in the memory 406 in different computing devices 400 may implement the functions of one or more modules in the determining unit 1102 and the creating unit 1103.

[0194] In some possible implementations, one or more computing devices 400 in a computing device cluster may be connected via a network. The network may be a wide area network (WAN) or a local area network (LAN), among others. FIG. 13 illustrates a possible implementation. As shown in FIG. 13 , two computing devices 400A and 400B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 406 in the computing device 400A stores instructions for executing the functions of the determination unit 1102. Simultaneously, the memory 406 in the computing device 400B stores instructions for executing the functions of the creation unit 1103.

[0195] The connection method between the computing device clusters shown in Figure 13 can be considered to be that the method for creating a cloud service instance provided by this application requires a large amount of data storage, so it is considered to hand over the functions implemented by the creation unit 1103 to the computing device 400B for execution.

[0196] It should be understood that the functionality of the computing device 400A shown in FIG13 may also be accomplished by multiple computing devices 400. Similarly, the functionality of the computing device 400B may also be accomplished by multiple computing devices 400.

[0197] In another aspect, embodiments of the present application further provide a computer program product comprising instructions. The computer program product may be software or a program product comprising instructions that can be executed on a computing device or stored on any available medium. When the computer program product is executed on at least one computing device, the at least one computing device executes the method for creating a cloud service instance as illustrated in FIG. 5 or FIG. 8 .

[0198] On the other hand, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive), etc. The computer-readable storage medium includes instructions that instruct the computing device to execute the method for creating a cloud service instance illustrated in Figure 5 or Figure 8 above, or instruct the computing device to execute the method for creating a cloud service instance illustrated in Figure 5 or Figure 8 above.

[0199] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for creating a cloud service instance, characterized in that: The method is applied to a cloud management platform, and the cloud management platform is used to manage a tenant's physical resource pool. The method includes: The cloud management platform receives a service request from the tenant, wherein the service request is used to create a target cloud service instance using computing resources in the physical resource pool, wherein the physical resource pool is configured as a plurality of logical resource pools, and wherein the plurality of logical resource pools are used to provide different types of cloud service instances, and each type of cloud service instance requires a different proportion of computing resources, and the computing resources include a central processing unit (CPU) and memory; The cloud management platform determines, in response to the service request, a target logical resource pool that matches the type of the target cloud service instance from a plurality of logical resource pools of the physical resource pool; The cloud management platform creates the target cloud service instance using the computing resources in the target logical resource pool.

2. The method according to claim 1, characterized in that The method further comprises: After the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool to increase the amount of cloud service instances of the first type that can be issued, and the first type of cloud service instances is any one of the different types of cloud service instances.

3. The method according to claim 2, characterized in that The trigger condition includes one or more of the following: a preset time, a preset period, the issuable amount of the first type of cloud service instance is less than a first threshold, the allocation rate of the second type of cloud service instance exceeds a second threshold, and the second type of cloud service instance is any one of the different types of cloud service instances.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: The cloud management platform receives the trigger condition and capacity planning target input by the tenant, where the capacity planning target includes: the maximum number of cloud service instances of the first type that can be issued.

5. The method according to claim 4, characterized in that After the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool, including: After the trigger condition is met, the cloud management platform performs mathematical modeling and solves according to the capacity planning target to obtain a resource allocation plan; According to the resource configuration scheme, the quantity of computing resources allocated to at least one logical resource pool in the physical resource pool is adjusted.

6. The method according to any one of claims 2 to 5, characterized in that The method further comprises: The cloud management platform receives a capacity planning constraint condition input by the tenant, wherein the capacity planning constraint condition includes one or more of the following: the number of physical hosts whose resource allocation is adjusted does not exceed a third threshold, and the change in the provisionable quantity of the third type of cloud service instance between two adjacent adjustments does not exceed a fourth threshold, wherein the third type of cloud service instance is any one of the different types of cloud service instances; After the trigger condition is met, the cloud management platform adjusts the number of computing resources allocated to at least one logical resource pool in the physical resource pool, including: After the trigger condition is met, the cloud management platform adjusts the quantity of computing resources allocated to at least one logical resource pool in the physical resource pool according to the capacity planning restriction condition.

7. The method according to any one of claims 1 to 6, characterized in that Before the cloud management platform receives the service request, the method further includes: The cloud management platform receives a configuration item about the physical resource pool input by the tenant, where the configuration item is used to indicate the multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool; The cloud management platform configures the physical resource pool into the multiple logical resource pools according to the configuration items.

8. The method according to claim 7, characterized in that The configuration item is also used to indicate: an identifier of a physical host corresponding to each logical resource pool in the physical resource pool.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Providing a visualization interface, the visualization interface is used to display the values ​​of the observation indicators of the physical resource pool and / or the values ​​of the observation indicators of the multiple logical resource pools; The observation indicators of the physical resource pool include one or more of the following indicators: the number of types of cloud service instances provided by the physical resource pool, the total amount of computing resources in the physical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources; The observation indicators of the multiple logical resource pools include one or more of the following indicators: the total amount of computing resources in each logical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources.

10. A device for creating a cloud service instance, characterized in that: The device is deployed on a cloud management platform, and the cloud management platform is used to manage the physical resource pool of the tenant. The device includes: a receiving unit, configured to receive a service request from the tenant, wherein the service request is used to create a target cloud service instance using computing resources in the physical resource pool, wherein the physical resource pool is configured as a plurality of logical resource pools, and wherein the plurality of logical resource pools are used to provide different types of cloud service instances, and each type of cloud service instance requires a different proportion of computing resources, and the computing resources include a central processing unit (CPU) and memory; a determining unit, configured to determine, in response to the service request, a target logical resource pool that matches the type of the target cloud service instance from a plurality of logical resource pools of the physical resource pool; The creation unit is used to create the target cloud service instance by using the computing resources in the target logical resource pool.

11. The device according to claim 10, characterized in that The device also includes a configuration unit, configured to: After the trigger condition is met, the number of computing resources allocated to at least one logical resource pool in the physical resource pool is adjusted to increase the amount of cloud service instances of the first type that can be issued, where the first type of cloud service instances is any one of the different types of cloud service instances.

12. The device according to claim 11, characterized in that The trigger condition includes one or more of the following: a preset time, a preset period, the issuable amount of the first type of cloud service instance is less than a first threshold, the allocation rate of the second type of cloud service instance exceeds a second threshold, and the second type of cloud service instance is any one of the different types of cloud service instances.

13. The device according to claim 11 or 12, characterized in that The receiving unit is also used for: The trigger condition and capacity planning target input by the tenant are received, where the capacity planning target includes: the maximum number of cloud service instances of the first type that can be issued is the highest.

14. The device according to claim 13, characterized in that The configuration unit is specifically used for: After the trigger condition is met, mathematical modeling is performed and solved according to the capacity planning target to obtain a resource allocation plan; According to the resource configuration scheme, the quantity of computing resources allocated to at least one logical resource pool in the physical resource pool is adjusted.

15. The device according to any one of claims 11 to 14, characterized in that The receiving unit is further used to: receive a capacity planning restriction condition input by the tenant, wherein the capacity planning restriction condition includes one or more of the following: the number of physical hosts whose resource allocation is adjusted does not exceed a third threshold, and the change in the provisionable amount of the third type of cloud service instance between two adjacent adjustments does not exceed a fourth threshold, wherein the third type of cloud service instance is any one of the different types of cloud service instances; The configuration unit is specifically configured to adjust the number of computing resources allocated to at least one logical resource pool in the physical resource pool according to the capacity planning restriction condition after the trigger condition is met.

16. The device according to any one of claims 10 to 15, characterized in that The receiving unit is further used to: before receiving the service request, receive a configuration item about the physical resource pool input by the tenant, the configuration item being used to indicate the multiple logical resource pools, the number of computing resources allocated to each logical resource pool, and the type of cloud service instance corresponding to each logical resource pool; The device also includes a configuration unit, configured to configure the physical resource pool into the multiple logical resource pools according to the configuration items.

17. The device according to claim 16, characterized in that The configuration item is also used to indicate: an identifier of a physical host corresponding to each logical resource pool in the physical resource pool.

18. The device according to any one of claims 10 to 17, characterized in that The device also includes: A display unit, configured to provide a visualization interface, wherein the visualization interface is configured to display the values ​​of the observation indicators of the physical resource pool and / or the values ​​of the observation indicators of the plurality of logical resource pools; The observation indicators of the physical resource pool include one or more of the following indicators: the number of types of cloud service instances provided by the physical resource pool, the total amount of computing resources in the physical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources; The observation indicators of the multiple logical resource pools include one or more of the following indicators: the total amount of computing resources in each logical resource pool, the number of unissued computing resources, the number of issued computing resources, and the allocation rate of computing resources.

19. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 9.

20. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 9.

21. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 9.