# US 2013/0298183 A1 · CARTRIDGES IN A MULTI-TENANT PLATFORM-AS-A-SERVICE (PaaS) SYSTEM IMPLEMENTED IN A CLOUD COMPUTING ENVIRONMENT

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0298183 A1
- Document ID: US20130298183A1
- Status: Published application
- Kind: A1
- Application number: 13/461,584
- Filed: 2012-05-01
- Published: 2013-11-07
- Earliest claimed: 2012-05-01
- Assignees: Red Hat, Inc.
- Inventors: Michael P. McGrath; Matthew Hicks
- Web page: https://patentgrep.com/patent/US20130298183A1

## CPC

- G06F 16/116: {Details of conversion of file system types or formats}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- H04L 63/10: {for controlling access to devices or network resources}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A mechanism for providing cartridges in a multi-tenant PaaS system implemented in a cloud computing environment is disclosed. A method of embodiments includes maintaining, by a virtual machine (VM) executing on a computing device, a cartridge library comprising cartridge packages that provide functionality for multi-tenant applications executed by the VM, receiving a request to configure a cartridge on the VM, wherein the cartridge to provide functionality for a multi-tenant application executed by the VM, establishing a container to provide process space for the functionality of the cartridge, calling a configure hook for a type of the cartridge, and in response to calling the configure hook, embedding an instance of the cartridge in the container, the instance of the cartridge obtained from a cartridge package of the cartridge library.

## Claims

### Claim 1

A computer-implemented method, comprising:
maintaining, by a virtual machine (VM) executing on a computing device, a cartridge library comprising cartridge packages that provide functionality for multi-tenant applications executed by the VM;
receiving, by the VM, a request to configure a cartridge on the VM, wherein the cartridge is to provide functionality for one of the multi-tenant applications executed by the VM;
establishing, by the VM, a container to provide process space for the functionality of the cartridge;
calling, by the VM, a configure hook for a type of the cartridge; and
in response to calling the configure hook, embedding, by the VM, an instance of the cartridge in the container, the instance of the cartridge obtained from a corresponding cartridge package of the cartridge packages maintained by the cartridge library.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the request is received from a server orchestration system executing on a broker layer of a Platform-as-a-Service (PaaS) system that includes the VM, the PaaS system implemented in a cloud computing system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the cartridge packages are each a different type of cartridge that provide at least one of a different functionality or a different framework to be utilized by the multi-tenant applications executed by the VM.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the cartridge library is installed and maintained on the VM by the server orchestration system.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the VM executes a plurality of containers that are each associated with one or more cartridge instances instantiated from the cartridge library.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the container comprises an Hypertext Transfer Protocol/Hypertext Transfer Protocol Secure (HTTP/HTTPS) external port, a Secure Shell (SSH) external port, and a public custom external port that are utilized by the instance of the cartridge on the container.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the VM users virtual host routing to route communications received on ports 80, 443 and 490 of the OS of the VM and directed to the instance of the cartridge to the HTTP/HTTPS external port and the SSH external port of the container.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the public customer external port is associated with one or more ephemeral ports of the OS of the VM and wherein the instance of the cartridge uses an expose port hook to open a connection to the public customer external port of the container and point the connection to the cartridge instance.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the request from the comprises a type of the cartridge, an action for the VM to take, and parameters of an application associated with the request comprising a name of the application, a universally unique identifier (UUID) of the application, and a namespace of the application.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the establishing the container further comprises:
associating the UUID with the container;
establishing directory and file system locations for the container;
creating a control group for the container; and
assigning security labeling and types to the container to enforce security policies on the container.

### Claim 11

A system, comprising:
a memory;
a processing device communicably coupled to the memory; and
an operating system (OS) executable from the memory by the processing device, the OS configured to maintain a cartridge library comprising cartridge packages that provide functionality for multi-tenant applications;
a virtual machine (VM) to virtualize resources of the memory and the processing device in order to execute the multi-tenant applications, the VM operable to:
receive a request to configure a cartridge on the VM, wherein the cartridge to provide functionality for a multi-tenant application executed by the VM;
establish a container to provide process space for the functionality of the cartridge;
call a configure hook for a type of the cartridge; and
in response to calling the configure hook, embed an instance of the cartridge in the container, the instance of the cartridge obtained from a cartridge package of the cartridge library.

### Claim 12 (depends on 11)

The system of claim 11, wherein the request is received from a server orchestration system executing on a broker layer of a Platform-as-a-Service (PaaS) system that includes the VM, the PaaS system implemented in a cloud computing system.

### Claim 13 (depends on 12)

The system of claim 12, wherein the cartridge library is installed and maintained on the VM by the server orchestration system.

### Claim 14 (depends on 11)

The system of claim 11, wherein the VM is further configured to execute a plurality of containers that are each associated with one or more cartridge instances instantiated from the cartridge library.

### Claim 15 (depends on 11)

The system of claim 11, wherein the VM configured to establish the container further comprises the VM configured to:
associate the UUID with the container;
establish directory and file system locations for the container;
create a control group for the container; and
assign security labeling and types to the container to enforce security policies on the container.

### Claim 16

A non-transitory machine-readable storage medium including data that, when accessed by a machine, cause the machine to perform operations comprising:
maintaining, by a virtual machine (VM) executing on a computing device, a cartridge library comprising cartridge packages that provide functionality for multi-tenant applications executed by the VM;
receiving, by the VM, a request to configure a cartridge on the VM, wherein the cartridge to provide functionality for one of the multi-tenant applications executed by the VM;
establishing, by the VM, a container to provide process space for the functionality of the cartridge;
calling, by the VM, a configure hook for a type of the cartridge; and
in response to calling the configure hook, embedding, by the VM, an instance of the cartridge in the container, the instance of the cartridge obtained from a corresponding cartridge package of the cartridge packages maintained by the cartridge library.

### Claim 17 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the request from the comprises a type of the cartridge, an action for the VM to take, and parameters of an application associated with the request comprising a name of the application, a universally unique identifier (UUID) of the application, and a namespace of the application.

### Claim 18 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the container comprises an Hypertext Transfer Protocol/Hypertext Transfer Protocol Secure (HTTP/HTTPS) external port, a Secure Shell (SSH) external port, and a public custom external port that are utilized by the instance of the cartridge on the container.

### Claim 19 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein the VM users virtual host routing to route communications received on ports 80, 443 and 490 of the OS of the VM and directed to the instance of the cartridge to the HTTP/HTTPS external port and the SSH external port of the container.

### Claim 20 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein the public customer external port is associated with one or more ephemeral ports of the OS of the VM and wherein the instance of the cartridge uses an expose port hook to open a connection to the public customer external port of the container and point the connection to the cartridge instance.
