“Platform-as-a-Service” (also commonly referred to as “PaaS”) generally describes a suite of technologies provided by a service provider as an integrated solution that enables a web developer (or any other application developer) to build, deploy and manage the life cycle of a web application (or any other type of networked application). One primary component of PaaS is a “cloud-computing platform” which is a network (e.g., Internet, etc.) infrastructure run and maintained by the service provider upon which developed web applications may be deployed. By providing the hardware resources and software layers required to robustly run a web application, the cloud computing platform enables developers to focus on the development of the web application, itself, and leave the logistics of scalability and other computing and storage resource requirements (e.g., data storage, database access, processing power, facilities, power and bandwidth, etc.) to the cloud computing platform (e.g., at a cost charged by the service provider). A service provider may additionally provide a plug-in component to a traditional IDE (i.e., integrated development environment) that assists a developer who creates web applications using the IDE to properly structure, develop and test such applications in a manner that is compatible with the service provider's cloud computing platform. Once the developer completes a web application using the IDE, the plug-in component assists the developer in deploying the web application into the cloud computing platform.
For example, a cloud computer platform that only supports Microsoft's .NET runtime environment would not be suitable for an enterprise with a technology development policy that requires development of web applications using an open source runtime environment such as the Apache Tomcat application server. Furthermore, software layers of current cloud computer platforms are inextricably coupled to the hardware resources (e.g., servers, storage, data centers, etc.) upon which they are built, making any enterprise requested customization, modification and/or portability of functionality prohibitive. Such inflexibility and limited choices make adoption of current PaaS more suitable for small start-up companies than for sophisticated enterprises that need to address issues such as governance, security, privacy and higher levels of control over web applications (service level requirements, scalability, fault tolerance, etc.).
To provide increased levels of control over web applications, one or more embodiments of the present invention provide a policy engine situated within the communications path between a cloud computing environment and a user of the cloud computing environment in order to comply with an organization's policies for deploying web applications in the cloud computing environment. One method, according to an embodiment, sets organizational policies for web applications deployed in a cloud computing environment, by performing the steps of intercepting a communications packet intended for the cloud computing environment, identifying a command relating to management of web applications in the communications packet, dispatching the communications packet to a rules engine corresponding to the identified command, executing a set of rules in the rules engine that implements a policy set by an organization desiring to deploy web applications in the cloud computing environment, and forwarding the communications packet to the cloud computing environment when completion of execution of the set of rules indicates compliance of the communications packet with the policy.
Cloud computing platform provider 108 provides service provider 102 an infrastructure platform 110 upon which a cloud computing environment 112 may be executed. In the particular embodiment of
Virtualization environment 120 of
In the embodiment of
Web application 125 can access a set of base services 128 (e.g., run in one or more virtual machines) provided by cloud computing environment 112 as well as third-party services such as those that may be provided directly by service provider 102 (e.g., custom database 104, CRM service 106, etc.). For example, a relational database service (e.g., MySQL, etc.), monitoring service, background task scheduler, logging service, messaging service, memory object caching service and the like may comprise base services 128 in one embodiment. A service provisioner 130 (e.g., run in one or more virtual machines) serves as a communications intermediary between these available services (e.g., base services 128 and other third party provided services such as custom database 104 and CRM service 106) and other components of cloud computing environment 112 (e.g., cloud controller 134, health manager 138, router 136, container VMs 1261 to 126m, etc.) and assists with the task of provisioning or binding such available services to web applications during the web application deployment process.
It should be recognized that service provisioner 130 as depicted in
Returning to
Cloud controller 134 (e.g., run in one or more virtual machines) orchestrates the deployment process for web applications that are submitted to cloud computing environment 112 for deployment. Cloud controller 134 receives web applications submitted to cloud computing environment 112 and, as further detailed below, interacts with other components of cloud computing environment 112 to bind available services required by submitted web applications and package web applications for transmission to available container VMs (e.g., container VMs 1261 to 126m) for deployment. In the embodiment depicted in
Once cloud controller 134 successfully orchestrates the deployment of web application 125 in container VM 1261, an enterprise customer 150 can access web application 125, for example, through a web browser or any other appropriate client application residing on a computer laptop or other computer terminal. Router 136 (e.g., run in one or more virtual machines) receives the web browser's access request (e.g., a uniform resource locator or URL) and routes the request to container VM 1261 which hosts web application 125. More generally, router 136 maintains mappings in internal routing tables between URLs and deployed web applications in order to properly route URL requests from customers to the appropriate container VMs hosting the requested web applications (as well as maintain load balancing among web application instances, etc.). These mappings are received by router 136 through address and discovery layer 132, as detailed further below, when a container VM successfully deploys a web application and thus broadcasts routing information (e.g., hostname, network address information, port number, etc.) for the web application through addressing and discovery layer 132.
It should be recognized that the embodiment of
Upon receipt of such service provisioning data, in step 318, cloud controller 134 is then able to transmit the identity of available services to IDE 142 as requested in step 310. Upon receipt of the identity of available services, in step 320, the IDE plug-in then determines and transmits a selection of desired available services to bind to the submitted web application. It should be recognized that such a selection process may, in certain embodiments, be automated, in accordance with pre-configured preferences set in the IDE, or may involve manual selection by developer 140 in other embodiments. Upon receipt of the selection of services, in step 322, cloud controller 134 begins a “staging process” to stage, or otherwise modify the contents of the WAR file (or other package) of the submitted web application to bind the selected services to the web application. In one embodiment, this staging process involves unpacking the WAR file or extracting its constituent directory structure and files, accordingly inserting new files and/or modifying existing files to bind the selected services, and repacking the WAR file (e.g., or otherwise creating a new WAR file that replaces the previous WAR file). For example, in step 324, cloud controller 134 and the shim components of service provisioner 130 for the selected services may exchange messages through addressing and discovery layer 132 to establish or otherwise obtain additional service provisioning data such as service login credentials (e.g., username/password combinations), hostname, network address and port number to access the service and any requisite software drivers/libraries that may be needed to enable the submitted web application to communicate with the services upon deployment. Cloud controller 134 is then able to incorporate such service provisioning data into the contents of the WAR file as part of the staging process. In one embodiment, set-up information identifying the application framework utilized to develop the submitted web application (i.e., that was received by cloud controller 134 in step 300) enables cloud controller 134 to properly insert service provisioning data into the contents of the WAR file to bind selected services based upon a data organization structure of the WAR file that is imposed by the application framework (e.g., inserting additional environmental variables, entries in configuration files, additional system parameters and the like reflecting, for example, the hostname, network address, port number and login credentials for the service, etc.). For example, if the application framework is the Spring framework, cloud controller 134 inserts service provisioning data into the contents of the WAR file in accordance with how a Spring framework developed web application organizes its data within the WAR file. Once the contents of the WAR file have been modified to bind selected services to the submitted web application, in step 326, cloud controller 134 generates a start script file that can be executed by a container VM to start a runtime environment and launch the submitted web application in the runtime environment. For example, if the WAR file is intended to be deployed in a runtime environment such as Apache Tomcat application server, the start script file may include commands to start Apache Tomcat and then start the servlet (or servlets) that comprises web application 125 (e.g., via a net start command, etc.). In an alternative embodiment, such staging as described in steps 322-324 may be deferred until the submitted web application is actually deployed, as further described below (when describing
In step 328, cloud controller 134 then creates a web application deployment package that can be unpacked by any available container VM. In one embodiment, such a web application deployment package is a “tar” file (also referred to as a tarball) that includes the start script file, an instance of the runtime environment (e.g., Apache Tomcat, etc.) to be installed and started in a container VM, and the WAR file for web application 125 (e.g., embedded in an appropriate directory within the directory structure of the instance of the runtime environment). Alternative embodiments may include further optimizations to streamline the communication (and utilized network bandwidth) between the IDE plug-in at enterprise 100 and cloud controller 134. For example, in one embodiment, in step 302, IDE plug-in may include as part of the transmission of set-up characteristics, a “fingerprint” list of hash values (e.g., SHA-1 values, etc.) and file sizes for each file in the WAR file. Cloud controller 134, in turn, maintains its own table of fingerprint entries for hash value/file size pairs, with each entry associated with a stored file. Upon receipt of the list from the IDE plug-in, cloud controller 134 determines whether it already has any of the files in the WAR file by reviewing its table. In such manner, cloud controller 134 can specifically request only those files with associated hash values and file sizes for which cloud controller 134 does not have an entry in its table. Such an optimization can significantly reduce the amount of data transmitted by IDE plug-in to cloud controller 134. For example, if only a few lines of code have been changed in a single library file of an already uploaded web application, the foregoing fingerprinting process enables the IDE plug-in to transmit only the library file itself, rather than the entire WAR file. Similarly, since different web applications often share common application framework files, the foregoing fingerprinting process can further significantly reduce the uploading times for different web applications. It should be recognized that although an IDE (or IDE plug-in) is described in
As discussed in the context of
Embodiments of policy engine 144 may further include an authentication component 435 to authenticate users accessing cloud computing environment 112. In one embodiment, each user at enterprise 100 that utilizes cloud computing environment 112 has a corresponding federated identity or token that is maintained by authentication component 435. Once a user authenticates and logs into policy engine 144 or otherwise logs into the organization's local authentication system, authentication component 435 determines the user's corresponding federated identity or token. In one embodiment, this federated identity or token is then included in communications packets forwarded by policy engine 144 to cloud controller 134 or is otherwise provided to cloud controller 134 in association with such communications packets. Enterprise 100 may choose to associate a federated identity or token with multiple users. For example, all web developers may be associated with one federated identity or token and a different federated identity or token may be associated with all program managers. Alternatively, enterprise 100 may choose allocate a different federated identity or token to each different user.
In certain embodiments, base services 128 and/or third party services (such as custom database 104 and CRM service 106) are dynamically bound to web application 125 upon its launch in step 512 rather than during steps 322-324 of the staging process as previously described in the context of
Once deployment agent 428 recognizes that web application 125 has successfully launched (e.g., by confirming the successful binding of a port number to web application 125 in one embodiment), deployment agent 428 broadcasts the hostname, network address information of container VM 1261 and the bound port number of deployed web application 125, in step 514, through addressing and discovery layer 132. In turn, router 136 retrieves the broadcast hostname, network address information and bound port number though the addressing and discovery layer 132 in step 516 and updates its internal routing table in step 518, thereby enabling router 136 to properly route URL requests received from enterprise customer 144 for web application 125 to container VM 1261. It should be recognized that the process of dynamically updating routing information in router 136 upon successful deployment of a web application through steps 514 to 518 provides cloud computing environment 112 flexibility to more easily migrate, move or otherwise re-deploy web applications to different containers VM 1261 to 126m for any of a number of reasons (e.g., during hardware failures, for load balancing purposes, etc.). For example, in one exemplary scenario, health manager 138 may recognize that web application 125 has stopped running because server 1161 that hosts container VM 1261 in which web application 125 has been deployed has suffered a hardware failure. Upon such recognition, health manager 138 may initiate a request to cloud controller 134 to re-deploy web application 125 in a different container VM running on a different server. Once web application 125 has been successfully re-deployed by cloud controller 134, as a result of steps 514 to 518, router 136 will be automatically updated with new routing information to properly route requests to web application 125 which is now deployed on a different container VM on a different server (and therefore is associated with new network routing information). It should be recognized that although the foregoing description utilizes hostnames, network addresses and port numbers to generally describe network address information for a web application, any type of network information may be utilized as network address information in embodiments, depending upon the structure of the connected network and communications protocols implemented by cloud computing environment 112. Additionally, in step 520, deployment agent 428 also identifies a process identifier for the deployed web application 125 and generates a stop script file, in the event that cloud controller 134 receives a command to stop web application 125 in the future (e.g., by request of administrator 146, etc.).
It should be recognized that various modifications and changes may be made to the specific embodiments described herein without departing from the broader spirit and scope of the invention as set forth in the appended claims. For example, while the foregoing description has discussed embodiments using web applications or Internet applications, it should be recognized that any network utilizing application can leverage the techniques disclosed herein, and as such, “web application” as used herein shall be interpreted to include any type of client-server based application that employs network based communications. Furthermore, although the foregoing embodiments have focused on the use of container VMs to host deployed web applications, it should be recognized that any “application container” may be used to host web applications, including such container VMs, processes in virtual machines, kernel level containers, processes in traditional non-virtualized operating systems and any other execution environment that provides an isolated environment capable of running application level code. Similarly, while the various components of cloud computing environment 112 have been generally described as being implemented in one or more virtual machines (e.g., for load balancing and scalability purposes), it should be recognized that any type of “application container” (as previously discussed above) can also implement such components, including, for example, traditional non-virtualized computing environment background processes, threads or daemons. Furthermore, any combination of different types of “application containers” to host web applications and implement other components (e.g., cloud controller 134, router 136, health manager 138, base services 128, service provisioner 130, addressing and discovery layer 132, etc.) can comprise any particular cloud computing environment 112 implementation. It should further be recognized that multiple instances of the various components of cloud computing environment 112 (e.g., cloud controller 134, router 136, health monitor 138, service provisioner 130, etc.) may be implemented in alternative embodiments, for example, for scalability purposes.
The various embodiments described herein may employ various computer-implemented operations involving data stored in computer systems. For example, these operations may require physical manipulation of physical quantities usually, though not necessarily, these quantities may take the form of electrical or magnetic signals where they, or representations of them, are capable of being stored, transferred, combined, compared, or otherwise manipulated. Further, such manipulations are often referred to in terms, such as producing, identifying, determining, or comparing. Any operations described herein that form part of one or more embodiments of the invention may be useful machine operations. In addition, one or more embodiments of the invention also relate to a device or an apparatus for performing these operations. The apparatus may be specially constructed for specific required purposes, or it may be a general purpose computer selectively activated or configured by a computer program stored in the computer. In particular, various general purpose machines may be used with computer programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus to perform the required operations.
The various embodiments described herein may be practiced with other computer system configurations including hand-held devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like.
One or more embodiments of the present invention may be implemented as one or more computer programs or as one or more computer program modules embodied in one or more computer readable media. The term computer readable medium refers to any data storage device that can store data which can thereafter be input to a computer system computer readable media may be based on any existing or subsequently developed technology for embodying computer programs in a manner that enables them to be read by a computer. Examples of a computer readable medium include a hard drive, network attached storage (NAS), read-only memory, random-access memory (e.g., a flash memory device), a CD (Compact Discs) CD-ROM, a CD-R, or a CD-RW, a DVD (Digital Versatile Disc), a magnetic tape, and other optical and non-optical data storage devices. The computer readable medium can also be distributed over a network coupled computer system so that the computer readable code is stored and executed in a distributed fashion.
Although one or more embodiments of the present invention have been described in some detail for clarity of understanding, it will be apparent that certain changes and modifications may be made within the scope of the claims. Accordingly, the described embodiments are to be considered as illustrative and not restrictive, and the scope of the claims is not to be limited to details given herein, but may be modified within the scope and equivalents of the claims. In the claims, elements and/or steps do not imply any particular order of operation, unless explicitly stated in the claims.
Plural instances may be provided for components, operations or structures described herein as a single instance. Finally, boundaries between various components, operations and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the invention(s). In general, structures and functionality presented as separate components in exemplary configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements may fall within the scope of the appended claims(s).
The present application is a continuation of U.S. patent application Ser. No. 15/948,874, filed on Apr. 9, 2018, and entitled “Policy Engine for Cloud Platform,” now U.S. Pat. No. 10,805,351, which is a continuation of U.S. patent application Ser. No. 15/419,992, filed on Jan. 30, 2017, and entitled “Policy Engine for Cloud Platform,” now U.S. Pat. No. 9,942,277, which is a continuation of U.S. patent application Ser. No. 14/738,558, filed on Jun. 12, 2015, and entitled “Policy Engine for Cloud Platform,” now U.S. Pat. No. 9,560,079, which is a continuation of U.S. patent application Ser. No. 14/064,992, filed on Oct. 28, 2013, and entitled “Policy Engine for Cloud Platform,” now U.S. Pat. No. 9,071,522, which is a continuation of U.S. application Ser. No. 13/094,500, filed on Apr. 26, 2011, and entitled “Policy Engine for Cloud Platform,” now U.S. Pat. No. 8,572,706, which claims the benefit of U.S. provisional patent application No. 61/327,898, filed on Apr. 26, 2010, and entitled “Policy Engine for Cloud Platform.” The present application is further related by subject matter to U.S. patent application Ser. No. 12/767,010, filed on Apr. 26, 2010, and entitled “Cloud Platform Architecture,” U.S. patent application Ser. No. 13/094,538, filed on Apr. 26, 2011, and entitled “Droplet Execution Engine for Dynamic Server Application Deployment,” and U.S. patent application Ser. No. 13/094,521, filed on Apr. 26, 2011, and entitled “Rapid Updating of Cloud Applications,” each of which is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
6609128 | Underwood | Aug 2003 | B1 |
6976093 | Lara et al. | Dec 2005 | B2 |
7275244 | Bell et al. | Sep 2007 | B1 |
7356679 | Le et al. | Apr 2008 | B1 |
7370322 | Malena et al. | May 2008 | B1 |
7874008 | Chang et al. | Jan 2011 | B2 |
7971059 | Caiman et al. | Jun 2011 | B2 |
8108912 | Ferris | Jan 2012 | B2 |
8176094 | Friedman | May 2012 | B2 |
8176559 | Mathur et al. | May 2012 | B2 |
8201237 | Doane et al. | Jun 2012 | B1 |
8225093 | Fok et al. | Jul 2012 | B2 |
8375360 | I'Anson | Feb 2013 | B2 |
8407689 | Dournov et al. | Mar 2013 | B2 |
8429630 | Nickolov et al. | Apr 2013 | B2 |
8572706 | Collison et al. | Oct 2013 | B2 |
9071522 | Lucovsky et al. | Jun 2015 | B2 |
9560079 | Lucovsky et al. | Jan 2017 | B1 |
9942277 | Lucovsky et al. | Apr 2018 | B2 |
10805351 | Lucovsky et al. | Oct 2020 | B2 |
20020178254 | Brittenham et al. | Nov 2002 | A1 |
20030061247 | Renaud | Mar 2003 | A1 |
20030105810 | McCrory | Jun 2003 | A1 |
20050198303 | Knauerhase et al. | Sep 2005 | A1 |
20050289536 | Nayak et al. | Dec 2005 | A1 |
20060037071 | Rao et al. | Feb 2006 | A1 |
20060079356 | Kodama et al. | Apr 2006 | A1 |
20060136897 | Laxminarayan et al. | Jun 2006 | A1 |
20070058548 | Babonneau et al. | Mar 2007 | A1 |
20070156659 | Lim | Jul 2007 | A1 |
20070209035 | Sonderegger et al. | Sep 2007 | A1 |
20080163171 | Chess et al. | Jul 2008 | A1 |
20080209016 | Karve et al. | Aug 2008 | A1 |
20090070752 | Alpern et al. | Mar 2009 | A1 |
20090070853 | Chung et al. | Mar 2009 | A1 |
20090172781 | Masuoka et al. | Jul 2009 | A1 |
20100071035 | Budko | Mar 2010 | A1 |
20100103837 | Jungck et al. | Apr 2010 | A1 |
20100131590 | Coleman et al. | May 2010 | A1 |
20100142447 | Schlicht et al. | Jun 2010 | A1 |
20100251328 | Syed et al. | Sep 2010 | A1 |
20100257605 | McLaughlin et al. | Oct 2010 | A1 |
20100281166 | Buyya et al. | Nov 2010 | A1 |
20100318649 | Moore et al. | Dec 2010 | A1 |
20110004916 | Schiffman et al. | Jan 2011 | A1 |
20110055714 | Vemulapalli et al. | Mar 2011 | A1 |
20110107411 | McClain et al. | May 2011 | A1 |
20110126197 | Larsen et al. | May 2011 | A1 |
20110145836 | Wheeler et al. | Jun 2011 | A1 |
20110153727 | Li | Jun 2011 | A1 |
20110153824 | Chikando et al. | Jun 2011 | A1 |
20110167469 | Letca et al. | Jul 2011 | A1 |
20110214124 | Ferris et al. | Sep 2011 | A1 |
20120102481 | Mani et al. | Apr 2012 | A1 |
Number | Date | Country |
---|---|---|
2 299 360 | Mar 2011 | EP |
2 381 363 | Oct 2011 | EP |
2007-507046 | Mar 2007 | JP |
Entry |
---|
“The Eucalyptus Open-source Cloud-computing System,” Nurmi et al; Cluster Computing and the Grid, 2009. CCGRID'09, 9th IEEE/ACM International Symposium, 2009, 8 pages. |
Changua Sun et al.: “Simplifying Service Deployment with Virtual Appliances”, Services Computing, 2008. sec '08. IEEE International Conference on, IEEE, Piscataway, NJ, USA, Jul. 7, 2008 (Jul. 7, 2008), pp. 265-272, XP031291269, ISBN: 978-0-7695-3283-7. |
Goodwill, James: “Deploying Web applications to Tomcat”, O'Reilly, Apr. 19, 2001 (Apr. 19, 2001), pp. 1-11, XP002646829, Retrieved from the Internet: URL: http://oreilly.eom/lpl/a/780 [retrieved on Jun. 30, 2011]. |
Goodwill, James: “Java Web Applications”, O'Reilly, Mar. 15, 2001 (Mar. 15, 2001), pp. 1-3, XP002646828, Retrieved from the Internet: URL: http://onjava.eom/lpl/a/671 [retrieved on Jun. 30, 2011]. |
International Search Report and Written Opinion dated Jun. 14, 2012, Application No. PCT/US2012/033356, filing dale Apr. 12, 2012 (Apr. 12, 2012), 14 pages. |
Laurent Tanon: “Tomcat Architecture Diagram”, Apr. 26, 2011 (Apr. 26, 2011), p. 1, XP002646830, Retrieved from the Internet: URL: http://marakana.com/forums/lomcal/general/106.hlml [retrieved on Jul. 1, 2011]. |
Leitner P, Application Level Performance Monitoring of Cloud Services Based on the Complex Event Processing Paradigm, Dec. 2012, vol. 9, pp. 1-8. |
Partial European Search Report dated Jul. 1, 2011, Application No. 11163533.0, filing dale Apr. 21, 2011 (Apr. 21, 2011 ), 6 pages. |
White page of BMC software, “Virtualization management with BMC and VMware” © 2011 BMC software 2 pages. |
Number | Date | Country | |
---|---|---|---|
20210099491 A1 | Apr 2021 | US |
Number | Date | Country | |
---|---|---|---|
61327898 | Apr 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15948874 | Apr 2018 | US |
Child | 17067639 | US | |
Parent | 15419992 | Jan 2017 | US |
Child | 15948874 | US | |
Parent | 14738558 | Jun 2015 | US |
Child | 15419992 | US | |
Parent | 14064992 | Oct 2013 | US |
Child | 14738558 | US | |
Parent | 13094500 | Apr 2011 | US |
Child | 14064992 | US |