Cloud resource management method and apparatus, computer device, and storage medium
View Patent ↗A cloud resource management method pertains to the field of cloud service technologies. The cloud resource management method includes providing an interaction interface, where the interaction interface receives a cloud resource query instruction from a tenant, and the cloud resource query instruction requests to query a cloud resource managed by a cloud management platform; and sending, to the tenant according to the cloud resource query instruction, a cloud resource map marked with a geographical location of the cloud resource to enrich functions of managing the cloud resource by the cloud management platform.
1 . A method implemented by a cloud management platform, wherein the method comprises:
providing an interaction interface;
receiving, on the interaction interface from a first tenant, a cloud resource query instruction requesting to query a first cloud resource managed by the cloud management platform;
sending, to the first tenant according to the cloud resource query instruction, a cloud resource map marked with a first geographical location of the first cloud resource;
sending, to the first tenant, one or more improvement policies for improving a running status of a second cloud resource purchased by a second tenant;
receiving, from the first tenant, a feedback instruction indicating an improvement policy selected from the one or more improvement policies; and
executing, on the second cloud resource, the improvement policy.
2 . The method of claim 1 , wherein the cloud resource query instruction carries tenant information, and wherein the first cloud resource comprises the second cloud resource that has been purchased by the second tenant corresponding to the tenant information.
3 . The method of claim 1 , wherein the cloud resource query instruction carries tenant information, and wherein the first cloud resource comprises the second cloud resource that has been concerned by the second tenant corresponding to the tenant information.
4 . The method of claim 1 , wherein the cloud resource query instruction carries a cloud resource identifier, and wherein the first cloud resource comprises the second cloud resource indicated by the cloud resource identifier.
5 . The method of claim 1 , wherein the cloud resource query instruction carries a type identifier, and wherein the first cloud resource comprises the second cloud resource of a type indicated by the type identifier.
6 . The method of claim 1 , wherein the cloud resource map indicates related information of any cloud resource displayed in the cloud resource map, and wherein the related information comprises one or more of:
a type of the first cloud resource;
a real-time running status of the first cloud resource;
a predicted running status of the first cloud resource; or
a second geographical location of a physical resource on which the first cloud resource depends.
7 . The method of claim 1 , further comprising:
receiving, on the interaction interface from the first tenant, a selection instruction requesting to query the second cloud resource selected using the selection instruction; and
sending, to the first tenant, related information of the second cloud resource after sending the cloud resource map, wherein the related information comprises one or more of:
an environment status of an environment in which the physical resource is located;
a deployment condition of the second cloud resource;
fee information of the second cloud resource; or
version information of the second cloud resource.
8 . The method of claim 1 , further comprising:
sending, to the first tenant, an operation and maintenance notification of the second cloud resource purchased by the second tenant, wherein a function of the operation and maintenance notification comprises one or more of:
indicating the running status of the second cloud resource;
recommending a matching resource of the second cloud resource; or
reminding the first tenant of fee information of the second cloud resource.
9 . The method of claim 1 , wherein the improvement policy comprises one or more of:
a first policy for indicating to adjust a bandwidth used by the second cloud resource;
a second policy for indicating to migrate a virtual resource used by the first tenant;
a third policy for indicating to switch a type of the second cloud resource;
a fourth policy for indicating to restart, rebind, and re-establish a connection to the second cloud resource;
a fifth policy for indicating to expand a capacity of a cloud disk of the second cloud resource;
a sixth policy for indicating to expand a capacity of a newly add cloud disk; or
a seventh policy for prompting to update software of the second cloud resource.
10 . The method of claim 1 , wherein the interaction interface comprises one or more of an application programming interface (API), an interaction template, or a configuration interface.
11 . An apparatus comprising:
a memory configured to store instructions; and
one or more processors coupled to the memory and configured to execute the instructions to cause the apparatus to:
provide an interaction interface;
receive, on the interaction interface from a first tenant, a cloud resource query instruction requesting to query a first cloud resource managed by a cloud management platform;
send, to the first tenant according to the cloud resource query instruction, a cloud resource map marked with a first geographical location of the first cloud resource;
send, to the first tenant, one or more improvement policies for improving a running status of a second cloud resource purchased by a second tenant;
receive, from the first tenant, a feedback instruction indicating an improvement policy selected from the one or more improvement policies; and
execute, on the second cloud resource, the improvement policy.
12 . The apparatus of claim 11 , wherein the cloud resource query instruction carries tenant information, and wherein the first cloud resource comprises the second cloud resource that has been purchased by the second tenant corresponding to the tenant information.
13 . The apparatus of claim 11 , wherein the cloud resource query instruction carries tenant information, and wherein the first cloud resource comprises the second cloud resource that has been concerned by the second tenant corresponding to the tenant information.
14 . The apparatus of claim 11 , wherein the cloud resource query instruction carries a cloud resource identifier, and wherein the first cloud resource comprises the second cloud resource indicated by the cloud resource identifier.
15 . The apparatus of claim 11 , wherein the cloud resource query instruction carries a type identifier, and wherein the first cloud resource comprises the second cloud resource of a type indicated by the type identifier.
16 . The apparatus of claim 11 , wherein the cloud resource map indicates related information of any cloud resource displayed in the cloud resource map, and wherein the related information comprises one or more of:
a type of the first cloud resource;
a real-time running status of the first cloud resource;
a predicted running status of the first cloud resource; or
a second geographical location of a physical resource on which the first cloud resource depends.
17 . The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to cause the apparatus to:
receive, on the interaction interface from the first tenant, a selection instruction requesting to query the second cloud resource selected using the selection instruction; and
send, to the first tenant, related information of the second cloud resource, wherein the related information comprises one or more of:
an environment status of an environment in which the physical resource is located;
a deployment condition of the second cloud resource;
fee information of the second cloud resource; or
version information of the second cloud resource.
18 . The apparatus of claim 11 , wherein the one or more processors are further configured to execute the instructions to cause the apparatus to:
send, to the first tenant, an operation and maintenance notification of the second cloud resource purchased by the second tenant, wherein a function of the operation and maintenance notification comprises one or more of:
indicating the running status of the second cloud resource;
recommending a matching resource of the second cloud resource; and
reminding the first tenant of fee information of the second cloud resource.
19 . The apparatus of claim 11 , wherein the interaction interface comprises one or more of an application programming interface (API), an interaction template, or a configuration interface.
20 . A computer program product comprising computer executable instructions stored on a non-transitory computer-readable storage medium and that, when executed by one or more processors, cause a network device to:
provide an interaction interface;
receive, on the interaction interface from a first tenant, a cloud resource query instruction requesting to query a first cloud resource managed by a cloud management platform;
send, to the first tenant according to the cloud resource query instruction, a cloud resource map marked with a first geographical location of the first cloud resource;
send, to the first tenant, one or more improvement policies for improving a running status of a second cloud resource purchased by a second tenant;
receive, from the first tenant, a feedback instruction indicating an improvement policy selected from the one or more improvement policies; and
execute, on the second cloud resource, the improvement policy.