Summary of the invention
The present invention provides a kind of management method of the resource of cloud platform and cloud Guan Pingtai, it is therefore intended that realizes simple and convenientThe resource of ground management cloud platform.
To achieve the goals above, this application provides following technical schemes:
First aspect present invention provides a kind of management method of the resource of cloud platform, comprising:
It is a cloud environment that a region under cloud account, which is arranged, in cloud pipe platform, and manages the cloud using the cloud environmentThe resource of platform;
Wherein, the cloud account is the account of the cloud platform.
Optionally, in the above-mentioned methods, a region under the cloud pipe platform setting cloud account is a cloud environment, packetIt includes:
The cloud pipe platform obtains all regions under the cloud account;
Mark of the cloud pipe platform according at least one region to be added obtains the corresponding cloud ring in the region to be addedBorder mark, and save the cloud environment mark;Wherein, the region to be added be the cloud account under all regions in by withThe specified region in family.
Optionally, in the above-mentioned methods, after the cloud pipe platform preservation cloud environment mark, further includes:
The cloud pipe platform is identified according to the cloud environment, is the corresponding quota of administrator setting of the cloud environment.
Optionally, in the above-mentioned methods, after the cloud pipe platform preservation cloud environment mark, further includes:
The cloud pipe platform is identified according to the cloud environment, by the corresponding cloud resource in the cloud platform of the cloud environmentIt is synchronized under the cloud environment.
Optionally, in the above-mentioned methods, further includes:
The cloud pipe platform is identified according to cloud environment to be edited and editing parameter, edits the cloud environment mark pair to be editedThe cloud environment answered.
Optionally, in the above-mentioned methods, the cloud pipe platform manages the resource of the cloud platform, packet using the cloud environmentIt includes:
Management of the cloud pipe platform to the cloud resource under the cloud environment, and distribute or recycle under the cloud environmentCloud resource to tenant.
Optionally, in the above-mentioned methods, management of the cloud pipe platform to the cloud resource under the cloud environment, comprising:
The cloud pipe platform is obtained to pipe cloud environment and management parameters;Wherein, described to be managed to pipe cloud environment for user is specifiedCloud environment corresponding to the cloud resource of reason;
The cloud pipe platform is determined to the corresponding cloud account of pipe cloud environment, region and cloud-type information;
The cloud pipe platform calls the interface of the corresponding cloud resource adapter of the cloud-type information, is fitted by the cloud resourceOrchestration utilizes the management parameters, is managed to the corresponding cloud resource in region under the cloud account.
Optionally, in the above-mentioned methods, the cloud pipe platform distributes the cloud resource under the cloud environment to tenant, comprising:
The cloud pipe platform obtains cloud environment to be allocated and tenant;
The cloud pipe platform is that the tenant distributes the cloud environment to be allocated corresponding quota, and establishes described wait divideCorresponding relationship with cloud environment and the tenant;
Cloud resource under the cloud environment to be allocated is distributed to the tenant by the cloud pipe platform.
Optionally, in the above-mentioned methods, the cloud pipe platform recycles the cloud resource under the cloud environment to tenant, comprising:
The cloud pipe platform deletes the corresponding relationship between cloud environment to be recycled and corresponding tenant, and establishes described wait returnReceive the corresponding relationship between cloud environment and the manager of cloud environment.
Second aspect of the present invention provides a kind of cloud Guan Pingtai, comprising:
Setting unit, a region for being arranged under cloud account are a cloud environment;Wherein, the cloud account is describedThe account of cloud platform;
Administrative unit, for managing the resource of the cloud platform using the cloud environment.
Optionally, in above-mentioned cloud pipe platform, the setting unit, comprising:
First acquisition unit, for obtaining all regions under the cloud account;
Subelement is set, for the mark according at least one region to be added, it is corresponding to obtain the region to be addedCloud environment mark, and save cloud environment mark;Wherein, the region to be added is the region under the cloud accountThe middle region specified by user.
Optionally, in above-mentioned cloud pipe platform, further includes:
Quota setting unit is matched for being identified according to the cloud environment for the administrator setting of the cloud environment accordinglyVolume.
Optionally, in above-mentioned cloud pipe platform, further includes:
Source synchronous unit, it is for being identified according to the cloud environment, the cloud environment is corresponding in the cloud platformCloud resource is synchronized under the cloud environment.
Optionally, in above-mentioned cloud pipe platform, further includes:
Edit cell, for editing the cloud environment mark to be edited according to cloud environment to be edited mark and editing parameterCorresponding cloud environment.
Optionally, in above-mentioned cloud pipe platform, the administrative unit, comprising:
Subelement is managed, for being managed to the cloud resource under the cloud environment;
Allocation unit, cloud resource for distributing under the cloud environment to tenant;
Recovery unit, for recycling the cloud resource under the cloud environment to tenant.
Optionally, in above-mentioned cloud pipe platform, the management subelement, comprising:
Second acquisition unit, for obtaining to pipe cloud environment and management parameters;Wherein, described to refer to pipe cloud environment for userSurely cloud environment corresponding to the cloud resource managed;
Determination unit, for determining to the corresponding cloud account of pipe cloud environment, region and cloud-type information;
Call unit, for calling the interface of the corresponding cloud resource adapter of the cloud-type information, by the cloud resourceAdapter utilizes the management parameters, is managed to the corresponding cloud resource in region under the cloud account.
Optionally, in above-mentioned cloud pipe platform, the allocation unit, comprising:
Third acquiring unit, for obtaining cloud environment to be allocated and tenant;
Cloud environment allocation unit for distributing the cloud environment to be allocated corresponding quota for the tenant, and is establishedThe corresponding relationship of the cloud environment to be allocated and the tenant;
Cloud resource allocation unit, for the cloud resource under the cloud environment to be allocated to be distributed to the tenant.
Optionally, in above-mentioned cloud pipe platform, the recovery unit, comprising:
Subelement is recycled, for deleting the corresponding relationship between cloud environment to be recycled and corresponding tenant, and described in foundationCorresponding relationship between the manager of cloud environment and cloud environment to be recycled.
Third aspect present invention additionally provides a kind of cloud Guan Pingtai, comprising: processor and memory;Wherein;
The memory is for storing computer program code;
When the processor is used to execute the code of the memory storage, for executing cloud described in above-mentioned any oneThe management method of the resource of platform.
Fourth aspect present invention provides a kind of computer readable storage medium, which is characterized in that described computer-readableInstruction is stored in storage medium, described instruction is for executing method performed by above-mentioned cloud pipe platform.
An areal setting under cloud account is by the management method of the resource of cloud platform provided by the invention, cloud pipe platformOne cloud environment, then manages the resource of cloud platform by the cloud environment.By a region under cloud account and cloud accountIt is combined into one, is set as a cloud environment, the institute of the resource of cloud platform directly can be accurately positioned by a cloud environmentIn region, the resource completed under the quota setting and region of the region is managed, it is no longer necessary to cloud account number and region markTwo marks are known, so that the management to resource is more simple and convenient.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of management method of the resource of cloud platform and cloud Guan Pingtai, it is therefore intended that realizes letterSingle resource for easily managing cloud platform.
Firstly the need of explanation, cloud Guan Pingtai disclosed by the invention, that is, cloud management platform, commonly used in receiving pipe oneCloud resource under a or multiple cloud platforms and cloud platform, convenient for user preferably to the money under multiple cloud platforms and cloud platformThe management in source.Specifically, cloud pipe platform can be divided into front-end and back-end, wherein the front end of cloud pipe platform is for being supplied to userOperation interface realizes the interaction with user;The rear end of cloud pipe platform is used to respond the operation of user.Also, after cloud pipe platformThe processing result at end, it is also necessary to be shown by front end to user.By the cloud pipe platform can resource to multiple cloud platforms intoThe unified management of row.
Cloud pipe platform in actual use, as shown in Figure 1, the front end of cloud pipe platform is carried on headend equipment 101,The rear end of cloud pipe platform is carried on back-end server 102.Headend equipment 101 can be the user equipmenies such as computer or mobile phone, be used forThe front end of cloud pipe platform is presented to user, user is interacted by front end and cloud pipe platform;Back-end server 102 is mounted with cloudThe rear end of pipe platform, for responding operation of the user on headend equipment 101.The cloud pipe platform proposed in the following contents all refers toThe rear end of cloud pipe platform.
Also, cloud pipe platform can be basically divided into: application programming interface (Application ProgrammingInterface, API) layer, management (manager) layer, database (database, db) layer, cloud resource adaptation layer and resource(resource) layer is driven.
It should also be noted that, cloud pipe platform disclosed by the invention is managed based on resource of the cloud environment to cloud platform.Wherein, defining a region under specified cloud account is a cloud environment.
Based on above-mentioned cloud Guan Pingtai, the embodiment of the invention provides a kind of management methods of the resource of cloud platform, such as Fig. 2 instituteShow, comprising:
A region under S201, cloud pipe platform setting cloud account is a cloud environment.
Wherein, the cloud account is the account of the cloud platform.
It should be noted that cloud pipe platform can receive the multiple cloud platforms of pipe.One user can possess multiple cloud platformsCloud account, usually there are multiple regions and select to use for user in each cloud platform, so can be corresponding under a cloud account moreA region.For example, may include having one area of Guangdong, Guangdong Er Qu, one area of Shanghai etc. multiplely under the account of Ali's cloud platformArea.It is independent from each other between different regions under one account, so for the different region under same account and notManagement with the resource under region is also independent of each other.Therefore, for receiving under pipe to each of cloud pipe platform cloud accountA region one unique cloud environment is all set.
Optionally, in another embodiment of the present invention, as shown in figure 3, a kind of embodiment of the step S201, specific to wrapIt includes:
S301, cloud pipe platform obtain all regions under cloud account.
Optionally, user can by the front end of cloud pipe platform it is incoming need to receive pipe to the cloud platform in cloud pipe platform accountNumber, password and custom parameter.The management level of cloud pipe platform verify the incoming account and correctness of password etc..Again byDatabase layer returns to the information of the cloud account in incoming account, password and custom parameter write-in database.ItsIn, the information of the cloud account includes at least the mark of the cloud account.
Cloud pipe platform calls corresponding interface corresponding to the cloud account number according to the cloud account number returnedAll regions of the cloud platform are inquired in cloud platform, and are returned to front end and selected for user.
The mark of S302, cloud pipe platform according at least one region to be added obtains the corresponding cloud in the region to be addedEnvironmental labels, and save the cloud environment mark.
Wherein, the region to be added is the region specified in all regions under the cloud account by user.
It should be noted that user can select need to be added by the front end of cloud pipe platform from all regions of returnRegion, it is either one or more.User selects after needing region to be added, and the front end of cloud pipe platform is sent to the back-endAdd cloud environment request.Wherein, cloud environment request includes at least the cloud account number and the selected region of userMark.
Cloud pipe platform generates cloud environment and requests corresponding cloud environment, obtains the mark of cloud environment and preservation.Specifically, cloudThe management level of pipe platform by cloud environment request in the parameter that carries, be converted to cloud environment mark, then by the data of cloud pipe platformLibrary layer is written into database.
After cloud pipe platform obtains cloud environment mark, the mark of the cloud environment can also be returned to use by front endFamily.Wherein, user specifies the region of how many additions, will generate the cloud environment of equivalent amount accordingly.
It should also be noted that, carrying out cloud environment by calling all regions for obtaining cloud platform in the present embodimentAddition.Therefore, all regions configured with all cloud platforms are not needed in cloud pipe platform, just reduce memory source occupancy yetAnd avoid management to the resource.
Optionally, the selected region of user can be stored in local by cloud pipe platform, so as to subsequent direct use.It keeps awayExempt from calling interface again to go out to inquire from the cloud platform, provides the operational efficiency of cloud pipe platform.Optionally, another reality of the present inventionIt applies in example, can further include after executing step S302 see also Fig. 3:
S303, cloud pipe platform are identified according to the cloud environment, are the corresponding quota of administrator setting of the cloud environment.
It should be noted that the virtual resource that user uses cloud platform to create, can all occupy cloud platform provider accordinglyPhysical resource, so cloud platform is provided with quota, i.e. cloud platform for each region itself under each accountAmount for the lower resource that can be used in each region under each account is conditional, so that single user be avoided to account forWith excessive physical resource.Therefore, cloud platform is received pipe equally should administrator i.e. user to cloud environment into cloud pipe platformCorresponding quota is set, to limit usage amount of the manager to cloud platform resource of cloud environment.
The quota that each cloud environment can be effectively managed by cloud pipe platform, when the use of the resource under some cloud environmentMore than the setting quota when, timely forbid corresponding user to occupy the more resources of cloud platform again.It wherein, is the cloudThe quota of the administrator setting of environment can be equal to corresponding quota set by the corresponding cloud platform of the cloud environment.
S304, cloud pipe platform are identified according to the cloud environment, and the corresponding cloud in the cloud platform of the cloud environment is providedSource is synchronized under the cloud environment.
It should be noted that the region under the cloud account of the corresponding cloud platform of the cloud environment is not added into cloud Guan PingtaiBefore, user may create resource under the region of cloud platform.And the region under the account is added to cloud pipe by userPlatform is only merely to be added to corresponding cloud environment in cloud pipe platform, and the resource previously created under the region and be not belonging toCloud Guan Pingtai, also just can not be by the management of cloud pipe platform.That is, before user can not continue management by cloud pipe platformThe resource of creation.So after having added the cloud environment, it should by the corresponding cloud resource in cloud platform of the cloud environmentIt is synchronized under the cloud environment, that is, is synchronized under cloud pipe platform, user is allowed directly to continue management first by cloud pipe platformThe resource of preceding creation.Certainly, after adding cloud environment, by cloud pipe platform in cloud platform newly created resource, then can be straightIt connected cloud pipe platform to be managed, and no longer needed to the synchronization for carrying out the resource.
Specifically, cloud pipe platform is identified according to cloud environment, obtain the cloud resource type of the affiliated cloud platform of cloud environment, and by itsDress is changed to the driving identifiable parameter of layer, and identifiable parameter is reconverted into cloud resource adaptation layer by the driving layer of cloud pipe platform canThe parameter of identification, cloud resource adaptation layer call corresponding cloud resource adaptor interface, same buyun according to itself identifiable parameterUnder cloud resource to the cloud environment in platform.
Execution it should also be noted that, step S303 and step S304 are completely independent, for the two stepsSequencing does not require specifically, and the execution sequence of the two steps is only one way in which in the embodiment of the present invention.That is after executing the step S302, step S303 can be first carried out and execute step S304 again, step can also be first carried outS304 executes step S303 again, then is performed simultaneously step S303 and S304.This belongs to the range that the present invention is protected.
Optionally, in another embodiment of the present invention, it can further include the editor to the cloud environment, specifically:
The cloud pipe platform is identified according to cloud environment to be edited and editing parameter, edits the cloud environment mark pair to be editedThe cloud environment answered.
Wherein, compiling the corresponding cloud environment of the cloud environment mark to be compiled can be deletion or the change cloud environment.
Optionally, user is handled by the management level of cloud pipe platform to identify and compile by the cloud environment to be compiled that front end issuesParameter is translated, requirement for compiler is then issued to database, the cloud environment to be compiled is compiled, and processing result is returnedThe front end of cloud pipe platform.
In the present embodiment, cloud pipe platform determines the cloud environment for needing to be compiled according to the mark of cloud environment to be edited,Editing parameter is recycled the operation such as the cloud environment to be deleted or changed, so that the management for cloud environment is more cleverIt is living.
S202, cloud pipe platform manage the resource of the cloud platform using the cloud environment.
Wherein, cloud environment corresponds to a region under cloud platform, therefore, what user constructed under the region of a cloud platformCloud host is equal to the cloud host constructed under cloud environment.Cloud pipe platform manages the money of the cloud platform using the cloud environmentSource, the then cloud environment for generally referring to management cloud platform and cloud host this resource under cloud environment.
Based on the cloud environment, the resource progress additions and deletions under the cloud environment and the cloud environment to the cloud platform, which change, is looked intoOperation.User can manage the resource under corresponding cloud environment and cloud environment by cloud environment, not need to pay close attention to cloud account againRelationship between region.
Wherein, the resource that the cloud platform is managed using the cloud environment, specifically to the cloud environment and describedResource under cloud environment carries out corresponding management operation, that is, includes changing to the carry out additions and deletions under the cloud environment and the cloud environmentLook into and recycle the operation such as distribution.
Optionally, cloud pipe platform can pass through the application programming on the backstage of cloud pipe platform to the management operation of cloud environmentInterface layer, management level and database layer are completed, and can then pass through application program to the management of the resource under cloud environment operationProgramming interface layer, management level, cloud resource adaptation layer and driving layer are completed.
In method provided in an embodiment of the present invention, an areal setting under cloud account is a cloud ring by cloud pipe platformThen border manages the resource under cloud platform by the cloud environment.By the mark of a region under cloud account and cloud accountIt is combined into one, is set as a cloud environment, the institute of the resource of cloud platform directly can be accurately positioned by a cloud environmentIn region, the resource completed under the quota setting and region of the region is managed, it is no longer necessary to cloud account number and region markTwo marks are known, so that the management to resource is more simple and convenient.
In another embodiment of the present invention, a kind of embodiment of step S202, specifically:
Management of the cloud pipe platform to the cloud resource under the cloud environment, and distribute or recycle the cloud under the cloud environmentResource is to tenant.
As described in above content, the cloud resource under cloud environment is the cloud host under cloud environment.It is described to the cloud environmentUnder the management of cloud resource be exactly the management behaviour such as to be increased, delete, change, look into each cloud host under cloud environment by cloud pipe platformMake.And the distribution or the cloud resource recycled under the cloud environment are referred to cloud host assignment to user to tenant or generalThe cloud host for distributing to tenant recycles.It should be noted that the management in order to more concentrate, orderly, the recycling distributionEqual operations are typically limited to administrative staff.
Wherein, the cloud pipe platform is to a kind of embodiment of the management of the cloud resource under the cloud environment, referring to fig. 4,It can specifically include:
S401, cloud pipe platform are obtained to pipe cloud environment and management parameters.
Wherein, cloud environment corresponding to the cloud resource to pipe cloud environment for the specified management of user.
It should be noted that described be issued to institute by the front end of cloud pipe platform by user to pipe cloud environment and management parametersIn the application programming interface layer for stating cloud pipe platform.User can be sent by the front end Xiang Yunguan platform of cloud pipe platform to Guan YunThe mark of environment, and the parameter for being managed operation for treating pipe cloud environment.
S402, cloud pipe platform are determined to the corresponding cloud account of pipe cloud environment, region and cloud-type information.
It should be noted that there are difference for cloud-type information corresponding to different cloud platforms.The cloud Guan PingtaiIn the process of development, it is provided with corresponding cloud-type information for different cloud platforms, can be obtained by by cloud environment markCorresponding cloud-type information, to determine cloud platform belonging to the cloud environment according to the fortune type information.
Optionally, the mark to pipe cloud environment is converted into corresponding cloud account mark by the management level of You Yunguan platformKnow, domain identifier and cloud-type information, and these data are handled, are then issued in resource driving layer.
S403, cloud pipe platform call the interface of the corresponding cloud resource adapter of the cloud-type information, by the cloud resourceAdapter utilizes the management parameters, is managed to the corresponding cloud resource in region under the cloud account.
Cloud pipe platform is determined according to cloud-type information, described to cloud platform corresponding to pipe cloud environment, is then called and is somebody's turn to doThe interface of the corresponding cloud resource adapter of cloud platform.Using the interface of the cloud resource adapter to the region under the cloud accountCorresponding cloud resource is managed.
Optionally, the data issued are converted to cloud resource adapter layer using the driving layer of the cloud pipe platform can recognizeData, the cloud resource adapter as corresponding to cloud resource adapter layer cloud-type information according to the data call connectsMouthful.Then, cloud resource is managed from the cloud resource adaptor interface, processing result is then returned into application programmingIn interface layer, wherein the exception of cloud platform appearance can be uniformly processed in application programming interface layer.Finally by all placesReason result is converted to the software architecture wind of performance layer state conversion (Representational State Transfer, REST)Lattice to provide the cooperation property that resource can be used interchangeably between system, and return to the front end of the cloud pipe platform, are shown to useFamily.
The cloud pipe platform distributes the cloud resource under the cloud environment to a kind of embodiment of tenant, referring to Fig. 5, specificallyInclude:
S501, cloud pipe platform obtain cloud environment to be allocated and tenant.
It should be noted that by cloud resource that the cloud pipe platform distributes under the cloud environment to tenant be usually be directed to it is moreThe case where tenant.Resource under the cloud environment and cloud environment is managed collectively by administrator, and different tenants needs differenceCloud environment under resource, need administrator will be under the resource allocation under corresponding cloud environment to corresponding tenant at this time.
For example, the cloud resource under cloud environment and cloud environment is usually managed collectively by the IT personnel of company, and below companyThere are multiple departments, that is, there are multiple tenants, and the required cloud resource of different departments is different, these cloud resourcesIt is likely to be under different cloud environments.At this time, it is necessary to which the IT personnel as cloud environment administrator will be under corresponding cloud environmentResource allocation gives corresponding department.
S502, cloud pipe platform are the corresponding quota of the tenant distribution cloud environment to be allocated, and establish it is described toDistribute the corresponding relationship of cloud environment and the tenant.
Cloud resource under cloud environment to be allocated is distributed into corresponding tenant, it is necessary first to by the cloud environment to be allocatedUser is distributed to, then the cloud resource under the cloud environment to be allocated is distributed into tenant.Certainly, in order to meet cloud platform quotaSetting, avoiding user occupancy resource is more than quota.Cloud pipe platform is equally needed when the cloud environment to be allocated is distributed to tenantQuota is set for tenant, i.e., by the allocation of quota of the cloud environment to be allocated to tenant, tenant is for resource using notIt can exceed that the quota.Then the corresponding relationship of the cloud environment to be allocated and the tenant is established, thus by the cloud to be allocatedPartition has given the tenant.
Cloud resource under the cloud environment to be allocated is distributed to the tenant by S503, cloud pipe platform.
It should be noted that the cloud resource under cloud environment can be distributed to tenant by cloud pipe platform, equally rent can will be distributed toResource reclaim under the cloud environment at family.
Optionally, the cloud pipe platform recycles a kind of embodiment of the cloud resource under the cloud environment, specifically:
Cloud pipe platform deletes the corresponding relationship between cloud environment to be recycled and corresponding tenant, and establishes the cloud to be recycledCorresponding relationship between environment and the manager of cloud environment.
That is, the cloud environment established is corresponding with tenant when by distributing the cloud resource of cloud environment before for tenantRelationship is deleted, and the relationship of the two is released.Then, by the management of the cloud environment for the relationship that releases cloud environment i.e. to be recycled and cloud environmentPerson establishes corresponding relationship, and cloud environment is recovered at the manager of cloud environment.
Present embodiment discloses in the management method of the resource of cloud platform, cloud pipe platform sets a region under cloud accountIt is set to a cloud environment, the resource of cloud platform is then managed by the cloud environment.By one under cloud account and cloud accountRegion is combined into one, and is set as a cloud environment, and the resource of cloud platform directly can be accurately positioned by a cloud environmentPlace region, complete the region quota setting and region under resource is managed, it is no longer necessary to cloud account number and groundDomain identifier two marks, so that the management to resource is more simple and convenient.
Another embodiment of the present invention provides a kind of cloud Guan Pingtai, as shown in Figure 6, comprising:
Setting unit 601, a region for being arranged under cloud account are a cloud environment.
Wherein, the cloud account is the account of the cloud platform.
Administrative unit 602, for managing the resource of the cloud platform using the cloud environment.
Optionally, in another embodiment of the present invention, setting unit 601, comprising:
First acquisition unit, for obtaining all regions under the cloud account.
Subelement is set, for the mark according at least one region to be added, it is corresponding to obtain the region to be addedCloud environment mark, and save cloud environment mark.
Wherein, the region to be added is the region specified in the region under the cloud account by user
Optionally, in another embodiment of the present invention, the cloud Guan Pingtai be can further include:
Quota setting unit is matched for being identified according to the cloud environment for the administrator setting of the cloud environment accordinglyVolume.
Source synchronous unit, it is for being identified according to the cloud environment, the cloud environment is corresponding in the cloud platformCloud resource is synchronized under the cloud environment.
Edit cell, for editing the cloud environment mark to be edited according to cloud environment to be edited mark and editing parameterCorresponding cloud environment.
Optionally, in another embodiment of the present invention, referring to Fig. 7, the administrative unit, comprising:
Subelement 701 is managed, for being managed to the cloud resource under the cloud environment.
Allocation unit 702, cloud resource for distributing under the cloud environment to tenant.
Recovery unit 703, for recycling the cloud resource under the cloud environment to tenant.
Optionally, in another embodiment of the present invention, see also Fig. 7, subelement 701 is managed, comprising:
Second acquisition unit 7011, for obtaining to pipe cloud environment and management parameters;Wherein, it is described to pipe cloud environment be useCloud environment corresponding to the cloud resource of the specified management in family.
Determination unit 7012, for determining to the corresponding cloud account of pipe cloud environment, region and cloud-type information.
Call unit 7013, for calling the interface of the corresponding cloud resource adapter of the cloud-type information, by the cloudAdapter resource utilizes the management parameters, is managed to the corresponding cloud resource in region under the cloud account.
Optionally, in another embodiment of the present invention, see also Fig. 7, allocation unit 702, comprising:
Third acquiring unit 7021, for obtaining cloud environment to be allocated and tenant.
Cloud environment allocation unit 7023, for distributing the cloud environment to be allocated corresponding quota for the tenant, andEstablish the corresponding relationship of the cloud environment to be allocated and the tenant.
Cloud resource allocation unit 7024, for the cloud resource under the cloud environment to be allocated to be distributed to the tenant.
Optionally, in another embodiment of the present invention, see also Fig. 7, recovery unit 703, comprising:
Subelement 7031 is recycled, for deleting the corresponding relationship between cloud environment to be recycled and corresponding tenant, and is establishedCorresponding relationship between the cloud environment to be recycled and the manager of cloud environment.
The specific work process of unit disclosed in the above embodiment of the present invention, reference can be made to corresponding embodiment of the method content,Details are not described herein again.
In cloud pipe platform provided in an embodiment of the present invention, an areal setting under cloud account is one by setting unit 601A cloud environment, administrative unit 602 manage the resource of cloud platform using cloud environment.By setting unit 601 by cloud account and cloudA region under account is combined into one, and is set as a cloud environment, and administrative unit 602 directly passes through a cloud environmentThe accurately place region of the resource of positioning cloud platform, the resource completed under the quota setting and region of the region are managed,Cloud account number and domain identifier two, ground mark are no longer needed, so that the management to resource is more simple and convenient.
Another embodiment of the present invention provides a kind of cloud Guan Pingtai, comprising: processor and memory;Wherein;The storageDevice is for storing computer program code;When the processor is used to execute the code of the memory storage, for executing cloudThe management method of the resource of platform, to realize the resource for simply and easily managing cloud platform.The specific implementation of above-mentioned functionIt may refer to aforementioned any one embodiment of the method, which is not described herein again.
Another embodiment of the present invention additionally provides a kind of computer readable storage medium, the computer readable storage mediumIn be stored with instruction, described instruction is for executing method performed by above-mentioned cloud pipe platform.
If function described in the method in the embodiment of the present application is realized in the form of SFU software functional unit and as independenceProduct when selling or using, can store in a storage medium readable by a compute device.Based on this understanding, this ShenPlease the part of embodiment the part that contributes to existing technology or the technical solution can embody in the form of software productsOut, which is stored in a storage medium, including some instructions are used so that a calculating equipment (can be aPeople's computer, server, mobile computing device or network equipment etc.) execute each embodiment the method for the application wholeOr part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journeyThe medium of sequence code.
Professional technician can be realized or use the application.Profession of the various modifications to these embodiments to this fieldIt will be apparent for technical staff, the general principles defined herein can not depart from spirit herein or modelIn the case where enclosing, realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein,And it is to fit to the widest scope consistent with the principles and novel features disclosed herein.