CN115150242A - PaaS application deployment method and system - Google Patents
PaaS application deployment method and system Download PDFInfo
- Publication number
- CN115150242A CN115150242A CN202210724325.9A CN202210724325A CN115150242A CN 115150242 A CN115150242 A CN 115150242A CN 202210724325 A CN202210724325 A CN 202210724325A CN 115150242 A CN115150242 A CN 115150242A
- Authority
- CN
- China
- Prior art keywords
- private cloud
- paas
- paas application
- application
- management center
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a deployment method and a deployment system of PaaS application. The method comprises the following steps: receiving a PaaS application deployment request sent by a private cloud PaaS application management center; the PaaS application deployment request carries a private cloud identifier and private cloud attribute information; determining target PaaS application of a private cloud corresponding to a private cloud identifier according to preconfigured PaaS application channel authority and private cloud attribute information; the application attribute information of the target PaaS application is sent to the private cloud PaaS application management center, so that the target PaaS application is deployed on the corresponding private cloud through the private cloud PaaS application management center. The method and the device solve the problem that the PaaS application cannot be efficiently deployed in a mixed cloud scene in the prior art, release of the PaaS application on a public cloud is achieved, and the PaaS application is rapidly and uniformly deployed on a private cloud, so that deployment efficiency of the PaaS application in the mixed cloud scene is improved.
Description
Technical Field
The invention relates to the technical field of computer software, in particular to a PaaS application deployment method and system.
Background
Cloud computing is a service platform for providing resources, and a user can acquire resources on the cloud at any time and use the resources according to the required quantity, and the cloud computing can be regarded as infinitely expanded. Object-oriented by data cloud computing currently may include: public clouds, private clouds, and hybrid clouds. The hybrid cloud is a mode for performing hybrid service on a public cloud and a private cloud.
In the field of cloud computing, may include: platform as a Service (PaaS) services, software as a Service (SaaS), infrastructure as a Service (IaaS). Correspondingly, solutions for deploying applications in various modes are produced. However, in the prior art, the PaaS application may be transmitted to the private cloud platform through a medium, and then the PaaS application is locally deployed in a manual deployment manner. Therefore, how to rapidly deploy the PaaS application in a mixed cloud scene is an urgent problem to be solved.
Disclosure of Invention
The invention provides a PaaS application deployment method and system, which realize rapid deployment of PaaS application in a mixed cloud scene.
According to an aspect of the present invention, a method for deploying a PaaS application is provided, where the method includes:
receiving a PaaS application deployment request sent by a private cloud PaaS application management center; the PaaS application deployment request carries a private cloud identifier and private cloud attribute information;
determining target PaaS application of a private cloud corresponding to the private cloud identifier according to preconfigured PaaS application channel authority and the private cloud attribute information;
and sending the application attribute information of the target PaaS application to the private cloud PaaS application management center so as to deploy the target PaaS application on a corresponding private cloud through the private cloud PaaS application management center.
According to another aspect of the present invention, there is provided a device for deploying PaaS applications, the method including:
a receiving module for receiving the data from the data processing module, the system comprises a client side and a server side, wherein the client side is used for receiving a PaaS application deployment request sent by a private cloud PaaS application management center; the PaaS application deployment request carries a private cloud identifier and private cloud attribute information;
the determining module is used for determining target PaaS application of the private cloud corresponding to the private cloud identification according to preconfigured PaaS application channel authority and the private cloud attribute information;
the first sending module is used for sending the application attribute information of the target PaaS application to the private cloud PaaS application management center so as to deploy the target PaaS application on a corresponding private cloud through the private cloud PaaS application management center.
According to another aspect of the present invention, there is provided a deployment system of PaaS applications, the deployment system including: a public cloud platform and a private cloud platform; the public cloud platform comprises a public cloud PaaS application management center; the private cloud platform comprises a private cloud PaaS application management center;
the public cloud PaaS application management center is used for determining target PaaS application of a private cloud corresponding to the private cloud identifier according to pre-configured PaaS application channel authority and the private cloud attribute information when receiving a PaaS application deployment request, and sending application attribute information of the target PaaS application to the private cloud PaaS application management center;
the private cloud PaaS application management center is used for deploying target PaaS application on the corresponding private cloud platform.
According to the technical scheme of the embodiment of the invention, when a PaaS application deployment request sent by a private cloud PaaS application management center is received by a public cloud PaaS application management center, the target PaaS application of a private cloud corresponding to a private cloud identifier is determined according to the pre-configured PaaS application channel authority and the private cloud attribute information, and the application attribute information of the target PaaS application is sent to the private cloud PaaS application management center, so that the target PaaS application is deployed on the corresponding private cloud through the private cloud PaaS application management center, the problem that the PaaS application cannot be efficiently deployed in a mixed cloud scene in the prior art is solved, the PaaS application is released on the public cloud, and the PaaS application is rapidly and uniformly deployed on the private cloud, so that the deployment efficiency of the PaaS application in the mixed cloud scene is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a deployment method of a PaaS application according to an embodiment of the present invention;
fig. 2 is a flowchart of another deployment method of PaaS applications according to an embodiment of the present invention;
fig. 3a is a scene schematic diagram of a hybrid cloud provided in an embodiment of the present invention;
fig. 3b is a schematic view of another hybrid cloud provided in the embodiment of the present invention;
fig. 4 is a flowchart of publishing, deploying and using a PaaS application in a hybrid cloud scenario according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a deployment system of PaaS applications according to an embodiment of the present invention;
fig. 6 is another flowchart for publishing, deploying and using PaaS applications in a hybrid cloud scenario according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a deployment apparatus of PaaS application according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In an embodiment, fig. 1 is a flowchart of a method for deploying a PaaS application according to an embodiment of the present invention, where the embodiment is applicable to a case where the PaaS application is deployed on a hybrid cloud, and the method may be executed by a deployment device of the PaaS application, where the deployment device of the PaaS application may be implemented in a form of hardware and/or software, and the deployment device of the PaaS application may be configured in an electronic device. Illustratively, the electronic device may include, but is not limited to, a data processing function-equipped terminal such as a backend server, a personal computer, or the like. The deployment method of the PaaS application in the embodiment is applied to a public cloud PaaS application management center.
As shown in fig. 1, the method includes:
s110, receiving a PaaS application deployment request sent by a private cloud PaaS application management center.
The PaaS application deployment request refers to a request for importing and installing PaaS application on a private cloud platform. In an embodiment, the PaaS application deployment request carries a private cloud identity and private cloud attribute information. The private cloud identifier is used to represent a unique identifier of the private cloud, and illustratively, the private cloud identifier may be a private cloud ID, that is, different private clouds, and the corresponding private cloud identifiers are different.
In one embodiment, the private cloud attribute information includes: a private cloud identity; private cloud version information; private cloud environment information; paaS application information matched with the private cloud; and configuring information of the authority corresponding to the PaaS application matched with the private cloud. The private cloud version information refers to a version corresponding to the private cloud IaaS; the private cloud environment information refers to the operating environment of a background system corresponding to the private cloud; the PaaS application information matched with the private cloud refers to all PaaS applications matched with the private cloud; the authority configuration information corresponding to the PaaS application matched with the private cloud refers to the authority of whether the PaaS application matched with the private cloud can be deployed on the private cloud platform.
The private cloud PaaS application management center refers to an application management center corresponding to a background system of a private cloud. The private cloud PaaS application management center can be understood as a service and is provided with a display interface. Meanwhile, one part of the private cloud PaaS application management center is user (namely, tenant) oriented, and the other part is administrator oriented.
Specifically, when the private cloud platform receives installation triggering operation of a user, current system operation parameters corresponding to private cloud attribute information of the private cloud platform are automatically acquired, and the current system operation parameters are sent to the public cloud PaaS application management center through the private cloud application management center, so that the public cloud PaaS application management center determines a target PaaS application matched with the public cloud PaaS application management center. In an actual operation process, the private cloud PaaS application management center may call a GetInstallableApps interface provided by the public cloud PaaS application management center, and send a PaaS application deployment request to the public cloud PaaS application management center through the GetInstallableApps interface.
And S120, determining target PaaS application of the private cloud corresponding to the private cloud identification according to the preconfigured PaaS application channel authority and the private cloud attribute information.
The PaaS application channel authority is used for representing a mapping relation among a private cloud, a deployable PaaS application and a deployable PaaS application version. As can be understood, the PaaS application channel permission is used to characterize a PaaS application that can be deployed on a certain private cloud platform, and a version of the PaaS application that can be deployed.
In the embodiment, the public cloud application management center can determine all PaaS applications which can be deployed on the private cloud corresponding to the private cloud identifier according to the PaaS application channel authority; then, whether all PaaS applications are matched with the attribute information of the private cloud is confirmed; and finally, the PaaS application which is matched with the attribute information of the private cloud and can be deployed on the private cloud is used as a target PaaS application. The target PaaS application can be understood as a PaaS application matched with the own environment of the private cloud.
S130, sending the application attribute information of the target PaaS application to a private cloud PaaS application management center so as to deploy the target PaaS application on a corresponding private cloud through the private cloud PaaS application management center.
The application attribute information refers to relevant information for representing the attributes of the PaaS application. In an embodiment, the PaaS application attribute information at least includes: the system comprises a PaaS application identifier, a PaaS application version number and a PaaS application package downloading address. The PaaS application identifier is used for representing an identifier of the PaaS application, and exemplarily, the PaaS application identifier may be a PaaS ID; the PaaS application version number is used for representing different versions of the same PaaS application; the PaaS application package download address refers to a download address of the PaaS application on a public cloud.
In the embodiment, the public cloud application management center sends the target PaaS application and the attribute information corresponding to the target PaaS application to the private cloud PaaS application management center, so that the target PaaS application is deployed on the corresponding private cloud through the private cloud PaaS application management center.
According to the technical scheme, when a PaaS application deployment request sent by a private cloud PaaS application management center is received by a public cloud PaaS application management center, the target PaaS application of a private cloud corresponding to a private cloud identifier is determined according to the pre-configured PaaS application channel authority and the private cloud attribute information, and the application attribute information of the target PaaS is sent to the private cloud PaaS application management center, so that the target PaaS application is deployed on the corresponding private cloud through the private cloud PaaS application management center, the problem that the PaaS application cannot be efficiently deployed on a mixed cloud in the prior art is solved, the PaaS application is released on the public cloud, and the PaaS application is rapidly and uniformly deployed on the private cloud, and therefore the deployment efficiency of the PaaS application in a mixed cloud scene is improved.
In an embodiment, fig. 2 is a flowchart of another deployment method of a PaaS application according to an embodiment of the present invention, and this embodiment further describes a process of deploying the PaaS application on the basis of the foregoing embodiment. As shown in fig. 2, the method includes:
s210, automatically packaging the published PaaS application into a PaaS application package.
The PaaS application package refers to a file generated after packaging a PaaS application. In an embodiment, the PaaS application package comprises at least the following information: the system comprises a PaaS application image file, a PaaS application snapshot file, a PaaS application definition description file and a PaaS application definition template file.
It should be noted that a PaaS application is a PaaS cluster application, and each application cluster is composed of nodes with multiple roles, and each role is used for implementing different functions. Exemplarily, role a can implement a functionality; role B is used to implement function B; role C is used to implement function C; as another example, a Master (Master) role and a Slave (Slave) role may be included. In an embodiment, a PaaS application image file refers to an image file of each role in a PaaS application; the PaaS application snapshot file refers to a snapshot file used for upgrading a PaaS application; the PaaS application definition description file refers to a file containing definitions of all roles in the PaaS application; the PaaS application definition template file refers to a file containing definitions of respective PaaS applications.
The published PaaS application refers to a PaaS application which is published on a public cloud by a PaaS application developer. In an embodiment, after a PaaS application developer publishes a PaaS application on a public cloud, a public cloud PaaS application management center automatically packages the PaaS application to obtain a corresponding PaaS application package. In the actual operation process, the PaaS application package may adopt a compressed format to reduce the size of the data package.
S220, installing the PaaS application package into a target product library so that the private cloud imports the PaaS application corresponding to the PaaS application package from the target product library.
The target product library is used for uniformly managing PaaS applications in different formats or versions. In the embodiment, after a PaaS application developer publishes PaaS application on a public cloud, a public cloud PaaS application management center automatically packages the PaaS application to obtain a corresponding PaaS application package; the PaaS application package is then installed into a private cloud connected target article library. And then, after the private cloud PaaS application management center receives the application attribute information of the target PaaS application returned by the public cloud PaaS application management center, pulling the corresponding target PaaS application from the target product library according to the application attribute information of the target PaaS application.
And S230, responding to the received private cloud deployment request carrying the private cloud identifier, and sending the pre-configured PaaS application channel authority to the private cloud corresponding to the private cloud identifier.
The private cloud deployment request refers to a process of registering a private cloud through a public cloud PaaS application management center and distributing a key. In the embodiment, after a new private cloud is traded, a private cloud needs to be deployed with PaaS application channel authority through a public cloud PaaS application management center, that is, a private cloud identifier is configured for the private cloud, a key associated with the private cloud corresponding to the private cloud identifier, and a PaaS application that can be deployed on the private cloud. It should be noted that the private cloud identity may also be referred to as a channel identity, i.e., the channel identity is identical to the private cloud identity.
S240, receiving a PaaS application deployment request sent by a private cloud PaaS application management center.
The PaaS application deployment request carries a private cloud identifier and private cloud attribute information. It can be understood that the private cloud deployment process is completed before the private cloud PaaS application management center sends the PaaS application deployment request to the public cloud PaaS application management center.
And S250, determining target PaaS application of the private cloud corresponding to the private cloud identification according to the preconfigured PaaS application channel authority and the private cloud attribute information.
And S260, sending the target PaaS application and the corresponding PaaS application attribute information to a private cloud PaaS application management center so as to deploy the target PaaS application on a corresponding private cloud through the private cloud PaaS application management center.
The method for deploying the target PaaS application on the corresponding private cloud through the private cloud PaaS application management center comprises the following steps: acquiring and downloading a corresponding target PaaS application from a target product library through a private cloud PaaS application management center according to the application attribute information of the target PaaS application; and automatically running the target PaaS application through the private cloud platform and importing a program corresponding to the target PaaS application. In the embodiment, after receiving attribute information of a target PaaS application, a private cloud PaaS application management center acquires a corresponding PaaS application package download address according to the attribute information of the target PaaS application, pulls the corresponding target PaaS application from a target product library through the PaaS application download address, and displays the target PaaS application on an application selection installation interface of the private cloud PaaS application management center so that a private cloud manager can select and install the target PaaS application; after the private cloud PaaS application management center receives the trigger operation selected by the private cloud management personnel, the corresponding target PaaS application is automatically operated, and the application program of the target PaaS application is imported to the local of the private cloud.
In an embodiment, in the process of importing the program of the target PaaS application through the private cloud platform, the method further includes: reconfiguring the target PaaS application according to the private cloud platform attribute information; wherein the private cloud platform attribute information at least comprises: host type, hard disk type, platform name, platform icon, and replacement keyword. In the embodiment, the private cloud PaaS application management center automatically downloads the target PaaS application package to the private cloud local according to the PaaS application package downloading address. After the application package is downloaded, the PaaS application import program is automatically operated, the adaptive host type, hard disk type, brand name, brand icon and keyword are replaced in the import process, and then the target PaaS application is automatically put on shelf according to whether automatic setting is carried out or not.
In an embodiment, fig. 3a is a scene schematic diagram of a hybrid cloud provided in an embodiment of the present invention. Fig. 3b is a schematic view of another hybrid cloud scenario provided in the embodiment of the present invention. A hybrid cloud scenario may be a scenario consisting of one public cloud and multiple private clouds. The public cloud and each private cloud can be operated independently, and can also form a mixed cloud. As shown in FIG. 3a, the public cloud and N private clouds (private cloud 1, private cloud 2 \8230; private cloud N) constitute a mixed cloud; as shown in fig. 3b, the public cloud and n-1 private clouds (private cloud 1, private 3, private cloud 4 \8230; private cloud n) constitute a mixed cloud.
In an embodiment, fig. 4 is a flowchart illustrating publishing, deployment and use of a PaaS application in a hybrid cloud scenario according to an embodiment of the present invention. As shown in fig. 4, the process of publishing, deploying and using PaaS application in this embodiment includes the following steps:
s410, the PaaS application developer releases the PaaS application on the public cloud.
S420, authorizing the public cloud platform to release the PaaS application to the private cloud by the PaaS application developer.
And S430, setting PaaS application channel authority by a public cloud PaaS application manager.
S440, the private cloud PaaS application administrator installs the deployable PaaS application on the private cloud platform.
S450, a private cloud PaaS application manager puts PaaS application on a private cloud platform.
S460 private cloud tenants create and use PaaS applications.
In implementation, after a PaaS application developer publishes PaaS application on a public cloud, the PaaS application developer authorizes the public cloud platform to publish the PaaS application to a private cloud; then, a public cloud PaaS application administrator sets PaaS application channel permission, namely, sets a mapping relation between a private cloud and PaaS application (namely, the PaaS application which can be installed on a certain private cloud platform); then, a private cloud PaaS application manager clicks installation triggering operation of PaaS application on a private cloud platform, an installation instruction is sent to a public cloud PaaS application management center through a private cloud PaaS application management center, deployable PaaS application and corresponding PaaS application attribute information are returned to the private cloud PaaS application management center through the PaaS application management center, then the private cloud PaaS application manager selects one or more PaaS applications from the deployable PaaS applications according to the PaaS application attribute information, and the PaaS applications are installed and put on shelf; and finally, the private cloud tenant selects at least one PaaS application on a PaaS application display interface of the private cloud platform to create and use.
In an embodiment, fig. 5 is a schematic structural diagram of a deployment system of a PaaS application according to an embodiment of the present invention. As shown in fig. 5, the deployment system of PaaS application in this embodiment includes: a public cloud platform 510 and a private cloud platform 520; wherein the public cloud platform 510 comprises a public cloud PaaS application management center 5101; the private cloud platform 520 includes a private cloud PaaS application management center 5201;
the public cloud PaaS application management center 5101 is used for determining a target PaaS application of a private cloud corresponding to a private cloud identifier according to preconfigured PaaS application channel authority and private cloud attribute information when a PaaS application deployment request is received, and sending application attribute information of the target PaaS application to the private cloud PaaS application management center 5201; the private cloud PaaS application management center 5201 is configured to deploy a target PaaS application on a corresponding private cloud platform.
The connection relationship between the public cloud PaaS application management center 5101 and the private cloud PaaS application management center 5201 is a network call connection relationship.
First, a PaaS application developer publishes a PaaS application to the public cloud platform 510, and submits and authorizes the PaaS application to the public cloud PaaS application management center 5101, so as to authorize the public cloud platform 510 to deploy the PaaS application to the private cloud platform 520. Then, when receiving the private cloud deployment request, the public cloud PaaS application management center 5101 registers and stores the private cloud attribute information to the public cloud PaaS application management center 5101, and allocates PaaS application channel authority to the private cloud PaaS application management center 5201, so that the private cloud PaaS application management center 5201 obtains the mapping relationship between the private cloud and the PaaS application. In addition, the public cloud PaaS application management center 5101 sends the PaaS applications deployable in the private cloud to the private cloud PaaS application management center 5201, so that the private cloud PaaS application administrator selects at least one PaaS application to install or update.
In an embodiment, fig. 6 is a flowchart of another release, deployment, and use of PaaS applications in a hybrid cloud scenario according to an embodiment of the present invention. As shown in fig. 6, a specific implementation process of publishing, deploying and using the PaaS application in this embodiment includes the following steps:
s610, the private cloud PaaS application manager clicks and installs PaaS application on the private cloud platform.
And S620, collecting current system operation parameters corresponding to the private cloud platform.
The current system operation parameters refer to specific operation parameters corresponding to the private cloud attribute information. Illustratively, the private cloud version information may include: iaaS a version; the private cloud adapted PaaS application information may include: an installed PaaS application; the private cloud environment information may include: the Hyper architecture.
S630, the private cloud platform takes the current system operation parameters as parameters, and calls a GetInstallableApps interface to send a GetInstallableApps request carrying the current system operation parameters to the public cloud.
And S640, the public cloud receives the GetInstallableApps request, compares the PaaS application channel authority with the current system operation parameters, and returns the target PaaS application.
S650, the private cloud displays the target PaaS application on the interface to the user for selection.
And S660, selecting and installing a target PaaS application by a private cloud PaaS application manager.
And S670, the background system of the private cloud platform downloads the PaaS application packages one by one according to the selected parameters of the PaaS application and the target PaaS application returned by the GetInstallableApps.
And S680, reconfiguring the background system of the private cloud platform according to the PaaS platform attribute information.
And S690, importing and setting up PaaS application by a background system of the private cloud platform.
In the embodiment, after the PaaS application is released on the public cloud, a background system of the PaaS application management center of the public cloud automatically packages the PaaS application into a PaaS application package. The PaaS application package comprises the following information: the system comprises a PaaS application image file, a PaaS application snapshot file, a PaaS application definition description file and a PaaS application definition template file.
And the PaaS application package establishes private cloud archive information, distributes a unique identifier (key) for each private cloud, and automatically adapts to the matched application version according to the private cloud platform version.
Wherein, private cloud profile information includes private cloud attribute information, wherein the private cloud attribute information includes: a private cloud identity; private cloud version information; private cloud environment information; private cloud adapted application information; and configuring information of the authority corresponding to the PaaS application matched with the private cloud.
In an embodiment, the import and installation of the PaaS application is specifically implemented as follows:
the public cloud PaaS application management center provides a GetInstallableApps interface to the outside so that the private cloud can call. The called parameters are basic information of the private cloud, and specifically include: a version of the currently installed IaaS service; version of the currently installed PaaS framework; CPU architecture(s) of the compute nodes; app version installed.
In an embodiment, the way in which the private cloud requests PaaS application deployment from the public cloud includes two ways:
the first request mode: the private cloud can inform the public cloud PaaS application management center of the private cloud identity through an application center Key or a License Key, and obtain application downloading authorization.
After receiving the GetInstallableApps request, the common cloud PaaS application management center returns information of the PaaS application available for downloading by the private cloud according to the information and API Key provided by the private cloud, including: the system comprises a PaaS application identifier, a PaaS application version number and a PaaS application package downloading address.
A second request mode: under the condition that the private cloud is not networked, application installation is applied through a private channel inside the private cloud, and the public cloud PaaS application management center confirms the private cloud authority and issues PaaS application information in a license matching mode.
After the private cloud obtains the downloadable PaaS applications, the applications are displayed on an optional application installation interface of the private cloud platform, and a user can select installation.
The private cloud system management cloud selects the PaaS application to install, select whether to automatically mount, and then click to start the installation.
The private cloud system automatically downloads the PaaS application package to the private cloud local according to the downloadable address of the application. After the application package is downloaded, the PaaS application import program is automatically operated, the adaptive host type, hard disk type, brand name, brand icon and replacement keyword are replaced in the import process, and then the PaaS application is automatically put on shelf according to whether the PaaS application import program is automatically put on shelf or not.
And the private cloud tenant sees the upper PaaS application in the private cloud PaaS application management center and clicks to create the PaaS application.
In an embodiment, the PaaS application deployment permission control specifically includes the following steps:
the accessibility of the downloadable address of the PaaS application is bound to the API Key of the application center of the private cloud. That is, the PaaS application package can be accessed by an API Key of an authorized application center.
The public cloud PaaS application management center administrator can adjust the installability of each PaaS application in different private clouds according to the management background of the application center, the adjustment mode is stored in the database, and then the adjusted PaaS application is applied to the method control of the PaaS application package downloading address. The control can be realized through an API gateway added on a public cloud PaaS application management center.
In an embodiment, fig. 7 is a schematic structural diagram of a deployment apparatus of a PaaS application according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes: a receiving module 710, a determining module 720 and a first transmitting module 730.
The receiving module is used for receiving a PaaS application deployment request sent by a private cloud PaaS application management center; the PaaS application deployment request carries a private cloud identifier and private cloud attribute information;
the determining module is used for determining target PaaS application of the private cloud corresponding to the private cloud identification according to the preconfigured PaaS application channel authority and the private cloud attribute information;
the first sending module is used for sending the application attribute information of the target PaaS application to the private cloud PaaS application management center so as to deploy the target PaaS application on the corresponding private cloud through the private cloud PaaS application management center.
In an embodiment, before receiving a PaaS application deployment request sent by a private cloud PaaS application management center, a deployment apparatus of a PaaS application further includes:
and the second sending module is used for responding to the received private cloud deployment request carrying the private cloud identifier and sending the pre-configured PaaS application channel authority to the private cloud corresponding to the private cloud identifier.
In an embodiment, before receiving a PaaS application deployment request sent by a private cloud PaaS application management center, a deployment apparatus of a PaaS application further includes:
the packaging module is used for automatically packaging the published PaaS application into a PaaS application package; the PaaS application package at least comprises the following information: the method comprises the following steps of generating a PaaS application mirror image file, a PaaS application snapshot file, a PaaS application definition description file and a PaaS application definition template file;
the first installation module is used for installing the PaaS application package into the target product library so that the private cloud imports the PaaS application corresponding to the PaaS application package from the target product library.
In an embodiment, the apparatus for deploying PaaS applications further includes:
and the second installation module is used for automatically installing the patch of the published PaaS application into the target product library so as to lead the private cloud to import the patch referenced by the corresponding PaaS from the target product library.
In one embodiment, the private cloud attribute information includes: a private cloud identity; private cloud version information; private cloud environment information; paaS application information matched with the private cloud; and configuring information of the authority corresponding to the PaaS application matched with the private cloud.
In one embodiment, the application attribute information includes at least: the system comprises a PaaS application identifier, a PaaS application version number and a PaaS application package downloading address.
In an embodiment, a target PaaS application is deployed on a corresponding private cloud through a private cloud PaaS application management center, and is specifically configured to:
acquiring and downloading a corresponding target PaaS application from a target product library through a private cloud PaaS application management center according to the application attribute information of the target PaaS application;
and automatically running the target PaaS application through the private cloud platform and importing a program corresponding to the target PaaS application.
In an embodiment, in the process of importing the program of the target PaaS application through the private cloud platform, the method further includes: reconfiguring the target PaaS application according to the private cloud platform attribute information; the private cloud platform attribute information at least comprises: host type, hard disk type, platform name, platform icon, and replacement keyword.
The deployment device of the PaaS application provided by the embodiment of the invention can execute the deployment method of the PaaS application provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It will be apparent to those skilled in the art that the design and operation of the present invention, depending on design requirements and other factors, various modifications, combinations, sub-combinations, and substitutions may be made. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A PaaS application deployment method is characterized by comprising the following steps:
receiving a PaaS application deployment request sent by a private cloud PaaS application management center; the PaaS application deployment request carries a private cloud identifier and private cloud attribute information;
determining target PaaS application of a private cloud corresponding to the private cloud identifier according to preconfigured PaaS application channel authority and the private cloud attribute information;
and sending the application attribute information of the target PaaS application to the private cloud PaaS application management center so as to deploy the target PaaS application on a corresponding private cloud through the private cloud PaaS application management center.
2. The method according to claim 1, wherein before the receiving the PaaS application deployment request sent by the private cloud PaaS application management center, the method further comprises:
and responding to a received private cloud deployment request carrying a private cloud identifier, and sending the pre-configured PaaS application channel authority to a private cloud corresponding to the private cloud identifier.
3. The method according to claim 1, wherein before the receiving the PaaS application deployment request sent by the private cloud PaaS application management center, the method further comprises:
automatically packaging published PaaS applications into a PaaS application package; wherein the PaaS application package at least comprises the following information: the method comprises the following steps of generating a PaaS application mirror image file, a PaaS application snapshot file, a PaaS application definition description file and a PaaS application definition template file;
and installing the PaaS application package into a target product library so that the private cloud imports the PaaS application corresponding to the PaaS application package from the target product library.
4. The method of claim 1, further comprising:
and automatically installing the patch of the published PaaS application into a target product library so as to lead the private cloud into the patch corresponding to the reference of the PaaS from the target product library.
5. The method of claim 1, wherein the private cloud attribute information comprises: a private cloud identity; private cloud version information; private cloud environment information; private cloud-adapted PaaS application information; and configuring information of the authority corresponding to the PaaS application matched with the private cloud.
6. The method of claim 1, wherein the applying the attribute information at least comprises: the system comprises a PaaS application identifier, a PaaS application version number and a PaaS application package downloading address.
7. The method according to claim 1, wherein the deploying, by the private cloud PaaS application management center, the target PaaS application on a corresponding private cloud comprises:
acquiring and downloading a corresponding target PaaS application from a target product library through the private cloud PaaS application management center according to the application attribute information of the target PaaS application;
and automatically operating the target PaaS application through a private cloud platform and importing a program corresponding to the target PaaS application.
8. The method according to claim 7, wherein during importing the program of the target PaaS application through a private cloud platform, the method further comprises:
reconfiguring the target PaaS application according to the private cloud platform attribute information; wherein the private cloud platform attribute information at least comprises: host type, hard disk type, platform name, platform icon, and replacement keyword.
9. A deployment system for PaaS applications, the deployment system comprising: a public cloud platform and a private cloud platform; the public cloud platform comprises a public cloud PaaS application management center; the private cloud platform comprises a private cloud PaaS application management center;
the public cloud PaaS application management center is used for determining target PaaS application of a private cloud corresponding to the private cloud identifier according to pre-configured PaaS application channel authority and the private cloud attribute information when receiving a PaaS application deployment request, and sending application attribute information of the target PaaS application to the private cloud PaaS application management center;
the private cloud PaaS application management center is used for deploying the target PaaS application on the corresponding private cloud platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210724325.9A CN115150242B (en) | 2022-06-23 | 2022-06-23 | Deployment method and system of PaaS application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210724325.9A CN115150242B (en) | 2022-06-23 | 2022-06-23 | Deployment method and system of PaaS application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115150242A true CN115150242A (en) | 2022-10-04 |
CN115150242B CN115150242B (en) | 2023-04-25 |
Family
ID=83407304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210724325.9A Active CN115150242B (en) | 2022-06-23 | 2022-06-23 | Deployment method and system of PaaS application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115150242B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905508A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Cloud platform application deployment method and device |
CN106209961A (en) * | 2016-04-22 | 2016-12-07 | 深圳市智物联网络有限公司 | Data processing method, publicly-owned Cloud Server and privately owned Cloud Server |
US20170134301A1 (en) * | 2015-11-08 | 2017-05-11 | Vmware, Inc. | Deploying an application in a hybrid cloud computing environment |
CN107168742A (en) * | 2017-05-19 | 2017-09-15 | 中南大学 | Application quick deployment method based on customization Android platform |
CN107402779A (en) * | 2016-05-20 | 2017-11-28 | Sap欧洲公司 | For cloud and the compatible framework of preset application integration |
CN108595280A (en) * | 2018-04-25 | 2018-09-28 | 金蝶软件(中国)有限公司 | Method for interface adaptation, device, computer equipment and storage medium |
CN109478149A (en) * | 2016-07-22 | 2019-03-15 | 微软技术许可有限责任公司 | Mix the access service in cloud computing system |
CN209881824U (en) * | 2019-06-10 | 2019-12-31 | 北京京东尚科信息技术有限公司 | Data center and cloud computing system based on private cloud platform |
US20200099687A1 (en) * | 2018-09-26 | 2020-03-26 | Hewlett Packard Enterprise Development Lp | Secure communication between a service hosted on a private cloud and a service hosted on a public cloud |
CN112367370A (en) * | 2020-10-27 | 2021-02-12 | 中国光大银行股份有限公司 | Management method, device, equipment and medium for hybrid cloud resource data |
CN112738284A (en) * | 2021-04-01 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and storage medium in service integration |
-
2022
- 2022-06-23 CN CN202210724325.9A patent/CN115150242B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905508A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Cloud platform application deployment method and device |
US20170134301A1 (en) * | 2015-11-08 | 2017-05-11 | Vmware, Inc. | Deploying an application in a hybrid cloud computing environment |
CN106209961A (en) * | 2016-04-22 | 2016-12-07 | 深圳市智物联网络有限公司 | Data processing method, publicly-owned Cloud Server and privately owned Cloud Server |
CN107402779A (en) * | 2016-05-20 | 2017-11-28 | Sap欧洲公司 | For cloud and the compatible framework of preset application integration |
CN109478149A (en) * | 2016-07-22 | 2019-03-15 | 微软技术许可有限责任公司 | Mix the access service in cloud computing system |
CN107168742A (en) * | 2017-05-19 | 2017-09-15 | 中南大学 | Application quick deployment method based on customization Android platform |
CN108595280A (en) * | 2018-04-25 | 2018-09-28 | 金蝶软件(中国)有限公司 | Method for interface adaptation, device, computer equipment and storage medium |
US20200099687A1 (en) * | 2018-09-26 | 2020-03-26 | Hewlett Packard Enterprise Development Lp | Secure communication between a service hosted on a private cloud and a service hosted on a public cloud |
CN209881824U (en) * | 2019-06-10 | 2019-12-31 | 北京京东尚科信息技术有限公司 | Data center and cloud computing system based on private cloud platform |
CN112367370A (en) * | 2020-10-27 | 2021-02-12 | 中国光大银行股份有限公司 | Management method, device, equipment and medium for hybrid cloud resource data |
CN112738284A (en) * | 2021-04-01 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and storage medium in service integration |
Non-Patent Citations (1)
Title |
---|
高允翔;汤泳;肖伟;: "运营商私有云的DaaS构建方案初探" * |
Also Published As
Publication number | Publication date |
---|---|
CN115150242B (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101453367B (en) | Software deployment method and system, software deployment server and user server | |
CN102427481B (en) | System for managing cloud computing service and cloud computing management method | |
CN108509203B (en) | Software cross-cloud deployment method, computer equipment and storage medium | |
CN110737442A (en) | edge application management method and system | |
US20160132668A1 (en) | Management apparatus, management method, and recording medium of management program | |
WO2016015558A1 (en) | Method and apparatus for applying for license | |
WO2014169870A1 (en) | Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium | |
CN110752947A (en) | K8s cluster deployment method and device, and deployment platform | |
MX2007001164A (en) | Methods and apparatus for subscribing to multimedia delivery services in a data network. | |
CN106878334A (en) | The automatically dispose system and method for cloud | |
CN110730090B (en) | Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment | |
CN112199105A (en) | Method, system, medium and electronic device for function combination type software development | |
CN110058894B (en) | Method, apparatus and computer program product for executing applications in a hybrid cloud | |
CN109358876A (en) | A kind of version synchronization method and device, equipment, storage medium | |
US20170033980A1 (en) | Agent manager for distributed transaction monitoring system | |
CN109213584B (en) | Task execution method, device, electronic equipment and computer readable storage medium | |
CN111371615A (en) | Online server, updating method and system of operation and maintenance tool and readable storage medium | |
CN113268257A (en) | Vehicle-mounted application upgrading system, method and computer storage medium | |
CN111008023B (en) | Instance deployment method and system | |
CN115878138B (en) | Application pre-download method, device, computer and storage medium | |
CN115834600B (en) | Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium | |
CN115150242B (en) | Deployment method and system of PaaS application | |
CN109491762B (en) | Container state control method and device, storage medium and electronic equipment | |
CN111752576A (en) | Forwarding system deployment method based on 5G data, terminal and storage medium | |
CN115904627A (en) | Kubernetes cluster deployment method, system and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100000 Unit 501A, Floor 5, 101, Building 1, Yard 5, Laiguangying West Road, Chaoyang District, Beijing Applicant after: Beijing Qingyun Science and Technology Co.,Ltd. Applicant after: CHINA EVERBRIGHT BANK Co.,Ltd. Address before: 100020 601, 6 floor, 16 building, No. 36 Chuang Yuan Road, Chaoyang District, Beijing. Applicant before: Beijing Qingyun Science and Technology Co.,Ltd. Applicant before: CHINA EVERBRIGHT BANK Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |