Computing resource configuration method and device for enterprise cloudification
View Patent ↗An embodiment of the present invention discloses a computing resource configuration method and device for enterprise cloudification. The method comprises the following steps: obtaining parameters configured by a user through a configuration page, wherein the parameters include a proportion of a bidding instance to an on-demand instance; determining a total amount of computing resources required by a computing task after the computing task is obtained; determining the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance based on existing computing resources, the total amount of the computing resources and the proportion; and applying for the computing resources from a cloud provider based on the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance. Big data is computed in a bidding instance mode so that the total cost of the computing resources is greatly reduced. Moreover, the technical problem of high total cost of the computing resources caused by performing data computing in a mode of depending on a reserved instance and/or the on-demand instance is solved.
1 . A computing resource configuration method for enterprise cloudification comprises the following steps:
obtaining parameters configured by a user through a configuration page, wherein the parameters include a proportion of a bidding instance to an on-demand instance;
determining a total amount of computing resources required by a computing task after the computing task is obtained; determining the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance based on existing computing resources, the total amount of the computing resources and the proportion; and
applying for the computing resources from a cloud provider based on the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance; wherein before applying for the computing resources from the cloud provider, the method further comprises the following steps:
computing a difference value between the current remaining computing resources and the total amount of the computing resources when a computing resource recovering event of the cloud provider or a downtime event is monitored; and
applying for the computing resources from the cloud provider based on the difference value, the configured parameters, the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance;
wherein the method further comprises:
monitoring existing computing resources; and
releasing idle computing resources if the idle computing resources exist in the existing computing resources, wherein when determining, a missing computing resource capacity, monitoring, whether computing resources in a computing cluster being idle at present or not; if an idle time exceeding a certain time threshold value, carrying out, a recovery process of the computing resources; and sending a computing resource recovery request to an automatic orchestrating module in the recovery process, and then responding, the computing resource recovery request, by the automatic orchestrating module, to release the computing resources.
2 . The computing resource configuration method for enterprise cloudification according to claim 1 , wherein the step of obtaining the parameters configured by the user through the configuration page further includes: obtaining a bidding mode of the bidding instance, wherein the bidding mode includes a floating bidding mode and a fixed price mode;
in the floating bidding mode, the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance are directly determined based on the configured parameters; and
in the fixed bidding mode, if the set bidding price is lower than the market price, the computing resources corresponding to the bidding instance and the computing resources corresponding to the on-demand instance are determined again based on the configured parameters after the cloud provider recovers the computing resources.
3 . The computing resource configuration method for enterprise cloudification according to claim 1 , wherein the step of obtaining the parameters configured by the user through the configuration page further includes:
obtaining types of instances configured by the user through the configuration page; and
determining the number of the required different instance types based on the types of the instances and the total amount of computing resources required by the computing task in a computing resource creation process.
4 . The computing resource configuration method for enterprise cloudification according to claim 1 , wherein the step of obtaining the parameters configured by the user through the configuration page further includes: obtaining the percentage of time delay errors of the tasks configured by the user through the configuration page.
5 . The computing resource configuration method for enterprise cloudification according to claim 1 , wherein the step of obtaining the parameters configured by the user through the configuration page further includes:
obtaining the maximum value of the computing resources configured by the user through the configuration page; and
obtaining the minimum value of the computing resources configured by the user through the configuration page.
6 . The computing resource configuration method for enterprise cloudification according to claim 1 , wherein the proportion of the bidding instance to the on-demand instance is 1:1; 2:1; 5:1; 10:1; and/or 1:0.
7 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 6 .
8 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 5 .
9 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 3 .
10 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 2 .
11 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 1 .
12 . A non-transitory computer readable storage medium, being used for storing computer instructions, wherein the computer instructions are used for enabling a computer to execute the computing resource configuration method for enterprise cloudification according to claim 1 .
13 . An electronic equipment, comprising at least one processor and a memory in communication connection with the at least one processor, wherein the memory is used for storing a computer program which can be executed by the at least one processor and the computer program is executed by the at least one processor, so that the at least one processor can be used for executing the computing resource configuration method for enterprise cloudification according to claim 6 .
14 . An electronic equipment, comprising at least one processor and a memory in communication connection with the at least one processor, wherein the memory is used for storing a computer program which can be executed by the at least one processor and the computer program is executed by the at least one processor, so that the at least one processor can be used for executing the computing resource configuration method for enterprise cloudification according to claim 4 .
15 . An electronic equipment, comprising at least one processor and a memory in communication connection with the at least one processor, wherein the memory is used for storing a computer program which can be executed by the at least one processor and the computer program is executed by the at least one processor, so that the at least one processor can be used for executing the computing resource configuration method for enterprise cloudification according to claim 2 .
16 . An electronic equipment, comprising at least one processor and a memory in communication connection with the at least one processor, wherein the memory is used for storing a computer program which can be executed by the at least one processor and the computer program is executed by the at least one processor, so that the at least one processor can be used for executing the computing resource configuration method for enterprise cloudification according to claim 1 .
17 . An electronic equipment, comprising at least one processor and a memory in communication connection with the at least one processor, wherein the memory is used for storing a computer program which can be executed by the at least one processor and the computer program is executed by the at least one processor, so that the at least one processor can be used for executing the computing resource configuration method for enterprise cloudification according to claim 1 .