Exclusive host configuration method and device of public cloud technology

By supporting virtual instance specifications of multiple performance levels on the cloud management platform and deploying virtual instances of multiple performance levels on the same dedicated host, the problem of poor resource use flexibility in the prior art is solved, and higher resource utilization and performance stability are achieved.

CN119865494APending Publication Date: 2025-04-22HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410125550.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-20
Filing Date
2024-01-29
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In existing cloud service technologies, tenants pay more attention to cloud performance, but existing deployment methods lead to poor resource use flexibility and it is difficult to meet the demands of tenants' different performance instances.

Method used

The cloud management platform provides a dedicated host configuration method for public cloud technology, supports virtual instance specifications of multiple performance levels, allows the deployment of virtual instances of multiple performance levels on the same dedicated host, and ensures performance stability and resource utilization by controlling the specifications and number of virtual instances.

Benefits of technology

It improves the flexibility of using exclusive host resources, meets the differentiated resource performance demands of tenants in different scenarios, fully taps the hardware potential of exclusive hosts, improves resource utilization, and ensures the performance stability of virtual instances.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865494A_ABST
    Figure CN119865494A_ABST
Patent Text Reader

Abstract

The invention discloses an exclusive host configuration method and device of a public cloud technology, and belongs to the technical field of cloud services. The method is performed by a cloud management platform that manages a plurality of exclusive hosts. The plurality of exclusive hosts are divided into a plurality of types. The method comprises the steps that a cloud management platform displays the specifications and the corresponding number of virtual examples supported by each type of exclusive hosts, wherein the specifications of the virtual examples supported by the exclusive hosts comprise the specifications of the virtual examples supporting multiple performance levels; the cloud management platform selects a target exclusive host from a plurality of exclusive hosts based on the identifier of the target exclusive host indicated by the virtual instance creation request of the tenant, creates a target virtual instance on the target exclusive host, and prohibits the virtual instances of other tenants except for the tenant renting outdoors from being created or operated on the target exclusive host; the specification of the target virtual instance belongs to one of specifications of virtual instances supporting multiple performance levels. According to the application, the flexibility of using the resources of the exclusive host is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application No. 202311371237.6, filed on October 20, 2023, with invention name “Cloud Service Providing Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of cloud service technology, and in particular to a method and device for configuring a dedicated host of a public cloud technology. Background Art

[0003] In the field of cloud service technology, as the demand for high-performance computing on the cloud continues to increase, tenants are paying more and more attention to cloud performance.

[0004] At present, in order to meet the different performance instance requirements of tenants, major cloud vendors usually deploy instances with different main frequencies in different physical resource pools, and the main frequencies of instances in the same physical resource pool are the same.

[0005] Although this deployment method can also meet the requirements of different performance instances, its resource usage flexibility is poor. Summary of the invention

[0006] The present application provides a method and device for configuring a dedicated host in a public cloud technology. The present application improves the flexibility of using resources of a dedicated host. The technical solution provided by the present application is as follows:

[0007] In a first aspect, the present application provides a method for configuring a dedicated host of a public cloud technology. The method is performed by a cloud management platform. The cloud management platform is used to manage the infrastructure that provides public cloud services. The infrastructure includes multiple dedicated hosts. The multiple dedicated hosts are divided into multiple types. The method includes: the cloud management platform displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, and the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels; the cloud management platform obtains a virtual instance creation request of a tenant, and the virtual instance creation request is used to indicate the specifications of the target virtual instance to be created and the identifier of the target dedicated host, wherein the specifications of the target virtual instance belong to one of the specifications of the virtual instance supporting multiple performance levels; the cloud management platform selects a target dedicated host from multiple dedicated hosts based on the identifier of the target dedicated host, and creates a target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request, and virtual instances of other tenants except the tenant are prohibited from being created or run on the target dedicated host.

[0008] In this way, since the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels, virtual instances of multiple performance levels can be deployed on the same dedicated host, which can meet the tenants' demands for differentiated resource performance in different scenarios, support tenants to customize virtual instances of different performance levels, and improve the flexibility of using the resources of the dedicated host. In addition, by issuing virtual instances of different performance levels in the same dedicated host, the hardware potential of the dedicated host can be fully tapped and the resource utilization rate of the dedicated host can be improved. At the same time, by controlling the number of specifications corresponding to virtual instances of multiple performance levels, the performance of the virtual instances deployed on the dedicated host can be guaranteed, and there can be no performance interference between different virtual instances. For example, by controlling the virtual instances created in the dedicated host to be within the range of the specifications and corresponding numbers of virtual instances of multiple performance levels supported by the dedicated host, it can be ensured that the hardware thermal power consumption protection mechanism of the dedicated host will not be triggered, thereby ensuring that the high-performance virtual instances are not down-clocked, and the stability of the performance of the virtual instances can be guaranteed.

[0009] In one possible implementation, the method also includes: the cloud management platform obtains the tenant's target dedicated host creation request, the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant; the cloud management platform marks the target dedicated host as belonging to the tenant according to the target dedicated host creation request, provides the identifier of the target dedicated host to the tenant, and prohibits virtual instances of tenants other than the tenant from being created or run on the target dedicated host.

[0010] Since the specifications of the virtual instances supported by the dedicated host in this application include specifications for virtual instances supporting multiple performance levels, the tenant's target dedicated host creation request is obtained through the source management platform, and the target dedicated host is marked as belonging to the tenant based on the target dedicated host creation request, so that the tenant can select the required dedicated host based on business needs and customize the required host hardware configuration to meet the tenant's demands for performance differentiation in different application scenarios.

[0011] In a possible implementation, after the cloud management platform initially obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, it can also update the specifications and corresponding quantities of virtual instances supported by each type of dedicated host in the subsequent operation process, and display the updated specifications and corresponding quantities to ensure that the specifications and corresponding quantities of virtual instances supported by the dedicated host can be accurately displayed to the tenant. The method also includes: the cloud management platform evaluates multiple dedicated hosts, and updates and displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0012] In a possible implementation, the plurality of dedicated hosts include servers whose service life exceeds a specified period, so that the performance of the old servers can be fully utilized and the resource utilization rate of the old servers can be improved.

[0013] In a possible implementation, the virtual instance includes a virtual machine or a container.

[0014] In a second aspect, the present application provides a dedicated host configuration device for public cloud technology. The device is configured on a cloud management platform. The cloud management platform is used to manage the infrastructure that provides public cloud services. The infrastructure includes multiple dedicated hosts. The multiple dedicated hosts are divided into multiple types. The device includes: an interaction module, which is used to display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, and the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels; the interaction module is also used to obtain a virtual instance creation request of a tenant, and the virtual instance creation request is used to indicate the specifications of the target virtual instance to be created and the identifier of the target dedicated host, wherein the specifications of the target virtual instance belong to one of the specifications of the virtual instance supporting multiple performance levels; a configuration module, which is used to select a target dedicated host from multiple dedicated hosts based on the identifier of the target dedicated host, and create a target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request, and virtual instances of other tenants except the tenant are prohibited from being created or run on the target dedicated host.

[0015] In a possible implementation, the interaction module is further used to obtain a target dedicated host creation request of the tenant, the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant. Correspondingly, the configuration module is further used to mark the target dedicated host as belonging to the tenant according to the target dedicated host creation request, provide the identifier of the target dedicated host to the tenant, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host.

[0016] In a possible implementation, the interaction module is further used to evaluate multiple dedicated hosts, and update and display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0017] In a possible implementation, the plurality of dedicated hosts include servers whose service life exceeds a specified period.

[0018] In a possible implementation, the virtual instance includes a virtual machine or a container.

[0019] In a third aspect, the present application provides a computing device including a memory and a processor, wherein the memory stores program instructions, and the processor runs the program instructions to execute the method provided in the first aspect of the present application and any possible implementation thereof.

[0020] In a fourth aspect, the present application provides a computing device cluster, including multiple computing devices, the multiple computing devices including multiple processors and multiple memories, the multiple memories storing program instructions, and the multiple processors running the program instructions, so that the computing device cluster executes the method provided in the first aspect of the present application and any possible implementation thereof.

[0021] In a fifth aspect, the present application provides a computer-readable storage medium, which is a non-volatile computer-readable storage medium, and the computer-readable storage medium includes program instructions. When the program instructions are executed on a computing device, the computing device executes the method provided in the first aspect of the present application and any possible implementation thereof.

[0022] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method provided in the first aspect of the present application and any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a structural diagram of an implementation environment involved in a dedicated host configuration method for a public cloud technology provided in an embodiment of the present application;

[0024] Figure 2 It is a flow chart of a dedicated host configuration method of a public cloud technology provided in an embodiment of the present application;

[0025] Figure 3 is a schematic diagram of a virtual instance configuration interface provided in an embodiment of the present application;

[0026] Figure 4 It is a schematic diagram of a dedicated host provided by an embodiment of the present application in which a high-performance virtual instance and a common performance virtual instance are deployed;

[0027] Figure 5 It is a flow chart of a cloud management platform provided in an embodiment of the present application for obtaining the specifications and corresponding quantities of virtual instances supported by each type of dedicated host;

[0028] Figure 6 It is a schematic diagram of a cloud management platform provided in an embodiment of the present application obtaining specifications of virtual instances supported by each type of dedicated host;

[0029] Figure 7It is a schematic diagram of adjusting the specifications of a virtual instance supported by a dedicated host provided in an embodiment of the present application;

[0030] Figure 8 It is a schematic diagram of a dedicated host configuration method of a public cloud technology provided by an embodiment of the present application implemented through multiple functional modules;

[0031] Fig. 9 It is a product presentation schematic diagram provided in an embodiment of the present application;

[0032] Fig.10 It is a schematic diagram of a dedicated host configuration device of a public cloud technology provided in an embodiment of the present application;

[0033] Fig.11 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0034] Fig.12 It is a structural diagram of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0036] To facilitate understanding, the technology and background involved in the embodiments of the present application are first explained below.

[0037] Cloud data center is based on the Internet network, providing operation and maintenance facilities and related service systems for centralized data collection, storage, processing and transmission equipment. Conceptually, it can be understood as a public commercial Internet "computer room". At the same time, it is also a professional service of information technology (IT) and an important infrastructure of the IT industry. Cloud data center is not only a service concept, but also a network concept. It constitutes a part of the network infrastructure, just like the backbone network and access network, providing a high-end data delivery service and high-speed access service.

[0038] A resource pool is a collection of various hardware resources and software resources involved in a cloud computing data center. Generally, by resource type, resources in a resource pool can be divided into computing resources, storage resources, and network resources.

[0039] Host (physical machine, PM): A physical resource used to carry virtualization technology. A host is also called a physical machine. Usually, a host used to deploy a virtual instance is a physical server. A physical machine has multiple physical devices. For example, a physical server has physical devices such as a processor and a memory. Multiple virtual instances can be deployed in a host, and multiple virtual instances deployed on the same host share the physical resources of the host. According to different usage scenarios, multiple virtual instances deployed in a host can belong to the same tenant or to different tenants.

[0040] Virtualization is a resource management technology. Virtualization can abstract and transform various physical resources of the host, such as computing resources, network resources and storage resources, to break the inseparable barriers between the physical structures of the host, so that tenants can use these resources in a better way than the original configuration. The resources obtained through virtualization are called virtualized resources, which are not restricted by the construction method, setting region or physical configuration of existing physical resources.

[0041] Virtualized resources are usually provided to tenants in the form of virtual instances. The hardware resources of a physical server can be used by one or more tenants at the granularity of a virtual instance. Different virtual instances are isolated from each other, allowing tenants to use physical resources conveniently and flexibly under the premise of secure isolation, and can greatly improve the utilization of physical resources. In this application, a virtual instance can be a virtual machine, a container, or an independent process (such as a function), etc. A virtual instance may also be called a cloud server (elastic compute service, ECS) or an elastic instance (different cloud service providers have different names).

[0042] A virtual machine (VM) is a complete computer system that runs in a completely isolated environment and has complete hardware system functions, simulated by software. Any work that can be done in a server can be done in a virtual machine. When creating a virtual machine in a server, part of the hard disk and memory capacity of the physical machine needs to be used as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent hard disk and operating system, and the tenants of the virtual machine can operate the virtual machine like using a server. The operating environments in different virtual machines (such as virtual machine applications, operating systems, and virtual hardware) are completely isolated, and communication between different virtual machines requires network messages to be forwarded through the virtual manager.

[0043] The container provides a lightweight virtual runtime environment. The container can be obtained by packaging all the code, libraries, and dependencies of the tenant's application into an image. When the image is executed, the image runs in the virtual runtime environment. At this time, the container is a runtime instance of the image, similar to a lightweight sandbox, which can be started, started, stopped, and deleted. The image does not share the host's memory, processor (such as the central processing unit (CPU)), and disk resources with other images, and implements container isolation between the image and the host, and between the image and other images, ensuring that the process in the container cannot monitor any process or resource outside the container. The infrastructure of the container can be the hardware of the server, or a virtual machine on the cloud (that is, containers can also be deployed in virtual machines). The operating system uses the Linux kernel and supports namespace and cgroup. Namespace is used to implement isolation between processes, and cgroup is used to implement the allocation of process resources. The resources are specifically virtual processors and memory allocated to the process. The container engine is similar to a virtual machine manager, running in the operating system to manage containers. Compared with the characteristics of virtual machines that come with operating systems, containers do not have operating systems. Containers run as processes in the host's operating system, so containers start faster than virtual machines. They are particularly suitable for lightweight applications, and a host can run thousands of containers (processes) at the same time.

[0044] However, when the hardware resources of a physical server are used by multiple tenants at the granularity of virtual instances, resource competition between different tenants will cause performance jitter when the virtualization overhead causes performance degradation. In this case, using a dedicated host is a better solution. A dedicated host (DeH) is a physical server used exclusively by one tenant. All resources of the cloud server created on a dedicated host are completely dedicated to the same tenant and are not available to other tenants. Dedicated hosts can meet tenants' requirements for computing isolation and performance, and support the bring-your-own-software licensing function.

[0045] At present, major cloud vendors usually deploy virtual instances with different main frequencies in different physical resource pools, and virtual instances deployed in the same physical resource pool have the same main frequency. Although this deployment method can meet tenants' demands for instances with different performance, its flexibility is poor. For example, as the main frequency demand changes, it is necessary to continuously purchase new physical hardware to create physical resource pools to meet the changing main frequency demand, resulting in high costs. Different types of virtual instances require more precise requirements for the construction and planning of resource pools. When the demands of different resource pools change, they need to expand or shrink capacity to meet the changing demands, and the implementation method is not flexible enough.

[0046] Based on this, an embodiment of the present application provides a method for configuring a dedicated host of a public cloud technology. The method is executed by a cloud management platform. The cloud management platform is used to manage the infrastructure that provides public cloud services. The infrastructure includes multiple dedicated hosts. The multiple dedicated hosts are divided into multiple types. In this method, the cloud management platform can display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, so that the tenant can trigger a virtual instance creation request based on it. After obtaining the virtual instance creation request of the tenant, the cloud management platform can select a target dedicated host from multiple dedicated hosts based on the identifier of the target dedicated host indicated by the virtual instance creation request, create a target virtual instance on the target dedicated host based on the specifications of the target virtual instance indicated by the virtual instance creation request, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host. Among them, the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels, the specifications of the target virtual instance belong to one of the specifications of virtual instances supporting multiple performance levels, and the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request.

[0047] In this way, since the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels, virtual instances of multiple performance levels can be deployed on the same dedicated host, which can meet the tenants' demands for differentiated resource performance in different scenarios, support tenants to customize virtual instances of different performance levels, and improve the flexibility of using the resources of the dedicated host. In addition, by issuing virtual instances of different performance levels in the same dedicated host, the hardware potential of the dedicated host can be fully tapped and the resource utilization rate of the dedicated host can be improved. At the same time, by controlling the number of specifications corresponding to virtual instances of multiple performance levels, the performance of the virtual instances deployed on the dedicated host can be guaranteed, and there can be no performance interference between different virtual instances. For example, by controlling the virtual instances created in the dedicated host to be within the range of the specifications and corresponding numbers of virtual instances of multiple performance levels supported by the dedicated host, it can be ensured that the hardware thermal power consumption protection mechanism of the dedicated host will not be triggered, thereby ensuring that the high-performance virtual instances are not down-clocked, and the stability of the performance of the virtual instances can be guaranteed.

[0048] This article provides a detailed introduction to the technical solution of the present application from multiple perspectives, including implementation scenarios, method flow, hardware devices, and software devices.

[0049] The following first describes an implementation scenario of the embodiment of the present application with examples.

[0050] Figure 1 Schematic diagram of the implementation environment of a dedicated host configuration method for a public cloud technology provided in an embodiment of the present application. Figure 1As shown, the implementation environment includes: data center 1 and client 2. A communication connection can be established between data center 1 and client 2 through a network. Optionally, the network can be the Internet or other networks, which is not limited in the embodiments of the present application. Tenants can interact with data center 1 through client 2. For example, tenants can send information such as cloud service requests to data center 1 through client 2. Data center 1 is used to respond based on the information sent by client 2 to data center 1.

[0051] A large amount of infrastructure owned by a cloud service provider is deployed in the data center 1, such as computing resources, storage resources, and network resources, etc. For example, computing resources may be computing devices (such as servers, etc.) that can provide computing capabilities. Figure 1 Schematic diagram of a server as a dedicated host. Data center 1 includes a cloud management platform and infrastructure. The cloud management platform and the infrastructure are connected via an internal network of the data center. The cloud management platform is used to manage the infrastructure. The infrastructure is used to provide public cloud services. For example, the cloud management platform can configure the dedicated host through the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application, so as to provide cloud services to tenants through the dedicated host.

[0052] For example, the cloud management platform can provide an access interface. The access interface can be optionally provided in the form of an interface or an application program interface (API). Tenants can operate the client remote access access interface to register a cloud account and password on the cloud management platform, and use the cloud account and password to log in to the cloud management platform. The cloud management platform can also authenticate the cloud account and password. After successful authentication, the tenant can further select and pay to purchase a virtual instance of specific specifications (processor, memory, disk) on the cloud management platform. After the tenant successfully pays for the virtual instance, the cloud management platform provides the tenant with the remote login account and password of the purchased virtual instance. The tenant can use the remote login account and password to remotely log in to the virtual instance on the client, install and run the tenant's application in the virtual instance, and implement the tenant's business through the application.

[0053] The cloud management platform can be divided into the following logical functions: tenant console, computing management service, network management service, storage management service, authentication service and image management service. The tenant console provides an interface or API to interact with tenants. The computing management service is used to manage servers running virtual instances. The network management service is used to manage network services (such as gateways, firewalls, etc.). The storage management service is used to manage storage services (such as data bucket services). The authentication service is used to manage tenant accounts and passwords. The image management service is used to manage the images of virtual instances.

[0054] The dedicated host includes a hardware layer and a software layer. The hardware layer is deployed with hardware devices such as processors, memory, network cards, disks, and buses. The software layer runs the host operating system. The host operating system runs a virtual machine manager. The virtual machine manager runs a cloud management platform client. The cloud management platform client can receive control plane commands sent by the cloud management platform, create virtual instances on the dedicated host according to the control plane control commands, and manage the virtual instances throughout their life cycle.

[0055] exist Figure 1 In the implementation scenario shown, a data center is provided with multiple dedicated hosts, and the multiple dedicated hosts are divided into multiple types. For example, the multiple types are divided into: general computing type, memory optimization type, ultra-large memory type, etc. Each type of dedicated host supports specifications of virtual instances of multiple performance levels. After the tenant selects the type of dedicated host, the cloud management platform selects a dedicated host of this type in the data center according to the user's instructions, configures the dedicated host to belong to the tenant, and then creates the virtual instance required by the tenant on the dedicated host according to the tenant's virtual instance creation request.

[0056] Each dedicated host is installed with a cloud management platform client, which can detect the usage of the hardware resources of the dedicated host in real time and report it to the cloud management platform. When the cloud management platform confirms that it wants to create a virtual instance on a dedicated host, it will send a virtual instance creation command to the cloud management platform client on the dedicated host. After receiving the command, the cloud management platform client will create a virtual instance on the dedicated host. Therefore, tenants can create, manage, log in and operate virtual instances in the data center through the cloud management platform.

[0057] Client 2 may be a computer, a personal computer, a laptop computer, a mobile phone, a smart phone, a tablet computer, a cloud host, a portable mobile terminal, a multimedia player, an e-book reader, a wearable device, a smart home appliance, an artificial intelligence device, a smart wearable device, a smart vehicle-mounted device or an Internet of Things device, etc.

[0058] In an embodiment of the present application, the cloud management platform can display to the tenant the specifications and corresponding quantity of virtual instances supported by each type of dedicated host, and after obtaining the tenant's virtual instance creation request, select a target dedicated host from multiple dedicated hosts based on the virtual instance creation request, create a target virtual instance on the target dedicated host, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host. Optionally, the target dedicated host can be created by the cloud management platform based on the tenant's target dedicated host creation request. Furthermore, the cloud management platform can also periodically evaluate multiple dedicated hosts and update the specifications and corresponding quantity of virtual instances supported by each type of dedicated host.

[0059] Optionally, by configuring the dedicated host through the cloud management platform, it is possible to analyze and plan the server hardware resources, plan the corresponding computing products of the physical hardware according to the hardware performance of the server, and meet the differentiated demands of different tenants. In addition, it is possible to differentiate the pricing strategy according to the performance of the computing products. For example, virtual instances with high performance specifications are sold at a higher price, and virtual instances with ordinary performance specifications are sold at a lower price, so that tenants can purchase virtual instances on demand.

[0060] In one implementation, the dedicated host configuration method for the public cloud technology provided in the embodiment of the present application can be implemented by running an executable program on a computing device in the data center 1. For example, the executable program for implementing the dedicated host configuration method for the public cloud technology can be optionally presented in the form of an application installation package. After the computing device in the data center 1 installs the application installation package, it can implement the dedicated host configuration method for the public cloud technology provided in the embodiment of the present application by running the executable program therein.

[0061] It should be understood that the above content is an exemplary description of the implementation scenario of the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application, and does not constitute a limitation on the implementation scenario of the dedicated host configuration method of the public cloud technology. A person of ordinary skill in the art will know that as business needs change, its implementation scenario can be adjusted according to application requirements. For example, the method is not only applicable to dedicated hosts, but also to other types of hosts, such as old servers that are not dedicated hosts. An old server is a server whose service life exceeds a specified period of time (such as 3 years). When the method is also applicable to old servers, the performance of the old servers can be fully utilized to improve the resource utilization of the old servers. This application does not list one by one the implementation scenarios of the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application.

[0062] The following is a description of the implementation process of the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application. Figure 2 As shown, the dedicated host configuration method of the public cloud technology includes the following steps:

[0063] Step 201: The cloud management platform obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host. The specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels.

[0064] According to the previous description, the cloud management platform is used to manage the infrastructure that provides public cloud services. The infrastructure includes multiple dedicated hosts. The multiple dedicated hosts are divided into multiple types. Different types of dedicated hosts can be distinguished by the specifications and corresponding quantities (also called the maximum issuance quantity) of the virtual instances supported by the dedicated hosts. At least one of the specifications and corresponding quantities of the virtual instances supported by different types of dedicated hosts is different. Among them, when the specifications of the virtual instances supported by multiple dedicated hosts are the same and the corresponding quantities are the same, the multiple dedicated hosts belong to the same type. When the specifications of multiple virtual instances supported by multiple dedicated hosts are the same, the specifications of the multiple virtual instances supported by the multiple dedicated hosts are the same, which means that the specifications of the multiple virtual instances supported by the multiple dedicated hosts are the same one-to-one. The specifications of the multiple virtual instances supported by the multiple dedicated hosts are the same in quantity, which means that the specifications of each identical virtual instance supported by the multiple dedicated hosts are the same. For example, assuming that both dedicated host 1 and dedicated host 2 support specifications of high-performance virtual instances and specifications of ordinary performance virtual instances, the specifications of multiple virtual instances supported by dedicated host 1 and dedicated host 2 are the same, which means that the specifications of high-performance virtual instances supported by dedicated host 1 are the same as the specifications of high-performance virtual instances supported by dedicated host 2, and the specifications of ordinary performance virtual instances supported by dedicated host 1 are the same as the specifications of ordinary performance virtual instances supported by dedicated host 2. The number of corresponding specifications of multiple virtual instances supported by dedicated host 1 and dedicated host 2 is the same, which means that the number of corresponding specifications of high-performance virtual instances supported by dedicated host 1 is the same as the number of corresponding specifications of high-performance virtual instances supported by dedicated host 2, and the number of corresponding specifications of ordinary performance virtual instances supported by dedicated host 1 is the same as the number of corresponding specifications of ordinary performance virtual instances supported by dedicated host 2. The specifications of virtual instances supported by a dedicated host refer to the specifications of virtual instances that can be created in a dedicated host. For any specification of virtual instances supported by a dedicated host, its corresponding number refers to the total number of virtual instances of any specification that can be created in the dedicated host. The specifications and corresponding number of virtual instances supported by the dedicated host are determined by the hardware capabilities of the dedicated host. For example, they are determined by the performance of the hardware such as the processor, memory and network card of the dedicated host. Optionally, the virtual instance includes a virtual machine or a container, etc., which is not specifically limited in the embodiments of the present application.

[0065] The specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels. Virtual instances of different performance levels have different performances. The performance level of the virtual instance is determined by the capabilities of the virtual hardware provided by the dedicated host to the virtual instance. The capabilities of the virtual hardware are reflected by the performance parameters of the virtual hardware. For example, the capabilities of the virtual processor are reflected by performance parameters such as the number of cores and operating frequency of the virtual processor. The capabilities of the virtual memory are reflected by performance parameters such as the capacity and bandwidth of the virtual memory. For example, the specifications of the virtual instances supported by a certain type of dedicated host include specifications of virtual instances supporting high performance and specifications of virtual instances supporting ordinary performance. The operating frequency of the virtual processor used by the virtual instance supporting ordinary performance is the base frequency of the physical processor of the dedicated host, the number of cores of the virtual processor used is 4, and the virtual memory is 8 Giga Byte (GB). The operating frequency of the virtual processor of the virtual instance supporting high performance is 1.2 times the base frequency of the physical processor of the dedicated host, the number of cores of the virtual processor used is 8, and the virtual memory is 16GB. Since the performance indicated by the performance parameters of each virtual hardware of the virtual instance supporting high performance is higher than the performance indicated by the performance parameters of each corresponding virtual hardware of the virtual instance supporting normal performance, it can be seen that the performance level of the virtual instance supporting high performance is higher than the performance level of the virtual instance indicating normal performance.

[0066] It can be seen that when the performance level of the virtual instances supported by two dedicated hosts, the total number of performance levels, or the number of specifications of the supported virtual instances are different, the two dedicated hosts belong to different types. For example, suppose that dedicated host 1 supports the deployment of 10 virtual instances with high performance specifications and 8 virtual instances with ordinary performance specifications, and dedicated host 2 supports the deployment of 11 virtual instances with high performance specifications and 6 virtual instances with ordinary performance specifications. Since the numbers of specifications of the virtual instances supported by dedicated host 1 and dedicated host 2 are different, dedicated host 1 and dedicated host 2 belong to different types of dedicated hosts.

[0067] Before providing a dedicated host to a tenant, the cloud management platform needs to obtain the specifications and corresponding quantities of virtual instances supported by the dedicated host it owns, so that the tenant can purchase the required dedicated host based on it. The specifications and corresponding quantities of virtual instances supported by each type of dedicated host can be obtained by evaluating multiple dedicated hosts through the management platform. There are many ways to implement this, and for ease of reading, the implementation methods will be introduced later.

[0068] Step 202: The cloud management platform displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0069] After the cloud management platform obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, it can display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host to the tenant, so that the tenant can select the required dedicated host based on it. In one implementation, the cloud management platform can display a resource interface on the client used by the tenant, and the resource interface displays the specifications and corresponding quantities of virtual instances supported by multiple types of dedicated hosts managed by the cloud management platform. For example, Table 1 shows the specifications and corresponding quantities of virtual instances supported by a certain type of dedicated host. As shown in Table 1, the dedicated host supports the specifications of virtual instances of two performance levels, one is a high-performance specification, and the other is a normal performance specification. The operating frequency of the virtual processor used by the virtual instance supporting normal performance is the base frequency of the physical processor of the dedicated host (such as LowFreq in Table 1), the number of virtual processors used is 4 (such as 4U in Table 1), and the virtual memory used is 8GB (such as 8G in Table 1). The operating frequency of the virtual processor used by the virtual instance supporting high performance is 1.2 times the base frequency of the physical processor of the dedicated host (such as HighFreq in Table 1), the number of virtual processors used is 8 (such as 8U in Table 1), and the virtual memory used is 16GB (such as 16G in Table 1). The number of virtual instances supporting normal performance is Num1, and the number of virtual instances supporting high performance is Num2.

[0070] Table 1

[0071] Virtual instance specifications [4U,8G,LowFreq] [8U,16G,HighFreq] quantity Num1 Num2

[0072] Step 203: The cloud management platform obtains the tenant's target dedicated host creation request, where the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant.

[0073] When a tenant needs to use a dedicated host, he or she may choose to select the type of dedicated host he or she needs from the multiple types of dedicated hosts owned by the cloud management platform according to his or her business needs, and purchase the type of dedicated host from the cloud management platform. The type of dedicated host is reflected by the specifications and corresponding quantity of virtual instances supported by the dedicated host. In one implementation, the type of dedicated host selected by the tenant may be optionally transmitted to the cloud management platform through a target dedicated host creation request. For example, when a tenant needs to use a dedicated host, he or she may view the types of multiple dedicated hosts managed by the cloud management platform through a client. The cloud management platform may display the specifications and corresponding quantity of virtual instances supported by multiple types of dedicated hosts managed by the cloud management platform to the tenant through a client. When the tenant determines the type of dedicated host he or she needs, he or she may trigger the target dedicated host creation request by performing a specified operation on the client used by him or her. In one implementation, when the specifications and corresponding quantity of virtual instances supported by multiple types of dedicated hosts are displayed on the client, the tenant may select one type of dedicated host through a selection operation, and the client may generate a target dedicated host creation request based on the selection operation. The target dedicated host creation request may indicate the type of dedicated host selected by the tenant. For example, the type of the dedicated host can be indicated by identification information, and the target dedicated host creation request can carry the identification information of the dedicated host. After obtaining the target dedicated host creation request, the cloud management platform can obtain the identification information from the target dedicated host creation request, and determine the type of the dedicated host based on the identification information to obtain the type of the dedicated host selected by the tenant.

[0074] Step 204: The cloud management platform marks the target dedicated host as belonging to the tenant according to the target dedicated host creation request, provides the identifier of the target dedicated host to the tenant, and prohibits virtual instances of other tenants except the tenant from being created or run on the target dedicated host.

[0075] After the cloud management platform obtains the target dedicated host creation request, it can configure a dedicated host for the tenant according to the target dedicated host creation request. The configuration process includes: according to the type of dedicated host indicated by the target dedicated host creation request, select the target dedicated host from the dedicated hosts that meet the type and are not sold, mark the target dedicated host as belonging to the tenant, and configure to prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host. Among them, since all resources of the dedicated host are completely dedicated to the same tenant, it is necessary to prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host. Optionally, when the cloud management platform selects the target dedicated host from the dedicated hosts that meet the type selected by the tenant and are not sold, it can choose to select the target dedicated host randomly or strategically. For example, the selection strategy includes but is not limited to: selecting the dedicated host closest to the tenant. In this way, the cloud management platform can use the dedicated host to provide tenants with faster data transmission speeds and minimize latency, which helps to ensure the user experience of tenants when using dedicated hosts.

[0076] Since the specifications of the virtual instances supported by the dedicated host in this application include specifications for virtual instances supporting multiple performance levels, the tenant's target dedicated host creation request is obtained through the source management platform, and the target dedicated host is marked as belonging to the tenant based on the target dedicated host creation request, so that the tenant can select the required dedicated host based on business needs and customize the required host hardware configuration to meet the tenant's demands for performance differentiation in different application scenarios.

[0077] Step 205: The cloud management platform obtains the tenant's virtual instance creation request, where the virtual instance creation request is used to indicate the specifications of the target virtual instance to be created and the identifier of the target dedicated host, where the specifications of the target virtual instance are one of the specifications of virtual instances that support multiple performance levels.

[0078] After the cloud management platform configures the target dedicated host for the tenant, the tenant can create a virtual instance on the target dedicated host so as to use the virtual instance to implement the tenant's business. When the tenant needs to create a virtual instance on the target dedicated host, the specified operation can be performed on the client used by the tenant to trigger a virtual instance creation request. When performing the specified operation, the tenant needs to indicate the specifications of the target virtual instance to be created and the identifier of the target dedicated host, so that the cloud management platform can determine the specifications of the target virtual instance to be created and the target dedicated host used to provide the target virtual instance. In one implementation, when the specifications and corresponding quantities of the virtual instances supported by the target dedicated host are displayed on the client, the tenant can select one of the specifications of the virtual instances through a selection operation, and the client can generate a virtual instance creation request based on the selection operation. The virtual instance creation request carries the specifications of the target virtual instance to be created and the identifier of the target dedicated host. Among them, the specifications of the virtual instances supported by the target dedicated host include the specifications of the virtual instances supporting multiple performance levels, and the specifications of the target virtual instance belong to one of the specifications of the virtual instances of multiple performance levels supported by the target dedicated host.

[0079] The tenant may choose to create one or more virtual instances on the target dedicated host. When multiple virtual instances are created on the target dedicated host, the specifications of the multiple virtual instances are different. At this time, it can be regarded as that the tenant has configured virtual instances of multiple specifications on the target dedicated host. In one implementation, the cloud management platform may display a virtual instance configuration interface on the client, and the virtual instance configuration interface is used to prompt the tenant to enter or select the specifications of the virtual instance to be created in the virtual instance configuration interface according to its own performance requirements. Among them, the specifications of the virtual instances allowed to be entered or selected in the virtual instance configuration interface are the specifications of the virtual instances supported by the target dedicated host. In addition, the virtual instance configuration interface can prompt the tenant to select the specifications of one or more virtual instances at one time. For example, if Figure 3 As shown in , the virtual instance configuration interface prompts the tenant to select the specifications of three virtual instances based on the specifications of the virtual instances supported by the target dedicated host, which are indicated by the operating frequency and number of virtual processors and the capacity of virtual memory. Figure 3 As shown, the tenant instructs to create three virtual instances VM1, VM2 and VM3 at one time in the virtual instance configuration interface, whose operating frequencies of virtual processors are Freq1, Freq2 and Freq3 respectively, the numbers of virtual processors are NumCPU1, NumCPU2 and NumCPU3 respectively, and the capacities of virtual memory are MemSize1, MemSize2 and MemSize3 respectively. Among them, since the virtual instance configuration interface is used to configure the specifications of the virtual instance to be created, the virtual instance configuration interface is also called the custom details page of the virtual instance.

[0080] It should be noted that the specifications of the virtual instance may also be indicated by other parameters, such as network bandwidth and memory speed, which are not specifically limited in the embodiments of the present application.

[0081] Step 206: The cloud management platform selects a target dedicated host from multiple dedicated hosts based on the identifier of the target dedicated host, and creates a target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request.

[0082] After the cloud management platform obtains the virtual instance creation request, it can obtain the specifications of the target virtual instance indicated by the virtual instance creation request and the identifier of the target dedicated host. Then, the cloud management platform can select the target dedicated host indicated by the identifier from multiple dedicated hosts managed by the cloud management platform based on the identifier of the target dedicated host. Then, the cloud management platform creates the target virtual instance on the target dedicated host according to the specifications of the target virtual instance. In one implementation, creating the target virtual instance on the target dedicated host includes: configuring the virtual hardware required by the target virtual instance according to the specifications of the target virtual instance, and configuring the underlying frequency and memory bandwidth of the target virtual instance. Optionally, the cloud management platform can also perform performance isolation operations on the target virtual instance to ensure that different services implemented by different virtual instances do not interfere with each other. When creating the target virtual instance, the cloud management platform can also optionally configure according to the characteristics of the service that the target virtual instance needs to implement to ensure the performance of the service. Among them, in order to meet the service performance of the tenant, the specifications assigned to the target virtual instance by the target dedicated host need to match the specifications indicated by the virtual instance creation request. Optionally, the matching relationship includes: the specifications assigned to the target virtual instance by the target dedicated host are not less than the specifications indicated by the virtual instance creation request.

[0083] It should be noted that before the cloud management platform creates the target virtual instance in the target dedicated host, it is necessary to first determine whether the available resources of the target dedicated host can meet the specifications of the target virtual instance. When the available resources of the target dedicated host can meet the specifications of the target virtual instance, the target virtual instance is created on the target dedicated host according to the specifications of the target virtual instance. When the available resources of the target dedicated host cannot meet the specifications of the target virtual instance, it is prohibited to create the target virtual instance on the target dedicated host. In this way, it can be ensured that the performance of the virtual instance created on the target dedicated host will not be affected by the insufficient available resources of the target dedicated host. For example, it can be ensured that the virtual processor of the virtual instance will not be down-clocked due to the excessive thermal design power (TDP) of the hardware. Since the performance of the processor is closely related to its operating frequency, when the operating frequency of the virtual processor of the virtual instance on the target dedicated host can be guaranteed, at least the performance of the virtual processor can be guaranteed not to be affected by the down-clocking, thereby ensuring the performance of the virtual processor.

[0084] It should be understood that, since the specifications of virtual instances supported by the dedicated host in this application include specifications of virtual instances supporting multiple performance levels, virtual machine instances of multiple performance levels can be deployed in the dedicated host, which helps to meet the performance differentiation requirements of tenants in different scenarios, and also helps to fully tap the hardware potential of the dedicated host, and can improve the utilization rate of the resources of the dedicated host. For example, Figure 4 As shown, high-performance virtual instances (such as Figure 4 The solid line in the circle) and the general performance virtual instance (such as Figure 4 The circle represented by the dotted line in the figure). Among them, high-performance instances are mainly used in scenarios with high performance requirements, and can be sold at a higher price to provide tenants with high-performance services. Ordinary performance virtual instances are cost-effective instances, which can be used for businesses with less high performance requirements, and can be sold at a lower price to provide users with cost-effective services.

[0085] Step 207: The cloud management platform updates the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, and updates and displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0086] After the cloud management platform initially obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, it can also update the specifications and corresponding quantities of virtual instances supported by each type of dedicated host in the subsequent operation process, and display the updated specifications and corresponding quantities. For example, as the dedicated host is used, the available resources of the dedicated host may decrease with the use of virtual instances, and the specifications and corresponding quantities of virtual instances supported by the dedicated host will change, and it is necessary to update the specifications and corresponding quantities of virtual instances supported by the dedicated host. For another example, the specifications and corresponding quantities of virtual instances supported by the dedicated host may also change due to business needs and resource planning, so it is also necessary to update the specifications and corresponding quantities of virtual instances supported by the dedicated host to ensure that the specifications and corresponding quantities of virtual instances supported by the dedicated host can be accurately displayed to tenants. For the implementation method of displaying the updated specifications and corresponding quantities of virtual instances supported by each type of dedicated host on the cloud management platform, please refer to the relevant description in step 202, which will not be repeated here.

[0087] In one implementation, updating the specifications and corresponding quantity of virtual instances supported by each type of dedicated host can be achieved by evaluating multiple dedicated hosts through the management platform, and its implementation can refer to the implementation of obtaining the specifications and corresponding data of virtual instances supported by the dedicated host through evaluation in step 201. In addition, the cloud management platform can optionally evaluate multiple dedicated hosts regularly, and then update and display the specifications and corresponding quantity of virtual instances supported by each type of dedicated host based on the evaluation results.

[0088] In another implementation, since the specifications of the virtual instances created in the dedicated host are all specifications supported by the dedicated host, when the cloud management platform updates the specifications and corresponding quantities of the virtual instances supported by the dedicated host, it can optionally count the specifications and quantities of the virtual instances created on each dedicated host, and deduct the specifications and quantities of the virtual instances supported when no virtual instances are created in the dedicated host accordingly, thereby obtaining the specifications and corresponding quantities of the virtual instances supported by the dedicated host. For example, assuming that when no virtual instances are created in a dedicated host, the specifications of the virtual instances supported by it include specification 1, specification 2, and specification 3, the quantity corresponding to specification 1 is 100, the quantity corresponding to specification 2 is 120, and the quantity corresponding to specification 3 is 80. According to the statistical results, the specifications of the virtual instances created in the dedicated host are specification 1 and specification 2, the number of virtual instances of specification 1 that have been created is 50, and the number of virtual instances of specification 2 that have been created is 20. The cloud management platform can obtain the specifications of the virtual instances supported by the dedicated host, including specification 1, specification 2, and specification 3. The quantity corresponding to specification 1 is 50, the quantity corresponding to specification 2 is 100, and the quantity corresponding to specification 3 is 80.

[0089] Step 208: The cloud management platform configures a dedicated host and / or creates a virtual instance for the tenant based on the tenant's instructions and the updated specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0090] After the cloud management platform updates and displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, the tenant can instruct to create a dedicated host and / or create a virtual instance based on the updated specifications and quantity. For example, the tenant can instruct to purchase a dedicated host based on the updated specifications and corresponding quantities of virtual instances supported by the dedicated host. Alternatively, the tenant can instruct to create a virtual instance on the dedicated host that it has purchased based on the updated specifications and corresponding quantities of virtual instances supported by the dedicated host. After the cloud management platform obtains the creation request of the tenant to instruct to create a dedicated host, it can mark the dedicated host indicated by the tenant as belonging to the tenant according to the creation request, provide the identifier of the target dedicated host to the tenant, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host. For the implementation process, please refer to the aforementioned steps 203 to 204, which will not be repeated here. Similarly, the tenant can instruct to create a virtual instance on the dedicated host owned by the tenant based on the updated specifications and quantity. After the cloud management platform obtains the creation request of the tenant to instruct to create a virtual instance, it can create a virtual instance on the tenant's dedicated host according to the creation request. Please refer to the aforementioned steps 205 to 206 for the implementation process, which will not be repeated here.

[0091] The following is an example of how the cloud management platform obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host in step 201. Figure 5 As shown, the implementation process includes:

[0092] Step 2011: The cloud management platform obtains the amount of resources consumed by each specification of virtual instances that can be provided to tenants.

[0093] The cloud management platform may first determine the specifications of the virtual instances supported by the dedicated host, then determine the amount of resources that each specification of the virtual instances needs to consume, and then obtain the corresponding number of virtual instances of each specification supported by the dedicated host based on the amount of resources. Optionally, the specifications of the virtual instances supported by the dedicated host may be specified by the cloud management platform. For example, the specifications of the virtual instances may be obtained based on the resource planning of the cloud management platform, or may be obtained based on the specifications of the virtual instances used by the cloud management platform to implement business in a historical period, or may be obtained based on the specifications of the virtual instances that are more commonly used in the industry. The embodiments of the present application do not specifically limit this. For example, Figure 6As shown in the figure, it is assumed that the cloud management platform determines that the dedicated host has run instance type 1, instance type 2 and instance type 3 in the historical period according to the business execution situation in the historical period, and the corresponding loads are: load type 1, load type 2 and load type 3. The quality of service (QoS) manager of the cloud management platform obtains the load profile of each virtual instance during the operation of these virtual instances, and obtains the specifications of the three virtual instances, namely, specification 1 (class1), specification 2 (class2) and specification 3 (class3). The CPU operating frequency required by class1 is frequency 1 (Freq1), CPU power consumption is P1 watt (W), and memory bandwidth is MB1 GB / S. The CPU operating frequency required by class2 is frequency 2 (Freq2), CPU power consumption is P2 W, and memory bandwidth is MB2 GB / S. The CPU operating frequency required by class3 is frequency 3 (Freq3), CPU power consumption is P3 W, and memory bandwidth is MB3 GB / S. Then the cloud management platform instructs the dedicated host to support virtual instances of specifications 1 and 2. In this way, the resource control module of the source management platform can perform resource management based on it. It should be noted that the specifications of the virtual instances supported by the dedicated host may also be determined by other methods, which are not exemplified one by one in the embodiments of the present application.

[0094] The cloud management platform can test the performance of the dedicated host and obtain the amount of resources consumed by each specification of the virtual instance based on the test results. In one implementation, when the cloud management platform needs to obtain the amount of resources consumed by a virtual instance of a certain specification, it can optionally use the virtual instance of the specification on the dedicated host to run the test case, test the performance of the dedicated host, and obtain the data of the performance index of the dedicated host during the test process, and then determine the amount of resources consumed by the virtual instance of the specification based on the data of the performance index and the hardware performance of the dedicated host. When the data of the performance index indicates that the load of the test case is the limit value of the load that the dedicated host can bear, the amount of resources consumed by the virtual instance running the test case is the amount of resources consumed by the virtual instance of the specification. This process is equivalent to stress testing the dedicated host based on the test case, so as to obtain the amount of resources used by the specification of the virtual instance supported by the dedicated host. Among them, the data of the performance index can reflect the demands and pressure of the test case on the hardware and other resources of the dedicated host. The performance index can be used to reflect the indicators such as latency, throughput, resource utilization, bandwidth and cache usage, energy consumption and operating frequency changes. The data of the performance indicators of the dedicated host during operation can reflect the status of the business in the test case during operation, and the status can reflect the consumption of the hardware resources of the dedicated host by the business. In the present application, the cloud management platform may choose to perform some benchmark tests on the dedicated host, and the test case is the user business benchmark. In the field of computing, a benchmark is the act of running a computer program, a set of programs, or other operations to evaluate the relative performance of an object, usually by running some standard tests and experiments on it. The benchmark used in this application may be selected as industry-recognized or open source. Alternatively, the test case used in this application may be selected as the business executed by the cloud management platform in a historical period.

[0095] Optionally, the amount of resources consumed by each specification of virtual instance can be measured in units of independent power consumption units. For example, the amount of resources can be the power consumption of an independent power consumption unit. In this case, the specifications of the virtual instances supported by the dedicated host can be regarded as the specifications of the virtual instances supported by the independent power consumption unit. The power consumption of the independent power consumption unit can be obtained by monitoring and measuring. For example, the power consumption of the independent power consumption unit during the test process is measured by a hardware monitoring tool or a sensor. Alternatively, the power consumption of the independent power consumption unit can be obtained according to the power consumption of the dedicated host and the load of the independent power consumption unit. For example, the cloud management platform can first obtain the proportion of the load of the independent power consumption unit in the load of the dedicated host, and the weighted result of the proportion and the power consumption of the dedicated host is the power consumption of the independent power consumption unit. The independent power consumption unit is the smallest unit on the hardware power supply line. Multiple electrical devices in the same independent power consumption unit share the power provided by the independent power consumption unit. For example, assume that there are multiple CPU chips on the dedicated host, and the multiple CPU chips have their own power supply modules. The CPU and memory and other devices in each CPU chip share the power provided by the power supply module of the CPU chip. Then the CPU chip is an independent power consumption unit.

[0096] Further, after determining the specifications of the virtual instance supported by the dedicated host, the cloud management platform can also adjust the specifications according to the performance of the dedicated host. For example, the cloud management platform can optionally perform a sensitivity analysis on the virtual instance to determine the sensitivity of the virtual instance to various resources, and then fine-tune the specifications according to the sensitivity. For example, when the cloud management platform indicates the initial specifications of the virtual instance supported by the dedicated host, the cloud management platform can optionally first obtain the sensitivity of the virtual instance to various resources indicated by the specification, and then adjust the initial specifications according to the sensitivity, and adjust the amount of resources required to be consumed by the virtual instance of each specification accordingly. In one implementation, after the cloud management platform indicates the initial values ​​of multiple resources in the initial specification requirements of the virtual instance, the initial value adjustment process is performed on one or more of the multiple resources to obtain the adjusted value of each resource. Then, based on the adjusted value and initial value of any resource, the sensitivity of the virtual instance to the resource is determined. Optionally, the sensitivity of the virtual instance to any resource can be determined based on the ratio of the adjusted value to the initial value of the resource. For example, when the ratio of the adjusted value to the initial value of a certain resource is smaller, it means that the virtual instance is less sensitive to the resource. When the ratio of the adjusted value of a resource to the initial value is larger, it means that the virtual instance is more sensitive to the resource.

[0097] As a possible implementation scheme, the initial value adjustment process includes: starting from the initial value of a certain resource, running the virtual instance according to the initial value to obtain the operating performance of the virtual instance; then reducing the initial value according to the specified step size, and running the virtual instance according to the reduced initial value to obtain the updated operating performance of the virtual instance; if the updated operating performance meets the performance requirements, continue to reduce the initial value after reduction according to the specified step size, and repeat this logic until the reduced initial value causes the updated operating performance of the virtual instance to fail to meet the performance requirements, and then determine the initial value before this reduction as the adjusted value of the resource. By analogy, the cloud management platform can determine the adjusted values ​​of multiple resources indicated by the initial specifications, thereby obtaining the adjusted specifications. It should be noted that in the process of determining the adjusted value of each resource, the cloud management platform uses the single variable principle to adjust the value of the initial value, that is, only the initial value of one resource is changed during the adjustment process, and the values ​​of other resources except this resource among the multiple resources are kept at the corresponding initial values.

[0098] For example, assume that the initial specification of the virtual instance indicates that the CPU operating frequency is frequency 1 (Freq1), the CPU power consumption is P1, and the memory bandwidth is MB1. Here, taking the adjustment of the CPU operating frequency as an example, the initial value adjustment process is described. Figure 7 A schematic diagram of the initial value adjustment process is provided. Figure 7 As shown in FIG. 1 , the initial value adjustment process of the CPU operating frequency includes:

[0099] 1. Run the load according to the CPU operating frequency of frequency 1, CPU power consumption of P1, and memory bandwidth of MB1, and record the latency CurrentQos during the operation, which is used as the operating performance to be compared CurrentQos = BEST-QOS, where frequency 1 can be selected as the highest turbo frequency MAX-FREQ of the CPU, that is, CurrentFreq = MAX-FREQ;

[0100] 2. Initialize the frequency and Qos of the most recent operation, so that LastFreq = CurrentFreq, LastQos = CurrentQos;

[0101] 3. Reduce the operating frequency CurrentFreq = LastFreq - StepFreq according to the step size StepFreq, and keep the CPU power consumption at P1 and the memory bandwidth at MB1. At the same time, record the corresponding delay and update the value of CurrentQos to the delay. The step size of the CPU operating frequency can be set smaller, such as 100 MHz.

[0102] 4. Compare CurrentQos with BEST-QOS. If the deterioration of the current Qos level is still within the preset acceptable range, such as CurrentQos < BEST-QOS × (1 + Qos-Threshold), then repeat steps 2 and 3, where the value of the threshold Qos-Threshold can be determined according to application requirements. For example, as Figure 7 shown, the value of the threshold Qos-Threshold is 5%;

[0103] 5. Compare CurrentQos with BEST-QOS. If the deterioration of the current Qos level exceeds the corresponding acceptable range, such as CurrentQos ≥ BEST-QOS × (1 + Qos-Threshold), exit the initial value adjustment process, and use LastFreq as the best operating frequency corresponding to the operating frequency of the CPU under this load. This LastFreq is the lowest operating frequency corresponding to the case where the Qos of the current load hardly deteriorates. The Qos level is monitored by the Qos manager, the decision-making when the Qos level changes is made by the Qos decision maker, and the Qos decision takes effect on the virtual instance by the Qos controller.

[0104] After the cloud management platform obtains the adjustment values of multiple resources and the sensitivity of the load to multiple resources, it can optionally use the adjustment value of one of the resources to update the specification of the resource, and then determine the corresponding quantity according to the updated specification. The selection of the resource that needs to update the specification can be decided according to application requirements. For example, the resource corresponding to the maximum sensitivity is determined as the resource that needs to update the specification. Or, use the adjustment values of some or all of the resources to update the specifications of the corresponding resources. When using the adjustment values of multiple resources to update the specifications of the corresponding resources, it is optional to determine the weights based on the sensitivities of multiple resources, and update the specifications of the corresponding resources according to the weights and adjustment values. This process can be regarded as a resource optimization process. During the update process, it is necessary to ensure that the specifications of multiple resources after update can guarantee the load performance, and also ensure that the quantity determined based on the updated specifications is as large as possible. In this way, the cloud management platform can use fewer resources to implement tenant services under the premise of meeting application requirements, can use the saved resources to run more loads, helps to allocate more resources, and can reduce the cost for tenants to implement services.

[0105] It should be noted that when the business scenarios involved in the test cases are few and the load is relatively certain, when performing performance testing on dedicated hosts, it is optional to run each test case using virtual instances on the dedicated host, and comprehensively determine the amount of resources consumed by each specification of virtual instance according to the running results. This process is equivalent to analyzing the state of real business operations, and then determining the number of business allocations according to the load profile of the business. When the tenant load is uncertain, typical business scenarios such as benchmark can be used to obtain this amount of resources.

[0106] Step 2012: The cloud management platform obtains the specifications and corresponding quantities of virtual instances supported by each type of dedicated host based on the amount of resources consumed by each specification of virtual instances and the total amount of resources owned by each type of dedicated host.

[0107] After the cloud management platform obtains the amount of resources that each specification of virtual instances that can be provided to tenants needs to consume, it can determine the number of virtual instances that the dedicated host can support based on the amount of resources and the total amount of hardware resources of the dedicated host. When determining the number corresponding to each specification, the principle is that virtual instances of multiple specifications can be used as much as possible and do not exceed the total amount of resources of the dedicated host. After obtaining the number, combined with the previously determined specifications of the virtual instances supported by the dedicated host, the specifications and corresponding number of virtual instances supported by the dedicated host can be obtained. In one implementation, if the amount of resources that a virtual instance of a certain specification needs to consume is measured in units of independent power consumption units, the number of virtual instances supported by the independent power consumption unit can be obtained based on the total amount of hardware resources of the independent power consumption unit and the amount of resources that the virtual instance of the specification needs to consume, and then the number of virtual instances supported by the dedicated host can be obtained based on the total number of independent power consumption units included in the dedicated host. For example, the number of specifications corresponding to any virtual instance supported by the dedicated host can be selected as the product of the total number of independent power consumption units included in the dedicated host and the number of specifications corresponding to the virtual instance supported by the independent power consumption unit.

[0108] The number of specifications of a virtual instance supported by an independent power consumption unit can be obtained based on the total amount of hardware resources possessed by the independent power consumption unit and the amount of resources consumed by each specification of virtual instances according to the barrel principle. For example, assuming that the number of CPU threads on a physical CPU chip is TotalCPU, the memory is TotalMemory, and the TDP power consumption is TotalCPUPower. A virtual instance of a certain performance level uses InstanceCPU virtual CPUs and InstanceMemory virtual memory. The peak load is tested and the power consumption InstancePower is obtained. Other resources such as memory bandwidth and cache will not become bottlenecks. Then, according to the barrel principle of resources, it can be obtained that the number of virtual instances of this performance level that this CPU chip can bear satisfies the following formula, where min(X,Y,Z) means taking the minimum value among XYZ.

[0109]

[0110] For example, suppose a physical CPU chip has 100 CPU threads, 200G memory, 200W TDP power consumption, and a high-performance instance (8U16G) with a peak power consumption of 15W, which is obtained through running tests. According to the barrel principle, the number of high-performance virtual instances that the CPU chip can support is 12, and the calculation method is as follows.

[0111]

[0112] After obtaining the number of virtual instances of a certain specification supported by an independent power consumption unit, the cloud management platform can obtain the remaining resources of the independent power consumption unit based on the number and the specification, and then continue to refer to the above implementation method to determine the number of virtual instances of other specifications supported by the independent power consumption unit. The other specifications are specifications other than the certain specification. Assuming that the source management platform expects that the dedicated host can support 8U16G high-performance instances and 4U8G ordinary performance instances, after determining the number of 8U16G high-performance instances, the cloud management platform can determine the number of 4U8G ordinary performance instances based on the remaining resources. Optionally, ordinary performance instances can be low-priced or spot instances (also known as preemptive instances). For example, in the above example, the remaining resources include: the remaining number of CPU threads RemainedCPU = 4, the remaining memory RemainedMemory = 8G, and the remaining TDP power consumption RemainedPower = 20W.

[0113] In step 207, when the cloud management platform needs to update the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, it may optionally perform the update according to similar logic. For example, the cloud management platform first obtains the remaining total amount of unused hardware resources of the independent power consumption unit, and then obtains the specifications and corresponding quantities of the updated virtual instances supported by the dedicated host based on the remaining total amount and the power consumption of the independent power consumption unit. For example, the updated number NumInstance of the specifications of a virtual instance, the number of CPU threads remaining on a physical CPU chip is RemainedCPU, the remaining memory is RemainedMemory, the remaining TDP power consumption is RemainedPower, a virtual instance of a certain performance level uses InstanceCPU virtual CPUs, InstanceMemory virtual memory, and the peak load is tested after running to obtain the power consumption InstancePower, which satisfies the following formula:

[0114]

[0115] It should be noted that the above example uses CPU, Memory, and CPU TDP power consumption as examples to illustrate the implementation method of obtaining the specifications and corresponding quantities of virtual instances supported by a dedicated host, and is not intended to limit the method provided in this application to also utilize other resources or resources of other dimensions to determine the specifications and corresponding quantities of virtual instances supported by a dedicated host.

[0116] In one implementation, the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application can be implemented through multiple functional modules. For example, Figure 8 As shown, the method can be implemented through an interaction module, a stress test and monitoring module, an analysis module, and a resource control module. The interaction module is used for the cloud management platform to interact with tenants. For example, tenants can convey application requirements to the cloud management platform through the interaction module, such as sending virtual instance creation requests and target dedicated host creation requests to the cloud management platform through the interaction module. The cloud management platform can display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host to tenants through the interaction module. Figure 8 As shown, the interaction module shows tenants that the dedicated host supports high-performance virtual instances and ordinary performance virtual instances. The stress test and monitoring module is used to perform stress tests on the dedicated host to obtain the relevant performance data required for the specifications and corresponding quantities of virtual instances supported by each type of dedicated host. For example, the stress test and monitoring module is used to test the performance of the dedicated host based on the benchmark of user business type 1 and the benchmark of user business type 2, and obtain the performance data of the dedicated host based on the benchmark running process through the operating system (OS) and virtual machine manager (Hypervisor) of the dedicated host. The analysis module is used to obtain the specifications and corresponding quantities of virtual instances supported by each type of dedicated host based on the performance data. The resource control module is used to select a target dedicated host from multiple dedicated hosts based on the tenant's virtual instance creation request, create a target virtual instance on the target dedicated host, and configure parameters such as the underlying frequency and memory bandwidth to ensure that different businesses do not interfere with each other.

[0117] In this application, if Fig. 9 As shown, from the tenant's perspective, the tenant can see the cloud management platform and virtual instances of various performance levels used to execute the method provided by the present application. Fig. 9 As shown in the figure, the tenant-side visible products include high-performance virtual instances and ordinary performance virtual instances. The cloud management platform can manage the resources of dedicated hosts through stress testing and monitoring modules, analysis modules, and resource control modules.

[0118] In summary, in this application, since the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels, virtual instances of multiple performance levels can be deployed on the same dedicated host, which can meet the tenants' demands for differentiated resource performance in different scenarios, support tenants to customize virtual instances of different performance levels, and improve the flexibility of using the resources of the dedicated host. In addition, by issuing virtual instances of different performance levels in the same dedicated host, the hardware potential of the dedicated host can be fully tapped and the resource utilization of the dedicated host can be improved. At the same time, by controlling the number of specifications corresponding to virtual instances of multiple performance levels, the performance of the virtual instances deployed on the dedicated host can be guaranteed, and there can be no performance interference between different virtual instances. For example, by controlling the virtual instances created in the dedicated host to be within the specifications and corresponding numbers of virtual instances of multiple performance levels supported by the dedicated host, it can be ensured that the hardware thermal power consumption protection mechanism of the dedicated host will not be triggered, thereby ensuring that the high-performance virtual instances are not down-clocked, and the stability of the performance of the virtual instances can be guaranteed.

[0119] When the dedicated host is a server that has been in use for more than a specified period of time (also known as an old server), the method provided by this application can also make full use of the performance of these servers and improve the resource utilization of these servers. For example, the method of this application uses the memory and CPU with limited performance of the old server to create a cache instance for use in scenarios that do not require high CPU computing power, which can give full play to the residual value of the old server and extend the life cycle of the old server as much as possible, which helps to reduce cloud operating costs and increase the revenue of cloud vendors.

[0120] The following is an example of a virtual device in an embodiment of the present application.

[0121] The above introduces the dedicated host configuration method of the public cloud technology of the embodiment of the present application. Corresponding to the above method, the embodiment of the present application also provides a dedicated host configuration device of the public cloud technology. Fig.10 Schematic diagram of a dedicated host configuration device for a public cloud technology provided in an embodiment of the present application. Fig.10 The following multiple components are shown: Fig.10 The dedicated host configuration device of the public cloud technology shown can perform the above Figure 2 All or part of the operations shown. It should be understood that the device may include more additional components than the components shown or omit some of the components shown, and the embodiments of the present application are not limited to this. Optionally, the dedicated host configuration device of the public cloud technology can be configured on a cloud management platform. The cloud management platform is used to manage the infrastructure that provides public cloud services. The infrastructure includes multiple dedicated hosts. The multiple dedicated hosts are divided into multiple types. Fig.10As shown, the dedicated host configuration device 100 of the public cloud technology includes:

[0122] The interactive module 101 is used to display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host. The specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels.

[0123] The interaction module 101 is also used to obtain a tenant's virtual instance creation request, which is used to indicate the specifications of the target virtual instance to be created and the identifier of the target dedicated host, wherein the specifications of the target virtual instance are one of the specifications of virtual instances that support multiple performance levels.

[0124] The configuration module 102 is used to select a target dedicated host from multiple dedicated hosts based on the identifier of the target dedicated host, and create a target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request, and virtual instances of tenants other than the tenant are prohibited from being created or run on the target dedicated host.

[0125] In a possible implementation, the interaction module 101 is further used to obtain a target dedicated host creation request of the tenant, and the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant. Accordingly, the configuration module 102 is further used to mark the target dedicated host as belonging to the tenant according to the target dedicated host creation request, provide the identifier of the target dedicated host to the tenant, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host.

[0126] In a possible implementation, the interaction module 101 is further configured to evaluate multiple dedicated hosts, and update and display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

[0127] In a possible implementation, the plurality of dedicated hosts include servers whose service life exceeds a specified period.

[0128] In a possible implementation, the virtual instance includes a virtual machine or a container.

[0129] In summary, in this application, since the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels, virtual instances of multiple performance levels can be deployed on the same dedicated host, which can meet the tenants' demands for differentiated resource performance in different scenarios, support tenants to customize virtual instances of different performance levels, and improve the flexibility of using the resources of the dedicated host. In addition, by issuing virtual instances of different performance levels in the same dedicated host, the hardware potential of the dedicated host can be fully tapped and the resource utilization of the dedicated host can be improved. At the same time, by controlling the number of specifications corresponding to virtual instances of multiple performance levels, the performance of the virtual instances deployed on the dedicated host can be guaranteed, and there can be no performance interference between different virtual instances. For example, by controlling the virtual instances created in the dedicated host to be within the specifications and corresponding numbers of virtual instances of multiple performance levels supported by the dedicated host, it can be ensured that the hardware thermal power consumption protection mechanism of the dedicated host will not be triggered, thereby ensuring that the high-performance virtual instances are not down-clocked, and the stability of the performance of the virtual instances can be guaranteed.

[0130] Here, please refer to the description in the previous method embodiment for the detailed working process of the interaction module 101 and the configuration module 102. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of each component described above can refer to the corresponding content in the previous method embodiment, and will not be repeated here.

[0131] The interaction module 101 and the configuration module 102 can be implemented by software or hardware. For example, the implementation of the interaction module 101 is described below by taking the interaction module 101 as an example. Similarly, the implementation of the configuration module 102 can refer to the implementation of the interaction module 101.

[0132] As an example of a software functional unit, the interaction module 101 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the interaction module 101 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 (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 data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0133] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0134] As an example of a hardware functional unit, the interaction module 101 may include at least one computing device, such as a server, etc. Alternatively, the interaction module 101 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), etc. 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.

[0135] The multiple computing devices included in the interaction module 101 can be distributed in the same region or in different regions. The multiple computing devices included in the interaction module 101 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the interaction module 101 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.

[0136] It should be noted that, in other embodiments, any one of the interaction module 101 and the configuration module 102 can be used to execute any step in the dedicated host configuration method of the public cloud technology. The steps that the interaction module 101 and the configuration module 102 are responsible for implementing can be specified as needed, and the interaction module 101 and the configuration module 102 respectively implement different steps in the dedicated host configuration method of the public cloud technology to implement all functions of the dedicated host configuration device of the public cloud technology.

[0137] The following is an illustration of the basic hardware structure involved in the embodiments of the present application.

[0138] The embodiment of the present application provides a computing device. The computing device is used to implement part or all of the functions of the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application. Fig.11 Schematic diagram of a computing device provided in an embodiment of the present application. Fig.11 As shown, the computing device 1100 includes a processor 1101, a memory 1102, a communication interface 1103 and a bus 1104. The processor 1101, the memory 1102 and the communication interface 1103 are connected to each other through the bus 1104.

[0139] Processor 1101 may include a general-purpose processor and / or a dedicated hardware chip. A general-purpose processor may include: a central processing unit (CPU), a microprocessor or a graphics processing unit (GPU). The CPU is, for example, a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A dedicated hardware chip is a hardware module for high-performance processing. A dedicated hardware chip includes at least one of a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or a network processor (NP). Processor 1101 may also be an integrated circuit chip having signal processing capabilities. In the implementation process, some or all of the functions of the exclusive host configuration method of the public cloud technology of the present application may be completed by the hardware integrated logic circuit in the processor 1101 or instructions in the form of software.

[0140] The memory 1102 is used to store computer programs, which include an operating system 1102a and executable codes (i.e., program instructions) 1102b. The memory 1102 is, for example, a read-only memory or other types of static storage devices that can store static information and instructions, or a random access memory or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory, a read-only optical disc or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a blue-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired executable code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. For example, the memory 1102 is used to store an outbound port queue, etc. The memory 1102 is, for example, independent and connected to the processor 1101 via a bus 1104. Or the memory 1102 and the processor 1101 are integrated together. The memory 1102 can store executable code. When the executable code stored in the memory 1102 is executed by the processor 1101, the processor 1101 is used to execute part or all of the functions of the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application. For the implementation of the processor 1101 to execute the process, please refer to the relevant description in the aforementioned embodiment. The memory 1102 may also include software modules and data required for other running processes such as the operating system.

[0141] The communication interface 1103 uses a transceiver module such as, but not limited to, a transceiver to achieve communication with other devices or communication networks. For example, the communication interface 1103 can be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card, and other devices with network access functions.

[0142] The bus 1104 is any type of communication bus for interconnecting the internal devices of the computing device (e.g., the memory 1102, the processor 1101, and the communication interface 1103). For example, a system bus. The embodiment of the present application takes the interconnection of the above-mentioned devices inside the computing device through the bus 1104 as an example. Optionally, the above-mentioned devices inside the computing device 1100 can also be connected to each other in communication with each other using other connection methods other than the bus 1104. For example, the above-mentioned devices inside the computing device 1100 are interconnected through an internal logical interface.

[0143] It should be noted that the above-mentioned multiple devices can be respectively arranged on independent chips, or at least partially or completely arranged on the same chip. Whether to independently arrange each device on different chips or to integrate and arrange it on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the specific implementation form of the above-mentioned devices. The descriptions of the processes corresponding to the above-mentioned figures have different focuses. For the parts not described in detail in a certain process, please refer to the relevant descriptions of other processes.

[0144] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product providing the program development platform includes one or more computer instructions, and when these computer program instructions are loaded and executed on a computing device, all or part of the functions of the dedicated host configuration method of the public cloud technology provided in the embodiments of the present application are implemented.

[0145] Furthermore, computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium stores computer program instructions that provide a program development platform.

[0146] The embodiment of the present application also provides a computing device cluster. 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 smart phone.

[0147] Optionally, the structure of at least one computing device included in the computing device cluster can be found in Fig.12 The computing device 1100 is shown. The memory 1102 in one or more computing devices 1100 in the computing device cluster may store the same instructions for executing the dedicated host configuration method of the public cloud technology.

[0148] In some possible implementations, the memory 1102 of one or more computing devices 1100 in the computing device cluster may also store some instructions for executing the dedicated host configuration method of the public cloud technology. In other words, the combination of one or more computing devices 1100 can jointly execute the instructions for executing the dedicated host configuration method of the public cloud technology.

[0149] It should be noted that the memory 1102 in different computing devices 1100 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the dedicated host configuration device of the public cloud technology. That is, the instructions stored in the memory 1102 in different computing devices 1100 can implement the functions of one or more modules in the acquisition module and the deployment module.

[0150] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.12 A possible implementation is shown. Fig.12 As shown, two computing devices 1200A and 1200B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, computing devices 1200A and 1200B include a bus 1202, a processor 1204, a memory 1206, and a communication interface 12012. The memory 1206 in the computing device 1200A stores instructions for executing the functions of the interaction module. At the same time, the memory 1206 in the computing device 1200B stores instructions for executing the functions of the configuration module.

[0151] It should be understood that Fig.12 The function of the computing device 1200A shown in the figure can also be completed by multiple computing devices 1200. Similarly, the function of the computing device 1200B can also be completed by multiple computing devices 1200. And the deployment method of the module for implementing the dedicated host configuration method of the public cloud technology in the computing device can also be adjusted according to the application requirements.

[0152] An embodiment of the present application also provides a computer-readable storage medium, which is a non-volatile computer-readable storage medium. The computer-readable storage medium includes program instructions. When the program instructions are executed on a computing device, the computing device implements a dedicated host configuration method for public cloud technology as provided in an embodiment of the present application.

[0153] The embodiment of the present application also provides a computer program product including instructions. When the computer program product is executed on a computer, the computer implements the dedicated host configuration method of the public cloud technology provided in the embodiment of the present application.

[0154] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0155] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the original data and executable code involved in this application are all obtained with full authorization.

[0156] In the embodiments of the present application, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. The term "at least one" means one or more, and the term "plurality" means two or more, unless otherwise expressly defined.

[0157] The term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0158] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concept and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A dedicated host configuration method for public cloud technology, characterized in that: The method is performed by a cloud management platform, the cloud management platform is used to manage the infrastructure that provides public cloud services, the infrastructure includes a plurality of dedicated hosts, the plurality of dedicated hosts are divided into a plurality of types, and the method includes: The cloud management platform displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, wherein the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels; The cloud management platform obtains a virtual instance creation request of the tenant, wherein the virtual instance creation request is used to indicate the specification of the target virtual instance to be created and the identifier of the target dedicated host, wherein the specification of the target virtual instance belongs to one of the specifications of the virtual instance supporting multiple performance levels; The cloud management platform selects the target dedicated host from the multiple dedicated hosts based on the identifier of the target dedicated host, and creates the target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request, and virtual instances of tenants other than the tenant are prohibited from being created or run on the target dedicated host.

2. The method according to claim 1, characterized in that The method further comprises: The cloud management platform obtains a target dedicated host creation request of the tenant, where the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant; The cloud management platform marks the target dedicated host as belonging to the tenant based on the target dedicated host creation request, provides the identifier of the target dedicated host to the tenant, and prohibits virtual instances of tenants other than the tenant from being created or run on the target dedicated host.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: The cloud management platform evaluates the multiple dedicated hosts, and updates and displays the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

4. The method according to any one of claims 1 to 3, characterized in that: The multiple dedicated hosts include servers whose service life exceeds a specified period.

5. The method according to any one of claims 1 to 4, characterized in that: The virtual instance includes a virtual machine or a container.

6. A dedicated host configuration device for public cloud technology, characterized in that: The device is configured on a cloud management platform, and the cloud management platform is used to manage an infrastructure that provides public cloud services, wherein the infrastructure includes a plurality of dedicated hosts, and the plurality of dedicated hosts are divided into a plurality of types, and the device includes: An interactive module, used to display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host, wherein the specifications of the virtual instances supported by the dedicated host include specifications of virtual instances supporting multiple performance levels; The interaction module is further used to obtain a virtual instance creation request of the tenant, wherein the virtual instance creation request is used to indicate the specification of the target virtual instance to be created and the identifier of the target dedicated host, wherein the specification of the target virtual instance belongs to one of the specifications of the virtual instance supporting multiple performance levels; A configuration module is provided for selecting the target dedicated host from the multiple dedicated hosts based on the identifier of the target dedicated host, and creating the target virtual instance on the target dedicated host, wherein the specifications assigned to the target virtual instance by the target dedicated host match the specifications indicated by the virtual instance creation request, and virtual instances of tenants other than the tenant are prohibited from being created or run on the target dedicated host.

7. The device according to claim 6, characterized in that The interaction module is further used to obtain a target dedicated host creation request of the tenant, where the target dedicated host creation request is used to indicate the type of dedicated host selected by the tenant; The configuration module is also used to mark the target dedicated host as belonging to the tenant according to the target dedicated host creation request, provide the identifier of the target dedicated host to the tenant, and prohibit virtual instances of other tenants except the tenant from being created or run on the target dedicated host.

8. The device according to claim 6 or 7, characterized in that The interaction module is further used to evaluate the multiple dedicated hosts, and update and display the specifications and corresponding quantities of virtual instances supported by each type of dedicated host.

9. The device according to any one of claims 6 to 8, characterized in that The multiple dedicated hosts include servers whose service life exceeds a specified period.

10. The device according to any one of claims 6 to 9, characterized in that The virtual instance includes a virtual machine or a container.

11. A computing device cluster, characterized in that: The method comprises a plurality of computing devices, wherein the plurality of computing devices comprises a plurality of processors and a plurality of memories, wherein program instructions are stored in the plurality of memories, and the plurality of processors execute the program instructions, so that the computing device cluster executes any one of the methods described in claims 1 to 5.

12. A computer-readable storage medium, characterized in that: The method comprises program instructions, and when the program instructions are executed on a computing device, the computing device is caused to execute the method according to any one of claims 1 to 5.

13. 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 5.

Citation Information

Cited By

  • Method and system for creating special cloud server on cloud platform

    CN121173680A