Isolation enforcement in a cluster of compute nodes

By introducing isolated namespaces and verifying request permissions in the compute node cluster, the problem of effective implementation of isolation mechanisms in the compute node cluster is solved, and the protection and secure isolation of sensitive resources are achieved.

CN123147128APending Publication Date: 2026-11-20ORACLE INT CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580029916.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-04-25
Filing Date
2025-03-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In a cluster of compute nodes, how to effectively enforce isolation mechanisms to protect sensitive resources and information, prevent unauthorized access and breach of isolation, especially in containerized application environments, is a challenge that existing technologies struggle to achieve effectively.

Method used

By introducing isolated namespaces in the cluster of compute nodes, the system rejects requests that attempt to cross the boundaries of the isolated namespaces, verifies permissions using service account tokens and user tokens, and combines access control mechanisms to ensure that only authorized entities can access the isolated namespaces.

Benefits of technology

It achieves effective isolation of the computing node cluster, prevents unauthorized access and damage, protects sensitive resources and information, and enhances security and isolation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

Techniques for enforcing isolation in a cluster of computing nodes configured to execute containerized applications are disclosed. A system receives a request to access a target namespace from an entity making the request. The request is accompanied by a token. Based on the token, the system identifies a corresponding namespace that corresponds to the isolated namespace. To determine whether the request is attempting to break the isolation, the system compares the target namespace to the corresponding namespace. If the target namespace is not the corresponding namespace, then the system concludes that the request is attempting to break the isolation and, as a result, denies the request. If the request is not attempting to break the isolation, then the system determines whether the request is allowed by any permissions of the entity making the request. If the request is not allowed by the permissions of the entity making the request, then the system denies the request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to enforcing isolation within a cluster of compute nodes. Background Technology

[0002] There may be multiple users associated with a cluster of compute nodes configured to run containerized applications. These multiple users can include human and / or non-human users. Examples of human users may include cluster administrators and / or customers who have been sold a portion of the cluster. A customer who has been sold a portion of the cluster may be the administrator of that portion of the cluster. The portion of the cluster sold to a customer may host the customer's sensitive resources and / or other sensitive information. Examples of non-human users may include components of the cluster (e.g., applications running in the cluster) and / or external systems.

[0003] The solutions described in this section are feasible solutions, but not necessarily solutions that have been previously conceived or adopted. Therefore, unless otherwise indicated, any solution described in this section should not be assumed to be prior art simply because it is included in this section. Attached Figure Description

[0004] The accompanying figures illustrate embodiments by way of example, not limitation. The terms "a" or "an" embodiment used in this disclosure do not necessarily refer to the same embodiment, and mean at least one. In the figures: Figure 1-4 This is a block diagram illustrating a pattern for implementing a cloud infrastructure as a service system according to one or more embodiments; Figure 5 It is a hardware system according to one or more embodiments; Figure 6 The illustration depicts a standard namespace isolation system according to one or more embodiments; Figure 7 The illustration shows an example set of operations for implementing isolation according to one or more embodiments; Figure 8 The illustration depicts an example set of operations for enforcing isolation according to one or more embodiments; and Figure 9 The illustration depicts an example computer environment implementing isolated namespaces according to one or more embodiments. Detailed Implementation

[0005] In the following description, numerous specific details are set forth for ease of explanation and to provide a thorough understanding. One or more embodiments may be practiced without these specific details. Features described in one embodiment may be combined with features described in different embodiments. In some examples, well-known structures and devices are described in the form of block diagrams to avoid unnecessarily obscuring this disclosure.

[0006] The following table of contents is provided for the convenience of the reader and is not intended to define any limitation of this disclosure.

[0007] 1. General Overview

[0008] 2. Cloud computing technology

[0009] 3. Computer System

[0010] 4. Namespace isolation system

[0011] 5. Achieve isolation

[0012] 6. Enforce isolation

[0013] 7. Example Implementation

[0014] 8. Other matters; extension

[0015] 1. General Overview

[0016] One or more embodiments enforce isolation along the boundaries of the namespace associated with the cluster of compute nodes configured to execute containerized applications.

[0017] As referenced in this article, a "standard namespace" is a mechanism for organizing resources in a cluster of compute nodes configured to run containerized applications. Some standard namespaces of a compute node cluster are associated with isolation namespaces. An "isolation namespace" is a mechanism for enforcing isolation within a cluster. An isolation namespace is associated with a set of namespace resources that are identical to the corresponding standard namespace. If a standard namespace is associated with an isolation namespace, then the system enforces isolation on the standard namespace.

[0018] This implementation enforces isolation by selectively rejecting requests that attempt to cross the boundaries of isolated namespaces. The isolated namespace corresponds to the standard namespace of the compute node cluster. The boundaries of the isolated namespace are the same as the boundaries of the corresponding namespace. The system can reject requests originating from the corresponding namespace. Furthermore, the system can reject requests attempting to access the corresponding namespace. However, the system does not reject every request that attempts to cross the boundaries of the isolated namespace.

[0019] If a service account request originating from a standard namespace corresponding to an isolated namespace attempts to access any standard namespace other than the originating namespace, the embodiment rejects the service account request. In the example, the system receives a service account request for access to a target namespace from the requesting entity. The requesting entity is a component of a cluster of compute nodes. The requesting entity is associated with the standard namespace of the cluster. The standard namespace of the requesting entity is the originating namespace of the request. The request is accompanied by a service account token. The service account token indicates a service account name, and the service account name contains a unique identifier for the originating namespace. Based on the unique identifier of the originating namespace, the system determines that the originating namespace corresponds to the isolated namespace. The system compares the target namespace with the originating namespace and determines that the target namespace is not the originating namespace. Therefore, the system rejects the request.

[0020] If the requesting entity does not have permission to access the isolated namespace specified in the accompanying user token, the embodiment rejects the request from the requesting entity. In the example, the system receives a request from the requesting entity to access the target namespace. The requesting entity is either a human user or a non-human user. The request is accompanied by a user token. The user token includes a signature, and the signature includes a unique identifier for the isolated namespace. Based on the unique identifier of the isolated namespace, the system determines that the requesting entity is not permitted to access the isolated namespace. Therefore, the system rejects the request.

[0021] If the standard namespace does not correspond to the isolated namespace specified in the user token accompanying the request, the embodiment rejects the request to access the standard namespace. In the example, the system receives a request to access the target namespace from the requesting entity. The requesting entity is either a human user or a non-human user. The request is accompanied by a user token. The user token includes a signature, and the signature includes a unique identifier for the isolated namespace. Based on the unique identifier of the isolated namespace, the system determines that the requesting entity is authorized to access the isolated namespace. Based on the unique identifier, the system accesses the namespace metadata associated with the isolated namespace to identify the specific namespace corresponding to the isolated namespace. The system compares the target namespace with this specific namespace and determines that the target namespace is not the specific namespace. Therefore, the system rejects the request.

[0022] Even if other access control mechanisms allow requests that attempt to breach the isolation of an isolated namespace, the embodiment rejects the request. In the example, the system receives a request from a requesting entity attempting to access a target namespace of a cluster of compute nodes. The requesting entity has a set of permissions granted by one or more access control mechanisms of the cluster. The permissions already granted to the requesting entity allow the requesting entity to access the target namespace. However, the request attempts to breach the isolation imposed by the isolated namespace. Therefore, the system rejects the request.

[0023] If no other access control mechanism allows a request that does not attempt to break the isolation imposed by any isolated namespace, the embodiment rejects the request. In the example, the system receives a request from a requesting entity that attempts to access the target namespace of a cluster of compute nodes. The request does not attempt to break the isolation imposed by any isolated namespaces in the cluster. The requesting entity has a set of permissions that allow it to access the cluster. However, none of the permissions granted to the requesting entity allow it to access the target namespace. Therefore, the system rejects the request.

[0024] One or more embodiments described in this specification and / or claimed in the claims may not be included in this "General Overview" section.

[0025] 2. Cloud computing technology

[0026] Infrastructure as a Service (IaaS) is an application of cloud computing technology. IaaS can be configured to provide virtualized computing resources over a public network (e.g., the Internet). In the IaaS model, cloud providers can host infrastructure components (e.g., servers, storage devices, network nodes (e.g., hardware), deployment software, platform virtualization (e.g., hypervisor layer), etc.). In some cases, IaaS providers can also offer various services accompanying these infrastructure components; example services include billing software, monitoring software, logging software, load balancing software, clustering software, etc. Therefore, because these services may be policy-driven, IaaS users can implement policies to drive load balancing to maintain application availability and performance.

[0027] In some instances, IaaS customers can access resources and services over a wide area network (WAN) such as the Internet, and can use the cloud provider's services to install the remaining elements of the application stack. For example, a user can log in to the IaaS platform to create virtual machines (VMs), install an operating system (OS) on each VM, deploy middleware such as databases, create buckets for workloads and backups, and install enterprise software into that VM. The customer can then use the provider's services to perform various functions, including balancing network traffic, troubleshooting application issues, monitoring performance, and managing disaster recovery.

[0028] In some cases, cloud computing models will involve the involvement of cloud providers. Cloud providers can, but are not necessarily, third-party providers specializing in (e.g., provisioning, renting, selling) IaaS services. Entities may also choose to deploy private clouds, thus becoming their own infrastructure service providers.

[0029] In some examples, IaaS deployment is the process of implementing a new application or a new version of an application onto a prepared application server or other similar device. IaaS deployment may also include the processing of server preparation (e.g., installing libraries, daemons, etc.). Deployment processing is typically managed by the cloud provider below the hypervisor layer (e.g., servers, storage devices, network hardware, and virtualization). Therefore, the customer can be responsible for the processing (OS), middleware, and / or application deployment, such as on self-service virtual machines. Self-service virtual machines can be started on demand.

[0030] In some examples, IaaS provisioning can refer to acquiring computers or virtual hosts for use, or even installing necessary libraries or services on them. In most cases, deployment does not include provisioning, and provisioning may need to be performed first.

[0031] In some cases, IaaS provisioning presents challenges. There are initial challenges in provisioning the initial set of infrastructure. After the initial provisioning is complete, there are additional challenges in evolving the existing infrastructure (e.g., adding new services, changing services, removing services, etc.). In some cases, these challenges can be addressed by enabling configuration that declaratively defines the infrastructure. In other words, the infrastructure (e.g., which components are needed and how they interact) can be defined by one or more profiles. Therefore, the overall topology of the infrastructure (e.g., which resources depend on each other and how they work together) can be described declaratively. In some instances, once the topology is defined, workflows for creating and / or managing the different components described in the profiles can be generated.

[0032] In some examples, the infrastructure can have many interconnected elements. For example, there may be one or more Virtual Private Clouds (VPCs) (e.g., potential on-demand pools of configurable and / or shared computing resources), also known as the core network. In some examples, there may also be one or more inbound / outbound traffic group rules that are provisioned to define how the inbound and / or outbound traffic of the network will be set up for one or more virtual machines (VMs). Other infrastructure elements, such as load balancers, databases, etc., may also be provisioned. The infrastructure can evolve incrementally as more and / or more infrastructure elements are expected and added.

[0033] In some instances, continuous deployment techniques can be employed to enable the deployment of infrastructure code across various virtual computing environments. Furthermore, the described techniques enable infrastructure management within these environments. In some examples, service teams may write code that they intend to deploy to one or more, but often many, different production environments (e.g., across various geographical locations, sometimes spanning the entire world). In some embodiments, infrastructure and resources can be provisioned (manually and / or using provisioning tools) before deploying the code to be executed on the infrastructure. However, in some examples, the infrastructure where the code will be deployed can be set up first. In some instances, provisioning can be done manually, resources can be provisioned using provisioning tools, and / or code can be deployed using deployment tools once the infrastructure is provisioned.

[0034] Figure 1This is a block diagram illustrating an example pattern of an IaaS architecture 100 according to at least one embodiment. Service provider 102 may be communicatively coupled to a secure host lease 104, which may include a virtual cloud network (VCN) 106 and a secure host subnet 108. In some examples, service provider 102 may use one or more client computing devices, such as portable handheld devices (e.g., iPhone®, cellular phone, iPad®, computing tablet, personal digital assistant (PDA)) or wearable devices (e.g., Google Glass® head-mounted display), running software such as Microsoft Windows Mobile® and / or various mobile operating systems such as iOS, Windows Phone, Android, BlackBerry 8, Palm OS, and enabled Internet, email, short message service (SMS), Blackberry®, or other communication protocols. Alternatively, client computing devices may be general-purpose personal computers, including personal computers and / or laptops running various versions of Microsoft Windows®, Apple Macintosh®, and / or Linux operating systems. The client computing device can be a workstation computer running various commercial UNIX® or UNIX-like operating systems (including, but not limited to, various GNU / Linux operating systems, such as Google Chrome OS). Additionally, or alternatively, the client computing device can be any other electronic device, such as a thin client computer, an Internet-enabled gaming system (e.g., a Microsoft Xbox game console with or without Kinect® gesture input), and / or a personal messaging device capable of communicating over a network that can access VCN 106 and / or the Internet.

[0035] VCN 106 may include a local peering gateway (LPG) 110, which may be communicatively coupled to a secure shell (SSH) VCN 112 via an LPG 110 contained in an SSH VCN 112. SSH VCN 112 may include an SSH subnet 114, and SSH VCN 112 may be communicatively coupled to a control plane VCN 116 via an LPG 110 contained in a control plane VCN 116. Furthermore, SSH VCN 112 may be communicatively coupled to a data plane VCN 118 via an LPG 110. Control plane VCN 116 and data plane VCN 118 may be contained within a service lease 119 that may be owned and / or operated by an IaaS provider.

[0036] The control plane VCN 116 may include a control plane demilitarized zone (DMZ) layer 120 that acts as a peripheral network (e.g., part of a corporate network between an intranet and an external network). DMZ-based servers can assume limited liability and help confine the impact of security intrusions to a limited scope. Furthermore, the DMZ layer 120 may include one or more load balancer (LB) subnets 122, a control plane application layer 124 that may include one or more application subnets 126, and a control plane data layer 128 that may include one or more database (DB) subnets 130 (e.g., one or more front-end DB subnets and / or one or more back-end DB subnets). The one or more LB subnets 122 included in the control plane DMZ layer 120 may communicatively couple to the one or more application subnets 126 included in the control plane application layer 124 and to an Internet gateway 134 that may be included in the control plane VCN 116. One or more application subnets 126 may be communicatively coupled to one or more DB subnets 130 contained in the control plane data layer 128, as well as a service gateway 136 and a network address translation (NAT) gateway 138. The control plane VCN 116 may include the service gateway 136 and the NAT gateway 138.

[0037] The control plane VCN 116 may include a data plane mirror application layer 140, which may include one or more application subnets 126. The one or more application subnets 126 included in the data plane mirror application layer 140 may include a virtual network interface controller (VNIC) 142 capable of executing a compute instance 144. The compute instance 144 may communicatively couple the one or more application subnets 126 of the data plane mirror application layer 140 to the one or more application subnets 126 that may be included in the data plane application layer 146.

[0038] Data plane VCN 118 may include data plane application layer 146, data plane DMZ layer 148, and data plane data layer 150. Data plane DMZ layer 148 may include one or more LB subnets 122 communicatively coupled to one or more application subnets 126 of data plane application layer 146 and Internet gateway 134 of data plane VCN 118. One or more application subnets 126 may be communicatively coupled to service gateway 136 and NAT gateway 138 of data plane VCN 118. Data plane data layer 150 may also include one or more DB subnets 130 communicatively coupled to one or more application subnets 126 of data plane application layer 146.

[0039] The Internet gateway 134 of the control plane VCN 116 and data plane VCN 118 can be communicatively coupled to the metadata management service 152, which in turn can be communicatively coupled to the public Internet 154. The public Internet 154 can be communicatively coupled to the NAT gateway 138 of the control plane VCN 116 and data plane VCN 118. The service gateway 136 of the control plane VCN 116 and data plane VCN 118 can be communicatively coupled to the cloud service 156.

[0040] In some examples, the service gateway 136 of the control plane VCN 116 or data plane VCN 118 can make application programming interface (API) calls to the cloud service 156 without traversing the public Internet 154. API calls from the service gateway 136 to the cloud service 156 can be unidirectional: the service gateway 136 can make API calls to the cloud service 156, and the cloud service 156 can send requested data to the service gateway 136. However, the cloud service 156 may not initiate API calls to the service gateway 136.

[0041] In some examples, secure host lease 104 can be directly connected to service lease 119, which might otherwise be isolated. Secure host subnet 108 can communicate with SSH subnet 114 via LPG 110, which enables bidirectional communication on otherwise isolated systems. Connecting secure host subnet 108 to SSH subnet 114 allows secure host subnet 108 to access other entities within service lease 119.

[0042] Control plane VCN 116 may allow users of service lease 119 to configure or otherwise provision desired resources. Desired resources provisioned in control plane VCN 116 may be deployed or otherwise used in data plane VCN 118. In some examples, control plane VCN 116 may be isolated from data plane VCN 118, and the data plane mirror application layer 140 of control plane VCN 116 may communicate with the data plane application layer 146 of data plane VCN 118 via VNIC 142, which may be included in both the data plane mirror application layer 140 and the data plane application layer 146.

[0043] In some examples, users or clients of the system can make requests, such as create, read, update, or delete (CRUD) operations, via the public Internet 154, which can transmit requests to the metadata management service 152. The metadata management service 152 can transmit the request to the control plane VCN 116 via Internet gateway 134. The request can be received by one or more LB subnets 122 contained in the control plane DMZ layer 120. The one or more LB subnets 122 can determine that the request is valid, and in response, the one or more LB subnets 122 can transmit the request to one or more application subnets 126 contained in the control plane application layer 124. If the request is validated and requires a call to the public Internet 154, the call to the public Internet 154 can be transmitted to a NAT gateway 138 that can make calls to the public Internet 154. The request may expect the stored metadata to be stored in one or more DB subnets 130.

[0044] In some examples, the data plane mirroring application layer 140 can facilitate direct communication between the control plane VCN 116 and the data plane VCN 118. For example, it may be desirable to apply configuration changes, updates, or other suitable modifications to resources contained in the data plane VCN 118. Through VNIC 142, the control plane VCN 116 can communicate directly with the resources contained in the data plane VCN 118, and thus can perform configuration changes, updates, or other suitable modifications to said resources.

[0045] In some embodiments, the control plane VCN 116 and data plane VCN 118 may be included in service lease 119. In this case, the system's users or customers may not own or operate the control plane VCN 116 or data plane VCN 118. Alternatively, the IaaS provider may own or operate the control plane VCN 116 and data plane VCN 118. The control plane VCN 116 and data plane VCN 118 may be included in service lease 119. This embodiment can enable network isolation that could prevent users or customers from interacting with the resources of other users or customers. Moreover, this embodiment can allow the system's users or customers to store the database privately without relying on the public Internet 154 for storage.

[0046] In other embodiments, one or more LB subnets 122 included in the control plane VCN 116 may be configured to receive signals from the service gateway 136. In this embodiment, the control plane VCN 116 and the data plane VCN 118 may be configured to be invoked by the IaaS provider's customers without invoking the public Internet 154. The IaaS provider's customers may expect this embodiment because the database(s) used by the customer can be controlled by the IaaS provider and can be stored on the service lease 119. The service lease 119 may be isolated from the public Internet 154.

[0047] Figure 2 This is a block diagram illustrating another example pattern of an IaaS architecture 200 according to at least one embodiment. Service operator 202 (e.g., Figure 1 Service provider 102) can communicatively couple to secure host lease 204 (e.g., Figure 1 Secure hosting lease 104), the secure hosting lease 204 may include a virtual cloud network (VCN) 206 (e.g., Figure 1 VCN 106) and Secure Host Subnet 208 (e.g., Figure 1 The secure host subnet 108). VCN 206 may include a local peering gateway (LPG) 210 (e.g., Figure 1 The LPG 110), which can be communicatively coupled to the Secure Shell (SSH) VCN 212 (e.g., via the LPG 110 contained in the SSH VCN 212) Figure 1 SSH VCN 212 can include SSH subnet 214 (e.g., SSH VCN 212). Figure 1 SSH subnet 114), and SSH VCN 212 can be communicatively coupled to control plane VCN 216 via LPG 210 contained in control plane VCN 216 (e.g., Figure 1 Control plane VCN 216). Control plane VCN 216 may be included in service lease 219 (e.g., Figure 1 In the service lease 119), and the data plane VCN 218 (e.g., Figure 1 The data plane (VCN118) can be included in a customer lease 221 that can be owned or operated by the system's users or customers.

[0048] The control plane VCN 216 may include one or more LB subnets 222 (e.g., Figure 1 The control plane DMZ layer 220 of (one or more) LB subnets 122) (e.g., Figure 1The control plane DMZ layer 120 may include one or more application subnets 226 (e.g., Figure 1 The control plane application layer 224 of (one or more) application subnets 126 (e.g., Figure 1 The control plane application layer 124) and may include one or more database (DB) subnets 230 (e.g., similar to...). Figure 1 The control plane data layer 228 of (one or more) DB subnets 130) (e.g., Figure 1 The control plane data layer 128). One or more LB subnets 222 contained in the control plane DMZ layer 220 can be communicatively coupled to one or more application subnets 226 contained in the control plane application layer 224 and an Internet gateway 234 that can be contained in the control plane VCN 216 (e.g., Figure 1 Internet gateway 134). (One or more) application subnets 226 can communicatively couple to (one or more) DB subnets 230 contained in the control plane data layer 228 and service gateway 236 (e.g., Figure 1 Service gateway 136) and Network Address Translation (NAT) gateway 238 (e.g., Figure 1 (NAT gateway 138). The control plane VCN 216 may include the service gateway 236 and the NAT gateway 238.

[0049] The control plane VCN 216 may include a data plane mirror of the application layer 240, which may include one or more application subnets 226 (e.g., Figure 1 The data plane mirror application layer 240). One or more application subnets 226 contained in the data plane mirror application layer 240 may include computational instances 244 (e.g., similar to...). Figure 1 The virtual network interface controller (VNIC) 242 (e.g., the VNIC of 142) of the computing instance 144. The computing instance 244 may facilitate the mirroring of the application subnet(s) 226 of the application layer 240 in the data plane and may be included in the application layer 246 in the data plane (e.g., Figure 1 Communication between one or more application subnets 226 in the data plane application layer 146 via VNIC 242 contained in the data plane mirror application layer 240 and VNIC 242 contained in the data plane application layer 246.

[0050] The Internet gateway 234 included in the control plane VCN 216 can be communicatively coupled to the metadata management service 252 (e.g., Figure 1 Metadata management service 152), which can communicatively couple to the public Internet 254 (e.g., Figure 1The public Internet 254 can communicatively couple to a NAT gateway 238 contained in a control plane VCN 216. The service gateway 236 contained in the control plane VCN 216 can communicatively couple to a cloud service 256 (e.g., ...). Figure 1 Cloud services (156).

[0051] In some examples, data plane VCN 218 may be included in customer lease 221. In this case, the IaaS provider may provide control plane VCN 216 for each customer, and the IaaS provider may set up a unique compute instance 244 for each customer, included in service lease 219. Each compute instance 244 may allow communication between control plane VCN 216 included in service lease 219 and data plane VCN 218 included in customer lease 221. Compute instance 244 may allow resources provisioned in control plane VCN 216 included in service lease 219 to be deployed or otherwise used in data plane VCN 218 included in customer lease 221.

[0052] In other examples, an IaaS provider's customer may have a database residing in customer lease 221. In this example, control plane VCN 216 may include data plane mirror application layer 240, which may include one or more application subnets 226. Data plane mirror application layer 240 may reside in data plane VCN 218, but may not reside in data plane VCN 218. That is, data plane mirror application layer 240 may have access to customer lease 221, but may not reside in data plane VCN 218 or be owned or operated by the IaaS provider's customer. Data plane mirror application layer 240 may be configured to invoke data plane VCN 218, but may not be configured to invoke any entity contained in control plane VCN 216. Customers may expect to deploy or otherwise use resources provided in the control plane VCN 216 in the data plane VCN 218, and the data plane mirroring application layer 240 can facilitate the customer's desired deployment or other use of the resources.

[0053] In some embodiments, an IaaS provider's customer may apply filters to data plane VCN 218. In this embodiment, the customer may determine what data plane VCN 218 can access, and the customer may restrict access from data plane VCN 218 to the public Internet 254. The IaaS provider may not be able to apply filters or otherwise control data plane VCN 218's access to any external networks or databases. Applying filters and controls to data plane VCN 218 contained in customer lease 221 can help isolate data plane VCN 218 from other customers and the public Internet 254.

[0054] In some embodiments, cloud service 256 may be invoked by service gateway 236 to access services that may not exist on public internet 254, control plane VCN 216, or data plane VCN 218. The connection between cloud service 256 and control plane VCN 216 or data plane VCN 218 may not be real-time or continuous. Cloud service 256 may reside on different networks owned or operated by an IaaS provider. Cloud service 256 may be configured to receive calls from service gateway 236 and may be configured not to receive calls from public internet 254. Some cloud services 256 may be isolated from other cloud services 256, and control plane VCN 216 may be isolated from cloud services 256 that may not be in the same region as control plane VCN 216. For example, control plane VCN 216 may be located in "Region 1," and cloud service "Deployment 1" may be located in both Region 1 and "Region 2." If the service gateway 236, contained in the control plane VCN 216 located in region 1, makes a call to deployment 1, then that call can be transmitted to deployment 1 in region 1. In this example, the control plane VCN 216 or deployment 1 in region 1 may not be communicatively coupled to deployment 1 in region 2 or may otherwise communicate with it.

[0055] Figure 3 This is a block diagram illustrating another example pattern of an IaaS architecture 300 according to at least one embodiment. Service operator 302 (e.g., Figure 1 Service provider 102) can communicatively couple to secure host lease 304 (e.g., Figure 1 Secure hosting lease 104), the secure hosting lease 304 may include a virtual cloud network (VCN) 306 (e.g., Figure 1 VCN 106) and Secure Host Subnet 308 (e.g., Figure 1 The secure host subnet 108). VCN 306 may include LPG 310 (e.g., Figure 1The LPG 110), which can be communicatively coupled to the SSH VCN 312 via the LPG 310 included in the SSH VCN 312 (e.g., Figure 1 SSH VCN 112). SSH VCN 312 can include SSH subnet 314 (e.g., Figure 1 SSH subnet 114), and SSH VCN 312 can be communicatively coupled to control plane VCN 316 via LPG 310 contained in control plane VCN 316 (e.g., Figure 1 The control plane VCN 116) and coupled to the data plane VCN 318 via the LPG 310 contained in the data plane VCN 318 (e.g., Figure 1 Data plane VCN 118). Control plane VCN 316 and data plane VCN 318 may be included in service lease 319 (e.g., Figure 1 In the service rental (119).

[0056] The control plane VCN 316 may include one or more load balancer (LB) subnets 322 (e.g., Figure 1 The control plane DMZ layer 320 of (one or more) LB subnets 122) (e.g., Figure 1 The control plane DMZ layer 120 may include one or more application subnets 326 (e.g., similar to...). Figure 1 The control plane application layer 324 of (one or more) application subnets 126 (e.g., Figure 1 The control plane application layer 124), and the control plane data layer 328, which may include one or more DB subnets 330 (e.g., Figure 1 The control plane data layer 128). One or more LB subnets 322 contained in the control plane DMZ layer 320 can be communicatively coupled to one or more application subnets 326 contained in the control plane application layer 324 and an Internet gateway 334 that can be contained in the control plane VCN 316 (e.g., Figure 1 Internet gateway 134), and application subnet(s) 326 can communicatively couple to DB subnet(s) 330 contained in control plane data layer 328 and service gateway 336 (e.g., Figure 1 The service gateway) and Network Address Translation (NAT) gateway 338 (e.g., Figure 1 (NAT gateway 138). The control plane VCN 316 may include the service gateway 336 and the NAT gateway 338.

[0057] Data plane VCN 318 may include data plane application layer 346 (e.g., Figure 1 Data plane application layer 146), data plane DMZ layer 348 (e.g., Figure 1 Data plane DMZ layer 148), and data plane data layer 350 (e.g., Figure 1 The data plane data layer 150. The data plane DMZ layer 348 may include one or more trusted application subnets 360, one or more untrusted application subnets 362, and one or more LB subnets 322 of the Internet gateway 334 contained in the data plane VCN 318, which can be communicatively coupled to the data plane application layer 346. The one or more trusted application subnets 360 may be communicatively coupled to the service gateway 336, the NAT gateway 338 contained in the data plane VCN 318, and one or more DB subnets 330 contained in the data plane data layer 350. The one or more untrusted application subnets 362 may be communicatively coupled to the service gateway 336 contained in the data plane VCN 318 and the one or more DB subnets 330 contained in the data plane data layer 350. The data plane data layer 350 may include one or more DB subnets 330 that can be communicatively coupled to the service gateway 336 contained in the data plane VCN 318.

[0058] One or more untrusted application subnets 362 may include one or more primary VNICs 364(1)-(N) that can be communicatively coupled to tenant virtual machines (VMs) 366(1)-(N). Each tenant VM 366(1)-(N) may be communicatively coupled to a corresponding application subnet 367(1)-(N) that may be contained in a corresponding container egress VCN 368(1)-(N), which may be contained in a corresponding customer lease 380(1)-(N). A corresponding secondary VNIC 372(1)-(N) may facilitate communication between one or more untrusted application subnets 362 contained in a data plane VCN 318 and the application subnets contained in the container egress VCN 368(1)-(N). Each container egress VCN 368(1)-(N) may include a NAT gateway 338 that can be communicatively coupled to a public Internet 354 (e.g., Figure 1 The public Internet (154).

[0059] The Internet gateway 334, contained in the control plane VCN 316 and the data plane VCN 318, can be communicatively coupled to the metadata management service 352 (e.g., Figure 1Metadata management service 352 can be communicatively coupled to the public Internet 354. The public Internet 354 can be communicatively coupled to a NAT gateway 338 contained in a control plane VCN 316 and a data plane VCN 318. Service gateway 336 contained in a control plane VCN 316 and a data plane VCN 318 can be communicatively coupled to a cloud service 356.

[0060] In some embodiments, the data plane VCN 318 may be integrated with the customer lease 380. Such integration may be useful or desired by the IaaS provider's customer in certain situations, such as when support may be expected during code execution. The customer may provide code that could be destructive, might communicate with other customer resources, or might otherwise cause undesirable effects. In response, the IaaS provider may determine whether to run the code provided by the customer to the IaaS provider.

[0061] In some examples, an IaaS provider's customer may grant temporary network access to the IaaS provider and request functionality attached to the data plane application layer 346. The code running this functionality may execute within VMs 366(1)-(N), and this code may not be configured to run anywhere else on the data plane VCN 318. Each VM 366(1)-(N) may be connected to a customer lease 380. A corresponding container 381(1)-(N) contained within a VM 366(1)-(N) may be configured to run the code. In this case, dual isolation may exist (e.g., container 381(1)-(N) running code), where container 381(1)-(N) may be contained within at least one or more untrusted application subnets 362 of VM 366(1)-(N), which helps prevent incorrect or otherwise unintended code from corrupting the IaaS provider's network or the networks of different customers. Containers 381(1)-(N) may be communicatively coupled to customer lease 380 and may be configured to transmit or receive data from customer lease 380. Containers 381(1)-(N) may not be configured to transmit or receive data from any other entity in data plane VCN 318. After the code execution is complete, the IaaS provider may terminate or otherwise dispose of containers 381(1)-(N).

[0062] In some embodiments, one or more trusted application subnets 360 may run code that may be owned or operated by an IaaS provider. In this embodiment, one or more trusted application subnets 360 may be communicatively coupled to one or more database subnets 330 and configured to perform CRUD operations in one or more database subnets 330. One or more untrusted application subnets 362 may be communicatively coupled to one or more database subnets 330, but in this embodiment, one or more untrusted application subnets may be configured to perform read operations in one or more database subnets 330. Containers 381(1)-(N) that may be contained in each customer's VM 366(1)-(N) and may run code from the customer may not be communicatively coupled to one or more database subnets 330.

[0063] In other embodiments, the control plane VCN 316 and the data plane VCN 318 may be coupled without direct communication. In this embodiment, there may be no direct communication between the control plane VCN 316 and the data plane VCN 318. However, communication can occur indirectly through at least one method. The LPG 310 may be established by an IaaS provider, which can facilitate communication between the control plane VCN 316 and the data plane VCN 318. In another example, either the control plane VCN 316 or the data plane VCN 318 may invoke the cloud service 356 via the service gateway 336. For example, an invocation of the cloud service 356 from the control plane VCN 316 may include a request for a service that can communicate with the data plane VCN 318.

[0064] Figure 4 This is a block diagram illustrating another example pattern of an IaaS architecture 400 according to at least one embodiment. Service operator 402 (e.g., Figure 1 Service provider 102) can communicatively couple to secure host lease 404 (e.g., Figure 1 Secure hosting lease 104), the secure hosting lease 404 may include a Virtual Cloud Network (VCN) 406 (e.g., Figure 1 VCN 106) and Secure Host Subnet 408 (e.g., Figure 1 The secure host subnet 108). VCN 406 may include LPG 410 (e.g., Figure 1 The LPG 410 can be contained in SSH VCN 412 (e.g., LPG 110). Figure 1 The LPG410 in SSH VCN 412 is communicatively coupled to SSH VCN 412. SSH VCN 412 may include SSH subnet 414 (e.g., Figure 1SSH subnet 114), and SSH VCN 412 can be communicatively coupled to control plane VCN 416 via LPG 410 contained in control plane VCN 416 (e.g., Figure 1 The control plane VCN 116) and coupled to the data plane VCN 418 via LPG410 contained in the data plane VCN 418 (e.g., Figure 1 Data plane VCN 418). Control plane VCN 416 and data plane VCN 418 may be included in service lease 419 (e.g., Figure 1 In the service rental (119).

[0065] The control plane VCN 416 may include one or more LB subnets 422 (e.g., Figure 1 The control plane DMZ layer 420 of (one or more) LB subnets 122) (e.g., Figure 1 The control plane DMZ layer 120 may include (one or more) application subnets 426 (e.g., Figure 1 The control plane application layer 424 of (one or more) application subnets 126 (e.g., Figure 1 The control plane application layer 124), and may include (one or more) DB subnets 430 (e.g., Figure 3 The control plane data layer 428 of (one or more) DB subnets 330 (e.g., Figure 1 The control plane data layer 128). One or more LB subnets 422 contained in the control plane DMZ layer 420 can be communicatively coupled to one or more application subnets 426 contained in the control plane application layer 424 and an Internet gateway 434 that can be contained in the control plane VCN 416 (e.g., Figure 1 Internet gateway 134), and application subnet 426(e.g.) can communicatively couple to DB subnet 430(e.g.) contained in control plane data layer 428 and service gateway 436(e.g., Figure 1 The service gateway) and Network Address Translation (NAT) gateway 438 (e.g., Figure 1 (NAT gateway 138). Control plane VCN 416 may include service gateway 436 and NAT gateway 438.

[0066] Data plane VCN 418 may include data plane application layer 446 (e.g., Figure 1 Data plane application layer 146), data plane DMZ layer 448 (e.g., Figure 1 Data plane DMZ layer 148), and data plane data layer 450 (e.g., Figure 1The data plane data layer 150). The data plane DMZ layer 448 may include one or more trusted application subnets 460 that can be communicatively coupled to the data plane application layer 446 (e.g., Figure 3 (one or more) trusted application subnets 360 and (one or more) untrusted application subnets 462 (e.g., Figure 3 The data plane VCN 418 may include one or more untrusted application subnets 362 and one or more LB subnets 422 of an Internet gateway 434. One or more trusted application subnets 460 may communicatively couple to a service gateway 436, a NAT gateway 438, and one or more DB subnets 430 in the data plane VCN 418. One or more untrusted application subnets 462 may communicatively couple to a service gateway 436 and a DB subnet 430 in the data plane VCN 418. The data plane VCN 450 may include one or more DB subnets 430 that may communicatively couple to a service gateway 436 in the data plane VCN 418.

[0067] One or more untrusted application subnets 462 may include a primary VNIC 464(1)-(N) communicatively coupled to tenant virtual machines (VMs) 466(1)-(N) residing within one or more untrusted application subnets 462. Each tenant VM 466(1)-(N) may run code in a corresponding container 467(1)-(N) and is communicatively coupled to an application subnet 426 that may be contained in a data plane application layer 446, which may be contained in a container egress VCN 468. A corresponding secondary VNIC 472(1)-(N) may facilitate communication between one or more untrusted application subnets 462 contained in a data plane VCN 418 and the application subnets contained in a container egress VCN 468. The container egress VCN may include a public Internet 454 (e.g., Figure 1 NAT gateway 438 for the public Internet (154).

[0068] The Internet gateway 434, contained in the control plane VCN 416 and the data plane VCN 418, can be communicatively coupled to the metadata management service 452 (e.g., Figure 1Metadata management service 452 can be communicatively coupled to the public Internet 454. The public Internet 454 can be communicatively coupled to a NAT gateway 438 contained in a control plane VCN 416 and a data plane VCN 418. Service gateway 436 contained in a control plane VCN 416 and a data plane VCN 418 can be communicatively coupled to a cloud service 456.

[0069] In some examples, Figure 4 The architecture shown in block diagram 400 can be considered as Figure 3 This is an exception to the pattern shown in the architecture of block diagram 300, and this pattern may be what the IaaS provider's customers would expect if the IaaS provider cannot communicate directly with the customer (e.g., in a disconnected region). Each customer can have real-time access to the corresponding container 467(1)-(N) contained in that customer's VM 466(1)-(N). Container 467(1)-(N) can be configured to make calls to the corresponding auxiliary VNIC 472(1)-(N) contained in one or more application subnets 426 of the data plane application layer 446, which may be contained in the container egress VCN 468. The auxiliary VNIC 472(1)-(N) can transmit the calls to a NAT gateway 438, which can transmit the calls to the public Internet 454. In this example, the container 467(1)-(N) that can be accessed by the customer in real time can be isolated from the control plane VCN 416 and from other entities contained in the data plane VCN 418. Container 467(1)-(N) can also be isolated from resources from other customers.

[0070] In other examples, a client may use container 467(1)-(N) to invoke cloud service 456. In this example, the client may run code within container 467(1)-(N) requesting a service from cloud service 456. Container 467(1)-(N) may transmit the request to auxiliary VNIC 472(1)-(N), which may transmit the request to a NAT gateway, which may transmit the request to public internet 454. Public internet 454 may transmit the request via internet gateway 434 to one or more LB subnets 422 contained in control plane VCN 416. In response to determining that the request is valid, one or more LB subnets may transmit the request to one or more application subnets 426, which may transmit the request to cloud service 456 via service gateway 436.

[0071] It should be recognized that IaaS architectures 100, 200, 300, and 400 may include components that are different from and / or additional to those shown in the figures. Additionally, the embodiments shown in the figures represent non-exhaustive examples of cloud infrastructure systems that may be incorporated into embodiments of this disclosure. In some other embodiments, the IaaS system may have more or fewer components than shown in the figures, may combine two or more components, or may have different configurations or component arrangements.

[0072] In some embodiments, the IaaS system described herein may include application suites, middleware, and database service offerings delivered to customers in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. An example of such an IaaS system is the Oracle Cloud Infrastructure (OCI) provided by this assignee.

[0073] In one or more embodiments, a computer network provides connectivity between a set of nodes. Nodes may be local to each other and / or geographically distant. Nodes are connected via a set of links. Examples of links include coaxial cable, unshielded stranded cable, copper cable, fiber optic cable, and virtual links.

[0074] A subset of nodes implements a computer network. Examples of such nodes include switches, routers, firewalls, and Network Address Translation (NAT). Another subset of nodes uses a computer network. Such nodes (also called "hosts") can execute client processes and / or server processes. Client processes make requests for computing services, such as the execution of a specific application and / or the storage of a specific amount of data. Server processes respond by performing the requested service and / or returning the corresponding data.

[0075] A computer network can be a physical network, including physical nodes connected by physical links. A physical node is any digital device. A physical node can be a function-specific hardware device, such as a hardware switch, hardware router, hardware firewall, and hardware NAT. Additionally, or alternatively, a physical node can be a general-purpose machine configured to perform various virtual machines and / or applications to perform corresponding functions. A physical link is the physical medium connecting two or more physical nodes. Examples of links include coaxial cable, unshielded stranded cable, copper cable, and fiber optic cable.

[0076] Computer networks can be overlay networks. An overlay network is a logical network implemented on top of another network, such as a physical network. Each node in an overlay network corresponds to a corresponding node in the underlying network. Therefore, each node in an overlay network is associated with both an overlay address (used to address the overlay node) and an underlying address (used to address the underlying node that implements the overlay node). Overlay nodes can be digital devices and / or software processes, such as virtual machines, application instances, or threads. The links connecting overlay nodes are implemented as tunnels through the underlying network. Overlay nodes at either end of the tunnel treat the underlying multi-hop path between them as a single logical link. Tunneling is performed through encapsulation and decapsulation.

[0077] In this embodiment, the client may be located locally on the computer network and / or remotely on the computer network. The client may access the computer network via other computer networks, such as a private network or the Internet. The client may use a communication protocol, such as Hypertext Transfer Protocol (HTTP), to transmit requests to the computer network. Requests may be transmitted through interfaces such as client interfaces (such as web browsers), program interfaces, or APIs (Application Programming Interfaces).

[0078] In this embodiment, a computer network provides connectivity between clients and network resources. Network resources include hardware and / or software configured to execute server processes. Examples of network resources include processors, data storage devices, virtual machines, containers, and / or software applications. Network resources are shared among multiple clients. Clients independently request computing services from the computer network. Network resources are dynamically assigned to requesting and / or clients on demand. The network resources assigned to requesting and / or clients can be scaled up or down based on one or more of the following: (a) computing services requested by a specific client, (b) aggregated computing services requested by a specific tenant, or (c) the requested aggregated computing services of the computer network. Such a computer network may be referred to as a "cloud network".

[0079] In this embodiment, the service provider offers a cloud network to one or more end users. The cloud network can implement various service models, including but not limited to Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). In SaaS, the service provider offers end users the ability to use applications running on the service provider's network resources. In PaaS, the service provider offers end users the ability to deploy custom applications onto network resources. Custom applications can be created using programming languages, libraries, services, and tools supported by the service provider. In IaaS, the service provider offers end users the ability to supply processing, storage, networking, and other basic computing resources provided by the network resources. Any application, including operating systems, can be deployed on the network resources.

[0080] In embodiments, the computer network can implement various deployment models, including but not limited to private cloud, public cloud, and hybrid cloud. In a private cloud, network resources are exclusively supplied to a specific group of one or more entities. Network resources can be located locally or remotely from the specific group of entities. In a public cloud, cloud resources are supplied to multiple independent entities (also referred to as "tenants" or "clients"). The computer network and its network resources are accessed by clients corresponding to different tenants. Such a computer network can be referred to as a "multi-tenant computer network." Several tenants can use the same specific network resources at different times and / or at the same time. Network resources can be located locally or remotely from the tenant's location. In a hybrid cloud, the computer network includes both private and public clouds. The interface between the private and public clouds allows for data and application portability. Data stored in the private cloud and data stored in the public cloud can be exchanged through the interface. Applications implemented in the private cloud and applications implemented in the public cloud may be dependent on each other. Calls from an application in the private cloud to an application in the public cloud (and vice versa) can be performed through the interface.

[0081] In this embodiment, the tenants of a multi-tenant computer network are independent of each other. For example, one tenant's business or operations may be separate from those of another tenant. Different tenants may have different network requirements for the computer network. Examples of network requirements include processing speed, data storage capacity, security requirements, performance requirements, throughput requirements, latency requirements, resilience requirements, quality of service (QoS) requirements, tenant isolation, and / or consistency. The same computer network may need to meet the different network requirements needed by different tenants.

[0082] In one or more embodiments, in a multi-tenant computer network, tenant isolation is implemented to ensure that applications and / or data from different tenants are not shared with each other. Various tenant isolation methods can be used.

[0083] In this embodiment, each tenant is associated with a tenant ID. Each network resource in a multi-tenant computer network is tagged with a tenant ID. When a tenant and a specific network resource are associated with the same tenant ID, the tenant is granted access to the specific network resource.

[0084] In this embodiment, each tenant is associated with a tenant ID. Each application implemented by the computer network is tagged with a tenant ID. Additionally, or alternatively, each data structure and / or dataset stored by the computer network is tagged with a tenant ID. When a tenant and a specific application, data structure, and / or dataset are associated with the same tenant ID, the tenant is granted access to the specific application, data structure, and / or dataset.

[0085] As an example, each database implemented in a multi-tenant computer network can be identified by a tenant ID. The tenant associated with the corresponding tenant ID can access the data in that specific database. As another example, each entry in a database implemented in a multi-tenant computer network can be identified by a tenant ID. The tenant associated with the corresponding tenant ID can access the data in that specific entry. However, multiple tenants can share the database.

[0086] In this embodiment, the subscription list identifies a set of tenants, and for each tenant, a set of applications that the tenant is authorized to access. For each application, a list of tenant IDs of tenants authorized to access that application is stored. When a tenant's tenant ID is included in the subscription list corresponding to a specific application, that tenant is authorized to access that specific application.

[0087] In this embodiment, network resources (such as digital devices, virtual machines, application instances, and threads) corresponding to different tenants are isolated to tenant-specific overlay networks maintained by a multi-tenant computer network. As an example, data packets from any source device within a tenant overlay network can be transmitted to other devices within the same tenant overlay network. Encapsulation tunnels are used to prevent any transmission from a source device on one tenant overlay network to devices in other tenant overlay networks. Specifically, data packets received from a source device are encapsulated within an outer data packet. The outer data packet is transmitted from a first encapsulation tunnel endpoint (communicating with the source device in the tenant overlay network) to a second encapsulation tunnel endpoint (communicating with the destination device in the tenant overlay network). The second encapsulation tunnel endpoint decapsulates the outer data packet to obtain the original data packet transmitted by the source device. The original data packet is transmitted from the second encapsulation tunnel endpoint to the destination device within the same specific overlay network.

[0088] This application may include references to certain trademarks. While the use of trademarks in a patent application is permitted, the exclusive nature of the trademark should be respected and every effort should be made to prevent its use in any way that may adversely affect its validity as a trademark.

[0089] 3. Computer System

[0090] Figure 5 An example computer system 500 is illustrated. Embodiments of this disclosure can be implemented on computer system 500. For example... Figure 5 As shown, the computer system 500 includes a processing unit 504 that communicates with peripheral subsystems via a bus subsystem 502. These peripheral subsystems may include a processing acceleration unit 506, an I / O subsystem 508, a storage subsystem 518, and a communication subsystem 524. The storage subsystem 518 includes a tangible computer-readable storage medium 522 and a system memory 510.

[0091] Bus subsystem 502 provides a mechanism for allowing various components and subsystems of computer system 500 to communicate with each other as intended. While bus subsystem 502 is schematically shown as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 502 can be any of several types of bus architectures, including memory buses or memory controllers, peripheral buses, and local buses using any of the various bus architectures available. For example, such architectures may include Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MCA) buses, Enhanced ISA (EISA) buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses. Furthermore, such architectures can be implemented as Mezzanine buses manufactured according to the IEEE P1386.1 standard.

[0092] Processing unit 504 controls the operation of computer system 500. Processing unit 504 may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers). One or more processors may be included in processing unit 504. These processors may include single-core or multi-core processors. In some embodiments, processing unit 504 may be implemented as one or more independent processing units 532 and / or 534, wherein each processing unit includes a single-core or multi-core processor. In other embodiments, processing unit 504 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.

[0093] In various embodiments, processing unit 504 can execute various programs in response to program code and can maintain multiple concurrently executing programs or processes. At any given time, the program code to be executed can reside wholly or partially in processing unit 504 and / or storage subsystem 518. With appropriate programming, processing unit 504 can provide the various functions described above. Computer system 500 may additionally include processing acceleration unit 506, which may include a digital signal processor (DSP), a dedicated processor, etc.

[0094] I / O subsystem 508 may include user interface input devices and user interface output devices. User interface input devices may include keyboards, pointing devices such as mice or trackballs, touchpads or touchscreens integrated into displays, scroll wheels, click wheels, dials, buttons, switches, keypads, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may include, for example, motion sensing and / or gesture recognition devices, such as the Microsoft Kinect® motion sensor, which enables users to control and interact with input devices such as the Microsoft Xbox® 360 game controller via a natural user interface using gestures and voice commands. User interface input devices may also include eye posture recognition devices, such as the Google Glass® blink detector, which detects eye activity from the user (e.g., “blinking” when taking a photo and / or making menu selections) and translates the eye posture into input in an input device (e.g., Google Glass®). Furthermore, user interface input devices may include voice recognition sensing devices that enable users to interact with a voice recognition system (e.g., the Siri® navigator) via voice commands.

[0095] User interface input devices may also include, but are not limited to, 3D mice, joysticks or pointing sticks, game panels and drawing tablets, as well as audio / video devices such as speakers, digital cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode readers, 3D scanners, 3D printers, laser rangefinders, and eye-tracking devices. Furthermore, user interface input devices may include medical imaging input devices such as computed tomography (CT), magnetic resonance imaging (MRI), positron emission tomography (PET), and medical ultrasound equipment. User interface input devices may also include audio input devices such as MIDI keyboards and digital musical instruments.

[0096] User interface output devices may include display subsystems, indicator lights, or non-visual displays such as audio output devices, etc. Display subsystems may be cathode ray tubes (CRTs), flat panel devices such as those using liquid crystal displays (LCDs) or plasma displays, projection devices, touchscreens, etc. Generally, the term "output device" is used to encompass any type of device and mechanism for outputting information from computer system 500 to a user or other computer. For example, user interface output devices may include, but are not limited to, various display devices that visually convey text, graphics, and audio / video information, such as monitors, printers, speakers, headphones, car navigation systems, plotters, voice output devices, and modems.

[0097] Computer system 500 may include a storage subsystem 518 that provides a tangible, non-transitory, computer-readable storage medium for storing software and data constructs that provide the functionality of the embodiments described in this disclosure. The software may include programs, code modules, instructions, scripts, etc., which provide the aforementioned functionality when executed by one or more cores or processors of processing unit 504. Storage subsystem 518 may also provide a repository for storing data used according to this disclosure.

[0098] like Figure 5 As depicted in the example, storage subsystem 518 may include various components, including system memory 510, computer-readable storage medium 522, and computer-readable storage medium reader 520. System memory 510 may store program instructions, such as application program 512, that can be loaded and executed by processing unit 504. System memory 510 may also store data used during the execution of instructions, such as program data 514, and / or data generated during the execution of program instructions. Various programs may be loaded into system memory 510, including but not limited to client applications, web browsers, middleware applications, relational database management systems (RDBMS), virtual machines, containers, etc.

[0099] System memory 510 may also store operating system 516. Examples of operating system 516 may include various versions of Microsoft Windows®, Apple Macintosh® and / or Linux operating systems, various commercial UNIX® or UNIX-like operating systems (including, but not limited to, various GNU / Linux operating systems, Google Chrome® OS, etc.) and / or mobile operating systems (such as iOS, Windows® Phone, Android® OS, BlackBerry® OS, and Palm® OS). In some implementations where computer system 500 executes one or more virtual machines, the virtual machine, along with its guest operating system (GOS), may be loaded into system memory 510 and executed by one or more processors or cores of processing unit 504.

[0100] System memory 510 may be configured differently depending on the type of computer system 500. For example, system memory 510 may be volatile memory (such as random access memory (RAM)) and / or non-volatile memory (such as read-only memory (ROM), flash memory, etc.). Different types of RAM configurations may be provided, including static random access memory (SRAM), dynamic random access memory (DRAM), etc. In some embodiments, system memory 510 may include a basic input / output system (BIOS) containing basic routines that facilitate, for example, the transfer of information between components within the computer system 500 during startup.

[0101] Computer-readable storage medium 522 may represent remote, local, fixed and / or removable storage devices and storage media for temporarily and / or more permanently containing and storing computer-readable information (including instructions executable by the processing unit 504 of the computer system 500) for use by the computer system 500.

[0102] Computer-readable storage medium 522 may include any suitable medium known or used in the art, including storage and communication media, such as, but not limited to, volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing and / or transmitting information. This may include tangible computer-readable storage media such as RAM, ROM, electrically erasable programmable ROM (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic tape cassette, magnetic tape, disk storage or other magnetic storage devices, or other tangible computer-readable media.

[0103] For example, computer-readable storage medium 522 may include hard disk drives that read from or write to non-removable non-volatile magnetic media, disk drives that read from or write to removable non-volatile magnetic disks, and optical disc drives that read from or write to removable non-volatile optical discs (such as CD-ROMs, DVDs, and Blu-ray® discs or other optical media). Computer-readable storage medium 522 may include, but is not limited to, Zip® drives, flash memory cards, Universal Serial Bus (USB) flash drives, Secure Digital (SD) cards, DVD discs, digital video tapes, and so on. Computer-readable storage medium 522 may also include solid-state drives (SSDs) based on non-volatile memory (such as flash memory-based SSDs, enterprise flash drives, solid-state ROMs, etc.), volatile memory-based SSDs (such as solid-state RAM, dynamic RAM, static RAM), DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs using a combination of DRAM-based and flash memory-based SSDs. Disk drives and their associated computer-readable media can provide non-volatile storage for computer-readable instructions, data structures, program modules and other data for computer system 500.

[0104] Machine-readable instructions executable by one or more processors or cores of processing unit 504 may be stored on a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium may include physically tangible memory or storage devices, including volatile memory storage devices and / or non-volatile memory devices. Examples of non-transitory computer-readable storage media include magnetic storage media (e.g., disks or tapes), optical storage media (e.g., DVDs, CDs), various types of RAM, ROM, or flash memory, hard disk drives, floppy disk drives, removable memory drives (e.g., USB drives), or other types of storage devices.

[0105] The communication subsystem 524 provides an interface to other computer systems and networks. The communication subsystem 524 serves as an interface for receiving data from other systems and sending data from computer system 500 to other systems. For example, the communication subsystem 524 enables computer system 500 to connect to one or more devices via the Internet. In some embodiments, the communication subsystem 524 may include radio frequency (RF) transceiver components (e.g., advanced data network technologies using cellular telephone technologies, such as 3G, 4G, or EDGE (Enhanced Data Rates for Global Evolution), Wi-Fi (IEEE 802.11 series standards), or other mobile communication technologies, or any combination thereof), GPS receiver components, and / or other components for accessing wireless voice and / or data networks. In some embodiments, as an addition to or alternative to the wireless interface, the communication subsystem 524 may provide a wired network connection (e.g., Ethernet).

[0106] In some embodiments, the communication subsystem 524 may also represent one or more users who can use the computer system 500 to receive input communications in the form of structured and / or unstructured data feeds 526, event streams 528, event updates 530, etc.

[0107] For example, the communication subsystem 524 can be configured to receive data feeds 526 in real time from users of social networks and / or other communication services, such as Twitter® feeds, Facebook® updates, web feeds such as Rich Site Summary (RSS) feeds, and / or real-time updates from one or more third-party information sources.

[0108] Furthermore, the communication subsystem 524 can be configured to receive data in the form of a continuous data stream. The continuous data stream may include an event stream 528 and / or event updates 530, which may be inherently continuous or unbounded and without a clearly defined termination, representing real-time events. Examples of applications that generate continuous data may include sensor data applications, financial quote machines, network performance measurement tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, vehicle traffic monitoring, and so on.

[0109] The communication subsystem 524 can also be configured to output structured and / or unstructured data feeds 526, event streams 528, event updates 530, etc. to one or more databases, which can communicate with one or more streaming data source computers coupled to the computer system 500.

[0110] The computer system 500 can be one of a variety of types, including handheld portable devices (e.g., iPhone® cellular phones, iPad® computing tablets, PDAs), wearable devices (e.g., Google® Glass head-mounted displays), PCs, workstations, mainframes, information stations, server racks, or any other data processing system.

[0111] Due to the ever-changing nature of computers and networks, Figure 5 The description of the computer system 500 shown in the figure is intended as a non-limiting example. It has more than Figure 5 Many other configurations of the system, with more or fewer components, are possible. For example, custom hardware may be used and / or specific elements may be implemented using hardware, firmware, software (including applets), or a combination thereof. Additionally, connections to other computing devices, such as network input / output devices, may also be employed. Based on the disclosure and teachings provided herein, those skilled in the art will recognize other ways and / or methods for implementing the various embodiments.

[0112] 4. Namespace isolation system

[0113] Figure 6 A system 600 according to one or more embodiments is illustrated. Figure 6 As shown, system 600 includes namespace 610, identity and access manager 620, namespace controller 630, and manager instance 640. In one or more embodiments, system 600 may include... Figure 6 The components shown may have more or fewer components. Figure 6 The components shown can be located locally or remotely. Figure 6 The components shown can be implemented using software and / or hardware. Each component can be distributed across multiple applications and / or machines. Multiple components can be combined into a single application and / or machine. Operations described for one component can be performed alternatively by another component.

[0114] In one or more embodiments, system 600 refers to hardware and / or software configured to perform the operations described herein for implementing and / or enforcing isolation within a cluster of compute nodes configured to run containerized applications. The cluster of compute nodes may be associated with multiple users. As used herein, "user" refers to a human user or a non-human user. A user requesting some form of access to the cluster is referred to herein as a "requesting entity." System 600 can enforce isolation within the cluster by rejecting a request from a requesting entity. A request from a requesting entity may optionally target a standard namespace of the cluster. As used herein, the standard namespace to which the request is targeted is referred to as a "target namespace." A request targeting a target namespace does not need to indicate that target namespace in the request. A request from a requesting entity may optionally target a component of the cluster. As used herein, the component to which the request is targeted is referred to as a "target resource." The target resource does not need to be a resource. A request targeting a target resource does not need to indicate that target resource in the request. A Kubernetes cluster is an example of a cluster of compute nodes configured to run containerized applications. References Figure 7 The following describes an example of operations used to achieve isolation within a cluster. References Figure 8 The following describes an example of an operation used to enforce isolation in a cluster.

[0115] In this embodiment, namespace 610 is a standard namespace. A standard namespace is a mechanism for organizing the components of a cluster of compute nodes. A standard namespace can be more simply referred to as a "namespace". Namespace 610 is associated with a subset of the components of the cluster. Namespace 610 is associated with API resources, compute resources, other types of resources, and / or other components of the cluster. An "API resource" refers to a type of object or a representation of an operation on that object. Examples of API resources that can be associated with namespace 610 include container groups (pods), services, deployments, service accounts, persistent volumes, replica sets, configuration mappings, secrets, and others. A "compute resource" refers to a measurable quantity that can be requested, allocated, and / or consumed. Compute resources are allocated to and consumed by applications running on resources in namespace 610. Namespace 610 corresponds to isolation namespace 612. As used herein, "corresponding namespace" refers to the standard namespace corresponding to the isolation namespace. Therefore, namespace 610 can be referred to as the corresponding namespace. Figure 6 As shown, namespace 610 includes container group 614. Components of namespace 610 are communicatively coupled to components of manager instance 640 and / or other components of system 600.

[0116] In this embodiment, isolation namespace 612 is a mechanism for enforcing isolation within a cluster of compute nodes. System 600 can enforce isolation within the cluster by selectively rejecting requests attempting to cross the boundary of isolation namespace 612. The boundary of isolation namespace 612 is the boundary of namespace 610. However, in another embodiment, isolation namespaces may encompass multiple namespaces, portions of namespaces(s), and / or components of the cluster that do not reside in standard namespaces. It should be noted that a cluster of compute nodes may include multiple namespaces and multiple corresponding isolation namespaces; however, it is not necessary for every standard namespace of the cluster to have an isolation namespace. Users may be permitted access to multiple isolation namespaces; however, users may not access any two isolation namespaces of the cluster simultaneously.

[0117] In this embodiment, container group 612 is hosted by a cluster of compute nodes. Container group 612 is a resource of namespace 610. Container group 612 serves as the execution environment for containerized application 614. Container group 612 may be associated with a service account. A service account is a resource that provides identity for non-human users of the cluster. Non-human users of the cluster can use the credentials of the service account to request access to another component of the cluster or a component of an external system. Requests based on service account credentials are referred to herein as "service account requests". In this example, a service account token is attached to container group 612 as a secret. The service account token is a JavaScript Object Notation (JSON) web token or another credential format. Non-human users of the cluster can leverage the service account token to request access to another component of the cluster (e.g., a resource of namespace 610).

[0118] In this embodiment, containerized application 614 is a software application packaged into a container. The software application may be packaged into a container along with any dependencies that may be needed to run the software application. Example dependencies of a software application that may be packaged into a container include libraries, binaries, configuration files, frameworks, and / or other information. Containerized application 614 can be executed in any computing environment that supports container formats. Examples of container formats include Docker containers, Linux containers, Solaris containers, and others. Containerized application 614 executing on container group 612 is an example of a non-human user who can use a service account token mounted to container group 612 to request access to another component of the cluster.

[0119] In this embodiment, the Identity and Access Manager 620 is configured to provide access control to the computer environment. The Identity and Access Manager 620 manages Identity and Access Management (IAM) policies. IAM policies can be registered to or “attached” to a subject or a group of subjects (referred to herein as an “IAM group”). A subject can be a human user or a non-human user. Example IAM policy statements can specify IAM groups, privileges (e.g., inspect, read, use, manage, etc.), resource types, locations, conditions, and / or other information. Users of System 600 can interact with the Identity and Access Manager 620 to define IAM policies. The Identity and Access Manager 620 can determine whether the entity issuing the request is a subject attached to the IAM policy. As used herein, an “IAM request” refers to any request evaluated based on an IAM policy. The Identity and Access Manager 620 is communicatively coupled to components of Manager Instance 640 and / or other components of System 600.

[0120] In this embodiment, the Identity and Access Manager 620 is configured to manage IAM policies written for a cluster of compute nodes. For example, an IAM policy managed by the IAM Manager 620 may grant a set of permissions(s) within the cluster to subjects that are human or non-human users of the cluster. The IAM policy managed by the Identity and Access Manager 620 may work in conjunction with the cluster's Role-Based Access Control (RBAC) policies. For example, permissions granted by an IAM policy may be mapped to groups within the cluster, and groups within the cluster may be bound to an RBAC cluster role or an RBAC role. An RBAC cluster role grants a set of permissions(s) within the cluster (i.e., actions that can be performed anywhere within the cluster). An RBAC role grants a set of permissions(s) within the cluster's standard namespace. Subjects bound to RBAC cluster roles are bound to RBAC cluster roles. Similarly, subjects bound to RBAC role roles are bound to RBAC roles. In the example, the IAM policy managed by Identity and Access Manager 620 grants the subject administrative permissions to the cluster. These administrative permissions are mapped to the cluster's master control group, and the master control group is bound to the administrator RBAC cluster role, which grants administrator-level permissions within the cluster. Therefore, in this example, as a result of the IAM policy granted administrative permissions by Identity and Access Manager 620, the subject is granted administrator-level permissions within the cluster. It should be noted that RBAC cluster roles and / or RBAC roles can be bound to various other subjects. For example, in another example, the RBAC role is bound to a service account.

[0121] In this embodiment, the Identity and Access Manager 620 is configured to manage IAM policies written for one or more isolated namespaces of a cluster of compute nodes. The IAM policies written for isolated namespaces grant permissions for one or more isolated namespaces. For example, an example IAM policy grants a subject permission to inspect, read, use, or manage an isolated namespace. Permissions granted for isolated namespaces by the IAM policy can be mapped to namespace-specific groups in the corresponding standard namespace. In the example, the IAM policy grants a subject management permission for an isolated namespace, which is mapped to an administrator group in the corresponding namespace, and the administrator group in the corresponding namespace is bound to an administrator RBAC role that grants administrator-level permissions in the corresponding namespace. Therefore, in this example, as a result of the IAM policy managed by the Identity and Access Manager 620 granting management permission for the isolated namespace, the subject is granted administrator-level permissions in the corresponding namespace.

[0122] In this embodiment, namespace controller 630 is a control loop configured to monitor a cluster of compute nodes. Specifically, namespace controller 630 is configured to detect changes to the configuration of isolated namespaces associated with the cluster. Namespace controller 630 resides in the cloud infrastructure management plane of system 600. Namespace controller 630 is communicatively coupled to components of manager instance 640 and / or other components of system 600. Namespace controller 630 may utilize peer-to-peer mechanisms to establish connections to manager instance 640 and / or other components of the cluster. Namespace controller 630 may create new resources on manager instance 640 and use these new resources to interact with components of manager instance 640 (e.g., a cluster namespace data repository). Namespace controller 630 is configured to persist namespace metadata to the manager instance of the cluster. For example, in response to the definition of a new isolated namespace (e.g., isolated namespace 612), namespace controller 630 may push namespace metadata associated with the new isolated namespace to the manager instance (e.g., manager instance 640). Namespace controller 630 can create role bindings and / or cluster role bindings. For example, namespace controller 630 can create role bindings for the administrator RBAC role or the user RBAC role for namespace 610.

[0123] In this embodiment, manager instance 640 is a virtual machine instance of components of the control plane and / or data plane of a cluster of compute nodes. An example cluster of compute nodes may be associated with multiple manager instances. Figure 6As shown, manager instance 640 includes API server 642, isolation enforcer 644, cluster namespace data repository 650, key-value data repository 654, and / or other components. The components of manager instance 640 are configured to perform various operations for the management of namespace 610, other namespaces in the cluster, and / or other components of the cluster. The components of manager instance 640 are communicatively coupled to components of namespace 610, identity and access manager 620, namespace controller 630, and / or other components of system 600.

[0124] In this embodiment, API server 642 is configured to facilitate communication to and / or from components of the cluster on and from compute nodes. API server 642 exposes an HTTP API that allows users of the cluster to interact with components of the cluster. API server 642 can receive API calls from both human and non-human users (e.g., containerized application 616). In response to receiving a request for access to the cluster, API server 642 is configured to publish a network hook callback to isolation enforcer 644 for authenticating and / or authorizing the request. API server 642 can share information with isolation enforcer 644 by populating API resources (e.g., token vetting resources and / or principal access vetting resources).

[0125] In this embodiment, isolation enforcer 644 is configured to enforce isolation within a cluster of compute nodes. Isolation enforcer 644 can enforce isolation by selectively denying requests attempting to cross the boundaries of isolation namespace 610 and / or other isolation namespaces in the cluster. It should be noted that isolation enforcer 644 may allow requests to cross the boundaries of isolation namespace 610 if the request does not attempt to breach isolation. As used herein, “allow request” means avoiding denying the request. Nevertheless, a request allowed by one component of system 600 may still be denied by another component of system 600. Isolation enforcer 644 may deny requests from entities attempting to evade isolation, even if the request is permitted by IAM policies, RBAC policies, attribute-based access control (ABAC) policies, node authorization policies, and / or other access control mechanisms that have granted permission to the requesting entity. Figure 6 As shown, the isolation enforcer 644 includes an authentication process 646 and an authorization process 648.

[0126] In this embodiment, authentication handler 646 is a plugin that includes custom logic for rejecting certain requests received by API server 642. Specifically, the custom logic of authentication handler 646 is configured to reject requests from the requesting entity if the requesting entity is not permitted to access the isolated namespace specified by the request. Authentication handler 646 may access information (e.g., namespace metadata) stored in cluster namespace data repository 650 and may consult identity and access manager 620 to determine whether the requesting entity is permitted to access the isolated namespace. Authentication handler 646 is configured to evaluate requests received by API server 642 in response to network hook callbacks published by API server 642. Authentication handler 646 may use API resources (e.g., token vetting resources) to send and receive information from API server 642.

[0127] In an embodiment, authentication processor 646 may evaluate the request based on a user token accompanying the request. As used herein, the term "user token" refers to credentials other than a service account token. For clarity and explanation purposes, user tokens are distinguished from service account tokens, and it should be understood that a user token does not need to be a token. In the example, the user token is a JSON web token accompanying the IAM request, with a Uniform Resource Locator (URL) included in the signature of the user token, and the URL including a unique identifier for the isolated namespace. In another example, the user token may be another credential format. Examples of other credential formats include OAuth 2.0 tokens, OpenID Connect tokens, SAML tokens, session cookies, basic HTTP authentication credentials, API keys, and / or other media.

[0128] In this embodiment, authorization handler 648 is a plugin that includes custom logic for rejecting certain requests received by API server 642. Specifically, authorization handler 648 is configured to reject requests that attempt to breach isolation imposed by an isolated namespace. Authorization handler 646 may access information stored in cluster namespace data repository 650 and / or principal access review resources to determine whether a request attempts to breach isolation. The custom logic of authorization handler 648 is configured to evaluate service account requests, IAM requests, and / or other types of requests. Authorization handler 646 is configured to evaluate requests received by API server 642 in response to network hook callbacks published by API server 642.

[0129] In one or more embodiments, the Cluster Namespace Data Repository (CND) 650 and the Key-Value Data Repository (KVD) 654 are data repositories. A data repository is any type of storage unit and / or device used to store data (e.g., a file system, database, collection of tables, or any other storage mechanism). CND 650 and / or KVD 654 may include multiple different storage units and / or devices. These multiple different storage units and / or devices may or may not be of the same type or may or may not be located at the same physical site. Additionally, CND 650 and / or KVD 654 may be implemented or executed on the same computing system as other components of system 600. Alternatively, the data repository may be implemented or executed on a computing system separate from other components of system 600. CND 650 and / or KVD 654 may be communicatively coupled to other components of system 600 via direct connection or via a network. CND 650 stores namespace metadata 652. The information describing namespace metadata 652 can be implemented across any component within system 600. For example, KVD 654 also stores namespace metadata 652. However, for clarity and explanation purposes, this information is illustrated within CND 650.

[0130] In this embodiment, CND 650 is configured to cache and provide namespace metadata 652. CND 650 includes a management API and a localhost API. The management API provides read and write access to CND 650 for namespace controller 630. The management API may be exposed outside of manager instance 640. The localhost API provides read-only access to CND 650 for isolation enforcer 644. The localhost API may be exposed inside manager instance 640. CND 650 can read from and / or write to KVD 654 using bidirectional transport layer security (mTLS) credentials, transport layer security (TLS) credentials, and / or other security credentials. CND 650 is configured to periodically read from KVD 654 to monitor updated metadata written to KVD 654 by another CND in the cluster. CND 650 is configured to leverage the cluster's reflector and notify mechanism to perform periodic reads from KVD 654.

[0131] In this embodiment, namespace metadata 652 is information associated with the standard namespace and / or isolated namespace of a cluster of compute nodes. For example, namespace metadata 652 may include information describing isolated namespace 612 and namespace 610. In this example, namespace metadata 652 includes one or more unique identifiers (e.g., name and / or ID) of isolated namespace 612, the compartment ID of isolated namespace 612, the tag slug of isolated namespace 612, one or more unique identifiers (e.g., name and / or ID) of namespace 610, and / or other information. In this example, namespace metadata 652 may be used by authentication handler 646 and / or authorization handler 648 to determine whether a request originating from or targeting namespace 610 should be rejected. Namespace metadata 654 is also stored in KVD 654. However, by caching namespace metadata 654 in CND 650, system 600 isolates KVD 654 from frequent reads by isolation enforcer 644.

[0132] In this embodiment, KVD 654 is a distributed key-value data store for backend storage of information. KVD 654 is an instance of a KVD service running on multiple nodes across a cluster of compute nodes. Multiple instances of the KVD service may reside in multiple manager instances within the cluster. KVD 654 stores information such as namespace metadata 652, API objects, persistent volumes, and / or other information.

[0133] In this embodiment, system 600 is implemented on one or more digital devices. The term "digital device" generally refers to any hardware device that includes a processor. A digital device can refer to a physical device that executes an application or virtual machine. Examples of digital devices include computers, tablets, laptops, desktop computers, netbooks, servers, web servers, network policy servers, proxy servers, general-purpose machines, function-specific hardware devices, hardware routers, hardware switches, hardware firewalls, hardware network address translation (NAT), hardware load balancers, mainframes, televisions, content receivers, set-top boxes, printers, mobile handheld devices, smartphones, personal digital assistants (PDAs), wireless receivers and / or transmitters, base stations, communication management equipment, routers, switches, controllers, access points, and / or client devices.

[0134] In one or more embodiments, a tenant is a company, organization, enterprise, or other entity that accesses shared computing resources.

[0135] 5. Achieve isolation

[0136] Figure 7The illustration shows an example set of operations for implementing isolation according to one or more embodiments. Figure 7 One or more operations shown can be modified, rearranged, or omitted. Accordingly, Figure 7 The specific order of operations shown should not be construed as limiting the scope of one or more embodiments.

[0137] In this embodiment, the system detects changes in the configuration of an isolated namespace (operation 702). An isolated namespace is associated with a cluster of compute nodes configured to execute containerized applications. Configuration changes can be the creation, modification, or deletion of an isolated namespace. Configuration changes are detected by a namespace controller residing in the cloud infrastructure control plane. The configuration change is associated with new namespace metadata describing the new configuration of the isolated namespace. In this example, the configuration change is the result of an isolated namespace being created by a cluster administrator. In this example, the administrator can interact with the system's Identity and Access Manager to define IAM policies written for the isolated namespace. For example, an IAM policy written by the administrator for an isolated namespace can attach IAM groups to usage and / or management permissions for the isolated namespace. Furthermore, the administrator can interact with the cluster's API server to configure RBAC policies mapped to IAM permissions.

[0138] In this embodiment, the system persists the new namespace metadata associated with the isolated namespace to the manager instance of the cluster of compute nodes (Operation 704). Specifically, the new namespace metadata is persisted to a CND residing in the manager instance associated with the isolated namespace. The cluster may include multiple manager instances and / or multiple isolated namespaces. The new namespace metadata is persisted to the CND by the namespace controller that detects a configuration change to the isolated namespace. The namespace controller may utilize a peer-to-peer mechanism to establish a connection to the cluster. With a connection established to the cluster, the namespace controller may utilize the management API of the CND that grants the namespace controller read and write access to the CND. The management API may be exposed outside the manager instance, and the namespace controller may present an administrator token for authentication and / or authorization of requests made by the namespace controller. The namespace controller fully utilizes the management API to persist the new namespace metadata to the CND. Compared to other operations, the namespace controller may prioritize the persistence of the new namespace metadata. Prioritizing the persistence of the new namespace metadata ensures that the new namespace metadata appears on the cluster quickly after a configuration change to the isolated namespace occurs. For example, new namespace metadata can appear on the cluster even before the standard namespace corresponding to the isolated namespace is created or modified. After receiving the new namespace metadata from the namespace controller, the manager instance's CND internally caches the new namespace metadata. In addition to persisting the namespace metadata, and depending on the nature of the changes in the configuration, the namespace controller may optionally create RBAC role bindings for the corresponding namespace.

[0139] In this embodiment, the system persists the new namespace metadata to the KVD instance of the compute node cluster (operation 706). The new namespace metadata is persisted to the KVD instance by a CND that receives the new namespace metadata from the namespace controller. Specifically, the CND persists the new namespace metadata to the local instance of the KVD (i.e., the KVD instance residing on the same manager instance as the CND). After receiving the new namespace metadata, the namespace metadata stored on multiple KVD instances in the cluster is updated. Once the namespace metadata stored on multiple KVD instances has been updated, the new namespace metadata can be accessed by other CNDs residing on other manager instances in the cluster.

[0140] In this embodiment, other CNDs in the system are alerted to updates to namespace metadata stored within the KVD (operation 708). These other CNDs reside in other manager instances of the cluster. Each CND in the cluster is configured to perform periodic reads of its local KVD instance to monitor for updates to namespace metadata stored across KVD instances in the cluster. These periodic reads are facilitated by the cluster's reflector and notify mechanisms. In response to detecting a change to namespace metadata stored within the KVD, each CND obtains the new namespace metadata from its local KVD instance and internally caches it. Once the new namespace metadata is cached in other CNDs, any isolation enforcer in the cluster can access the new namespace metadata from its local CND (i.e., a CND residing in the same manager instance as the isolation enforcer).

[0141] In this embodiment, the system receives a request for access to a target namespace from the requesting entity (Operation 710). The request is received by an API server residing in a manager instance of the cluster. The API server exposes an API that allows the requesting entity to transmit the request to the API server. The request is accompanied by a token. In this example, the request is an HTTP request, and the token is accompanied by a JSON web token. Specifically, the JSON web token is included in the request header. In this example, the request is a service account request or an IAM request, and the JSON web token is a service account token or a user token.

[0142] In one embodiment, the system publishes a network hook callback (operation 712) for authenticating and / or authorizing the request. The network hook callback is published by the API server receiving the request from the entity making the request. The network hook callback is published to the API server's local isolation enforcer (i.e., the isolation enforcer residing in the same manager instance as the API server). In the example, the request is a service account request, and the API server publishes one or more network hook callbacks to the isolation enforcer to authorize the request. Specifically, the API server publishes the network hook callback to the authorization handler of the isolation enforcer. The API server can use the principal access review resource to share information with the authorization handler. In another example, the request is an IAM request, and the API server publishes one or more network hook callbacks to the isolation enforcer to authenticate and / or authorize the request. Specifically, the API server first publishes the network hook callback to the authentication handler of the isolation enforcer. The API server can use the token review resource to share information with the authentication handler. After the authentication handler allows the request, the authentication handler returns information to the API server using the token review resource, and the API server publishes the network hook callback to the authorization handler. The API server can use the principal access verification resource to share information with the authorization handler. Information returned to the API server by the authentication handler using the token verification resource can be passed by the API server to the authorization handler using the principal access verification resource.

[0143] In one embodiment, the system evaluates a request received by the API server to determine whether the request attempts to violate the isolation imposed by the isolated namespace (Operation 714). The isolation enforcer determines that the request is not prohibited by the isolated namespace by confirming that the target namespace corresponds to the isolated namespace. In this example, the request is a service account request. The service account request is evaluated by custom logic in the authorization handler. To evaluate the request, the authorization handler obtains new namespace metadata from the local CDN and information existing in the principal access review resource. In this example, the authorization handler determines that the originating namespace corresponds to the isolated namespace. Having determined that the originating namespace corresponds to the isolated namespace, the authorization handler confirms that the target namespace is the originating namespace and allows the request. In another example, the request is an IAM request. The IAM request is evaluated by custom logic in the authentication and authorization handlers. To evaluate the request, the authentication and authorization handlers obtain new namespace metadata from the local CDN, obtain information existing in the token review resource and the principal access review resource, and consult the system's identity and access manager. In this example, the authentication handler identifies the specific namespace corresponding to the isolated namespace, confirms that the requesting entity is authorized to access the isolated namespace, and grants the request. Once the authentication handler grants the request, the authorization handler confirms that the isolated namespace corresponds to the target namespace by comparing the target namespace with the specific namespace. If the correspondence between the isolated namespace and the target namespace has been confirmed, the authorization handler grants the request.

[0144] It should be understood that, despite this, requests that do not attempt to break the isolation imposed by the isolated namespace may still be rejected. For example, if the entity making the request has not yet been granted permission to make the request, the system can still reject the request from the entity that made the request.

[0145] 6. Enforce isolation

[0146] Figure 8 The illustration depicts a set of example operations for enforcing isolation according to one or more embodiments. Figure 8 One or more operations shown can be modified, rearranged, or omitted. Accordingly, Figure 8 The specific order of operations shown should not be construed as limiting the scope of one or more embodiments.

[0147] In this embodiment, the system receives a request (Operation 802) from the requesting entity for access to a target namespace of a cluster of compute nodes configured to execute containerized applications. The requesting entity is either a human or non-human user of the cluster. The request is a service account request or an IAM request. The request is accompanied by a service account token or a user token. In this example, the API server residing in the system's manager instance receives the request. The request is an HTTP request, and the token is a JSON web token included in the request header. The request may identify the target namespace, the target resource, the resource type, the type of access requested, the identity of the requesting entity, and / or other information.

[0148] In this embodiment, the system proceeds to another operation (operation 804) based on the type of request received from the requesting entity. If the request is a service account request ("Yes" in operation 804), then the system proceeds to operation 806. In this example scenario, the API server publishes a web hook callback to the authorization handler. The API server can use principal access verification resources to share information with the authorization handler. Alternatively, if the request is an IAM request ("No" in operation 804), then the system proceeds to operation 808. In this example scenario, the API server publishes a web hook callback to the authentication handler. The API server can use token verification resources to share information with the authentication handler.

[0149] In this embodiment, the request is a service account request, the token is a service account token, and the system determines the originating namespace of the request (Operation 806). In this scenario, the entity issuing the request is a non-human user. Specifically, the entity issuing the request is a component of a cluster associated with a standard namespace (e.g., a containerized application running in a container group). The standard namespace of the entity issuing the request is the originating namespace. The service account token accompanying the request includes the service account name. The system determines the originating namespace based on the service account name. In this example, the request attempts to access a target resource, and the system's authorization handler determines the originating namespace based on the service account name in response to receiving a network hook callback from the local API server. The service account name indicates the originating namespace because it includes the name of the originating namespace. Therefore, the authorization handler can determine the originating namespace by recognizing the name of the originating namespace within the service account name. The authorization handler obtains the service account name from the principal access review resource. In addition to the service account name, the subject access audit resource includes the name of the target namespace, the type of access the request is attempting to make to the target resource (e.g., fetch), the resource type of the target resource (e.g., container group), and / or other information. The information present in the subject access audit resource is populated into the subject access audit resource by the API server and / or another component of the system. The information present in the subject access audit resource is obtained from the request's attributes, service account token, and / or other sources.

[0150] In this embodiment, the system compares the target namespace with the originating namespace (operation 808). Before comparing the target namespace with the originating namespace, the system confirms that the originating namespace corresponds to the isolated namespace. The system confirms the correspondence between the originating namespace and the isolated namespace based on the namespace metadata associated with the originating namespace. In this example, the system's authorization handler obtains the namespace metadata from a CND residing in the same manager instance as the authorization handler. Specifically, the authorization handler checks the CND for any unique identifier (e.g., name and / or ID) of the isolated namespace corresponding to the originating namespace. The authorization handler accesses the namespace metadata based on the name of the originating namespace. In this example, the authorization handler determines the name of the originating namespace based on the service account name obtained from the principal access review resource.

[0151] If the originating namespace has been confirmed to have a corresponding isolated namespace, the system will reject any request attempting to access any standard namespace other than the originating namespace. Therefore, to determine whether to reject the request, the system compares the target namespace with the originating namespace. In this example, the authorization handler compares the name of the target namespace with the name of the originating namespace. The authorization handler obtains the name of the target namespace from the principal access review resource. In this example, the authorization handler determines the name of the originating namespace based on the service account name, which is also obtained from the principal access review resource.

[0152] In this embodiment, the request is an IAM request, the token is a user token, and the system accesses namespace metadata associated with the isolated namespace specified in the user token (Operation 810). In this scenario, the entity issuing the request is either a human user or a non-human user. Before accessing the namespace metadata, the system verifies that the isolated namespace specified in the user token is associated with a cluster. If the isolated namespace is not associated with a cluster (e.g., if the isolated namespace is associated with a different cluster), then the system has already rejected the request. In this example, the system's authentication handler verifies that the isolated namespace is associated with a cluster based on the isolated namespace's ID. The isolated namespace's ID is included in the isolated namespace's URL. The isolated namespace's URL is included in the signature (e.g., a Cavage signature) of the user token accompanying the request. The authentication handler obtains the signature from the token vetting resource. The signature is populated into the token vetting resource by the API server that received the request.

[0153] Once the association between an isolated namespace and the cluster has been verified, the system accesses the namespace metadata associated with that isolated namespace. In the example, the system's authentication handler obtains the namespace metadata from the CND residing on the same manager instance as the authentication handler. The authentication handler uses the isolated namespace's ID to access the namespace metadata. In this example, the authentication handler obtains the isolated namespace's ID from the signature of the user token. The authentication handler accesses namespace metadata such as the name of the isolated namespace, the compartment ID of the isolated namespace, the slug of the isolated namespace, the name of the specific namespace corresponding to the isolated namespace, and / or other information. The isolated namespace's ID indicates the specific namespace corresponding to the isolated namespace because the authentication handler identifies the specific namespace based on the isolated namespace's ID.

[0154] In this embodiment, the system determines whether the requesting entity has permission to access the isolated namespace (operation 812). Specifically, the system checks to determine if any IAM policies permit the requesting entity to access the isolated namespace. In this example, the system's authentication handler queries the system's identity and access manager based on namespace metadata (e.g., the name of the isolated namespace, the compartment ID of the isolated namespace, the tag slug of the isolated namespace, etc.) obtained from the CND by the authentication handler. Specifically, the authentication handler consults the identity and access manager to determine whether the requesting entity is a subject that has been granted usage and / or administrative permissions for the isolated namespace. If the requesting entity does not have usage or administrative permissions for the isolated namespace, the authentication handler may reject the request. Additionally, or alternatively, the authentication handler may consult the identity and access manager to determine whether the requesting entity has usage or administrative permissions for the cluster. If the requesting entity has usage or administrative permissions for the cluster, the requesting entity is free to access any isolated namespace of the cluster.

[0155] If the IAM policy grants the requesting entity permission to access the isolated namespace (e.g., for use or management), then the system can allow the request to be authenticated. In the example, the system's authentication handler responds to the API server to indicate successful authentication of the request. Furthermore, the authentication handler provides the API server with information that can be used to further process the request. The authentication handler returns information to the API server by populating the token vetting resource with this information. In this example, the authentication handler might populate the token vetting resource with the user ID of the requesting entity, the ID or name of any group to which the requesting entity is a member, the ID of the isolated namespace, and / or the name of the specific namespace.

[0156] The system can determine the group to which the requesting entity is a member based on any permissions granted to the requesting entity by the IAM policy. In the example, the use permission for the isolated namespace is mapped to the user group for the specific namespace, and the management permission for the isolated namespace is mapped to the administrator group for the specific namespace. If the requesting entity has the use permission for the isolated namespace, the authentication handler determines that the requesting entity is a member of the user group for the specific namespace and populates the user group ID into the token review resource. If the requesting entity has the management permission for the isolated namespace, the authentication handler determines that the requesting entity is a member of the administrator group for the specific namespace and populates the administrator group ID into the token review resource. Additionally, or alternatively, the authentication handler can determine the group of the cluster to which the requesting entity is a member. For example, the use permission for the cluster can be mapped to the user group for the cluster, and the management permission for the cluster can be mapped to the master group for the cluster.

[0157] In one embodiment, the system proceeds to another operation (operation 814) based on whether the requesting entity has permission to access the isolated namespace. If the requesting entity has permission to access the isolated namespace specified in the user token accompanying the request ("Yes" in operation 814), then the system proceeds to operation 816. In this scenario, the request is successfully authenticated, and the system continues to evaluate the request for authorization. In this example scenario, the API server publishes a network hook callback to the authorization handler. The API server uses a principal access review resource to share information with the authorization handler. The API server includes in the principal access review resource the information returned by the authentication handler, as well as other information that can be used to evaluate the request for authorization. For example, the principal access review resource may include the name of the target namespace, the type of access the request is attempting to make to the target resource (e.g., get), the resource type of the target resource (e.g., container group), the user ID of the requesting entity, the ID and / or name of any group to which the requesting entity is a member (e.g., user group or administrator group for the specific namespace), the ID of the isolated namespace, the name of the specific namespace, and / or other information. Alternatively, if the requesting entity does not have permission to access the isolated namespace specified in the user token accompanying the request ("No" in operation 814), then the system proceeds to operation 826. In this scenario, the system rejects the authentication request.

[0158] In this embodiment, the system compares the target namespace with the specific namespace (operation 816). Before the comparison, the system confirms that the specific namespace corresponds to the isolated namespace specified in the user token. In this example, the system's authorization handler accesses namespace metadata contained in the CND that resides in the same manager instance as the authorization handler to confirm that the specific namespace corresponds to the isolated namespace. The authorization handler accesses the namespace metadata based on the name of the specific namespace. The authorization handler obtains the name of the specific namespace from the principal access review resource.

[0159] Once the correspondence between a specific namespace and an isolated namespace has been confirmed, the system compares the target namespace with the specific namespace. In the example, the system's authorization handler compares the name of the target namespace with the name of the specific namespace. The authorization handler obtains the name of the target namespace from the principal access review resource. The authorization handler also obtains the name of the specific namespace from the principal access review resource. If the target namespace is not the specific namespace, the authorization handler rejects the request. If the target namespace is the specific namespace, the authorization handler allows the request.

[0160] In one embodiment, the system proceeds to another operation (operation 818) based on whether the isolated namespace corresponds to the target namespace. If the target namespace corresponds to the isolated namespace ("Yes" in operation 818), then the system proceeds to operation 820. In this example scenario, the request is a service account request, and the target namespace is the originating namespace indicated by the service account token accompanying the request. In another example of this scenario, the request is an IAM request, and the target namespace is a specific namespace corresponding to the isolated namespace specified in the user token accompanying the request. Alternatively, if the target namespace does not correspond to the isolated namespace ("No" in operation 818), then the system proceeds to operation 826. In this example scenario, the request is a service account request, and the target namespace is not the originating namespace indicated by the service account token accompanying the request. In another example of this scenario, the request is an IAM request, and the target namespace is not a specific namespace corresponding to the isolated namespace specified in the user token accompanying the request.

[0161] In this embodiment, the system determines whether any permission granted to the requesting entity permits the request (operation 820). Permissions granted to the requesting entity may be derived from IAM policies, RBAC policies, ABAC policies, node authorization policies, and / or other access control mechanisms. Whether any permission of the requesting entity permits the request may be determined by the API server, authentication handler, authorization handler, and / or another component of the system. In this example, the system denies the request because the requesting entity's permission does not permit access to the target namespace, does not permit access to the target resource within the target namespace, does not permit the type of access specified in the request, and / or does not permit some other aspect of the request.

[0162] The system can determine the permissions of the requesting entity based on its group membership. In the example, the request is an IAM request, and the system checks the subject access review resource to determine if the requesting entity is a member of a user group in a specific namespace. In this example, the user group in the specific namespace is bound to the user RBAC role in the specific namespace. The user RBAC role grants a limited set of permissions within the specific namespace. Additionally, the system checks the subject access review resource to determine if the requesting entity is a member of the administrator group in the specific namespace. In this example, the administrator group in the specific namespace is bound to the administrator RBAC role in the specific namespace. The administrator RBAC role grants administrator-level permissions within the specific namespace. If any additive permissions granted by any RBAC role of the requesting entity do not permit the request, then the system denies the request. In another example, the request is a service account request, and the system can determine the permissions of the requesting entity based on the service account's group membership.

[0163] Access control mechanisms that define permission requirements for requests can be configured to prevent certain commands from being used by the requesting entity. In the example, the system prevents the requesting entity from calling verbs that would allow the requesting entity to evade isolation imposed by the isolation namespace. In this example, the prohibited verbs are those that would allow the requesting entity to impersonate resources, bind RBAC cluster roles or RBAC roles, and / or elevate RBAC cluster roles or RBAC roles. RBAC cluster roles and / or RBAC roles can be prohibited by denying permission to use the verb.

[0164] In one embodiment, the system proceeds to another operation (operation 822) based on whether permission is granted to the entity making the request. If permission is granted to the entity making the request ("Yes" in operation 822), the system proceeds to operation 824. Alternatively, if permission is not granted to the entity making the request ("No" in operation 822), the system proceeds to operation 826.

[0165] In this embodiment, the system grants the requesting entity's request for access to the target namespace (operation 824). Therefore, the system's API server executes the request and returns the result to the requesting entity. In this example, the system grants the request because (a) the request does not attempt to violate the isolation imposed by the isolated namespace, and (b) the request is permitted by the entity that granted the request.

[0166] In one embodiment, the system rejects a request from the requesting entity to access a target namespace (operation 826). Consequently, the system's API server issues a message indicating that the request is rejected. In one example, the authorization handler rejects the request because the requesting entity is attempting to use a service account to request to escape the boundary of an isolated namespace (i.e., the target namespace is not the originating namespace indicated by the service account token). In another example, the authentication handler rejects the request because the request is an IAM request attempting to access an isolated namespace that the requesting entity is not permitted to access (i.e., the IAM policy does not grant the requesting entity permission to access the isolated namespace specified by the user token). In yet another example, the authorization handler rejects the request because the request is an IAM request attempting to access a standard namespace different from the standard namespace for which the request was authenticated (i.e., the target namespace does not correspond to the isolated namespace specified by the requesting entity in its user token). In yet another example, the system rejects the request because the requesting entity has not yet been granted permission to allow the request.

[0167] 7. Example Implementation

[0168] For clarity, detailed examples are described below. The components and / or operations described below should be understood as a particular example and may not be applicable to some embodiments. Accordingly, the components and / or operations described below should not be construed as limiting the scope of any claims.

[0169] Figure 9 An example computer network 900 implementing isolated namespaces according to one or more embodiments is illustrated. Figure 9 As shown, computer network 900 includes a cluster of computing nodes 902. In one or more embodiments, computer network 900 may include more than Figure 9 The components shown may have more or fewer components. Figure 9 The components shown can be located locally or remotely. Figure 9 The components shown can be implemented using software and / or hardware. Each component can be distributed across multiple applications and / or machines. Multiple components can be combined into a single application and / or machine. Operations described for one component can be performed alternatively by another component.

[0170] In this embodiment, compute node cluster 902 is a cluster of compute nodes configured to execute containerized applications. A portion of compute node cluster 902 is sold to human users 940 and 950. Figure 9 As shown, the resources of the compute node cluster 902 are organized into namespaces 910, 920, and 930. Namespaces 910, 920, and 930 are standard namespaces.

[0171] In this embodiment, namespace 910 corresponds to an isolated namespace. Namespace 910 includes resources such as container group 912. One or more service account tokens are attached to container group 912. The service account tokens are associated with service accounts. The service account(s) and / or other identities of namespace 910 are the subjects attached to an IAM policy written for the isolated namespace. Specifically, the IAM policy permits containerized applications executing in container group 912 to access the isolated namespace corresponding to namespace 910. Furthermore, the IAM policy permits containerized applications executing in container group 912 to access the isolated namespace corresponding to namespace 920.

[0172] In this embodiment, a containerized application executing in container group 912 requests access to namespace 910 via service account request 913. Specifically, service account request 913 requests access to a target resource in namespace 910. Service account request 913 is accompanied by a service account token. The service account token includes the service account name. Based on the service account name, the authorization handler determines that namespace 910 is also the originating namespace (i.e., service account request 913 originates from namespace 910). The authorization handler allows service account request 913 because the target namespace is the originating namespace. The service account is bound to an RBAC role in namespace 910. The RBAC role grants a set of permissions within namespace 910. The permissions granted by the RBAC role allow service account request 913 (i.e., the RBAC role uses the type of permission requested by service account request 913 to access the target resource). The system grants service account request 913.

[0173] In this embodiment, a containerized application executing in container group 912 requests access to standard namespace 910 via IAM request 915. A user token accompanies IAM request 915. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 915 because it determines that the IAM policy permits containerized application 912 to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace (i.e., namespace 910). Therefore, the authorization process also allows IAM request 915. The permission granted by the IAM policy allowing containerized application access to the isolated namespace is mapped to the RBAC role of namespace 910. The RBAC role grants a set of permissions within namespace 910. The set of permissions granted by the RBAC role permits IAM request 915. The system grants IAM request 915.

[0174] In this embodiment, a containerized application executing in container group 912 requests access to namespace 920 via IAM request 917. A user token accompanies IAM request 917. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 917 because it determines that the IAM policy permits the containerized application to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace (i.e., namespace 920). Therefore, the authorization process also allows IAM request 917. The permission granted by the IAM policy allowing the containerized application to access the isolated namespace is mapped to the RBAC role of namespace 920. The RBAC role grants a set of permissions within namespace 920. The set of permissions granted by the RBAC role permits IAM request 917. The system grants IAM request 917.

[0175] In one embodiment, a containerized application executing in container group 912 requests access to namespace 920 via service account request 919. Service account request 919 is accompanied by a service account token. The service account token includes a service account name. Based on the service account name, the authorization handler determines that namespace 910 is the originating namespace. The authorization handler rejects service account request 919 because the target namespace (i.e., namespace 920) is not the originating namespace (i.e., namespace 910). Even if the RBAC policy allows service account request 919, the authorization handler rejects service account request 919.

[0176] In this embodiment, namespace 920 corresponds to an isolated namespace. Namespace 920 includes namespace resources such as container group 922. One or more service account tokens are attached to container group 912. The service account tokens are associated with service accounts. The service account(s) and / or other identities of namespace 920 are the subjects attached to an IAM policy written for the isolated namespace. Specifically, the IAM policy permits containerized applications executing in container group 922 to access the isolated namespace corresponding to namespace 920.

[0177] In this embodiment, a containerized application executing in container group 922 requests access to namespace 920 via service account request 923. Service account request 923 is accompanied by a service account token. The service account token includes the service account name. Based on the service account name, the authorization handler determines that namespace 920 is also the originating namespace. The authorization handler allows service account request 923 because the target namespace is the originating namespace. The service account is bound to an RBAC role within namespace 920. The RBAC role grants a set of permissions within namespace 920. The permissions granted by the RBAC role allow service account request 923. The system grants service account request 923.

[0178] In this embodiment, a containerized application executing in container group 922 requests access to namespace 920 via IAM request 925. A user token accompanies IAM request 925. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 925 because it determines that the IAM policy permits the containerized application to access the isolated namespace. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace. Therefore, the authorization process also allows IAM request 925. The permission granted by the IAM policy allowing the containerized application to access the isolated namespace is mapped to an RBAC role in namespace 920. The RBAC role grants a set of permissions within namespace 920. The set of permissions granted by the RBAC role permits IAM request 925. The system grants IAM request 925.

[0179] In this embodiment, namespace 930 corresponds to an isolated namespace. Namespace 930 includes container group 932. One or more service account tokens are attached to container group 932. The service account tokens are associated with service accounts. The service account(s) and / or other identities of namespace 930 are the subjects attached to an IAM policy written for the isolated namespace. Specifically, the IAM policy permits containerized applications executing in container group 932 to access the isolated namespace corresponding to namespace 930.

[0180] In this embodiment, a containerized application executing in container group 932 requests access to namespace 930 via service account request 933. Service account request 933 is accompanied by a service account token. The service account token includes the service account name. Based on the service account name, the authorization handler determines that namespace 930 is also the originating namespace. The authorization handler allows service account request 933 because the target namespace is the originating namespace. The service account is bound to an RBAC role within namespace 930. The RBAC role grants a set of permissions within namespace 930. The permissions granted by the RBAC role allow service account request 933. The system grants service account request 933.

[0181] In this embodiment, a containerized application executing in container group 932 requests access to namespace 930 via IAM request 935. A user token accompanies IAM request 935. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 935 because it determines that the IAM policy permits the containerized application to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace. Therefore, the authorization process also allows IAM request 935. The permission granted by the IAM policy allowing the containerized application to access the isolated namespace corresponding to namespace 930 is mapped to the RBAC role of namespace 930. The RBAC role grants a set of permissions within namespace 930. The set of permissions granted by the RBAC role permits IAM request 935. The system grants IAM request 935.

[0182] In one embodiment, a containerized application executing in container group 932 requests access to namespace 920 via service account request 937. Service account request 937 is accompanied by a service account token. The service account token includes a service account name. Based on the service account name, the authorization handler determines that namespace 930 is the originating namespace. The authorization handler rejects service account request 937 because the target namespace is not the originating namespace.

[0183] In this embodiment, human user 940 is sold as part of compute node cluster 902. Specifically, human user 940 is sold to namespaces 910 and 920. Human user 940 is the subject of an IAM policy that allows human user 940 to access the isolated namespace corresponding to namespace 910 and another isolated namespace corresponding to namespace 920.

[0184] In this embodiment, human user 940 requests access to namespace 910 via IAM request 941. A user token generated by human user 940 accompanies IAM request 941. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 941 because it determines that the IAM policy permits human user 940 to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace. Therefore, the authorization process also allows IAM request 941. The permission granted to human user 940 to access the isolated namespace by the IAM policy is mapped to the RBAC role of namespace 910. The RBAC role grants a set of permissions within namespace 910. The set of permissions granted by the RBAC role permits IAM request 941. The system grants IAM request 941.

[0185] In this embodiment, human user 940 requests access to namespace 920 via IAM request 943. A user token generated by human user 940 accompanies IAM request 943. The user token includes a signature, and the signature includes a unique identifier for the isolated namespace. The authentication process allows IAM request 943 because it determines that the IAM policy permits human user 940 to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace (i.e., namespace 920). Therefore, the authorization process also allows IAM request 943. The permission granted to human user 940 by the IAM policy to access the isolated namespace is mapped to the RBAC role of namespace 920. The RBAC role grants a set of permissions within namespace 920. The set of permissions granted by the RBAC role allows IAM request 943. The system grants IAM request 943.

[0186] In this embodiment, human user 940 requests access to namespace 910 via IAM request 945. Specifically, human user 940 requests access to a target resource in namespace 910. A user token generated by human user 940 accompanies IAM request 945. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 945 because it determines that the IAM policy permits human user 940 to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace. Therefore, the authorization process also allows IAM request 945. The permission granted to human user 940 by the IAM policy to access the isolated namespace is mapped to the RBAC role of namespace 910. The RBAC role grants a set of permissions within namespace 910. Permissions granted by the RBAC role do not permit IAM request 945. For example, it could be that the permission granted by the RBAC role does not allow human user 940 to access the target resource and / or human user 940 is attempting to invoke a verb that is prohibited for human user 940 (e.g., impersonation, binding, and / or elevation). Therefore, the system rejects IAM request 945.

[0187] In this embodiment, human user 950 is sold as part of compute node cluster 902. Specifically, human user 950 is sold as namespace 930. Human user 950 is the subject of an IAM policy that grants human user 950 access to the isolated namespace corresponding to namespace 930.

[0188] In this embodiment, human user 950 requests access to namespace 930 via IAM request 951. A user token generated by human user 950 accompanies IAM request 951. The user token includes a signature, and the signature includes the ID of the isolated namespace. The authentication process allows IAM request 951 because it determines that the IAM policy permits human user 950 to access the isolated namespace specified by the user token. The authorization process determines that the isolated namespace specified by the user token corresponds to the target namespace (i.e., namespace 930). Therefore, the authorization process also allows IAM request 951. The permission granted to human user 950 by the IAM policy to access the isolated namespace is mapped to the RBAC role of namespace 930. The RBAC role grants a set of permissions within namespace 930. The set of permissions granted by the RBAC role permits IAM request 951. The system grants IAM request 951.

[0189] In one embodiment, human user 950 requests access to namespace 920 via IAM request 953. A user token generated by human user 950 accompanies IAM request 953. The user token includes a signature, and the signature includes the ID of the isolated namespace corresponding to namespace 930. The authentication process allows IAM request 953 because it determines that the IAM policy permits human user 950 to access the isolated namespace corresponding to namespace 930. However, the authorization process determines that the isolated namespace specified by the user token (i.e., the isolated namespace corresponding to namespace 930) does not correspond to the target namespace (i.e., namespace 920). Therefore, the authorization process rejects IAM request 953. Even if the RBAC policy permits human user 950 to access namespace 920, the authorization process still rejects IAM request 953.

[0190] 8. Other matters; extension

[0191] Unless otherwise defined, all terms (including technical and scientific terms) shall be given their common and customary meaning to a person skilled in the art, and shall not be limited to special or customary meanings unless expressly defined herein.

[0192] This application may contain references to certain trademarks. While the use of trademarks in a patent application is permissible, the proprietary nature of trademarks should be respected, and every effort should be made to prevent their use in any way that could adversely affect their validity as trademarks.

[0193] The embodiments are directed to a system having one or more devices, which include a hardware processor and are configured to perform any of the operations described herein and / or any of the following claims.

[0194] In an embodiment, one or more non-transitory computer-readable storage media include instructions that, when executed by one or more hardware processors, cause to perform any operation described herein and / or any of the claims.

[0195] In an embodiment, a method includes the operations described herein and / or recited in any of the claims, the method being performed by at least one device including a hardware processor.

[0196] According to one or more embodiments, any combination of the features and functions described herein may be used. In the foregoing specification, embodiments have been described with reference to numerous specific details that may vary depending on the implementation. Accordingly, this specification and drawings should be viewed in an illustrative rather than restrictive sense. The unique and exclusive indicator of the scope of patent protection, and what the applicant intends to be the scope of patent protection, is the literal and equivalent scope of the set of claims of the subject matter of this application, presenting the specific form of such claim subject matter, including any subsequent corrections.

Claims

1. A method comprising: Receive (a) a first request to access a first target namespace and (b) a first token corresponding to the first request, the first token including a first identifier referencing the first namespace. The first target namespace is included within the cluster of compute nodes configured to execute containerized applications; Based on the comparison between the first target namespace and the first namespace, it is determined that the first target namespace is not the first namespace; as well as In response to the determination that the first target namespace is not the first namespace, the first request to access the first target namespace is denied. The method is performed by at least one device including a hardware processor.

2. The method of claim 1, further comprising: Before determining that the first target namespace is not the first namespace: Identify the first identifier included within the first token. The first request originates from the first namespace, the first token is a service account token that includes the name of the service account, and the name of the service account includes the first identifier.

3. The method of claim 2, further comprising: Access namespace metadata associated with the first namespace from the cluster's data repository on the compute node, based on the first identifier. The first identifier is the name of the first namespace; as well as Based on the namespace metadata associated with the first namespace, the correspondence between the first namespace and the first isolated namespace is determined.

4. The method of claim 1, wherein the first request is attempting to access a first target resource included in a first target namespace, wherein the first request originates from a first requesting entity, wherein a first set of one or more permissions associated with the first requesting entity allows the first requesting entity to access the first target resource, and wherein the first set of one or more permissions includes a first permission granted by an identity and access management policy, a role-based access control policy, an attribute-based access control policy, and / or a node authorization policy.

5. The method of claim 1, further comprising: Receive (a) a second request to access a second target namespace and (b) a second token corresponding to the second request, the second token including a second identifier. The second request originates from the second entity that issued the request, and the second target namespace is included within the cluster of compute nodes configured to execute containerized applications; Identify the second namespace based on the second identifier; Based on the comparison between the second target namespace and the second namespace, it is determined that the second target namespace is the second namespace; The second request is evaluated against a second set of one or more licenses associated with the second requesting entity to determine whether the second request is permitted by the second set of one or more licenses; and In response to determining that the second request is not permitted by a second set of one or more licenses, the second request to access the second target namespace is denied.

6. The method of claim 1, further comprising: Receive (a) a second request to access a second target namespace and (b) a second token corresponding to the second request, the second token including a second identifier. The second target namespace is included within the cluster of compute nodes configured to execute containerized applications; Identify the second namespace based on the second identifier; Based on the comparison between the second target namespace and the second namespace, it is determined that the second target namespace is the second namespace; as well as Authorize the second request to access the second target namespace.

7. A method comprising: Receive (a) a first request to access a first target namespace and (b) a first token corresponding to the first request, the first token including a first identifier referencing a first isolated namespace. The first target namespace is included within the cluster of compute nodes configured to execute containerized applications; Identify the first namespace corresponding to the first isolated namespace; Based on the comparison between the first target namespace and the first namespace, it is determined that the first target namespace is not the first namespace; and In response to the determination that the first target namespace is not the first namespace, the first request to access the first target namespace is denied. The method is performed by at least one device including a hardware processor.

8. The method of claim 7, further comprising: Before determining that the first target namespace is not the first namespace: Namespace metadata associated with the first isolated namespace is accessed from the cluster's data repository on the compute node based on the first identifier included in the first token. The first namespace, which corresponds to the first isolated namespace, is identified based on the namespace metadata associated with the first isolated namespace. Based on the first identifier and / or the namespace metadata query access management service associated with the first isolated namespace, determine whether the first entity issuing the request corresponding to the first request is authorized to access the first isolated namespace. as well as Based on the query access management service, it is determined that the first entity to issue the request is authorized to access the first isolated namespace.

9. The method of claim 7, wherein the first request is attempting to access a first target resource included in a first target namespace, wherein the first request originates from a first requesting entity, wherein a first set of one or more permissions associated with the first requesting entity allows the first requesting entity to access the first target resource, and wherein the first set of one or more permissions includes a first permission granted by an identity and access management policy, a role-based access control policy, an attribute-based access control policy, and / or a node authorization policy.

10. The method of claim 7, further comprising: Receive (a) a second request to access the second target namespace and (b) a second token corresponding to the second request, the second token including a second identifier referencing the second isolated namespace. The second request originates from the second entity that issued the request, and the second target namespace is included within the cluster of compute nodes configured to execute containerized applications; Identify the second namespace corresponding to the second isolated namespace; The query access management service is used to determine whether the entity that issued the second request corresponding to the second request is authorized to access the second isolated namespace; as well as In response to determining that the second entity making the request is not authorized to access the second isolated namespace, the second request to access the second target namespace is denied.

11. The method of claim 7, further comprising: Receive (a) a second request to access a second target namespace and (b) a second token corresponding to the second request, the second token including a second identifier. The second request originates from the second entity that issued the request, and the second target namespace is included within the cluster of compute nodes configured to execute containerized applications; Identify the second namespace based on the second identifier; Based on the comparison between the second target namespace and the second namespace, it is determined that the second target namespace is the second namespace; The second request is evaluated against a second set of one or more licenses associated with the second requesting entity to determine whether the second request is permitted by the second set of one or more licenses; and In response to determining that the second request is not permitted by a second set of one or more licenses, the second request to access the second target namespace is denied.

12. The method of claim 7, further comprising: Receive (a) a second request to access a second target namespace and (b) a second token corresponding to the second request, the second token including a second identifier. The second request originates from the second entity that issued the request, and the second target namespace is included within the cluster of compute nodes configured to execute containerized applications. Identify the second namespace based on the second identifier; Based on the comparison between the second target namespace and the second namespace, it is determined that the second target namespace is the second namespace; as well as Authorize the second request to access the second target namespace.

13. One or more computer-readable media, when executed by one or more hardware processors, cause the operation as described in any one of claims 1-12 to be performed.

14. A system comprising: At least one device, said at least one device including a hardware processor; The system is configured to perform the operations described in any one of claims 1-12.