Remote data plane for virtual private tag clouds

By creating a virtual private tag cloud (vPLC), leveraging the infrastructure provided by CSP, providing virtual clouds for dealers, solving the problem of dealers lacking investment infrastructure and achieving wider popularity of cloud services.

CN119895398APending Publication Date: 2025-04-25ORACLE INT CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202380066181.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-09-16
Filing Date
2023-09-15
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively utilize cloud infrastructure, making cloud services more widely popular. Especially for dealers, the lack of ability to invest in infrastructure limits their ability to provide cloud services.

Method used

By creating a virtual private tag cloud (vPLC), leveraging infrastructure provided by cloud service providers in the region (CSP) to create a virtual cloud for dealers, enabling them to provide dealer-branded cloud services to customers without investing in infrastructure on their own.

Benefits of technology

It has enabled dealers to quickly become cloud service providers, provide customized cloud services to customers, reduce entry barriers and increase the penetration rate of cloud services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119895398A_ABST
    Figure CN119895398A_ABST
Patent Text Reader

Abstract

Novel techniques are disclosed for accessing infrastructure provided by a CSP in an area and resources in a remote infrastructure through various control planes associated with a virtual private tag cloud (vPLC). In some embodiments, an infrastructure provided by a CSP in an area and a remote infrastructure are connected through a communication channel. In some embodiments, a control plane associated with a CSP-provided infrastructure in an area may provide access to two infrastructures (i.e., a CSP-provided infrastructure in an area and a remote infrastructure). In some embodiments, a control plane associated with a vPLC in an infrastructure provided by a CSP in an area may provide access to both infrastructures. However, in other embodiments, a control plane associated with the vPLC but located within the remote infrastructure may provide access to both infrastructures.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is a non-provisional application and claims the benefit and priority of U.S. Provisional Application No. 63 / 407,571, filed on September 16, 2022, entitled “VIRTUAL PRIVATE LABEL CLOUD,” under 35 U.S.C. 119(e), which is incorporated herein by reference in its entirety for all purposes.

[0003] This application is also related to the following applications. The entire contents of each of the following applications are incorporated herein by reference for all purposes.

[0004] (1) Nonprovisional application Ser. No. __ / ___, ___, entitled “VIRTUAL PRIVATE LABEL CLOUDS” (Attorney Docket No. 088325-1311130 (344800US)), filed concurrently with this application;

[0005] (2) Nonprovisional application Ser. No. __ / __, __, entitled “CONSOLE CUSTOMIZATION FOR VIRTUAL PRIVATELABEL CLOUDS” (Attorney Docket No. 088325-1311132 (344900US)), filed concurrently with this application;

[0006] (3) Nonprovisional application Ser. No. __ / __, __, entitled “RESOURCE ALLOCATION FOR VIRTUAL PRIVATELABEL CLOUDS” (Attorney Docket No. 088325-1311140 (345000US)), filed concurrently with this application;

[0007] (4) Nonprovisional application Ser. No. __ / __, __, entitled “ENDPOINTS FOR VIRTUAL PRIVATE LABELCLOUDS” (Attorney Docket No. 088325-1311138 (345100US)), filed concurrently with this application;

[0008] (5) Non-provisional application Ser. No. __ / __, __, entitled “IDENTITY MANAGEMENT FOR VIRTUAL PRIVATELABEL CLOUDS” (Attorney Docket No. 088325-1311139 (345200US)), filed concurrently with this application;

[0009] (6) Nonprovisional application Ser. No. __ / __, __, entitled “METADATA CUSTOMIZATION FOR VIRTUALPRIVATE LABEL CLOUDS” (Attorney Docket No. 088325-1311136 (345300US)), filed concurrently with this application;

[0010] (7) Nonprovisional application Ser. No. __ / __, __, entitled “CONNECTIVITY FOR VIRTUAL PRIVATE LABELCLOUDS” (Attorney Docket No. 088325-1311142 (345500US)), filed concurrently with this application;

[0011] (8) Nonprovisional application Ser. No. __ / __, __, entitled “RESOURCE USAGE MONITORING, BILLING AND ENFORCEMENT FOR VIRTUAL PRIVATE LABEL CLOUDS” (Attorney Docket No. 088325-1315390 (346900US)), filed concurrently with this application; and

[0012] (9) Non-provisional application Ser. No. __ / __, __, entitled “CLOUD INFRASTRUCTURE-BASED ONLINE PUBLISHING PLATFORMS FOR VIRTUAL PRIVATE LABEL CLOUDS” (Attorney Docket No. 088325-1315384 (346800US)), filed concurrently with this application. Technical Field

[0013] The present disclosure generally relates to technologies for providing cloud services. More specifically, novel technologies are disclosed for accessing infrastructure provided by a CSP in a region and resources in remote sites through various control planes associated with a virtual private label cloud (vPLC). A vPLC can be created for a reseller of a cloud service provider (CSP) using infrastructure provided by a CSP in a region and used to provide one or more reseller-provisioned cloud services to the reseller's customers. Background Art

[0014] Cloud computing has gradually become a part of modern life and plays an important role in daily activities due to its ubiquity and easy access to important data. However, just like the early days of telecommunications, there are only a few players in the cloud infrastructure business. Therefore, there is a need to make cloud infrastructure services more widely available. Summary of the invention

[0015] The present disclosure generally relates to technologies for providing cloud services. More specifically, novel technologies are disclosed for accessing infrastructure provided by a CSP in a region and resources in a remote site through various control planes associated with a virtual private label cloud (vPLC). A vPLC can be created for a reseller of a cloud service provider (CSP) using infrastructure provided by a CSP in a region and used to provide one or more reseller-supplied cloud services to the reseller's customers. Various embodiments are described herein, including methods, systems, non-transitory computer-readable storage media storing programs, codes, or instructions executable by one or more processors, and the like.

[0016] A vPLC created according to the various techniques described in this disclosure can be used for different purposes. For example, in one use case, a vPLC can be created for a reseller that is a customer of a CSP, and the reseller can use the vPLC to provide one or more reseller-provisioned cloud services to the reseller's customers. As another use case, the vPLC can be used as a virtual data center and can be associated with a realm that is different from the realm associated with the cloud infrastructure provided by the CSP in the region.

[0017] In some embodiments, a vPLC represents a virtual cloud that includes a collection of resources that have been allocated to the vPLC from infrastructure provided by a CSP in a region. One or more vPLCs may be created using infrastructure provided by a CSP in a region.

[0018] In some embodiments, the regional infrastructure provided by the CSP in the region can be used to provide cloud services to the CSP's customers, and can also be used to provide dealer-supplied cloud services to customers of dealers who are customers of the CSP. This is achieved by creating one or more vPLCs for one or more dealers from the regional infrastructure provided by the CSP, where the vPLC created for a specific dealer can be used to provide dealer-supplied and dealer-branded cloud services to customers of the specific dealer. This enables dealers to become providers of dealer-branded cloud services to their customers without investing in the infrastructure required to provide these cloud services. Alternatively, dealers use the infrastructure provided by the CSP to provide dealer-branded cloud services to the dealer's customers. In this way, the first part of the infrastructure provided by the CSP in the region can be used to provide CSP-supplied cloud services to the CSP's customers, the second part of the infrastructure provided by the CSP in the region and allocated to the first vPLC created for the first dealer can be used to provide the first dealer's customers with cloud services supplied by the first dealer, and the third part of the infrastructure provided by the CSP in the region and allocated to the second vPLC created for the second dealer can be used to provide the second dealer's customers with cloud services supplied by the second dealer, and so on.

[0019] In certain embodiments, a technique is provided that includes a method that includes: using a first portion of an infrastructure provided by a cloud service provider (CSP) in a first region to provide one or more CSP-supplied cloud services to one or more customers of the CSP; creating a first virtual private label cloud (vPLC) for a first reseller based on the infrastructure provided by the CSP, wherein creating the first vPLC includes allocating a second portion of the infrastructure provided by the CSP to the first vPLC; using the first vPLC to provide a first subset of the cloud services supplied by the first reseller to one or more customers of the first reseller; connecting the first vPLC to a remote infrastructure via a communication channel, the remote infrastructure being located outside of the infrastructure provided by the CSP in the first region; and using the remote infrastructure to provide a second subset of the cloud services supplied by the first reseller to one or more customers of the first reseller.

[0020] In yet another embodiment, the method further includes providing access to a second subset of cloud services offered by the first reseller using a first control plane associated with and located within the first portion of infrastructure provided by the CSP.

[0021] In yet another embodiment, providing access to a second subset of cloud services offered by the first vendor uses a communication channel.

[0022] In yet another embodiment, the method further includes providing access to a second subset of cloud services offered by the first vendor using a second control plane associated with and within the first vPLC.

[0023] In yet another embodiment, the method further includes providing access to a first subset of cloud services offered by the first vendor using a third control plane associated with the first vPLC and located within the remote infrastructure.

[0024] In yet another embodiment, the communication channel is between a virtual cloud network (VCN) within the first vPLC and a VCN within the remote infrastructure.

[0025] In yet another embodiment, data packets used for communication between the first vPLC and the remote infrastructure over the communication channel are tagged with vPLC-related information.

[0026] In yet another embodiment, the vPLC-related information includes information identifying the first vPLC.

[0027] In yet another embodiment, the base network of the infrastructure provided by the CSP and the base network of the remote infrastructure are incompatible with each other.

[0028] In yet another embodiment, the method further includes mapping between the VLAN identifier and the vPLC related information.

[0029] In various embodiments, a system is provided that includes one or more data processors and a non-transitory computer-readable medium containing instructions that, when executed on the one or more data processors, cause the one or more data processors to perform part or all of one or more methods disclosed herein.

[0030] In various embodiments, a non-transitory computer-readable medium stores computer-executable instructions that, when executed by one or more processors, cause the one or more processors of a computer system to perform one or more methods disclosed herein.

[0031] In various embodiments, a computer program product comprises a computer program / instructions which, when executed by a processor, cause the processor to perform any of the methods disclosed herein.

[0032] The techniques described above and below can be implemented in a variety of ways and in a variety of contexts. Several example implementations and contexts are provided with reference to the following figures, as described in more detail below. However, the following implementations and contexts are only a small part of the numerous implementations and contexts. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a high-level diagram of a distributed environment illustrating a virtual or overlay cloud network hosted by a cloud service provider infrastructure, according to certain embodiments.

[0034] Figure 2 Depicted is a simplified architectural diagram of physical components in a physical network within a CSPI in accordance with certain embodiments.

[0035] Figure 3 An example arrangement within a CSPI is shown in accordance with certain embodiments, where a host machine is connected to multiple network virtualization devices (NVDs).

[0036] Figure 4 Depicted is connectivity between a host machine and an NVD for providing I / O virtualization to support multi-tenancy in accordance with certain embodiments.

[0037] Figure 5 Depicted is a simplified block diagram of a physical network provided by CSPI in accordance with certain embodiments.

[0038] Figure 6 is a block diagram illustrating an example distributed environment of a virtual private label cloud (vPLC) hosted by an infrastructure provided by a CSP in a region in accordance with certain embodiments.

[0039] Figure 7is a diagram illustrating the relationship between a CSP, the CSP's direct and reseller customers and their associated users, and various resellers' customers and their associated users, according to certain embodiments.

[0040] Figure 8 is a diagram illustrating the relationship between leases assigned to a CSP's direct customers, leases to the CSP's dealers, and leases to customers of the various dealers, according to certain embodiments.

[0041] Fig. 9A is a diagram illustrating a mechanism for storing information in the leases of customers of various resellers of a CSP, according to certain embodiments.

[0042] Fig. 9B is a diagram illustrating a mechanism for storing information in the leases of customers of various resellers of a CSP, according to certain embodiments.

[0043] Fig.10 is a flow chart illustrating an example of a vPLC setup process for a distributor of a CSP according to certain embodiments.

[0044] Fig.11 is a block diagram illustrating an example distributed environment of a virtual private label cloud (vPLC) hosted by an infrastructure provided by a CSP in a region in accordance with certain embodiments.

[0045] Fig.12 is a block diagram illustrating a vPLC segmentation model for resource partitioning according to certain embodiments.

[0046] Fig.13 is a block diagram illustrating a vPLC nesting model for resource partitioning according to certain embodiments.

[0047] Fig.14 is a flow chart illustrating a sign-up process for a customer of a dealer associated with a vPLC according to certain embodiments.

[0048] Fig.15 is a flow diagram illustrating a login process for a user associated with a customer of a dealer associated with a vPLC in accordance with certain embodiments.

[0049] Fig.16 is a flow chart illustrating a resource allocation and provisioning process for a dealer's customers associated with a vPLC in accordance with certain embodiments.

[0050] Fig.17 is a flow diagram illustrating a resource allocation and provisioning process for a dealer's customers associated with a vPLC in accordance with certain embodiments.

[0051] Fig.18is a simplified diagram illustrating a use case in which a vPLC is hosted by infrastructure in a first realm but is associated with a second, different realm, in accordance with certain embodiments.

[0052] Fig.19 is a flow chart illustrating an example method for creating a vPLC hosted by infrastructure provided by a CSP in a particular region in a particular domain but virtually associated with a different region in a different domain, in accordance with certain embodiments.

[0053] Fig. 20 is a block diagram illustrating a CSP control plane model according to certain embodiments.

[0054] Fig.21 is a block diagram illustrating a local vPLC-CP model according to certain embodiments.

[0055] Fig. 22 is a block diagram illustrating a remote vPLC-CP model according to certain embodiments.

[0056] Fig.23 is an example flow diagram illustrating a process for creating a communication channel between infrastructure provided by a CSP in a region and a remote site in accordance with certain embodiments.

[0057] Fig.24 is an example flow chart illustrating a method for processing requests in a CSP-CP model according to certain embodiments.

[0058] Fig.25 is an example flow chart illustrating a method for processing requests in a native vPLC-CP model according to certain embodiments.

[0059] Fig.26 is an example flow chart illustrating a method for processing requests in a remote vPLC-CP model according to certain embodiments.

[0060] Fig. 27 is a block diagram illustrating one mode for implementing a cloud infrastructure as a service system according to at least one embodiment.

[0061] Fig.28 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.

[0062] Fig.29 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.

[0063] Fig.30 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.

[0064] Fig.31 is a block diagram illustrating an example computer system in accordance with at least one embodiment. DETAILED DESCRIPTION

[0065] In the following description, for the purpose of explanation, specific details are set forth in order to provide a thorough understanding of certain embodiments. However, it is apparent that various embodiments can be practiced without these specific details. The figures and descriptions are not intended to be limiting. The word "exemplary" as used herein means "serving as an example, instance, or illustration." Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or superior to other embodiments or designs.

[0066] The present disclosure generally relates to technologies for providing cloud services. More specifically, novel technologies are disclosed that enable cloud infrastructure provided by a cloud service provider (CSP) in a region to be used to provide cloud services offered by the CSP to customers of the CSP for creating one or more virtual private clouds (referred to herein as virtual private label clouds or "vPLCs"). Various embodiments are described herein, including methods, systems, non-transitory computer-readable storage media storing programs, codes, or instructions executable by one or more processors, and the like.

[0067] A vPLC created according to the various techniques described in this disclosure can be used for different purposes. For example, in one use case, a vPLC can be created for a reseller that is a customer of a CSP, and the reseller can use the vPLC to provide one or more reseller-provisioned cloud services to the reseller's customers. As another use case, the vPLC can be used as a virtual data center, and the domain associated with it can be different from the domain associated with the cloud infrastructure provided by the CSP in the region.

[0068] In some embodiments, a vPLC represents a virtual cloud that includes a collection of resources that have been allocated to the vPLC from infrastructure provided by a CSP in a region. One or more vPLCs can be created using infrastructure provided by a CSP in a region. In some embodiments, a virtual private label cloud (vPLC) refers to a model and architecture that enables and promotes reseller-provided and reseller-branded cloud services provided by a CSP within infrastructure provided by a CSP in a region.

[0069] Just as the infrastructure provided by a CSP in a region provides cloud resources that are accessible to the CSP's customers, the vPLC created for a reseller provides a collection of resources that are accessible to the reseller's customers. From the perspective of the reseller's customers, the vPLC is like the infrastructure provided by the reseller in a region providing resources that are accessible to the reseller's customers. The vPLC is similar to a data center provided by a reseller in a region, providing cloud services provided by the reseller to the reseller's customers.

[0070] In certain embodiments, the regional infrastructure provided by the CSP in a region can be used to provide both cloud services to the CSP's customers and dealer-provisioned cloud services to customers of dealers that are customers of the CSP. This is accomplished by creating one or more vPLCs for one or more dealers from the regional infrastructure provided by the CSP, where the vPLC created for a particular dealer can be used to provide dealer-provisioned and dealer-branded cloud services to the particular dealer's customers. This enables dealers to become providers of dealer-branded cloud services to their customers without having to invest in the infrastructure required to provide those cloud services. Alternatively, dealers use the infrastructure provided by the CSP to provide dealer-branded cloud services to the dealer's customers.

[0071] In the dealer use case, a vPLC is created for the dealer using a cloud infrastructure provided by a cloud service provider (CSP) in a region. The dealer can use the vPLC created for the dealer to provide one or more dealer-supplied cloud services to the dealer's customers. In some embodiments, the regional infrastructure provided by the CSP that the dealer uses to provide one or more dealer-supplied services is partitioned into securely isolated parts, and the isolated parts (or partitions) are assigned to different dealers so that the partitions assigned to the dealers are isolated from other dealers. In this way, the first part of the infrastructure provided by the CSP in the region can be used to provide the CSP-supplied cloud services to the CSP's customers, the second part of the infrastructure provided by the CSP in the region and assigned to the first vPLC created for the first dealer can be used to provide the first dealer's customers with the first dealer's cloud services, the third part of the infrastructure provided by the CSP in the region and assigned to the second vPLC created for the second dealer can be used to provide the second dealer's customers with the second dealer's cloud services, and so on. Each part of the infrastructure allocated to the dealer can also be further partitioned into a second-level secure isolation part to provide multi-tenant cloud infrastructure services to the dealer's customers.

[0072] A reseller may be an entity such as an enterprise or business or an individual. Using the techniques described herein enables a reseller entity to quickly become a cloud service provider while avoiding all of the barriers to entry discussed in the background section of this disclosure. For example, a reseller does not have to procure infrastructure for providing cloud services because the cloud services provided use infrastructure provided by the CSP. To the reseller's customers, it looks like the reseller is providing a reseller-supplied cloud service. From the perspective of the reseller's customers, the reseller is therefore a cloud service provider that provides the services that the customers subscribe to. The reseller's customers may not even know or be aware of the CSP whose infrastructure is being used by the reseller to provide the reseller-supplied and reseller-branded cloud services.

[0073] The ability to provide vPLC can be provided by the CSP as a service and can be subscribed to by one or more customers. For example, an entity that desires to provide cloud services to its customers but does not want to invest in purchasing the infrastructure required to provide the service can subscribe to such a CSP-provided vPLC service. Once the vPLC service is subscribed, the entity is a customer of the CSP, but as a "special" customer, because the CSP-provided infrastructure allocated to the entity in the form of a vPLC is then used to provide the entity's customers with the branded services provided by the entity. Therefore, the customer is a customer of the CSP and is also a dealer of cloud services using the vPLC created for the entity. Therefore, the entity is called a "dealer" to distinguish it from the actual direct customer of the CSP. A direct customer of a CSP is an entity that subscribes to and uses the branded services provided by one or more CSPs, and does not use the CSP infrastructure to sell cloud services to its customers. For the purposes of this disclosure, a direct customer of a CSP is also referred to as a "non-dealer customer" to distinguish it from a dealer. For dealers, as part of the vPLC service, the CSP provides infrastructure to the dealer in the form of a vPLC, and the dealer uses the vPLC to supply dealer-branded cloud services to the dealer's customers.

[0074] vPLC can be used for various other applications that do not involve dealers. As an example, a vPLC can be created and associated with a domain different from the domain associated with the regional infrastructure provided by the CSP used to create the vPLC. For example, the regional infrastructure provided by the CSP can be associated with a first domain, and the vPLC can be associated with a second domain different from the first domain. In this scenario, the infrastructure corresponding to the vPLC is hosted by the first domain, but is considered to belong to the second domain. This can be used for a variety of different purposes. For example, since the vPLC is associated with the second domain, it can communicate with other infrastructures (e.g., other data centers) in the second domain. Accordingly, the data center in the second domain can communicate with the vPLC because they are all located in the same domain and share the second domain trust and identity profile.

[0075] The creation and management of vPLCs are performed using infrastructure and services provided by the CSP and technically very complex tasks. When a vPLC is created for a dealer, technical functions must be provided to enable the dealer to use the vPLC to provide dealer-provided cloud services to dealer customers using the vPLC. This includes isolating traffic between dealers, isolating traffic from different customers of the dealer, dynamically managing the allocation of resources provided by the CSP to the vPLC, managing the allocation of resources allocated to the vPLC between different customers of the vPLC, measuring the usage of the vPLC allocated to the dealer and performing related billing functions, measuring the usage of the vPLC allocated between different customers of the vPLC and performing related billing functions, enabling market environments for different dealers, performing identity management functions for dealers and their customers, etc. The present disclosure describes various embodiments, depicting various architectures and corresponding methods for performing and enabling vPLC-related functions.

[0076] Resellers can use the vPLC created for them to provide dealer-supplied and dealer-branded cloud services that provide specialized services in areas where the dealer specializes. The services provided by the dealer can be tailored for different customer groups. In some embodiments, the cloud services provided by the dealer may be different from the cloud services provided by the CSP. In some other embodiments, the cloud services provided by the dealer may be based on the cloud services provided by the CSP, for example, the services provided by the dealer may be customized versions of the cloud services provided by the CSP.

[0077] For example, a first vPLC can be created for a first dealer who specializes in providing financial services from the infrastructure provided by the CSP in the first region. The first dealer's customers can be banks and other financial institutions. Accordingly, the first dealer can use the first vPLC to provide customized and first dealer branded financial cloud services to its customers. A second vPLC can be created for a second dealer who specializes in providing telecommunication services from the infrastructure provided by the same CSP in the first region. The second dealer's customers can be users of telecommunication services. The second dealer can use the second vPLC to provide customized and second dealer branded telecommunication cloud services to its customers. In addition to the first vPLC and the second vPLC, the CSP can use the infrastructure provided by the CSP in the first region to provide CSP supplied and branded cloud services to one or more direct (non-dealer) customers of the CSP. In this way, the infrastructure provided by the same CSP in the region provides a label cloud service supplied by the CSP to one or more direct (non-dealer) customers of the CSP, provides customized and first dealer branded financial cloud services to the customers of the first dealer, and provides customized and second dealer branded telecommunication cloud services to the customers of the second dealer.

[0078] The present disclosure generally relates to technologies for providing cloud services. More specifically, novel technologies are disclosed for accessing infrastructure provided by a CSP in a region and resources in remote sites through various control planes associated with a virtual private label cloud (vPLC). A vPLC is created for a reseller of a cloud service provider (CSP) using infrastructure provided by a CSP in a region so that the reseller can provide one or more reseller-provisioned cloud services to the reseller's customers.

[0079] In the infrastructure provided by a CSP in a region, the CSP's control plane (CP) can be located in the same region or cluster as the data plane (DP) that hosts resources (e.g., vPLC). In other words, the CSP's CP (or CSP CP) manages the resources owned by the CSP.

[0080] Sometimes, a CSP's distributor may have its own computing resources (e.g., in the distributor's on-premises deployment or in a different cloud infrastructure) and want to integrate these resources with the regional cloud infrastructure (or resources) provided by the CSP to provide distributor-supplied and rebranded services to its customers. However, currently, the CSP's CP cannot remotely interact with the distributor's resources because the CSP's CP and remote resources are in different environments. Such infrastructure or premises not owned by the CSP may be referred to herein as a remote site (or remote infrastructure or remote premises), which may include a distributor's premises (referred to as a remote customer site), such as a remote data plane.

[0081] However, the question remains how resellers can locate data plane resources at remote sites where resources in the data plane are not owned or trusted by the CSP. If the control plane that manages the computing devices is located in a network separate from the devices to be managed (i.e., the data plane devices), then the control plane may not be able to communicate with the devices. Typically, the CSP CP and the managed computing devices are located on the same physical network (i.e., the substrate network, or simply the substrate), where the CP and the computing devices trust each other. However, the remote data plane cannot be trusted by the CSP. Therefore, it is a problem to connect the CSP CP directly to devices in untrusted remote locations. Accordingly, different approaches are needed to address these and other challenges.

[0082] The novel technology disclosed in this disclosure creates an architecture (referred to as a remote data plane architecture) that allows a dealer to integrate its remote resources with a regional infrastructure provided by a CSP, so that the dealer's customers can manage and access the dealer's resources in the remote site and the resources within the regional infrastructure provided by the CSP, where the resources in both locations can be used to provide dealer-supplied and renamed services. For example, the remote site can provide a subset of dealer-supplied and renamed services, and the vPLC created by the CSP for the dealer can provide another subset of dealer-supplied and renamed services. The dealer-supplied and renamed services may include SaaS, PaaS, IaaS, etc.

[0083] In some embodiments, such techniques can manage infrastructure in remote sites using a vPLC-specific CP running in a virtual cloud network (VCN) in a regional infrastructure provided by a CSP, where the vPLC-specific CP supports the vPLC through a communication channel (e.g., FastConnect or VPN connection). Since such a vPLC-specific CP runs inside the VCN rather than inside the CSP's substrate, the CSP's substrate does not have to trust or directly connect to the remote data plane. In other words, the vPLC-specific CP and the remote sites it manages are located in an environment that is not part of the CSP's substrate.

[0084] In some embodiments, packet modification / rewriting may be performed by gateways in the regional infrastructure provided by the CSP and gateways in remote sites to avoid direct connections between the CSP's substrate and remote data planes.

[0085] The technology disclosed in this disclosure can provide three models: (1) CSP control plane (or CSP-CP) model (also known as "relay model"); (2) local vPLC-specific control plane (or vPLC-CP model); and (3) remote vPLC-CP model; to enable management and access to the dealer's remote resources and resources within the regional infrastructure provided by the CSP.

[0086] In the CSP-CP model, all vPLCs can use the CSP CP to control and access local and remote resources. In contrast, in the local vPLC-CP model, each vPLC can use its vPLC-specific control plane to control and access local and remote resources. The term "local" in the local vPLC-CP model can refer to the vPLC-specific CP located inside (or local to) the regional infrastructure provided by the CSP.

[0087] A third model, namely, a remote vPLC-CP model, which is different from the above-mentioned local vPLC-CP model (i.e., the vPLC-specific CP is part of the regional infrastructure provided by the CSP), can have a vPLC control plane running inside the remote site (i.e., outside the regional infrastructure provided by the CSP). In this remote vPLC-CP model, the dealer can use its remote vPLC CP to directly control and access the DP of the local vPLC in the regional infrastructure provided by the CSP and the DP of the remote vPLC in the remote site (e.g., the dealer's premises).

[0088] The techniques disclosed in this disclosure allow resellers to use various control planes to define the user experience of their customers and provide their customers with greater flexibility to access different cloud resources for the same user's workloads. Therefore, these techniques can minimize vendor lock-in and provide a wider range of reseller-supplied and rebranded services to resellers' customers.

[0089] Figure 1-5 and the associated description provided in the “Example Virtual Networking Architecture” section below describe networking concepts including network virtualization, base networks, overlay networks, VNICs, etc., and provide examples of environments in which certain embodiments described in the present disclosure may be implemented. Figure 6-26 Examples and embodiments related to the vPLC architecture and remote data plane architecture of the vPLC described in this disclosure are described. Figure 27-30 An example of an architecture for implementing a cloud infrastructure that provides one or more cloud services is depicted, where the infrastructure can incorporate the teachings described herein. Fig.31 A block diagram of an example computer system or device is depicted in accordance with at least one embodiment.

[0090] Example Virtual Networking Architecture

[0091] The term cloud service is generally used to refer to services provided on-demand (e.g., via a subscription model) by a cloud service provider (CSP) to users or customers using systems and infrastructure (cloud infrastructure) provided by the CSP. Typically, the servers and systems that make up the CSP's infrastructure are separate from the customer's own on-premises servers and systems. Therefore, customers can take advantage of cloud services provided by a CSP without having to purchase separate hardware and software resources for the service. Cloud services are designed to provide subscribing customers with simple, scalable access to applications and computing resources without requiring customers to invest in the infrastructure used to provide the service.

[0092] There are several cloud service providers that offer various types of cloud services. There are various different types or models of cloud services including Software as a Service (SaaS), Platform as a Service (PaaS), Infrastructure as a Service (IaaS), etc.

[0093] A customer can subscribe to one or more cloud services provided by a CSP. A customer can be any entity, such as an individual, an organization, a business, etc. When a customer subscribes to or registers for a service provided by a CSP, a lease or account is created for the customer. The customer can then access the subscribed one or more cloud resources associated with the account via this account.

[0094] As mentioned above, Infrastructure as a Service (IaaS) is a specific type of cloud computing service. In the IaaS model, the CSP provides infrastructure (called Cloud Service Provider Infrastructure or CSPI) that can be used by customers to build their own customizable networks and deploy customer resources. Therefore, the customer's resources and network are hosted in a distributed environment by the infrastructure provided by the CSP. This is different from traditional computing, in which the customer's resources and network are hosted by the infrastructure provided by the customer.

[0095] CSPI may include interconnected high-performance computing resources, including various host machines, memory resources, and network resources, forming a physical network, which is also referred to as a base network or underlying network. The resources in CSPI may be spread over one or more data centers, which may be geographically spread over one or more geographic regions. Virtualization software may be executed by these physical resources to provide a virtualized distributed environment. Virtualization creates an overlay network (also referred to as a software-based network, a software-defined network, or a virtual network) on a physical network. The CSPI physical network provides an underlying foundation for creating one or more overlay or virtual networks on top of a physical network. A physical network (or base network or underlying network) includes physical network devices, such as physical switches, routers, computers, and host machines. An overlay network is a logical (or virtual) network running on top of a physical base network. A given physical network may support one or more overlay networks. Overlay networks typically use encapsulation technology to distinguish traffic belonging to different overlay networks. A virtual or overlay network is also referred to as a virtual cloud network (VCN). A virtual network is implemented using software virtualization technology (e.g., a hypervisor, virtualization functions implemented by a network virtualization device (NVD) (e.g., a smart NIC), a top-of-rack (TOR) switch, an intelligent TOR that implements one or more functions performed by the NVD, and other mechanisms) to create a layer of network abstraction that can run on top of a physical network. A virtual network can take many forms, including peer-to-peer networks, IP networks, and the like. A virtual network is typically either a layer 3 IP network or a layer 2 VLAN. This method of virtual or overlay networking is often referred to as a virtual or overlay layer 3 network. Examples of protocols developed for virtual networks include IP-in-IP (or Generic Routing Encapsulation (GRE)), Virtual Extensible Local Area Network (VXLAN—IETF RFC7348), Virtual Private Network (VPN) (e.g., MPLS Layer 3 Virtual Private Network (RFC 4364)), VMware's NSX, GENEVE (Generic Network Virtualization Encapsulation), and the like.

[0096] For IaaS, the infrastructure (CSPI) provided by the CSP can be configured to provide virtualized computing resources over a public network (e.g., the Internet). In the IaaS model, cloud computing service 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 supply various services to accompany those infrastructure components (e.g., billing, monitoring, logging, security, load balancing, and clustering, etc.). Therefore, since these services can be policy-driven, IaaS users can implement policies to drive load balancing to maintain application availability and performance. CSPI provides a collection of infrastructure and complementary cloud services that enable customers to build and run a wide range of applications and services in a highly available, hosted, distributed environment. CSPI provides high-performance computing resources and capabilities and storage capacity in a flexible virtual network that can be securely accessed from various networked locations (such as from the customer's on-premises network). When a customer subscribes to or signs up for an IaaS service provided by a CSP, the tenancy created for that customer is a secure and isolated partition within CSPI where the customer can create, organize, and manage their cloud resources.

[0097] Customers can build their own virtual networks using the computing, storage, and networking resources provided by CSPI. One or more customer resources or workloads, such as computing instances, can be deployed on these virtual networks. For example, customers can use the resources provided by CSPI to build one or more customizable and private virtual networks, called virtual cloud networks (VCNs). Customers can deploy one or more customer resources, such as computing instances, on customer VCNs. Computing instances can take the form of virtual machines, bare metal instances, and the like. Therefore, CSPI provides a collection of infrastructure and complementary cloud services that enable customers to build and run a wide range of applications and services in a highly available virtual hosted environment. Customers do not manage or control the underlying physical resources provided by CSPI, but can control operating systems, storage devices, and deployed applications; and may have limited control over selected networking components (e.g., firewalls).

[0098] The CSP may provide a console that enables customers and network administrators to use CSPI resources to configure, access, and manage resources deployed in the cloud. In some embodiments, the console provides a web-based user interface that can be used to access and manage CSPI. In some implementations, the console is a web-based application provided by the CSP.

[0099] CSPI can support single-tenancy or multi-tenancy architecture. In a single-tenancy architecture, software (e.g., application, database) or hardware component (e.g., host machine or server) serves a single customer or tenant. In a multi-tenancy architecture, software or hardware component serves multiple customers or tenants. Therefore, in a multi-tenancy architecture, CSPI resources are shared among multiple customers or tenants. In the case of multi-tenancy, precautions are taken and protection measures are implemented in CSPI to ensure that each tenant's data is isolated and remains invisible to other tenants.

[0100] In a physical network, a network endpoint ("endpoint") refers to a computing device or system that is connected to a physical network and communicates back and forth with the network to which it is connected. A network endpoint in a physical network can be connected to a local area network (LAN), a wide area network (WAN), or other types of physical networks. Examples of traditional endpoints in a physical network include modems, hubs, bridges, switches, routers and other networking devices, physical computers (or host machines), etc. Each physical device in a physical network has a fixed network address that can be used to communicate with the device. This fixed network address can be a layer 2 address (e.g., a MAC address), a fixed layer 3 address (e.g., an IP address), etc. In a virtualized environment or virtual network, endpoints can include various virtual endpoints, such as virtual machines hosted by components of the physical network (e.g., hosted by a physical host machine). These endpoints in a virtual network are addressed by overlay addresses, such as overlay layer 2 addresses (e.g., overlay MAC addresses) and overlay layer 3 addresses (e.g., overlay IP addresses). Network overlays achieve flexibility by allowing network administrators to move around overlay addresses associated with network endpoints using software management (e.g., via software that implements a control plane for a virtual network). Accordingly, unlike a physical network, in a virtual network, an overlay address (e.g., an overlay IP address) can be moved from one endpoint to another using network management software. Since the virtual network is built on top of the physical network, the communication between components in the virtual network involves both the virtual network and the underlying physical network. To facilitate such communication, the components of CSPI are configured to learn and store mappings that map overlay addresses in the virtual network to actual physical addresses in the base network, and vice versa. These mappings are then used to facilitate communication. Customer traffic is encapsulated to facilitate routing in the virtual network.

[0101] Accordingly, physical addresses (e.g., physical IP addresses) are associated with components in a physical network, and overlay addresses (e.g., overlay IP addresses) are associated with entities in a virtual or overlay network. A physical IP address is an IP address associated with a physical device (e.g., a network device) in a base or physical network. For example, each NVD has an associated physical IP address. An overlay IP address is an overlay address associated with an entity in an overlay network, such as an overlay address associated with a computing instance in a customer's virtual cloud network (VCN). Two different customers or tenants (each with their own private VCN) can potentially use the same overlay IP address in their VCNs without knowing about each other. Both physical IP addresses and overlay IP addresses are types of real IP addresses. These addresses are separate from virtual IP addresses. A virtual IP address is typically a single IP address that represents or maps to multiple real IP addresses. A virtual IP address provides a one-to-many mapping between a virtual IP address and multiple real IP addresses. For example, a load balancer can use a VIP to map or represent multiple servers, each with its own real IP address.

[0102] The cloud infrastructure or CSPI is physically hosted in one or more data centers in one or more regions of the world. The CSPI may include components in a physical or base network and virtualized components (e.g., virtual networks, computing instances, virtual machines, etc.) located in a virtual network built on top of the physical network components. In some embodiments, the CSPI is organized and hosted in domains, regions, and availability domains. A region is typically a local geographic area containing one or more data centers. Regions are generally independent of each other and can be far apart, for example, across countries or even continents. For example, a first region may be in Australia, another in Japan, another in India, and so on. CSPI resources are divided between regions so that each region has its own independent subset of CSPI resources. Each region can provide a collection of core infrastructure services and resources, such as computing resources (e.g., bare metal servers, virtual machines, containers and related infrastructure, etc.); storage resources (e.g., block volume storage devices, file storage devices, object storage devices, archive storage devices); networking resources (e.g., virtual cloud networks (VCNs), load balancing resources, connections to on-premises networks), database resources; edge networking resources (e.g., DNS); and access management and monitoring resources, etc. Each region generally has multiple paths connecting it to other regions in the domain.

[0103] Generally speaking, an application is deployed in the region where it is most frequently used (i.e., on the infrastructure associated with that region) because it is faster to use nearby resources than to use distant resources. Applications may also be deployed in different regions for various reasons, such as redundancy to mitigate the risk of region-wide events (such as large weather systems or earthquakes), to meet different requirements of legal jurisdictions, tax domains, and other business or social standards, etc.

[0104] Data centers within a region can be further organized and subdivided into availability domains (ADs). An availability domain can correspond to one or more data centers located within a region. A region can consist of one or more availability domains. In this distributed environment, CSPI resources are either region-specific, such as a virtual cloud network (VCN), or availability domain-specific, such as a compute instance.

[0105] ADs within a region are isolated from each other, fault-tolerant, and configured so that they are extremely unlikely to fail at the same time. This is achieved by ADs not sharing key infrastructure resources (such as networking, physical cables, cable paths, cable entry points, etc.), making it unlikely that a failure at one AD within a region will affect the availability of other ADs within the same region. ADs within the same region can be connected to each other through a low-latency, high-bandwidth network, which makes it possible to provide high-availability connections to other networks (e.g., the Internet, a customer's on-premises network, etc.) and to build replication systems in multiple ADs for high availability and disaster recovery. Cloud services use multiple ADs to ensure high availability and prevent resource failures. As the infrastructure provided by the IaaS provider grows, more regions and ADs can be added, as well as additional capacity. Traffic between availability domains is typically encrypted.

[0106] In some embodiments, regions are grouped into domains. A domain is a logical collection of regions. Domains are isolated from each other and do not share any data. Regions in the same domain can communicate with each other, but regions in different domains cannot. A customer's lease or account with a CSP exists in a single domain and can be spread across one or more regions belonging to that domain. Typically, when a customer subscribes to an IaaS service, a lease or account is created for the customer in a customer-specified region within the domain (called the "home" region). The customer can extend the customer's lease to one or more other regions within the domain. A customer cannot access regions that are not in the domain where the customer's lease is located.

[0107] An IaaS provider may offer multiple domains, each catering to a specific set of customers or users. For example, a business domain may be provided for business customers. As another example, a domain may be provided for a specific country for customers within that country. As yet another example, a government domain may be provided for a government, etc. For example, a government domain may cater to a specific government and may have a higher level of security than a business domain. For example, Oracle Cloud Infrastructure (OCI) currently offers a domain for a business region and two domains (e.g., FedRAMP-authorized and IL5-authorized) for a government cloud region.

[0108] In some embodiments, AD can be subdivided into one or more fault domains. Fault domains are groupings of infrastructure resources within an AD to provide anti-affinity. Fault domains allow the distribution of computing instances so that they are not located on the same physical hardware within a single AD. This is called anti-affinity. A fault domain refers to a collection of hardware components (computers, switches, etc.) that share a single point of failure. The computing pool is logically divided into fault domains. Therefore, a hardware failure or computing hardware maintenance event that affects one fault domain does not affect instances in other fault domains. Depending on the embodiment, the number of fault domains used for each AD may vary. For example, in some embodiments, each AD contains three fault domains. Fault domains act as logical data centers within an AD.

[0109] When a customer subscribes to an IaaS service, resources from CSPI are supplied to the customer and associated with the customer's lease. Customers can use these supplied resources to build private networks and deploy resources on these networks. Customer networks hosted by CSPI in the cloud are called virtual cloud networks (VCNs). Customers can use CSPI resources allocated to customers to set up one or more virtual cloud networks (VCNs). VCNs are virtual or software-defined private networks. Customer resources deployed in a customer's VCN may include computing instances (e.g., virtual machines, bare metal instances) and other resources. These computing instances may represent various customer workloads, such as applications, load balancers, databases, and the like. Computing instances deployed on VCNs can communicate with publicly accessible endpoints ("public endpoints"), with other instances in the same VCN or other VCNs (e.g., other VCNs of customers or VCNs that do not belong to the customer), with the customer's on-premises data center or network, and with service endpoints and other types of endpoints through public networks (such as the Internet).

[0110] CSPs can use CSPI to provide various services. In some cases, customers of CSPI can themselves act like service providers and use CSPI resources to provide services. Service providers can expose service endpoints, which are characterized by identification information (e.g., IP address, DNS name, and port). Customers' resources (e.g., computing instances) can use a particular service by accessing the service endpoints exposed by the service for that particular service. These service endpoints are generally endpoints that are publicly accessible to users via a public communication network (such as the Internet) using a public IP address associated with the endpoint. Publicly accessible network endpoints are sometimes also referred to as public endpoints.

[0111] In some embodiments, a service provider may expose a service via an endpoint for the service (sometimes referred to as a service endpoint). Clients of the service may then use this service endpoint to access the service. In some implementations, the service endpoint provided for a service may be accessed by multiple clients that intend to consume the service. In other implementations, a dedicated service endpoint may be provided to a client so that only the client can access the service using the dedicated service endpoint.

[0112] In certain embodiments, when a VCN is created, it is associated with a private overlay Classless Inter-Domain Routing (CIDR) address space, which is a range of private overlay IP addresses (e.g., 10.0 / 16) assigned to the VCN. The VCN includes associated subnets, routing tables, and gateways. The VCN resides within a single region but can span one or more or all of the availability domains in that region. A gateway is a virtual interface configured for the VCN and enables communication of traffic between the VCN and one or more endpoints external to the VCN. One or more different types of gateways can be configured for the VCN to enable communication to and from different types of endpoints.

[0113] A VCN may be subdivided into one or more subnetworks, such as one or more subnets. Thus, a subnet is a unit or subdivision of a configuration that can be created within a VCN. A VCN may have one or more subnets. Each subnet within a VCN is associated with a contiguous range of overlay IP addresses (e.g., 10.0.0.0 / 24 and 10.0.1.0 / 24) that do not overlap with other subnets in that VCN and represent a subset of the address space within the address space of the VCN.

[0114] Each computing instance is associated with a virtual network interface card (VNIC), which enables the computing instance to participate in the subnet of the VCN. VNIC is a logical representation of a physical network interface card (NIC). In general, a VNIC is an interface between an entity (e.g., a computing instance, a service) and a virtual network. VNICs exist in subnets, have one or more associated IP addresses, and associated security rules or policies. VNICs are equivalent to layer 2 ports on switches. VNICs are attached to subnets within computing instances and VCNs. The VNICs associated with computing instances make the computing instances part of the subnet of the VCN, and enable the computing instances to communicate (e.g., send and receive data packets) with endpoints located on the same subnet as the computing instance, with endpoints in different subnets in the VCN, or with endpoints outside the VCN. Therefore, the VNICs associated with computing instances determine how the computing instances are connected to endpoints inside and outside the VCN. When a computing instance is created and added to a subnet within the VCN, a VNIC for the computing instance is created and associated with the computing instance. For a subnet that includes a set of compute instances, the subnet contains VNICs corresponding to the set of compute instances, each VNIC being attached to a compute instance within the set of compute instances.

[0115] A private overlay IP address is assigned to each computing instance via the VNIC associated with the computing instance. This private overlay network IP address is assigned to the VNIC associated with the computing instance when the computing instance is created and is used to route traffic to and from the computing instance. All VNICs in a given subnet use the same routing table, security list, and DHCP options. As described above, each subnet within the VCN is associated with a continuous range of overlay IP addresses (e.g., 10.0.0.0 / 24 and 10.0.1.0 / 24), which do not overlap with other subnets in the VCN and represent a subset of the address space within the address space of the VCN. For a VNIC on a specific subnet of the VCN, the private overlay IP address assigned to the VNIC is an address from the continuous range of overlay IP addresses allocated for the subnet.

[0116] In some embodiments, in addition to the private overlay IP address, the computing instance may optionally be assigned additional overlay IP addresses, such as, for example, one or more public IP addresses if in a public subnet. These multiple addresses are assigned either on the same VNIC or on multiple VNICs associated with the computing instance. However, each instance has a primary VNIC, which is created during instance startup and is associated with the overlay private IP address assigned to the instance—this primary VNIC cannot be deleted. Additional VNICs, called secondary VNICs, can be added to existing instances in the same availability domain as the primary VNIC. All VNICs are in the same availability domain as the instance. The secondary VNIC can be located in a subnet in the same VCN as the primary VNIC, or in a different subnet in the same VCN or in a different VCN.

[0117] If the compute instances are in a public subnet, they can optionally be assigned public IP addresses. When creating a subnet, you can specify the subnet as either a public subnet or a private subnet. A private subnet means that the resources (e.g., compute instances) and associated VNICs in the subnet cannot have public overlay IP addresses. A public subnet means that the resources and associated VNICs in the subnet can have public IP addresses. Customers can specify that a subnet exists in a single availability domain or across multiple availability domains in a region or domain.

[0118] As described above, a VCN can be subdivided into one or more subnets. In some embodiments, a virtual router (VR) configured for the VCN (referred to as a VCN VR or simply a VR) enables communication between subnets of the VCN. For a subnet within a VCN, the VR represents a logical gateway for the subnet, which enables the subnet (i.e., the computing instances on the subnet) to communicate with endpoints on other subnets within the VCN and other endpoints outside the VCN. A VCN VR is a logical entity that is configured to route traffic between VNICs in the VCN and a virtual gateway ("gateway") associated with the VCN. Figure 1The gateway is further described. The VCN VR is a layer 3 / IP layer concept. In one embodiment, there is one VCN VR for the VCN, where the VCN VR has a potentially unlimited number of ports addressed by IP addresses, one port for each subnet of the VCN. In this way, the VCN VR has a different IP address for each subnet in the VCN to which the VCN VR is attached. The VR is also connected to various gateways configured for the VCN. In some embodiments, a specific overlay IP address in the overlay IP address range for a subnet is reserved for the port of the VCN VR for that subnet. For example, consider that the VCN has two subnets, and the associated address ranges are 10.0 / 16 and 10.1 / 16, respectively. For the first subnet in the VCN with an address range of 10.0 / 16, the addresses in this range are reserved for the ports of the VCN VR for that subnet. In some cases, the first IP address in the range can be reserved for the VCN VR. For example, for a subnet with an overlay IP address range of 10.0 / 16, the IP address 10.0.0.1 can be reserved for the port of the VCN VR for that subnet. For a second subnet in the same VCN with an address range of 10.1 / 16, the VCN VR can have a port for the second subnet with an IP address of 10.1.0.1. The VCN VR has a different IP address for each subnet in the VCN.

[0119] In some other embodiments, each subnet within a VCN may have its own associated VR that may be addressed by the subnet using a reserved or default IP address associated with the VR. For example, the reserved or default IP address may be the first IP address in a range of IP addresses associated with the subnet. The VNICs in the subnet may communicate (e.g., send and receive packets) with the VRs associated with the subnet using this default or reserved IP address. In such embodiments, the VR is the entry / exit point for the subnet. A VR associated with a subnet within the VCN may communicate with other VRs associated with other subnets within the VCN. The VR may also communicate with a gateway associated with the VCN. The VR functions for the subnet run on or are performed by one or more NVDs that perform VNIC functions for the VNICs in the subnet.

[0120] Routing tables, security rules, and DHCP options can be configured for a VCN. A routing table is a virtual routing table for a VCN and includes rules for routing traffic from subnets within the VCN to destinations outside the VCN through gateways or specially configured instances. A VCN's routing table can be customized to control how packets are forwarded / routed to and from the VCN. DHCP options refer to configuration information that is automatically provided to an instance when it boots.

[0121] The security rules configured for a VCN represent the overlay firewall rules for the VCN. Security rules can include ingress and egress rules and specify the type of traffic allowed in and out of the VCN instances (e.g., based on protocol and port). Customers can choose whether a given rule is stateful or stateless. For example, a customer can allow incoming SSH traffic from anywhere to a collection of instances by setting up a stateful ingress rule with source CIDR 0.0.0.0 / 0 and destination TCP port 22. Security rules can be implemented using network security groups or security lists. A network security group consists of a collection of security rules that apply only to resources in that group. Security lists, on the other hand, include rules that apply to all resources in any subnet that uses the security list. A default security list with default security rules can be provided for a VCN. The DHCP options configured for a VCN provide configuration information that is automatically provided to instances in the VCN when the instances are launched.

[0122] In some embodiments, configuration information for a VCN is determined and stored by a VCN control plane. For example, configuration information for a VCN may include information about address ranges associated with the VCN, subnets within the VCN and associated information, one or more VRs associated with the VCN, compute instances in the VCN and associated VNICs, NVDs that perform various virtualized network functions associated with the VCN (e.g., VNICs, VRs, gateways), state information for the VCN, and other VCN-related information. In some embodiments, a VCN distribution service publishes configuration information stored by a VCN control plane or a portion thereof to the NVD. The distributed information may be used to update information stored and used by the NVD (e.g., forwarding tables, routing tables, etc.) to forward packets to or from compute instances in the VCN.

[0123] In some embodiments, the creation of VCNs and subnets is handled by the VCN control plane (CP) and the launch of compute instances is handled by the compute control plane. The compute control plane is responsible for allocating physical resources to the compute instances and then calling the VCN control plane to create and attach VNICs to the compute instances. The VCN CP also sends VCN data maps to the VCN data plane, which is configured to perform packet forwarding and routing functions. In some embodiments, the VCN CP provides a distribution service that is responsible for providing updates to the VCN data plane. An example of a VCN control plane is also provided at Figure 1 , Figure 2 , Figure 3 and Figure 4 Depicted in (see reference numerals 116, 216, 316 and 416) and described below.

[0124] Customers can create one or more VCNs using resources hosted by CSPI. Compute instances deployed on customer VCNs can communicate with different endpoints. These endpoints can include endpoints hosted by CSPI and endpoints external to CSPI.

[0125] Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 Various different architectures for implementing cloud-based services using CSPI are depicted in and are described below. Figure 1 is a high-level diagram of a distributed environment 100 showing an overlay or customer VCN hosted by CSPI according to certain embodiments. Figure 1 The distributed environment depicted in includes multiple components in an overlay network. Figure 1 The distributed environment 100 depicted in FIG. 1 is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, substitutions, and modifications are possible. For example, in some embodiments, Figure 1 The distributed environment depicted in Figure 1 More or fewer systems or components than those shown in the drawings may be used, two or more systems may be combined, or there may be different system configurations or arrangements.

[0126] like Figure 1 As shown in the example depicted in , the distributed environment 100 includes a CSPI 101 that provides services and resources that customers can subscribe to and use to build their virtual cloud network (VCN). In some embodiments, CSPI 101 provides IaaS services to subscribing customers. Data centers within CSPI 101 can be organized into one or more regions. Figure 1 An example region "Region US" 102 is shown in FIG. A customer has configured a customer VCN 104 for region 102. The customer can deploy various computing instances on VCN 104, where the computing instances can include virtual machines or bare metal instances. Examples of instances include applications, databases, load balancers, etc.

[0127] exist Figure 1 In the embodiment depicted in , customer VCN 104 includes two subnets, namely, "Subnet-1" and "Subnet-2", each with its own CIDR IP address range. Figure 1, the coverage IP address range of Subnet-1 is 10.0 / 16, and the address range of Subnet-2 is 10.1 / 16. VCN virtual router 105 represents a logical gateway for the VCN that enables communication between subnets of VCN 104 and with other endpoints outside the VCN. VCN VR 105 is configured to route traffic between VNICs in VCN 104 and gateways associated with VCN 104. VCN VR 105 provides ports for each subnet of VCN 104. For example, VR 105 may provide a port with IP address 10.0.0.1 for Subnet-1 and a port with IP address 10.1.0.1 for Subnet-2.

[0128] Multiple computing instances can be deployed on each subnet, where the computing instances can be virtual machine instances and / or bare metal instances. The computing instances in a subnet can be hosted by one or more host machines within CSPI 101. The computing instances participate in the subnet via the VNICs associated with the computing instances. For example, Figure 1 As shown in , compute instance C1 becomes part of subnet-1 via a VNIC associated with the compute instance. Similarly, compute instance C2 becomes part of subnet-1 via a VNIC associated with C2. In a similar manner, multiple compute instances (which may be virtual machine instances or bare metal instances) may be part of subnet-1. Each compute instance is assigned a private overlay IP address and MAC address via its associated VNIC. For example, in Figure 1 , the overlay IP address of compute instance C1 is 10.0.0.2 and the MAC address is M1, while the private overlay IP address of compute instance C2 is 10.0.0.3 and the MAC address is M2. Each compute instance in subnet-1 (including compute instances C1 and C2) has a default route to VCN VR 105 using IP address 10.0.0.1, which is the IP address of the port of VCN VR 105 for subnet-1.

[0129] Multiple computing instances can be deployed on subnet-2, including virtual machine instances and / or bare metal instances. Figure 1 As shown in , compute instances D1 and D2 become part of subnet-2 via the VNICs associated with the respective compute instances. Figure 1 In the embodiment shown in , the overlay IP address of computing instance D1 is 10.1.0.2 and the MAC address is MM1, while the private overlay IP address of computing instance D2 is 10.1.0.3 and the MAC address is MM2. Each computing instance in subnet-2 (including computing instances D1 and D2) has a default route to VCN VR 105 using IP address 10.1.0.1, which is the IP address of the port of VCN VR 105 for subnet-2.

[0130] VCN A 104 may also include one or more load balancers. For example, a load balancer may be provided for a subnet, and the load balancer may be configured to load balance traffic across multiple computing instances on the subnet. A load balancer may also be provided to load balance traffic across subnets in the VCN.

[0131] A specific computing instance deployed on VCN 104 can communicate with a variety of different endpoints. These endpoints can include endpoints hosted by CSPI 200 and endpoints external to CSPI 200. Endpoints hosted by CSPI 101 can include: endpoints on the same subnet as a specific computing instance (e.g., communication between two computing instances in subnet-1); endpoints on different subnets but within the same VCN (e.g., communication between a computing instance in subnet-1 and a computing instance in subnet-2); endpoints in different VCNs in the same region (e.g., communication between a computing instance in subnet-1 and an endpoint in a VCN in the same region 106 or 110, communication between a computing instance in subnet-1 and an endpoint in a service point 110 in the same region); or endpoints in VCNs in different regions (e.g., communication between a computing instance in subnet-1 and an endpoint in a VCN in a different region 108). Computing instances in subnets hosted by CSPI 101 can also communicate with endpoints that are not hosted by CSPI 101 (i.e., external to CSPI 101). These external endpoints include endpoints in the customer's on-premises network 116, endpoints in other remote cloud-hosted networks 118, public endpoints 114 accessible via a public network (such as the Internet), and other endpoints.

[0132] The VNICs associated with the source and destination computing instances are used to facilitate communication between computing instances on the same subnet. For example, computing instance C1 in subnet-1 may want to send a packet to computing instance C2 in subnet-1. For a packet originating from a source computing instance and whose destination is another computing instance in the same subnet, the packet is first processed by the VNIC associated with the source computing instance. The processing performed by the VNIC associated with the source computing instance may include determining the destination information of the packet from the packet header, identifying any policies (e.g., security lists) configured for the VNIC associated with the source computing instance, determining the next hop for the packet, performing any packet encapsulation / decapsulation functions as needed, and then forwarding / routing the packet to the next hop, with the purpose of facilitating communication of the packet to its intended destination. When the destination computing instance is in the same subnet as the source computing instance, the VNIC associated with the source computing instance is configured to identify the VNIC associated with the destination computing instance and forward the packet to the VNIC for processing. The VNIC associated with the destination computing instance is then executed and the packet is forwarded to the destination computing instance.

[0133] For packets to be delivered from a compute instance in a subnet to an endpoint in a different subnet in the same VCN, communication is facilitated through the VNICs associated with the source and destination compute instances and the VCN VRs. Figure 1 Compute instance C1 in subnet-1 wants to send a packet to compute instance D1 in subnet-2, then the packet is first processed by the VNIC associated with compute instance C1. The VNIC associated with compute instance C1 is configured to route the packet to VCN VR 105 using the default route or port 10.0.0.1 of the VCN VR. VCN VR 105 is configured to route the packet to subnet-2 using port 10.1.0.1. The VNIC associated with D1 then receives and processes the packet and the VNIC forwards the packet to compute instance D1.

[0134] For packets to be transmitted from a compute instance in VCN 104 to an endpoint outside of VCN 104, communication is facilitated by a VNIC associated with the source compute instance, a VCN VR 105, and a gateway associated with VCN 104. One or more types of gateways may be associated with VCN 104. A gateway is an interface between a VCN and another endpoint, where the other endpoint is outside of the VCN. A gateway is a layer 3 / IP layer concept and enables a VCN to communicate with an endpoint outside of the VCN. Thus, a gateway facilitates the flow of traffic between a VCN and other VCNs or networks. A variety of different types of gateways may be configured for a VCN to facilitate different types of communications with different types of endpoints. Depending on the gateway, communications may be conducted over a public network (e.g., the Internet) or over a private network. Various communication protocols may be used for these communications.

[0135] For example, compute instance C1 may want to communicate with an endpoint outside of VCN 104. The packet may first be processed by a VNIC associated with source compute instance C1. VNIC processing determines that the destination of the packet is outside of C1's subnet-1. The VNIC associated with C1 may forward the packet to VCN VR 105 for VCN 104. VCN VR 105 then processes the packet and, as part of the processing, determines a specific gateway associated with VCN 104 as a next hop for the packet based on the packet's destination. VCN VR 105 may then forward the packet to the specific identified gateway. For example, if the destination is an endpoint within a customer's on-premises network, the packet may be forwarded by VCN VR 105 to a dynamic routing gateway (DRG) gateway 122 configured for VCN 104. The packet may then be forwarded from the gateway to the next hop to facilitate delivery of the packet to its final intended destination.

[0136] A variety of different types of gateways can be configured for a VCN. Examples of gateways that can be configured for a VCN are in Figure 1 An example of a gateway associated with a VCN is also shown in FIG. Figure 1 , Figure 2 , Figure 3 and Figure 4 134, 136, 138, 234, 236, 238, 334, 336, 338, 434, 436, and 438) and are described below. Figure 1As shown in the embodiment depicted in , a dynamic routing gateway (DRG) 122 can be added to or associated with a customer VCN 104 and provide a path for private network traffic communication between the customer VCN 104 and another endpoint, where the other endpoint can be a customer's on-premises network 116, a VCN 108 in a different region of CSPI 101, or another remote cloud network 118 not hosted by CSPI 101. The customer's on-premises network 116 can be a customer network or a customer data center built using the customer's resources. Access to the customer's on-premises network 116 is generally very restricted. For customers who have both a customer's on-premises network 116 and one or more VCNs 104 deployed or hosted in the cloud by CSPI 101, the customer may want their on-premises network 116 and their cloud-based VCN 104 to be able to communicate with each other. This enables customers to build an extended hybrid environment that includes the customer's VCN 104 hosted by CSPI 101 and their on-premises network 116. DRG 122 enables this communication. To enable such communications, a communication channel 124 is set up, where one endpoint of the channel is located in the customer's on-premises network 116 and the other endpoint is located in the CSPI 101 and connected to the customer VCN 104. The communication channel 124 can pass through a public communication network (such as the Internet) or a private communication network. A variety of different communication protocols can be used, such as IPsec VPN technology over a public communication network (such as the Internet), Oracle's FastConnect technology that uses a private network instead of a public network, etc. The equipment or equipment that forms one endpoint of the communication channel 124 in the customer's on-premises network 116 is called customer premises equipment (CPE), such as Figure 1 On the CSPI 101 side, the endpoint may be a host machine executing DRG 122.

[0137] In some embodiments, a remote peer connection (RPC) can be added to the DRG, which allows a customer to peer one VCN with another VCN in a different region. Using such an RPC, a customer VCN 104 can connect to a VCN 108 in another region using a DRG 122. The DRG 122 can also be used to communicate with other remote cloud networks 118 that are not hosted by the CSPI 101 (such as Microsoft Azure Cloud, Amazon AWS Cloud, etc.).

[0138] like Figure 1As shown in , an Internet Gateway (IGW) 120 can be configured for a customer VCN 104, which enables computing instances on the VCN 104 to communicate with public endpoints 114 accessible via a public network, such as the Internet. The IGW 120 is a gateway that connects the VCN to a public network, such as the Internet. The IGW 120 enables public subnets within a VCN, such as VCN 104, where resources in the public subnet have public overlay IP addresses, to directly access public endpoints 112 on a public network 114, such as the Internet. Using the IGW 120, a connection can be initiated from a subnet within the VCN 104 or from the Internet.

[0139] A network address translation (NAT) gateway 128 may be configured for a customer's VCN 104 and enables cloud resources in the customer's VCN that do not have dedicated public overlay IP addresses to access the Internet, and do so without exposing those resources to direct incoming Internet connections (e.g., L4-L7 connections). This enables private subnets within a VCN (such as Private Subnet-1 in VCN 104) to privately access public endpoints on the Internet. In a NAT gateway, connections can only be initiated from a private subnet to the public Internet, and connections cannot be initiated from the Internet to a private subnet.

[0140] In some embodiments, a service gateway (SGW) 126 may be configured for a customer VCN 104 and provide a path for private network traffic between the VCN 104 and service endpoints supported in the service network 110. In some embodiments, the service network 110 may be provided by a CSP and may provide a variety of services. An example of such a service network is Oracle's service network, which provides a variety of services available to customers. For example, a computing instance (e.g., a database system) in a private subnet of a customer VCN 104 may back up data to a service endpoint (e.g., an object storage device, Object Storage) without requiring a public IP address or access to the Internet. In some embodiments, a VCN may have only one SGW, and connections may only be initiated from a subnet within the VCN, not from the service network 110. If a VCN is peered with another, resources in the other VCN generally cannot access the SGW. Resources in an on-premises network connected to a VCN using FastConnect or VPN Connect may also use the service gateway configured for that VCN.

[0141] In some embodiments, the SGW 126 uses the concept of a service classless inter-domain routing (CIDR) label, which is a string that represents all regional public IP address ranges for a service or group of services of interest. Customers use the service CIDR label when they configure the SGW and associated routing rules to control traffic to the service. If the public IP address of the service changes in the future, the customer can optionally use it when configuring security rules without having to adjust them.

[0142] A Local Peer Gateway (LPG) 132 is a gateway that can be added to a customer VCN 104 and enables the VCN 104 to peer with another VCN in the same region. Peering refers to the VCNs communicating using private IP addresses without the traffic having to traverse a public network such as the Internet or without routing the traffic through the customer's on-premises network 116. In a preferred embodiment, the VCN has a separate LPG for each peer it establishes. Local peering or VCN peering is a common practice for establishing network connectivity between different applications or infrastructure management functions.

[0143] Service providers (such as providers of services in service network 110) can provide access to services using different access models. According to the public access model, the service can be exposed as a public endpoint that can be publicly accessed by a computing instance in a customer VCN via a public network (such as the Internet), and / or can be privately accessed via SGW 126. According to a specific private access model, the service can be accessed as a private IP endpoint in a private subnet in the customer's VCN. This is called private endpoint (PE) access and enables service providers to expose their services as instances in the customer's private network. Private endpoint resources represent services within the customer's VCN. Each PE appears as a VNIC (called a PE-VNIC, with one or more private IPs) in a subnet selected by the customer in the customer's VCN. Therefore, PE provides a way to present services in a private customer VCN subnet using VNICs. Since the endpoint is exposed as a VNIC, all features associated with the VNIC (such as routing rules, security lists, etc.) can now be used for the PE VNIC.

[0144] Service providers can register their services to enable access through PEs. Providers can associate policies with services, which limits the visibility of the service to customer tenancies. Providers can register multiple services under a single virtual IP address (VIP), especially for multi-tenant services. There can be multiple such private endpoints (in multiple VCNs) representing the same service.

[0145] The compute instances in the private subnet can then access the service using the private IP address of the PE VNIC or the service DNS name. The compute instances in the customer VCN can access the service by sending traffic to the private IP address of the PE in the customer VCN. The private access gateway (PAGW) 130 is a gateway resource that can be attached to a service provider VCN (e.g., a VCN in the service network 110) that acts as an entry / exit point for all traffic from / to the private endpoints of the customer subnet. PAGW 130 enables providers to scale the number of PE connections without utilizing their internal IP address resources. Providers only need to configure one PAGW for any number of services registered in a single VCN. Providers can represent services as private endpoints in multiple VCNs for one or more customers. From the customer's perspective, the PE VNIC is not attached to the customer's instance, but appears to be attached to the service that the customer wants to interact with. Traffic to the private endpoint is routed to the service via PAGW 130. These are called customer-to-service private connections (C2S connections).

[0146] The PE concept can also be used to extend private access for services to the customer's on-premises networks and data centers by allowing traffic to flow through FastConnect / IPsec links and private endpoints in the customer's VCN. Private access to services can also be extended to the customer's peer VCNs by allowing traffic to flow between the LPG 132 and the PEs in the customer's VCN.

[0147] A customer can control routing in a VCN at the subnet level, so a customer can specify which subnets in a customer's VCN (such as VCN 104) use each gateway. The routing table of a VCN is used to decide whether to allow traffic to leave the VCN through a particular gateway. For example, in a particular instance, a routing table for a public subnet within a customer VCN 104 can send non-local traffic through IGW 120. A routing table for a private subnet within the same customer VCN 104 can send traffic destined for a CSP service through SGW 126. All remaining traffic can be sent via NAT gateway 128. The routing table only controls traffic that leaves the VCN.

[0148] The security list associated with the VCN is used to control the traffic that enters the VCN via the gateway via an inbound connection. All resources in the subnet use the same routing table and security list. The security list can be used to control specific types of traffic that are allowed to enter and exit the instances in the subnet of the VCN. Security list rules can include ingress (inbound) and egress (outbound) rules. For example, an ingress rule can specify a range of allowed source addresses, and an egress rule can specify a range of allowed destination addresses. Security rules can specify specific protocols (e.g., TCP, ICMP), specific ports (e.g., 22 for SSH, 3389 for Windows RDP), etc. In some embodiments, the operating system of the instance can enforce its own firewall rules that comply with the security list rules. Rules can be stateful (e.g., tracking connections and automatically allowing responses without explicit security list rules for response traffic) or stateless.

[0149] Access from a customer VCN (i.e., through resources or compute instances deployed on VCN 104) can be categorized as public access, private access, or dedicated access. Public access refers to an access model that uses a public IP address or NAT to access a public endpoint. Private access enables customer workloads (e.g., resources in a private subnet) in VCN 104 with private IP addresses to access services without traversing a public network such as the Internet. In certain embodiments, CSPI 101 enables customer VCN workloads with private IP addresses to access (public service endpoints of) services using a service gateway. Thus, the service gateway provides a private access model by establishing a virtual link between a customer's VCN and a public endpoint of a service that resides outside of the customer's private network.

[0150] Additionally, CSPI can provide dedicated public access using technologies such as FastConnect public peering, where a customer on-premises instance can use a FastConnect connection to access one or more services in a customer's VCN without traversing a public network such as the Internet. CSPI can also provide dedicated private access using FastConnect private peering, where a customer on-premises instance with a private IP address can use a FastConnect connection to access the customer's VCN workloads. FastConnect is a network connectivity alternative to using the public Internet to connect a customer's on-premises network to CSPI and its services. FastConnect provides a simple, flexible, and cost-effective way to create dedicated and private connections with higher bandwidth options and a more reliable and consistent network experience compared to Internet-based connections.

[0151] Figure 1and the accompanying description above describe various virtualized components in an example virtual network.As described above, a virtual network is built on an underlying physical or substrate network. Figure 2 A simplified architecture diagram of physical components in a physical network within a CSPI 200 that provides an underlying virtual network according to certain embodiments is depicted. As shown, the CSPI 200 provides a distributed environment that includes components and resources (e.g., computing, storage, and network resources) provided by a cloud service provider (CSP). These components and resources are used to provide cloud services (e.g., IaaS services) to subscribing customers (i.e., customers who have subscribed to one or more services provided by the CSP). Based on the services subscribed by the customer, a subset of the resources of the CSPI 200 (e.g., computing, storage, and network resources) is provisioned to the customer. The customer can then build his or her own cloud-based (i.e., CSPI-hosted) customizable and private virtual network using the physical computing, storage, and networking resources provided by the CSPI 200. As indicated above, these customer networks are referred to as virtual cloud networks (VCNs). Customers can deploy one or more customer resources, such as computing instances, on these customer VCNs. The computing instances can be in the form of virtual machines, bare metal instances, etc. The CSPI 200 provides a collection of infrastructure and complementary cloud services that enable customers to build and run a wide range of applications and services in a highly available hosting environment.

[0152] exist Figure 2 In the example embodiment depicted in , the physical components of CSPI 200 include one or more physical host machines or physical servers (e.g., 202, 206, 208), network virtualization devices (NVDs) (e.g., 210, 212), top-of-rack (TOR) switches (e.g., 214, 216), and physical networks (e.g., 218), as well as switches in physical network 218. The physical host machines or servers can host and execute various computing instances that participate in one or more subnets of the VCN. The computing instances can include virtual machine instances and bare metal instances. For example, Figure 1 The various computational examples depicted in Figure 2 The physical host machines depicted in the figure host the virtual machine compute instances in the VCN. The virtual machine compute instances in the VCN can be executed by one host machine or multiple different host machines. The physical host machines can also host virtual host machines, container-based hosts or functions, etc. Figure 1 The VNIC and VCN VR depicted in the figure can be represented by Figure 2 The NVD implementation depicted in FIG. Figure 1 The gateway depicted in can be Figure 2 The host machine and / or NVD described in .

[0153] A host machine or server may execute a hypervisor (also known as a virtual machine monitor or VMM) that creates and enables a virtualized environment on the host machine. A virtualized or virtualized environment facilitates cloud-based computing. One or more computing instances may be created, executed, and managed on the host machine by a hypervisor on the host machine. The hypervisor on the host machine enables the physical computing resources (e.g., computing, memory, and network resources) of the host machine to be shared between the various computing instances executed by the host machine.

[0154] For example, Figure 2 As depicted in , host machines 202 and 208 execute hypervisors 260 and 266, respectively. These hypervisors may be implemented using software, firmware, or hardware, or a combination thereof. Typically, a hypervisor is a process or software layer that sits on top of an operating system (OS) of a host machine, which in turn executes on a hardware processor of the host machine. A hypervisor provides a virtualized environment by enabling the physical computing resources of the host machine (e.g., processing resources such as processors / cores, memory resources, network resources) to be shared among various virtual machine computing instances executed by the host machine. For example, in Figure 2 In the present invention, the hypervisor 260 can be located on top of the OS of the host machine 202 and enable the computing resources (e.g., processing, memory, and network resources) of the host machine 202 to be shared between computing instances (e.g., virtual machines) executed by the host machine 202. The virtual machine can have its own operating system (called a guest operating system), which can be the same as or different from the OS of the host machine. The operating system of a virtual machine executed by the host machine can be the same as or different from the operating system of another virtual machine executed by the same host machine. Therefore, the hypervisor enables multiple operating systems to be executed simultaneously while sharing the same computing resources of the host machine. Figure 2 The host machines depicted in FIG. 1 may have the same or different types of hypervisors.

[0155] Compute instances can be virtual machine instances or bare metal instances. Figure 2 , compute instance 268 on host machine 202 and compute instance 274 on host machine 208 are examples of virtual machine instances. Host machine 206 is an example of a bare metal instance provided to a customer.

[0156] In some cases, the entire host machine can be supplied to a single customer, and one or more computing instances (or virtual machines or bare metal instances) hosted by the host machine all belong to the same customer. In other cases, the host machine can be shared between multiple customers (i.e., multiple tenants). In this multi-tenancy scenario, the host machine can host virtual machine computing instances belonging to different customers. These computing instances can be members of different VCNs of different customers. In certain embodiments, the bare metal computing instance is hosted by a bare metal server without a hypervisor. When supplying a bare metal computing instance, a single customer or tenant maintains control of the physical CPU, memory, and network interface of the host machine hosting the bare metal instance, and the host machine is not shared with other customers or tenants.

[0157] As previously described, each compute instance that is part of a VCN is associated with a VNIC that enables the compute instance to be a member of a subnet of the VCN. The VNIC associated with a compute instance facilitates the communication of packets or frames to and from the compute instance. The VNIC is associated with the compute instance when the compute instance is created. In some embodiments, for a compute instance executed by a host machine, the VNIC associated with the compute instance is executed by an NVD connected to the host machine. For example, in Figure 2 , host machine 202 executes virtual machine compute instance 268 associated with VNIC 276, and VNIC 276 is executed by NVD 210 connected to host machine 202. As another example, bare metal instance 272 hosted by host machine 206 is associated with VNIC 280 executed by NVD 212 connected to host machine 206. As yet another example, VNIC 284 is associated with compute instance 274 executed by host machine 208, and VNIC 284 is executed by NVD 212 connected to host machine 208.

[0158] For compute instances hosted by a host machine, the NVD connected to the host machine also executes the VCN VR corresponding to the VCN of which the compute instance is a member. Figure 2 In the embodiment depicted in , NVD 210 executes VCN VR 277 corresponding to the VCN of which compute instance 268 is a member. NVD 212 may also execute one or more VCN VRs 283 corresponding to the VCNs corresponding to the compute instances hosted by host machines 206 and 208.

[0159] The host machine may include one or more network interface cards (NICs) that enable the host machine to connect to other devices. The NIC on the host machine may provide one or more ports (or interfaces) that enable the host machine to communicatively connect to another device. For example, the host machine may connect to the NVD using one or more ports (or interfaces) provided on the host machine and on the NVD. The host machine may also connect to other devices (such as another host machine).

[0160] For example, in Figure 2 2, host machine 202 is connected to NVD 210 using link 220, which extends between port 234 provided by NIC 232 of host machine 202 and port 236 of NVD 210. Host machine 206 is connected to NVD 212 using link 224, which extends between port 246 provided by NIC 244 of host machine 206 and port 248 of NVD 212. Host machine 208 is connected to NVD 212 using link 226, which extends between port 252 provided by NIC 250 of host machine 208 and port 254 of NVD 212.

[0161] The NVD is in turn connected via communication links to top-of-rack (TOR) switches, which are connected to the physical network 218 (also referred to as a switch fabric). In some embodiments, the links between the host machine and the NVD and between the NVD and the TOR switches are Ethernet links. For example, in Figure 2 , NVDs 210 and 212 are connected to TOR switches 214 and 216 using links 228 and 230, respectively. In some embodiments, links 220, 224, 226, 228, and 230 are Ethernet links. A collection of host machines and NVDs connected to a TOR is sometimes referred to as a rack.

[0162] Physical network 218 provides a communication architecture that enables TOR switches to communicate with each other. Physical network 218 can be a multi-layer network. In some embodiments, physical network 218 is a multi-layer Clos network of switches, where TOR switches 214 and 216 represent leaf nodes of the multi-layer and multi-node physical switching network 218. Different Clos network configurations are possible, including but not limited to 2-layer networks, 3-layer networks, 4-layer networks, 5-layer networks, and general "n"-layer networks. Examples of Clos networks are described in Figure 5 and described below.

[0163] There may be various connection configurations between the host machine and the NVD, such as one-to-one configuration, many-to-one configuration, one-to-many configuration, etc. In a one-to-one configuration implementation, each host machine is connected to its own separate NVD. Figure 2 In , host machine 202 is connected to NVD 210 via NIC 232 of host machine 202. In a many-to-one configuration, multiple host machines are connected to one NVD. Figure 2 , host machines 206 and 208 are connected to the same NVD 212 via NICs 244 and 250, respectively.

[0164] In a one-to-many configuration, one host machine connects to multiple NVDs. Figure 3 An example within CSPI 300 is shown, where a host machine is connected to multiple NVDs. Figure 3 , a host machine 302 includes a network interface card (NIC) 304 that includes a plurality of ports 306 and 308. The host machine 300 is connected to a first NVD 310 via port 306 and link 320, and to a second NVD 312 via port 308 and link 322. Ports 306 and 308 may be Ethernet ports and links 320 and 322 between the host machine 302 and the NVDs 310 and 312 may be Ethernet links. The NVD 310 is in turn connected to a first TOR switch 314 and the NVD 312 is connected to a second TOR switch 316. The links between the NVDs 310 and 312 and the TOR switches 314 and 316 may be Ethernet links. The TOR switches 314 and 316 represent layer 0 switching devices in a multi-layer physical network 318.

[0165] Figure 3 The arrangement depicted in FIG. 3 provides two separate physical network paths from the physical switch network 318 to the host machine 302: the first path traverses the TOR switch 314 to the NVD 310 and then to the host machine 302, and the second path traverses the TOR switch 316 to the NVD 312 and then to the host machine 302. The separate paths provide enhanced availability (referred to as high availability) of the host machine 302. If a problem occurs in one of the paths (e.g., a link in one of the paths is broken) or a device (e.g., a particular NVD is not running), then the other path can be used for communication with the host machine 302.

[0166] exist Figure 3 In the configuration depicted in , the host machine is connected to two different NVDs using two different ports provided by the host machine's NIC. In other embodiments, the host machine may include multiple NICs that enable the host machine to connect to multiple NVDs.

[0167] Return to reference Figure 2NVD is a physical device or component that performs one or more network and / or storage virtualization functions. NVD can be any device with one or more processing units (e.g., CPU, network processing unit (NPU), FPGA, packet processing pipeline, etc.), memory (including cache), and ports. Various virtualization functions can be performed by software / firmware executed by one or more processing units of NVD.

[0168] NVD can be implemented in a variety of different forms. For example, in some embodiments, NVD is implemented as an interface card called a smartNIC or an intelligent NIC with an onboard embedded processor. A smartNIC is a device that is independent of the NIC on the host machine. Figure 2 , NVDs 210 and 212 may be implemented as smartNICs connected to host machine 202 and host machines 206 and 208, respectively.

[0169] However, smartNIC is only one example of an NVD implementation. Various other implementations are possible. For example, in some other implementations, NVD or one or more functions performed by NVD can be incorporated into or performed by one or more host machines, one or more TOR switches, and other components of CSPI 200. For example, NVD can be implemented in a host machine, where the functions performed by NVD are performed by the host machine. As another example, NVD can be part of a TOR switch, or a TOR switch can be configured to perform the functions performed by NVD, which enables the TOR switch to perform various complex packet conversions for public clouds. TORs that perform the functions of NVD are sometimes referred to as smart TORs. In other implementations that provide virtual machine (VM) instances to customers instead of bare metal (BM) instances, the functions performed by NVD can be implemented inside the hypervisor of the host machine. In some other implementations, some of the functions of NVD can be offloaded to centralized services running on a group of host machines.

[0170] In some embodiments, such as when implemented as Figure 2 When using the smartNIC shown in FIG. 1 , the NVD may include multiple physical ports that enable it to connect to one or more host machines and one or more TOR switches. Ports on the NVD may be classified as host-facing ports (also referred to as "south ports") or network-facing or TOR-facing ports (also referred to as "north ports"). The host-facing ports of the NVD are the ports used to connect the NVD to the host machines. Figure 2 Examples of host-facing ports include port 236 on NVD 210 and ports 248 and 254 on NVD 212. The network-facing ports of the NVD are the ports used to connect the NVD to the TOR switch. Figure 2 Examples of network-facing ports include port 256 on NVD 210 and port 258 on NVD 212. Figure 2 As shown in FIG. 1 , NVD 210 is connected to TOR switch 214 using link 228 extending from port 256 of NVD 210 to TOR switch 214. Similarly, NVD 212 is connected to TOR switch 216 using link 230 extending from port 258 of NVD 212 to TOR switch 216.

[0171] NVD receives packets and frames (e.g., packets and frames generated by a compute instance hosted by the host machine) from a host machine via a host-facing port, and after performing necessary packet processing, may forward the packets and frames to a TOR switch via a network-facing port of NVD. NVD may receive packets and frames from a TOR switch via a network-facing port of NVD, and after performing necessary packet processing, may forward the packets and frames to a host machine via a host-facing port of NVD.

[0172] In some embodiments, there may be multiple ports and associated links between the NVD and the TOR switch. These ports and links may be aggregated to form a link aggregate group (referred to as a LAG) of multiple ports or links. Link aggregation allows multiple physical links between two endpoints (e.g., between the NVD and the TOR switch) to be treated as a single logical link. All physical links in a given LAG may operate in full-duplex mode at the same speed. LAG helps increase the bandwidth and reliability of the connection between the two endpoints. If one of the physical links in the LAG fails, the traffic will be dynamically and transparently reassigned to one of the other physical links in the LAG. Aggregated physical links deliver higher bandwidth than each individual link. Multiple ports associated with the LAG are treated as a single logical port. Traffic may be load balanced between multiple physical links of the LAG. One or more LAGs may be configured between two endpoints. The two endpoints may be located between the NVD and the TOR switch, between the host machine and the NVD, and so on.

[0173] NVD implements or performs network virtualization functions. These functions are performed by software / firmware executed by NVD. Examples of network virtualization functions include, but are not limited to: packet encapsulation and decapsulation functions; functions for creating VCN networks; functions for implementing network policies, such as VCN security lists (firewall) functionality; functions for facilitating packet routing and forwarding to and from computing instances in the VCN; and the like. In some embodiments, upon receiving a packet, NVD is configured to execute a packet processing pipeline to process the packet and determine how to forward or route the packet. As part of this packet processing pipeline, NVD may execute one or more virtual functions associated with an overlay network, such as executing a VNIC associated with a computer instance in the VCN, executing a virtual router (VR) associated with the VCN, encapsulation and decapsulation of packets to facilitate forwarding or routing in a virtual network, execution of certain gateways (e.g., local peer gateways), implementation of security lists, network security groups, network address translation (NAT) functionality (e.g., translating public IPs to private IPs on a host-by-host basis), throttling functions, and other functions.

[0174] In some embodiments, the packet processing data path in NVD may include multiple packet pipelines, each pipeline consisting of a series of packet transformation stages. In some embodiments, after receiving a packet, the packet is parsed and classified into a single pipeline. The packet is then processed in a linear manner, one stage after another, until the packet is either discarded or sent out through the interface of NVD. These stages provide basic functional packet processing building blocks (e.g., verifying headers, enforcing throttling, inserting new layer 2 headers, enforcing L4 firewalls, VCN encapsulation / decapsulation, etc.) so that new pipelines can be built by combining existing stages, and new functionality can be added by creating new stages and plugging them into existing pipelines.

[0175] NVD can perform control plane and data plane functions corresponding to the control plane and data plane of the VCN. An example of a VCN control plane is also Figure 1 , Figure 2 , Figure 3 and Figure 4 An example of a VCN data plane is depicted in FIG. 1 (see reference numerals 116, 216, 316, and 416) and described below. Figure 1 , Figure 2 , Figure 3 and Figure 4(see reference numerals 118, 218, 318, and 418) and described below. Control plane functions include functions for configuring the network that controls how data is forwarded (e.g., setting routes and routing tables, configuring VNICs, etc.). In some embodiments, a VCN control plane is provided that centrally calculates all overlay-to-substrate mappings and publishes them to NVD and virtual network edge devices (such as various gateways, such as DRG, SGW, IGW, etc.). Firewall rules can also be published using the same mechanism. In some embodiments, the NVD only obtains mappings associated with the NVD. Data plane functions include functions for actually routing / forwarding packets based on the configuration set using the control plane. The VCN data plane is implemented by encapsulating the customer's network packets before they traverse the substrate network. Encapsulation / decapsulation functionality is implemented on the NVD. In some embodiments, the NVD is configured to intercept all network packets entering and leaving the host machine and perform network virtualization functions.

[0176] As indicated above, NVD performs various virtualization functions, including VNIC and VCN VR. NVD can execute VNICs associated with computing instances hosted by one or more host machines connected to the VNIC. For example, Figure 2 , NVD 210 executes functionality of VNIC 276 associated with compute instance 268 hosted by host machine 202 connected to NVD 210. As another example, NVD 212 executes VNIC 280 associated with bare metal compute instance 272 hosted by host machine 206, and executes VNIC 284 associated with compute instance 274 hosted by host machine 208. The host machines may host compute instances belonging to different VCNs (belonging to different customers), and the NVD connected to the host machines may execute the VNICs corresponding to the compute instances (i.e., perform VNIC-related functionality).

[0177] NVD also implements a VCN virtual router corresponding to the VCN of the compute instance. Figure 2 , NVD 210 executes VCN VR 277 corresponding to the VCN to which compute instance 268 belongs. NVD 212 executes one or more VCN VRs 283 corresponding to one or more VCNs to which compute instances hosted by host machines 206 and 208 belong. In some embodiments, the VCN VR corresponding to the VCN is executed by all NVDs connected to the host machine hosting at least one compute instance belonging to the VCN. If the host machine hosts compute instances belonging to different VCNs, then the NVDs connected to the host machine can execute VCN VRs corresponding to those different VCNs.

[0178] In addition to the VNICs and VCN VRs, NVD may also execute various software (e.g., daemons) and include one or more hardware components that facilitate the various network virtualization functions performed by NVD. For simplicity, these various components are grouped together as Figure 2 . For example, NVD 210 includes packet processing component 286 and NVD 212 includes packet processing component 288. For example, a packet processing component for NVD may include a packet processor configured to interact with the port and hardware interface of NVD to monitor all packets received by NVD and transmitted using NVD and store network information. Network information may, for example, include network flow information and per-flow information (e.g., per-flow statistics) that identify different network flows handled by NVD. In some embodiments, network flow information may be stored on a per-VNIC basis. The packet processor may perform packet-by-packet manipulation and implement stateful NAT and L4 firewall (FW). As another example, the packet processing component may include a replication agent configured to copy information stored by NVD to one or more different replication target repositories. As yet another example, the packet processing component may include a logging agent configured to perform the logging function of NVD. The packet processing component may also include software for monitoring the performance and health of NVD and possibly also monitoring the status and health of other components connected to NVD.

[0179] Figure 1 Components of an example virtual or overlay network are shown, including a VCN, subnets within the VCN, compute instances deployed on the subnets, VNICs associated with the compute instances, VRs for the VCN, and a set of gateways configured for the VCN. Figure 1 The overlay component depicted in can be represented by Figure 2 For example, a compute instance in a VCN can be executed or hosted by one or more of the physical components depicted in FIG. Figure 2 . For a compute instance hosted by a host machine, a VNIC associated with the compute instance is typically executed by an NVD connected to the host machine (i.e., VNIC functionality is provided by the NVD connected to the host machine). VCN VR functionality for a VCN is executed by all NVDs connected to the host machines that host or execute compute instances as part of the VCN. Gateways associated with a VCN may be executed by one or more different types of NVDs. For example, some gateways may be executed by smartNICs, while other gateways may be executed by one or more host machines or other implementations of NVDs.

[0180] As described above, a compute instance in a customer VCN can communicate with a variety of different endpoints, where the endpoint can be in the same subnet as the source compute instance, in a different subnet but in the same VCN as the source compute instance, or with an endpoint located outside the VCN of the source compute instance. These communications are facilitated using VNICs associated with the compute instances, VCN VRs, and gateways associated with the VCN.

[0181] For communication between two computing instances on the same subnet in a VCN, VNICs associated with the source and destination computing instances are used to facilitate communication. The source and destination computing instances may be hosted by the same host machine or different host machines. Packets originating from the source computing instance may be forwarded from the host machine hosting the source computing instance to the NVD connected to the host machine. On the NVD, packets are processed using a packet processing pipeline, which may include the execution of a VNIC associated with the source computing instance. Since the destination endpoint for the packet is within the same subnet, the execution of the VNIC associated with the source computing instance causes the packet to be forwarded to the NVD executing the VNIC associated with the destination computing instance, which then processes the packet and forwards it to the destination computing instance. The VNICs associated with the source and destination computing instances may be executed on the same NVD (e.g., when the source and destination computing instances are hosted by the same host machine) or on different NVDs (e.g., when the source and destination computing instances are hosted by different host machines connected to different NVDs). The VNIC may use the routing / forwarding table stored by the NVD to determine the next hop for the packet.

[0182] For packets to be transmitted from a compute instance in a subnet to an endpoint in a different subnet in the same VCN, packets originating from the source compute instance are transmitted from the host machine hosting the source compute instance to the NVD connected to the host machine. On the NVD, the packets are processed using a packet processing pipeline, which may include the execution of one or more VNICs and VRs associated with the VCN. For example, as part of the packet processing pipeline, the NVD executes or calls functionality associated with the VNIC associated with the source compute instance (also referred to as executing the VNIC). The functionality executed by the VNIC may include checking the VLAN tag on the packet. Since the destination of the packet is outside the subnet, the VCN VR functionality is next called and executed by the NVD. The VCN VR then routes the packet to the NVD executing the VNIC associated with the destination compute instance. The VNIC associated with the destination compute instance then processes the packet and forwards the packet to the destination compute instance. The VNICs associated with the source and destination compute instances may be executed on the same NVD (e.g., when the source and destination compute instances are hosted by the same host machine) or on different NVDs (e.g., when the source and destination compute instances are hosted by different host machines connected to different NVDs).

[0183] If the destination for the packet is outside the VCN of the source compute instance, then the packet originating from the source compute instance is transmitted from the host machine hosting the source compute instance to the NVD connected to the host machine. The NVD executes the VNIC associated with the source compute instance. Since the destination endpoint of the packet is outside the VCN, the packet is then processed by the VCN VR for the VCN. The NVD invokes VCN VR functionality, which causes the packet to be forwarded to the NVD executing the appropriate gateway associated with the VCN. For example, if the destination is an endpoint within the customer's on-premises network, then the packet can be forwarded by the VCN VR to the NVD executing the DRG gateway configured for the VCN. The VCN VR can be executed on the same NVD as the NVD executing the VNIC associated with the source compute instance, or by a different NVD. The gateway can be executed by an NVD, which can be a smartNIC, a host machine, or other NVD implementation. The packet is then processed by the gateway and forwarded to the next hop, which facilitates delivery of the packet to its intended destination endpoint. For example, in Figure 2, a packet originating from compute instance 268 may be transmitted from host machine 202 to NVD 210 via link 220 (using NIC 232). On NVD 210, VNIC 276 is invoked because it is the VNIC associated with source compute instance 268. VNIC 276 is configured to inspect information encapsulated in the packet and determine a next hop for forwarding the packet with the intent of facilitating delivery of the packet to its intended destination endpoint, and then forward the packet to the determined next hop.

[0184] Compute instances deployed on a VCN can communicate with a variety of different endpoints. These endpoints may include endpoints hosted by CSPI 200 and endpoints external to CSPI 200. Endpoints hosted by CSPI 200 may include instances in the same VCN or other VCNs, which may be the customer's VCN or a VCN that does not belong to the customer. Communications between endpoints hosted by CSPI 200 may be performed over physical network 218. Compute instances may also communicate with endpoints that are not hosted by CSPI 200 or that are external to CSPI 200. Examples of these endpoints include endpoints within a customer's on-premises network or data center, or public endpoints accessible over a public network such as the Internet. Communications with endpoints external to CSPI 200 may be performed over a public network (e.g., the Internet) using various communication protocols. Figure 2 not shown) or a dedicated network ( Figure 2 (not shown) to execute.

[0185] Figure 2 The architecture of CSPI 200 depicted in the drawings is merely exemplary and is not intended to be limiting. In alternative embodiments, variations, alternatives, and modifications are possible. For example, in some embodiments, CSPI 200 may have a Figure 2 The systems or components shown in FIG. 5 may include more or fewer systems or components, may combine two or more systems, or may have different system configurations or arrangements. Figure 2 The systems, subsystems, and other components depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device).

[0186] Figure 4 Depicted is a connection between a host machine and an NVD for providing I / O virtualization to support multi-tenancy in accordance with certain embodiments. Figure 4As depicted in , a host machine 402 executes a hypervisor 404 that provides a virtualized environment. The host machine 402 executes two virtual machine instances, VM1 406 belonging to customer / tenant #1 and VM2 408 belonging to customer / tenant #2. The host machine 402 includes a physical NIC 410 connected to an NVD 412 via a link 414. Each compute instance is attached to a VNIC executed by the NVD 412. Figure 4 In the embodiment of FIG. 4 , VM1 406 is attached to VNIC-VM1 420 and VM2 408 is attached to VNIC-VM2 422 .

[0187] like Figure 4 As shown in FIG, NIC 410 includes two logical NICs, logical NIC A 416 and logical NIC B 418. Each virtual machine is attached to and configured to work with its own logical NIC. For example, VM1 406 is attached to logical NIC A 416 and VM2 408 is attached to logical NIC B 418. Although host machine 402 includes only one physical NIC 410 shared by multiple tenants, each tenant's virtual machines believe they have their own host machine and network card because of the logical NICs.

[0188] In some embodiments, each logical NIC is assigned its own VLAN ID. Thus, a particular VLAN ID is assigned to logical NIC A 416 for tenant #1, and a separate VLAN ID is assigned to logical NIC B 418 for tenant #2. When a packet is transmitted from VM1 406, a tag assigned to tenant #1 is appended to the packet by the hypervisor, and the packet is then transmitted from the host machine 402 to the NVD 412 via link 414. In a similar manner, when a packet is transmitted from VM2 408, a tag assigned to tenant #2 is appended to the packet by the hypervisor, and the packet is then transmitted from the host machine 402 to the NVD 412 via link 414. Accordingly, a packet 424 transmitted from the host machine 402 to the NVD 412 has an associated tag 426 that identifies the particular tenant and the associated VM. On the NVD, for a packet 424 received from the host machine 402, a label 426 associated with the packet is used to determine whether the packet is processed by VNIC-VM1 420 or VNIC-VM2 422. The packet is then processed by the corresponding VNIC. Figure 4 The configuration described in enables each tenant's compute instances to believe that they have their own host machine and NIC. Figure 4 The setup described in provides I / O virtualization to support multi-tenancy.

[0189] Figure 5A simplified block diagram of a physical network 500 is depicted in accordance with certain embodiments. Figure 5 The embodiments depicted in are structured as Clos networks. A Clos network is a specific type of network topology designed to provide connection redundancy while maintaining high bisection bandwidth and maximum resource utilization. A Clos network is a non-blocking, multi-stage or multi-layer switching network, where the number of stages or layers can be two, three, four, five, etc. Figure 5 The embodiment depicted in is a 3-layer network, including layer 1, layer 2, and layer 3. TOR switch 504 represents a layer 0 switch in a Clos network. One or more NVDs are connected to the TOR switch. The layer 0 switch is also called the edge device of the physical network. The layer 0 switch is connected to the layer 1 switch, which is also called the leaf switch. Figure 5 In the embodiment depicted in , a set of "n" layer 0TOR switches is connected to a set of "n" layer 1 switches and forms a cluster (pod). Each layer 0 switch in a cluster is interconnected to all layer 1 switches in the cluster, but there is no switch connectivity between clusters. In some embodiments, two clusters are referred to as blocks. Each block is served by or connected to a set of "n" layer 2 switches (sometimes called backbone switches). There can be several blocks in the physical network topology. The layer 2 switches are in turn connected to "n" layer 3 switches (sometimes called super backbone switches). Communication of data packets over the physical network 500 is typically performed using one or more layer 3 communication protocols. Typically, all layers of the physical network (except the TOR layer) are n-way redundant, thus allowing high availability. Policies can be specified for clusters and blocks to control the visibility of switches to each other in the physical network, thereby enabling the expansion (scale) of the physical network.

[0190] A Clos network is characterized by a fixed maximum number of hops from one layer 0 switch to another layer 0 switch (or from an NVD connected to a layer 0 switch to another NVD connected to a layer 0 switch). For example, in a 3-layer Clos network, a packet takes at most seven hops to reach from one NVD to another NVD, where the source and destination NVDs are connected to the leaf layer of the Clos network. Similarly, in a 4-layer Clos network, a packet takes at most nine hops to reach from one NVD to another NVD, where the source and destination NVDs are connected to the leaf layer of the Clos network. Therefore, the Clos network architecture maintains consistent latency throughout the network, which is important for communications within and between data centers. The Clos topology is horizontally scalable and cost-effective. The bandwidth / throughput capacity of the network can be easily increased by adding more switches at various layers (e.g., more leaf switches and spine switches) and by increasing the number of links between switches in adjacent layers.

[0191] In some embodiments, each resource within the CSPI is assigned a unique identifier called a cloud identifier (CID). This identifier is included as part of the resource's information and can be used to manage the resource, for example, via the console or through an API. An example syntax for a CID is:

[0192] ocid1.<RESOURCE TYPE> . <realm>.[REGION][.FUTURE USE].<UNIQUE ID>

[0193] in,

[0194] ocid1: a text string indicating the version of the CID;

[0195] resource type: the type of resource (for example, instance, volume, VCN, subnet, user, group, etc.);

[0196] realm: The realm in which the resource resides. Example values ​​are "c1" for the commercial realm, "c2" for the government cloud realm, or "c3" for the federal government cloud realm. Each realm can have its own domain name;

[0197] region: The region where the resource is located. This part may be empty if the region does not apply to the resource;

[0198] future use: Reserved for future use.

[0199] uniqueID: The unique portion of the ID. The format can vary depending on the type of resource or service.

[0200] Virtual Private Label Cloud (vPLC)

[0201] This document describes techniques that enable cloud infrastructure in a region provided by a cloud service provider (CSP) for providing CSP-supplied cloud services to the CSP's customers to be used to create one or more virtual private clouds (referred to herein as virtual private label clouds or "vPLCs"). The vPLCs created according to the various techniques described in this disclosure can be used for different purposes. For example, in one use case, a vPLC can be created for a dealer that is a customer of the CSP, and the dealer can use the vPLC to provide one or more dealer-supplied cloud services to the dealer's customers. As another use case, the vPLC can be used as a virtual data center and can be associated with a domain that is different from the domain associated with the cloud infrastructure in the region provided by the CSP.

[0202] A cloud service provider (CSP) provides an infrastructure (referred to as cloud service provider infrastructure or CSPI or CSP-provided infrastructure) for providing one or more cloud services to the CSP's customers. CSP customers may include direct customers and / or distributors of the CSP. CSPI may include physical infrastructure components and virtual infrastructure components. Physical CSPI may include interconnected high-performance computing resources, including racks, servers and host machines, storage resources, network resources for forming a physical substrate or underlying network, network virtualization devices, and other resources. Virtual CSPI components may include components in the upper layer network, such as virtual machines, virtual routers and gateways, and other virtual components.

[0203] A CSP may offer various types of cloud services. These may include various types of services, including software as a service (SaaS), platform as a service (PaaS), infrastructure as a service (IaaS), etc. In certain embodiments, as described in the present disclosure, a CSP may offer "vPLC cloud services". Customers of a CSP may subscribe to one or more cloud services provided by the CSP. Customers may be any entity, such as an individual, organization, enterprise, etc.

[0204] Infrastructure as a Service (IaaS) is a specific type of cloud computing service. In the IaaS model, the CSP provides infrastructure that can be used by customers to build their own customizable networks and deploy customer resources. Therefore, the customer's resources and network are hosted in a distributed environment by the infrastructure provided by the CSP. This is different from traditional computing, in which the customer's resources and network are hosted by the infrastructure provided by the customer. In some embodiments, vPLC as a Service is an IaaS service in which the allocated infrastructure is used to create a virtual private label cloud for the customer. For example, if the CSP's customer is a reseller, then the vPLC created for the reseller can be used to provide cloud services provisioned by the reseller.

[0205] When a customer subscribes to or registers for a cloud service provided by a CSP, a lease (or account) will be created for the customer. The customer can then access one or more subscribed cloud resources associated with the account / lease via this account / lease. Each lease is identified by a lease identifier (T_ID) assigned to the lease and uniquely identifies the lease. The lease identifier is generated when the lease is created and associated with the lease. For example, when a direct customer of a CSP subscribes to a service provided by the CSP, a lease will be created for the customer, and a lease identifier that uniquely identifies the lease will be created for the direct customer. When a dealer subscribes to a vPLC service, a lease will be created for the dealer, and a lease identifier that uniquely identifies the lease will be created for the dealer. A lease can be a logical and secure compartment that contains all resources and services used by customers associated with a lease.

[0206] Resources within the infrastructure provided by the CSP are typically identified using unique resource identifiers (resource IDs or RIDs). Since these resources are provided in the cloud and used to provide cloud services, resource IDs are also referred to as cloud resource identifiers (or cloud IDs or CIDs). For example, in a cloud environment provided by Oracle Corporation, "ocids" or "Oracle Cloud Identifiers" are used to identify resources. In some embodiments, a resource ID is a globally unique identifier string that identifies a cloud resource. In some embodiments, a lease ID is a cloud resource ID (or cloud identifier (CID)).

[0207] As an example, a resource or cloud ID (CID) may be represented in the following format:

[0208] RID_version. <resourcetype> . <realm>.[REGION][.FUTURE USE].<UNIQUE ID>

[0209] in:

[0210] RID_version——refers to the version of the resource ID.

[0211] "resource type" - Identifies the specific resource type that the resource ID refers to. Examples of different resource types can include instances, virtual network subnets, tenancies, etc. For example, an "instance RID" identifies a compute instance.

[0212] "realm" and "region" - Indicates the location (realm and region) of the resource.

[0213] "Unique ID" - is the unique portion of the ID (e.g., a unique string used to identify a specific resource). Thus, a lease ID can identify a unique id within the leased resource type of the CID.

[0214] CIDs are generated for resources when they are created. Virtual machines, accounts, tenancies, authorization policies, virtual network subnets, access control lists (ACLs), and load balancers are all examples of cloud resources and can therefore be referenced by their respective CIDs. A tenancy is a logical container used to group other cloud resources that belong to the same cloud customer account.

[0215] When an entity becomes a customer of a CSP and subscribes to a vPLC service, a vPLC will be created for the customer and associated with the customer's lease. For example, if the customer is a dealer, a vPLC will be created for the dealer and associated with the dealer's lease. The vPLC created for the dealer is considered a resource and is assigned a unique resource identifier, which is called a vPLC identifier (vPLC ID), and the vPLC ID is associated with the dealer's lease. As described herein, for a vPLC created for a dealer, the vPLC ID of the vPLC is used to identify all resources and requests related to the vPLC. Each vPLC ID uniquely identifies a vPLC.

[0216] For example, in some embodiments, all resources allocated to a vPLC are tagged with the vPLC identifier of the vPLC. In some embodiments, the vPLC ID field is inserted into the representation of the CID. When a resource is associated with a vPLC, the vPLC ID corresponding to the vPLC may be provided in this field of the CID, otherwise if the resource is not associated with a vPLC, the field may be left blank.

[0217] For purposes of this disclosure, the following terminology is used for the sake of clarity.

[0218] CSP.Cn (or just Cn) - Identifies direct customers and non-reseller customers of the CSP. For example, "CSP.C1" refers to CSP's non-reseller direct customer C1, and "CSP.C2" refers to CSP's non-reseller direct customer C2.

[0219] CSP.Rn (or just Rn) - Identifies a reseller customer of the CSP. For example, "CSP.R1" refers to CSP's reseller customer R1, and "CSP.R2" refers to CSP's reseller customer R2.

[0220] Rn.Cm - A dealer can have its own customers. This identifies a specific customer of a specific dealer. For example, "R1.C1" refers to customer C1 of dealer R1, and "R2.C1" refers to customer C1 of dealer R2.

[0221] T.Cn - Identifies a lease for a non-reseller customer of a CSP. For example, "T.C1" refers to a lease for a direct non-reseller customer C1.

[0222] T.Rn - Identifies a lease with a dealer. For example, "T.R1" refers to a lease with dealer R1.

[0223] T.Rn.Cm - A dealer's customers each have their own lease. This identifies the lease associated with a specific customer of a specific dealer. For example, "T.R1.C1" refers to the lease associated with customer C1 of dealer R1, and "T.R2.C1" refers to the lease associated with customer C1 of dealer R2.

[0224] T_ID.T.Cn - Identifies the lease identifier that identifies the lease for a non-reseller customer of the CSP. For example, "T_ID.T.C1" refers to the lease ID for direct non-reseller customer C1.

[0225] T_ID.T.Rn - The lease identifier that identifies the dealer's lease. For example, "T_ID.T.R1" refers to the lease identifier for dealer R1.

[0226] T_ID.Rn.Cm - A rental identifier that identifies a rental associated with a specific customer of a specific dealership. For example, "T_ID.T.R1.C1" refers to a rental identifier for a rental associated with customer C1 of dealership R1, and "T_ID.T.R2.C1" refers to a rental identifier for a rental associated with customer C1 of dealership R2.

[0227] vPLC.Rn - Identifies a vPLC created for dealer Rn. For example, "vPLC.R1" identifies a lease created for and associated with dealer R1. This identifies a specific vPLC created for a dealer and associated with the dealer's lease.

[0228] vPLC_ID.vPLC.Rn - The vPLC identifier that identifies the vPLC created for a specific reseller. For example, "vPLC_ID.vPLC.R1" refers to the vPLC identifier of the vPLC created for reseller R1.

[0229] As described herein, a vPLC is created for a dealer that is a customer of a CSP. The vPLC is associated with the dealer's lease. In some embodiments, a vPLC ID identifying the vPLC may be associated with a lease ID identifying the dealer's lease. Accordingly, given a vPLC ID, the corresponding vPLC and the dealer for which the vPLC was created may be identified, including the dealer's lease and lease identifier.

[0230] The infrastructure provided by CSPI or CSP can be organized into domains, regions and data centers. A region refers to a local geographic area consisting of one or more connected data centers. Regions are independent of other regions and can be separated by a great distance, for example, across countries or even continents. A set of application programming interfaces (APIs) is provided for the infrastructure provided by the CSP in the region, wherein the API is used to perform operations using the infrastructure in the region. The operations that can be performed using the infrastructure in the region may include creating resources in the infrastructure in the region, accessing resources in the infrastructure in the region, performing operations involving resources in the infrastructure in the region, deleting resources from the infrastructure in the region, and performing other operations involving the infrastructure in the region.

[0231] The API set is specific to a region. Accordingly, the infrastructure provided by a CSP in a region is characterized by a set of APIs that can be used with the infrastructure in the region. The infrastructure provided by CSPs in different regions has different sets of APIs provided for the different regions. Accordingly, for the purposes of this application, the phrase "infrastructure provided by a CSP in a region" or "infrastructure provided by a CSP in a region" means that the infrastructure is characterized by a specific set of APIs provided for the region. Accordingly, a first set of APIs may be provided for a first region, a second set of APIs may be provided for a second region different from the first region, a third set of APIs may be provided for a third region different from the first and second regions, and so on. Thus, a specific set of APIs identifies the infrastructure provided by a CSP in a specific region. In other words, the infrastructure provided by a CSP in two separate regions will have two separate sets of APIs. Thus, a region is characterized by the infrastructure in the region and the set of APIs associated with the region for performing operations involving the regional infrastructure. The infrastructure provided by CSPs in a region is also referred to as "regional infrastructure" or "region-specific infrastructure."

[0232] For example, a CSP may provide a first infrastructure in Seattle and a second infrastructure in Portland. A first set of APIs may be provided for the first infrastructure in Seattle, and these APIs may be characterized by the following format:

[0233] "<service_identifier> .us-seattle.oci.oraclecloud.com"

[0234] A second set of APIs may be provided for the second infrastructure in Portland, and these APIs may be characterized by the following format:

[0235] "<service_identifier> .us-portland.oci.oraclecloud.com”

[0236] Note that Seattle and Portland are used here only as examples. The geographic locations of regions can be different. For example, there can be two or more regions in the same geographic city. For example, there can be a first region in a first building in a city, and a second region in a second separate building in the same city. As yet another example, there can be a first region on one floor of a building, and a second region on another floor of the building. As yet another example, for infrastructure provided by a CSP on one floor, a first portion of the infrastructure can belong to a first region associated with a first API set, and a second portion of the infrastructure can belong to a second region associated with a second API set that is different from the first API set.

[0237] The infrastructure provided by a CSP in a region may be organized into one or more data centers. For example, in a specific region where a CSP may have two buildings, each hosting infrastructure for providing cloud services, the infrastructure in the first building may be organized and referred to as a first data center, and the infrastructure in the second building may be organized and referred to as a second data center. As another example, in a specific region where a CSP may have a single building with multiple floors, each hosting infrastructure for providing cloud services, the infrastructure on the first floor may be organized and referred to as a first data center, and the infrastructure on the second floor may be organized and referred to as a second data center. As yet another example, in a specific region where a CSP may have infrastructure for providing cloud services, a first portion of the infrastructure may be organized and referred to as a first data center, and a second, independent portion of the infrastructure may be organized and referred to as a second data center.

[0238] A region may have one or more data centers. In some embodiments, all regional infrastructure may be contained in only one data center, while in other embodiments, the infrastructure in a region may be organized into multiple data centers. Each data center may include infrastructure resources provided by the CSP, such as computing, storage, and networking resources. Within a region, the data centers in a region may be organized into one or more availability domains (ADs). Availability domains are isolated from each other, fault-tolerant, and unlikely to fail at the same time. ADs are configured so that a failure at one AD in a region is unlikely to affect the availability of other ADs in the same region.

[0239] A domain refers to a logical collection of one or more areas. A domain can include one or more areas. Domains are typically isolated from each other and do not share data. Each domain has its own identity and trust profile (e.g., passwords, credentials, etc.). The identity and trust profile of the domain are configured so that cross-domain communication is not allowed. In this way, each domain represents an isolated domain. For example, a domain can be created for a government entity that is a customer of the CSP, another domain can be created for the commercial customers of the CSP, and a separate domain can also be created for certain private customers of the CSP, and so on. For areas within a domain, regional infrastructures can communicate with each other, but regional infrastructure associated with a first domain is not allowed to communicate with regional infrastructure associated with a second, different domain.

[0240] A cloud service reseller may be an entity such as a corporation (eg, a telecommunications company), a system integrator, a government agency, an IT department of a large company, a school, or the like.

[0241] Figure 6 is a simplified block diagram of a distributed environment 600 that includes infrastructure provided by a CSP in a region and illustrates an example of a virtual private label cloud (vPLC) hosted by the infrastructure provided by the CSP, according to certain embodiments. Figure 6 The distributed environment 600 depicted in FIG. 6 is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, substitutions, and modifications are possible. For example, in some embodiments, the distributed environment 600 may have more than Figure 6 More or fewer systems or components than shown in the drawings may be used, two or more systems may be combined, or there may be different system configurations or arrangements. Figure 6 The systems, subsystems, and other components depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device).

[0242] Figure 6 Depicted is an infrastructure provided by a CSP in region 601. Infrastructure 601 may be organized into one or more data centers. Infrastructure 601 may include memory or storage resources 622, computing resources 620, networking resources (not shown), and other physical and logical resources provided by the CSP. Storage resources 622 may include one or more volatile or non-volatile memory resources. Computing resources 620 may include one or more racks, each rack including one or more servers, and each server hosting one or more operating systems.

[0243] The regional infrastructure 601 provided by the CSP can be used by the CSP to provide one or more CSP-provided cloud services to one or more direct customers of the CSP, and can also be used to create one or more vPLCs. Figure 6 In the example depicted in , two vPLCs, namely vPLC.R1 604 and vPLC.R2 606, have been created for resellers R1 and R2, respectively. vPLC.R1 604 is used to provide one or more cloud services supplied by reseller R1 and branded by R1 to one or more customers of R1 642. vPLC.R2 606 is used to provide one or more cloud services supplied by reseller R2 and branded by R2 to one or more customers of R2 644.

[0244] As shown, infrastructure 601 can be communicatively coupled to computing devices used by users associated with direct customers 640 and computing devices used by users associated with customers of dealers (e.g., users associated with customer 642 of dealer R1 and users associated with customer 644 of dealer R2) via communication network 652. Communication network 652 can be of various types and can include one or more communication networks. Examples of communication network 652 include, but are not limited to, the Internet, a wide area network (WAN), a local area network (LAN), an Ethernet, a public or private network, a wired network, a wireless network, and the like, and combinations thereof. Different communication protocols can be used to facilitate communication, including wired and wireless protocols, such as the IEEE 802.XX protocol suite, TCP / IP, IPX, SAN, In general, the communication network 652 may include any infrastructure that facilitates communication with the infrastructure 601 .

[0245] like Figure 6 As shown in FIG. 6 , infrastructure 601 is partitioned into three securely isolated portions: (1) a first portion 602 for providing CSP-supplied and CSP-branded cloud services to one or more direct (or non-reseller) customers 640 of the CSP; (2) a second portion assigned to vPLC.R1 604 created for reseller R1; and (3) a third portion assigned to vPLC.R2 606 created for reseller R2. In some embodiments, the three portions are securely partitioned from each other.

[0246] The partitioning of resources includes partitioning storage resources 622 and computing resources 620. For example, Figure 6 As shown in FIG. 6 , storage resources 622 include a storage portion 622a included in the first portion 602 for providing cloud services provided by the CSP to direct customers of the CSP. Storage resources 622 also include a storage portion 622b allocated to vPLC.R1 604 and a storage portion 622c allocated to vPLC.R2 606. The storage or memory portion allocated to the vPLC may include one or more volatile and / or non-volatile memory resources.

[0247] Also like Figure 6 As shown in FIG. 6 , computing resources 620 are also partitioned. Computing resources 620 include computing portion 620a, which is included in first portion 602 and is used to provide cloud services provided by the CSP to direct customers of the CSP. Computing resources 620 also include portion 620b allocated to vPLC.R1 604 and portion 620c allocated to vPLC.R2 606.

[0248] As described above, a set of APIs are provided for accessing and performing functions related to the infrastructure provided by the CSP in the region. These API sets can be accessed by users associated with the direct customers 640 of the CSP using the set of endpoints 610-1 provided by the CSP. For example, a user can use one or more of the endpoints 610-1 to access and / or use the computing resources 620a or memory resources 622a allocated to the infrastructure for providing the cloud services provided by the CSP to the customers of the CSP. The endpoints in 610-1 can refer to URLs with associated fully qualified domain names (FQDNs) that are used to access the cloud services provided by the infrastructure 601. Examples of these endpoints:

[0249] "createVM.compute.us-seattle.oci.oraclecloud.com" - used to create VM

[0250] "deleteVM.compute.us-seattle.oci.oraclecloud.com" - used to delete a VM

[0251] "storeObject.storage.us-seattle.oci.oraclecloud.com" - used to store data

[0252] etc.

[0253] A user associated with a direct customer 640 of the CSP and connected to the infrastructure 601 via a communication network may use one or more of the endpoints 610 - 1 .

[0254] In some embodiments, a vPLC-specific endpoint set is created for each vPLC. Figure 6 As depicted in , endpoint set 612-1 is created for vPLC.R1, and endpoint set 614-1 is created for vPLC.R2. A user associated with customer 642 of dealer R1 can use endpoint 612-1 to access resources associated with vPLC.R1 and perform one or more functions or operations involving resources allocated to vPLC.R1. A user associated with customer 644 of dealer R2 can use endpoint 614-1 to access resources associated with vPLC.R2 and perform one or more functions or operations involving resources allocated to vPLC.R2.

[0255] In some embodiments, a vPLC-specific endpoint set is created for the vPLC based on the endpoints provided by the CSP to its direct customers. Figure 6 , endpoint 612-1 of vPLC.R1 is created based on endpoint 610-1. The endpoint created for the vPLC may include an identifier that specifically identifies the vPLC for which the endpoint is created. For example, given an example endpoint provided by a CSP for its direct customers, endpoint 612-1 of vPLC.R1 may include:

[0256] "createVM.compute.vplcR1.us-seattle.oci.oraclecloud.com" - used to create a virtual machine

[0257] "deleteVM.compute.vplcR1.us-seattle.oci.oraclecloud.com" - used to delete a virtual machine

[0258] "storeObject.storage.vplcR1.us-seattle.oci.oraclecloud.com" - used to store data

[0259] And so on, where "vplcR1" uniquely identifies the vPLC corresponding to the endpoint.

[0260] Endpoint 614-1 of vPLC.R2 may also be created based on endpoint 610-1. For example, endpoint 614-1 of vPLC.R2 may include:

[0261] "createVM.compute.vplcR2.us-seattle.oci.oraclecloud.com" - used to create a virtual machine

[0262] "deleteVM.compute.vplcR2.us-seattle.oci.oraclecloud.com" - used to delete the virtual machine

[0263] "storeObject.storage.vplcR2.us-seattle.oci.oraclecloud.com" - used to store data

[0264] And so on, where "vplcR2" uniquely identifies the vPLC corresponding to the endpoint.

[0265] Since the endpoint associated with the vPLC includes an identifier that identifies a specific vPLC, when the infrastructure 601 receives an API call, the endpoint call can be parsed to determine whether the call is for a direct customer of the CSP or for a reseller. In addition, since the endpoint uses a unique identifier for different vPLCs, the specific vPLC and the associated reseller can also be identified from the endpoint call. In this way, based on the results of the endpoint call parsing, the endpoint request can be appropriately forwarded for processing.

[0266] The CSP also provides a console 610-2 for use by its direct customers 640. Users associated with the CSP's direct customers 640 can use the console 610-2 to configure, access, and manage the first portion 602 of the regional infrastructure provided by the CSP. In some embodiments, the console 610-2 can provide a web-based graphical user interface (GUI) set that can be used to access and manage the cloud infrastructure provided by the CSP in the region. In some embodiments, the console is a web-based application.

[0267] In some embodiments, a console is also provided for each vPLC. Figure 6 As depicted in , a console 612-2 is provided for vPLC.R1, and a console 614-2 is provided for vPLC.R2. The console 612-2 provided for vPLC.R1 can be used by a user associated with a customer 642 of dealer R1 to configure, access, and manage a second portion of a CSP-provided regional infrastructure created for dealer R1 and assigned to vPLC.R1 604. The console 614-2 provided for vPLC.R2 can be used by a user associated with a customer 644 of dealer R2 to configure, access, and manage a third portion of a CSP-provided regional infrastructure created for dealer R2 and assigned to vPLC.R2 606.

[0268] In some embodiments, a dealer can subscribe to two or more vPLCs, but each vPLC can still have an endpoint set and a console. For example, if a dealer subscribes to two vPLCs, vPLC 1 and vPLC 2, then vPLC 1 can have an endpoint set (e.g., 612-1) and a console (e.g., 612-2), and vPLC 2 (e.g., 614-1) can have another endpoint set and a console (e.g., 614-2). Both vPLC 1 (e.g., 604) and vPLC 2 (606) can be associated with the same dealer.

[0269] The infrastructure 601 may include networking resources that enable communication with the infrastructure 601. These network resources may include, for example, a network gateway 628 that may be provided to enable traffic communication between the regional infrastructure 601 provided by the CSP and other destinations, where the destinations may be communicatively coupled to the infrastructure 601 via a public network (e.g., the Internet) or a private network, the destinations may be in an on-premises network, in another cloud network, etc. The gateway 628 may be implemented as a physical network device (e.g., a router), a logical networking component (e.g., a virtual router), or some combination of physical and logical components.

[0270] The infrastructure 601 may include a control plane (CP) 624 and a management plane (MP) 626 provided by the CSP. In some embodiments, the CP 624 may be responsible for providing management, deployment, and orchestration functions within the cloud environment provided by the CSP. For example, the CP may receive requests from direct customers of the CSP, customers of dealer R1, and customers of dealer R2 through endpoints and consoles, collaborate with other components in the infrastructure (such as resource managers and management planes) to determine whether the request can be met, and respond accordingly to direct customers of the CSP, customers of dealer R1, and customers of dealer R2. In other words, the CSP CP 624 may be responsible for performing vPLC-related functions. In some embodiments, the CSP may also provide a vPLC-specific control plane that is specifically configured to perform vPLC operations. In some embodiments, there may be a vPLC control plane that can perform the processing of multiple vPLCs. In other embodiments, each vPLC may be provided with its own CP.

[0271] In some embodiments, MP 626 can be a collection of software components responsible for providing all the processing and workflow required for request operations. For example, for a service request to access a cloud service, the MP can provide a workflow involving an identity check of the requester and checking DNS records to obtain an IP address for accessing the service backend. The MP ensures that the data plane performs different tasks appropriately and in the correct order.

[0272] In some embodiments, computing resources 620 may include one or more racks, each rack including one or more servers, and each server hosting one or more operating systems. Computing resources 620 may be partitioned into resources 620a allocated to infrastructure to serve the direct customer 640 of CSP and resources 620b and 620c allocated to vPLC along different levels or boundaries. Partitioning computing resources at a specific level may also be referred to as segmentation level in this article. In some embodiments, partitioning may be performed at the rack level (i.e., at the rack level segmentation), wherein one or more separate racks are allocated to 620a, 620b and 620c. In this embodiment, the rack is specifically allocated to a specific vPLC, and is not used by other vPLCs or CSPs to provide the services of CSP supply to its direct customer 640.

[0273] In another embodiment, partitioning can be performed at the server level (i.e., segmentation at the server level), where one or more individual servers in the same or different racks are assigned to 620a, 620b, and 620c. In this embodiment, the server is exclusively assigned to a particular vPLC and is not used by other vPLCs or CSPs to provide CSP-supplied services to its direct customers 640. Since a rack can have multiple servers, one server on the rack can be assigned to 620a, another server to 620b, and a third server to 620c. Thus, a rack can be shared between two vPLCs, or between the infrastructure and vPLCs that the CSP uses to provide CSP-supplied services to its direct customers 640.

[0274] In some embodiments, partitioning may be performed at the hypervisor level (i.e., segmentation at the hypervisor level), where one or more separate hypervisors from the same or different servers on the same or different racks are assigned to 620a, 620b, and 620c. In this embodiment, the hypervisor is exclusively assigned to a particular vPLC and is not used by other vPLCs or the CSP to provide CSP-provided services to its direct customers 640. Since a server can host multiple hypervisors, one hypervisor on a server may be assigned to 620a, another hypervisor on the same server may be assigned to 620b, and a third hypervisor on the same server may be assigned to 620c. Thus, a server may be shared between two vPLCs, or between infrastructure and vPLCs used by a CSP to provide CSP-provided services to its direct customers 640.

[0275] The hypervisor on the server on the rack can manage and execute multiple virtual machines (VMs). In some embodiments, partitioning can be performed at the VM level (i.e., segmented at the VM level), where VMs executed by the same hypervisor can be assigned to 620a, 620b, and 620c. In this embodiment, the VM is specifically assigned to a specific vPLC and is not used by other vPLCs or CSPs to provide CSP-supplied services to its direct customers 640. Since the hypervisor can support multiple VMs, one VM can be assigned to 620a, another VM can be assigned to 620b, and a third VM on the same hypervisor can be assigned to 620c. Therefore, the hypervisor can be shared between two vPLCs, or shared between the infrastructure and vPLCs that the CSP uses to provide CSP-supplied services to its direct customers 640.

[0276] In yet other embodiments, a combination of the above partitioning techniques may be used. Regardless of which partitioning technique is used, the partitioning is performed in a secure and reliable manner, which ensures that other dealers or their customers or other direct customers of the CSP cannot see or access the traffic and storage for a specific vPLC for a specific dealer. In addition, other customers of the dealer cannot see or access the traffic and storage for a specific customer of the dealer.

[0277] Figure 7 is a diagram illustrating the relationship between a CSP, the CSP's direct and reseller customers and their associated users, and the customers of various resellers and their associated users, according to certain embodiments. Figure 7 As shown in FIG. 7 , CSP 710 is located at the top or root of the hierarchy. CSP 710 can provide one or more cloud services, which can be subscribed to by customers of the CSP. Figure 7 , a customer of CSP 710 is represented by 702. A lease identified by a lease ID is created for each subscribing customer of CSP 710.

[0278] Customers 702 of CSP 710 may include direct or non-dealer customers and dealer customers. A dealer customer is an entity that subscribes to a vPLC service provided by a CSP, and the vPLC created for the dealer as a result of the subscription to the vPLC service is used to provide dealer-supplied and dealer-branded cloud services to the dealer's customers. The dealer's customers may be different from the CSP's customers. A direct or non-dealer customer of a CSP is an entity that subscribes to one or more CSP-supplied cloud services but does not use the CSP's infrastructure to provide any of its own cloud services to its customers.

[0279] exist Figure 7 In the example depicted in , direct or non-reseller customers of CSP 710 include customer C1 726 with associated lease T.CSP.C1 and customer C2 728 with associated lease T.CSP.C2. CSP 710 may have multiple such direct customers. Each direct customer of the CSP may have one or more users, where the users may use one or more of the cloud services provided by the CSP to which the corresponding direct customer subscribes. For example, a user associated with a customer of the CSP may be an employee or agent of the customer.

[0280] exist Figure 7 In the example depicted in FIG. 7 , the dealer customers of CSP 710 include dealer R1 720 having an associated lease T.CSP.R1 and dealer R2 722 having an associated lease T.CSP.R2. There may be multiple such dealer customers of CSP 710. Each dealer customer of the CSP may have one or more users ( Figure 7 not shown).

[0281] The reseller, in turn, may have its own customers who subscribe to one or more reseller-provisioned and reseller-branded cloud services, where the reseller-provisioned and branded cloud services are provided using the vPLC created by the CSP for the reseller. Figure 7 , customers of dealer R1 720 are shown using reference numeral 704, and customers of dealer R2 722 are shown using reference numeral .

[0282] A reseller's customers can have their own leases and associated user collections. For example, Figure 7 As depicted in , reseller R1 may have multiple customers, including customer R1.C1 740 with lease T.R1.C1 and associated users, customer R1.C2 742 with lease T.R1.C2 and associated users, and other customers. Reseller R1 may offer a set of R1-provided and branded cloud services, and customers of R1 may subscribe to one or more of the services offered by R1. The set of one or more R1-provided services subscribed to by R1.C1 740 may be the same as or different from the set of one or more R1-provided services subscribed to by R1.C2 742. The cloud services offered by R1 722 may be different from the cloud services offered by reseller R2 722 and the cloud services offered by CSP 710.

[0283] Reseller R2 722 may have multiple of its own customers that subscribe to R2-provisioned and branded cloud services provided using the vPLC created for R2. Figure 7 As shown in FIG. 7 , customers of R2 722 include customer R2.C1 744 having a lease T.R2.C1 and associated users, customer R2.C2 746 having a lease T.R2.C2 and associated users, and other customers. The cloud services provided by R2 722 may be different from the cloud services provided by reseller R1 720 and the cloud services provided by CSP 710. Customers of R2 may subscribe to one or more of the cloud services provided by R2. The set of one or more R2-provided services subscribed by R2.C1 744 may be the same as or different from the set of one or more R2-provided services subscribed by R2.C2 746.

[0284] like Figure 7 As shown in , when a reseller sells reseller-provisioned cloud services to the reseller's customers using vPLC, there are two levels of leases that come into play. The first level of leases corresponds to leases associated with the CSP 710's customers, including direct or non-reseller customers as well as reseller customers. These leases may also be referred to as the CSP's Customer Leases (or CoCTs). Figure 7 In the example, the CoCT includes leases associated with dealer R1 720, dealer R2 722, direct customer C1 726, and direct customer C2 728. Second-level leases include leases associated with the dealer's customers. These leases may also be referred to as the dealer's customer leases (or CoRTs). Figure 7 , CoRT includes leases associated with R1.C1 740, R1.C2 742, R2.C1 744, R2.C2746, and so on.

[0285] Figure 8 is a diagram illustrating the relationship between resources allocated to leases of direct customers of a CSP, leases of dealers of the CSP, and leases of customers of the respective dealers, according to some embodiments. Figure 8 In some embodiments, the infrastructure provided by the CSP in a region (e.g., a data center) 810 may be partitioned into several securely isolated portions for the CSP's resellers, such as resources allocated to vPLC.R1 820 created for reseller R1 and associated with the lease (T.R1) of reseller R1, resources allocated to vPLC.R2 822 created for reseller R2 and associated with the lease (T.R2) of reseller R2, and so on. Resource partitioning may also include securely isolated partitioning of the CSP's non-reseller direct customers C1 and C2, such as resources 826 allocated to the lease (T.CSP.C1) of non-reseller customer CSP.C1 and resources 828 allocated to the lease (T.CSP.C2) of non-reseller customer CSP.C2. The partitioning of the regional infrastructure provided by the CSP with resources allocated to the lease 820 of reseller R1, reseller R2' 822, the lease of customer CSP.C1, and the lease of customer CSP.C2 may be referred to as first-level resource partitioning.

[0286] Each securely isolated resource portion associated with the dealer's first-level resource partition or lease (i.e., R1 lease and R2 lease) can be assigned or tagged with a vPLC ID (i.e., resource ID), such as vPLC_ID.vPLC.R1 820 and vPLC_ID.vPLC.R2 822. Each of these partitions of a non-dealer direct customer of the CSP can be tagged with a resource ID. Each lease of a non-dealer direct customer of the CSP can be accessed by its respective users, where the users can use one or more of the cloud services provided by the CSP to which their corresponding direct customers subscribe.

[0287] Each first-level resource partition (or portion) of a dealer may have additional second-level resource partitions within it that are assigned to leases of the dealer's customers. For example, a secure isolation resource partition (vPLC.R1.C1) 840 may be assigned to a lease (T.R1.C1) associated with customer C1 of dealer R1, and a secure isolation resource partition (vPLC.R1.C2) 842 may be assigned to a lease (T.R1.C2) associated with customer C2 of dealer R1. The isolation partition vPLC.R1.C1 may be tagged to identify the customer resource ID of the resources assigned to T.R1.C1, and the isolation partition vPLC.R1.C2 may be tagged to identify the customer resource ID of the resources assigned to T.R1.C1.

[0288] Similarly, a secure isolated resource partition (vPLC.R2.C1) 844 may be assigned to a lease (T.R2.C1) associated with a customer C1 of dealer R2, and a secure isolated resource partition (vPLC.R2.C2) 846 may be assigned to a lease (T.R2.C2) associated with a customer C2 of dealer R2. The isolated partition vPLC.R2.C1 may be tagged to identify the customer resource ID of the resources assigned to T.R2.C1, and the isolated portion vPLC.R2.C2 may be tagged to identify the customer resource ID of the resources assigned to T.R1.C1. Each lease associated with a customer of the dealer (e.g., lease 840 of R1.C1, lease 842 of R1.C2, lease 844 of R2.C1, or lease 846 of R2.C2) may be accessed by one or more users associated with the customer, where the users may use one or more of the dealer-provided cloud services to which the corresponding customer subscribes.

[0289] Fig. 9A and Fig. 9B is a diagram illustrating a mechanism for storing information in the leases of customers of various resellers of a CSP according to certain embodiments. In some embodiments, the vPLC ID and lease ID (also referred to as a customer lease ID or CTID) of a lease associated with a reseller's customer can be associated in two ways - 1) a distributed approach (or per vPLC record space), such as Fig. 9A , and 7) a centralized solution (or vPLC ID as a partition key), such as Fig. 9B Although Fig. 9A and Fig. 9B The information is illustrated as being stored in a tabular format, but in some embodiments, the information may be stored in a different format, such as an array, a key-value store, XML, JSON, or the like.

[0290] Fig. 9A The first approach, per vPLC record space, is illustrated. In some embodiments, per vPLC record space can be an approach that stores lease related information in a vPLC-specific table under each dealer's vPLC ID. In other words, the information can be stored in a distributed manner. Each table is assigned a vPLC ID. Within each table, a row can be specified for a customer of the dealer, and another row can be specified for another customer of the dealer, and so on. For example, in Fig. 9A In the table 910, there are two tables for storing information, such as identity information (e.g., a user's login name, associated credentials and certificates) or billing information (e.g., resource usage, pricing). Table 910 is assigned the vPLC ID of vPLC.R1 associated with dealer R1 (vPLC_ID.vPLC.R1), and table 920 is assigned the vPLC ID of vPLC.R2 associated with dealer R2 (vPLC_ID.vPLC.R2). Inside table 910, there are three records for three customers C1, C2, and C3 of dealer R1. The first record / row may include the rental ID (T_ID.T.R1.C1) of the lease associated with customer C1 of dealer R1 and associated information of customer C1, such as identity, billing, etc. The second record / row may include the rental ID (T_ID.TR1.C2) of the lease associated with customer C2 of dealer R1 and associated information of customer C2. The third record / row may include the lease ID (T_ID.T.R1.C3) of the lease associated with customer C3 of dealer R1 and associated information for customer C3.

[0291] The same structure can also be used for table 920, which stores three records for three customers C1, C2, and C3 of dealer R2. The first record / row may include the rental ID (T_ID.T.R2.C1) of the rental associated with customer C1 of dealer R2 and associated information of customer C1, such as identity, billing, etc. The second record / row may include the rental ID (T_ID.T.R2.C2) of the rental associated with customer C2 of dealer R2 and associated information of customer C2. The third record / row may include the rental ID (T_ID.T.R2.C3) of the rental associated with customer C3 of dealer R2 and associated information of customer C3.

[0292] Fig. 9B The figure shows the second approach, using the vPLC ID as the partition key. Fig. 9B In the second approach, the information is stored in a table with the customer lease ID and vPLC ID as two table columns so that the vPLC ID can be used as the partition key for lookup. In other words, the information can be stored in a centralized manner in the table. For example, in Fig. 9B In the example of FIG. 930 , dealer R1 associated with a vPLC ID (vPLC_ID.vPLC.R1) has three customers C1, C2, and C3, which are associated with rental IDs: T_ID.T.R1.C1, T_ID.T.R1.C2, and T_ID.T.R1.C3, respectively identifying the rentals of these three customers. Then, the first three rows under the vPLC ID column in table 930 can be labeled as vPLC_ID.vPLC.R1, which is the vPLC ID of vPLC.R1 created for dealer R1. The customer rental ID column of the first row can be labeled as the rental ID (T_ID.T.R1.C1) of the rental associated with customer C1 of dealer R1, while the rental ID column of the second row can be labeled as the rental ID (T_ID.T.R1.C2) of the rental associated with customer C2 of dealer R1, and the rental ID column of the third row can be labeled as the rental ID (T_ID.T.R1.C3) of the rental associated with customer C3 of dealer R1. The information stored in the first three rows belongs to customers C1, C2, and C3 of dealer R1.

[0293] The same structure may also be used to store records for dealer R2's customers C1, C2, and C3 in the same table 930, such as the fourth, fifth, and sixth rows. For example, the last three rows under the vPLC ID column in table 930 may be labeled vPLC_ID.vPLC.R2, which is the vPLC ID of vPLC.R2 created for dealer R2. The customer lease ID column of the fourth row may be labeled as the lease ID (T_ID.T.R2.C1) of the lease associated with dealer R2's customer C1, while the lease ID column of the fifth row may be labeled as the lease ID (T_ID.T.R2.C2) of the lease associated with dealer R2's customer C2, and the lease ID column of the sixth row may be labeled as the lease ID (T_ID.T.R2.C3) of the lease associated with dealer R2's customer C3. The information stored in the last three rows belongs to dealer R2's customers C1, C2, and C3.

[0294] Fig.10 is a flow chart illustrating an example of a vPLC setup process according to certain embodiments. Fig.10 The processes depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device). Fig.10 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.10 Various processing steps are depicted as occurring in a particular order or sequence, but this is not meant to be limiting. In certain alternative embodiments, the processing may be performed in a different order, or some steps may be performed in parallel. It should be appreciated that in alternative embodiments, Fig.10 The processing described in may include Fig.10 There may be more or fewer steps than those depicted in the example.

[0295] In some embodiments, for example, Fig.10 The processing depicted in the figure may be performed by a CSP. Some steps may be performed by components (e.g., control plane (CP), resource manager (RM), and management plane (MP), etc.) within a regional infrastructure provided by a CSP or one or more cloud services provided by a CSP (such as an endpoint management service (EMS), an identity management service, etc.).

[0296] As previously described, a vPLC may be created when a dealer subscribes to a vPLC service provided by a CSP. At step 1002, a signal may be received to create a vPLC. In some embodiments, the signal may be a request received when a dealer subscribes to a vPLC service provided by a CSP. The request may be an agreement between a CSP and a dealer, listing virtual models (e.g., nested or segmented models), databases, resource placement, customization details, etc. In other embodiments, a signal may be received from some component indicating that a vPLC is being created.

[0297] At step 1004, configuration information for the vPLC to be created may be received. In some embodiments, the configuration information may include lease information (e.g., a lease identifier) ​​for which the vPLC is to be created and information for identifying a domain associated with the vPLC. As previously discussed, a lease is created for a reseller, and a lease identifier uniquely identifying the lease is also created for the reseller associated with the vPLC.

[0298] As discussed previously, in use cases where a vPLC can be used as a virtual data center and can be associated with a domain that is different from the domain associated with the cloud infrastructure in the region provided by the CSP, the identity and trust profile information (e.g., passwords, credentials, etc.) of the different domains needs to be associated with the vPLC. The association of the identity and trust profile information of the different domains can be achieved by creating a mapping (or "shadow copy") of the identity and trust profile information in the vPLC. More details will be given in Fig.18 discussed in.

[0299] Step 1006, covering steps 1008 to 1018, may perform a process of creating a vPLC for dealer R. At step 1008, a vPLC identifier for the vPLC may be created. The vPLC created for the dealer is considered a resource and assigned a unique resource identifier, which is referred to as a vPLC identifier (vPLC ID), and the vPLC ID is associated with the dealer's lease.

[0300] At step 1010, a resource set from an infrastructure provided by a CSP in a region may be allocated to a vPLC. The resource set allocated to the vPLC may be selected based on a contract between the dealer and the CSP. For example, dealer R may subscribe to one or more cloud services provided by the CSP, such as computing services and object storage services. Thus, the resource set may include computing resources and object storage resources.

[0301] At step 1012, a namespace may be reserved for the vPLC. The resource allocation service (or resource manager (RM)) of the CSP may create and reserve a namespace to group different types of resources that may support the vPLC. A namespace may refer to a logical grouping or virtual boundary that helps organize and manage resources and prevent naming conflicts when multiple instances of similar resources are created. Thus, a namespace provides a structured way to organize and group related resources. In some embodiments, namespace 0 is reserved for the CSP. Namespace 1 and beyond are used for the vPLC. In some embodiments, a range of Internet Protocol (IP) addresses may be reserved for the vPLC and associated with a namespace to achieve traffic isolation.

[0302] At step 1014, a console may be created for the vPLC, allowing the dealer R, the dealer's customers, and users associated with the dealer's customers to configure, access, and manage resources deployed in the vPLC, and visualize, access, and interact with the cloud services provided by the dealer. In addition, the dealer R may configure the console to provide different customized experiences for different customers of the dealer.

[0303] At step 1016, an endpoint set for the vPLC may be created. In some embodiments, some endpoints in the endpoint set may be default endpoints (e.g., identity endpoints) available for use, and some endpoints are determined based on cloud services subscribed to by the reseller. For example, a reseller may subscribe to one or more CSP-provided cloud services such as computing, storage, virtual cloud network (VCN), database, etc. Thus, in addition to the default identity endpoint for accessing the identity service, an endpoint for accessing the subscribed service may also be created.

[0304] At step 1018, vPLC related information (such as vPLC ID, identity information of the dealer, and other information to facilitate the cloud services provided by the dealer) can be stored in the namespace of the vPLC. At step 1020, the CSP can send a response indicating the created vPLC and other information to the dealer R. The dealer can begin to manage the vPLC for the dealer's customers, such as creating customer accounts, configuring the cloud services provided by the dealer, etc.

[0305] Fig.11 is a block diagram of a distributed environment illustrating an example of a virtual private label cloud (vPLC) hosted by infrastructure provided by a CSP in a region according to certain embodiments. Fig.11 Can be similar to Figure 6 , where both diagrams include securely isolated portions (or partitions) of the regional infrastructure provided by the CSP (e.g. Figure 6 The first part 602, the second part 604 and the third part 606 in FIG. 6 are for direct customers of the CSP, vPLC.R1 associated with dealer R1 and vPLC.R2 associated with dealer R2. The direct customers of the CSP, the customers of dealer R1 and the customers of dealer R2 can access their respective partitions through one or more endpoints and consoles. The regional infrastructure 602 provided by the CSP can also have a control plane, a management plane and a gateway, such as Figure 6 As described in.

[0306] but, Fig.11 A more detailed view of the interconnection between resources (such as compute, storage, gateway, CP, and management plane) in the regional infrastructure provided by the CSP is illustrated. In addition, the CSP's direct non-reseller customers, customers of reseller R1, and customers of reseller R2 can access the regional infrastructure provided by the CSP from the Internet or the enterprise network. For example, the gateway can be used to access the Internet or the enterprise network from the real application cluster (RAC) in the regional infrastructure provided by the CSP.

[0307] Fig.11 The diagram shows three cloud partitions running on the same CSP-provided regional infrastructure 1102: the CSP's native cloud 1120 and two vPLCs of dealers R1 and R2: vPLC.R1 1122 and vPLC.R2 1124. The CSP-provided regional infrastructure 1102 is operated by the CSP. The CSP-provided regional infrastructure 1102 may also include a control plane 1104 and a management plane 1105. As mentioned above, the CP 1104 may be responsible for providing management, deployment, and orchestration functions for the cloud environment provided by the CSP. The MP 1105 may be a collection of software components responsible for all processing and workflows required for supply request operations. In addition, the software that implements the cloud service may originate from the deployment system 1106 and enter the data center in the region through the management plane 1105. Software updates to the control plane 1104 (e.g., new services) may be delivered by the deployment system 1106 through the management plane 1105. Administrators of the CSP that deploys the software / service or operators 1107 of the dealer may also access the CSP-provided regional infrastructure through the management plane 1105.

[0308] Computing resources (three real application clusters (RACs) 1140, 1142, and 1144) sharing the same storage 1150 are partitioned and respectively allocated to the CSP's native cloud 1120, vPLC.R1 1122, and vPLC.R2 1124. For example, RAC 1140 is dedicated to the CSP's direct customers, RAC 1142 is designated for vPLC.R1, and RAC 1144 is used for vPLC.R2.

[0309] Network resources can also be partitioned or shared between the CSP's direct customers and resellers, allowing their computing resources to connect to the Internet or an enterprise network. For example, each RAC 1140, 1142, and 1144 uses its network gateway 1160, 1162, and 1164 to access the Internet 1108 or the enterprise network 1109. In some embodiments, two RACs can share the same network interface. For example, RAC 1142 and RAC 1144 share the same gateway 1162 to access the Internet 1108.

[0310] Fig.11 The storage in is simplified. Storage 1150 may include overall storage, dedicated storage, and different types of storage, such as block storage and object storage. Fig.11 In FIG. 1 , vPLC.R1 and vPLC.R2 have their dedicated storage 1152 and 1154, respectively. The overall storage 1150 belongs to the CSP.

[0311] exist Fig.11 In the CSP's native cloud 1120, the CSP's native cloud 1120 can provide CSP-provisioned cloud services to the CSP's direct non-dealer customers (e.g., CSP.C1-n) (such as companies). Users associated with the dealer's customers can access the services via dedicated service endpoints, which are part of their respective namespaces, including fully qualified domain names (FQDNs), IP addresses, console experiences, identities, etc. The CSP can provide a separate console for each dealer, and the console provides services through endpoints. The endpoints associated with the console can differ based on which services are provided to the dealer's customers due to the dealer's subscription. For example, a single dealer's customers can send access requests through a dedicated endpoint or via the console.

[0312] Users can use service endpoints 1170 and 1172 (two endpoints are shown, but there may be more endpoints) exposed by the CSP, where the endpoints have DNS names. The native cloud 1120 may also include a console 1174 with a look and feel. CSP direct customers on the Internet 1108 can access the regional infrastructure 1102 provided by the CSP through public endpoints 1170 and 1172 to request to launch or terminate an instance. Customers of dealer R1 on the Internet 1108 can also access the regional infrastructure 1102 provided by the CSP through public endpoints 1180 and 1182 to request to launch or terminate an instance. Customers of dealer R2 on the enterprise network 1109 can access the regional infrastructure 1102 provided by the CSP through private endpoints 1190 and 1192 to request to launch or terminate an instance. The control plane 1104 can then launch instances, terminate instances, configure connections for these instances, and orchestrate services in the data center. The network interfaces 1160 and 1162 (e.g., Internet Gateway (IGW)) of the CSP and vPLC.R1, respectively, can provide network interconnection with the Internet 1108. The network interface 1164 (eg, a dynamic routing gateway (DRG)) of vPLC.R2 may provide network interconnection with the enterprise network 1109 .

[0313] exist Fig.11 In , vPLC.R1 1122 and vPLC.R2 1124 share the same physical infrastructure. Their endpoints are unique to each dealer, for example, endpoints 1180 and 1182 for dealer R1, and endpoints 1190 and 1192 for dealer R2. Consoles 1184 and 1194 are customized for dealer R1 and dealer R2, respectively. The endpoints and consoles of the vPLC can be connected to the Internet or their corporate network depending on their needs. For example, in Fig.11 In , vPLC.R1 is connected to the Internet 1108 through a network gateway 1162 (e.g., IGW). However, vPLC.R2 is not connected to the Internet, and therefore is instead connected to the enterprise network 1109 through a secure network 1164 (e.g., FastConnect). Fig.11 In the example, gateway 1162 can be split and shared by vPLC.R1 and vPLC.R2, and can be part of the orchestration implemented by the CSP. In this example, part of the data of vPLC.R2 can go to the Internet 1108, and part of the data can go to its enterprise network 1109.

[0314] If the request comes in through the console 1194, it can go to the control plane 604. The control plane can determine that the request comes from vPLC.R2 1124, and can find available resources (e.g., computers) from the RAC specified for vPLC.R2 (i.e., 1144 in this example), provision and then start the resource. The control plane 604 can then reply to the customer of reseller R2 through the console 1194 and provide an IP address for its network configuration (e.g., VCN). The control plane 1104 can orchestrate the gateway 1164 to the enterprise network 1109 or the Internet 1108 depending on how the gateway 1164 is configured. The control plane can know not only the request, but also the requester, whether the requester is a direct customer of the CSP, a customer of reseller R1, or a customer of reseller R2.

[0315] As discussed previously, the partitioning of the regional infrastructure provided by the CSP can be performed for different vPLCs at various predefined infrastructure levels (e.g., at the rack level, server level, hypervisor level, or VM level). To further illustrate, for rack-level partitioning, a vPLC can have its own dedicated rack and the resources within it. For server-level partitioning, multiple vPLCs can share a rack, but each vPLC has its dedicated server. In addition, in another example, for hypervisor-level partitioning, multiple vPLCs can share servers, but each vPLC has its dedicated hypervisor. For VM-level partitioning, multiple vPLCs can share a hypervisor, but each vPLC has its dedicated VM. Therefore, there can be two main vPLC infrastructure partitioning models (or two ends of the continuum (spectrum)) to implement multi-vPLC solutions: segmented model and nested model. The segmented model can refer to resource partitioning at the rack level. The nested model can refer to resource partitioning at the VM level. However, considering operational efficiency (e.g., shared control plane) and fragmentation (i.e., partitioning of resources), there may be other variations between the two.

[0316] Fig.12 is a block diagram illustrating a vPLC segmentation model for resource partitioning according to certain embodiments. In this model, which represents one end of the partitioning continuum, each vPLC can have its dedicated resources, including compute resources and network resources, at the rack level. In other words, a rack can be exclusively allocated to a specific vPLC and not used by other vPLCs or CSPs to provide CSP-supplied services to their direct customers. The segmentation model performs resource and usage tracking at the physical resource level based on affinity tags (e.g., vPLC ID and customer lease ID). There may be a default behavior for each segment, but each segment can be customized by the dealer associated with the vPLCs in that segment.

[0317] exist Fig.12 In some embodiments, in a segmented model, there may be multiple vPLCs (e.g., vPLC.R1 1210, vPLC.R2 1220, and vPLC.Rn 1230) in the infrastructure provided by the CSP in a region (e.g., a data center). Fig.12 As shown in , there may be physical partitions and logical partitions. For example, for a physical partition, a vPLC may be assigned its dedicated hardware resources, such as a rack that includes one or more servers and each server hosts one or more operating systems. Fig.12 , the first rack is assigned to vPLC.R1 segment 1210, the second rack is assigned to vPLC.R2 segment 1220, and the third rack is assigned to vPLC.Rn segment 1230. Each vPLC may also have a dedicated networking switch (or gateway) connected to the Internet / enterprise network 1260, such as gateway 1219 for vPLC.R1 1210, gateway 1229 for vPLC.R2 1220, and gateway 1239 for vPLC.Rn 1230. Fig.12 , vPLC.R1 1210 has dedicated servers 1214a-b, a hypervisor 1216 running on server 1214b and hosting VMs 1218a-n, and a gateway (e.g., IGW) 1219. Similarly, vPLC.R2 1220 has dedicated servers 1224a-b, a hypervisor 1226 running on server 1224b and hosting VMs 1228a-n, and a gateway 1229. vPLC.Rn 1230 has dedicated servers 1234a-b, a hypervisor 1236 running on server 1234b and hosting VMs 1238a-n, and a gateway 1239.

[0318] For logical partitions, there is a common control plane 1250 and resource manager 1252 that are managed and operated by the CSP for all vPLCs. However, the data plane can be dedicated to each vPLC in the segmentation model. For example, each vPLC.R1, vPLC.R2, and vPLC.Rn has its own data plane 1212, 1222, and 1232, respectively. In some embodiments, the resource manager 1252 can be part of the management plane. In other embodiments, the resource manager 1252 can be separated from the management plane.

[0319] In some embodiments, a user associated with a customer of dealer R1 1280 can send a request to start a VM instance or a bare metal server through one of vPLC.R1 endpoints 1270. Assume that the request is to start a new VM instance. In this case, the control plane 1250 can collaborate with the identity service to check the correct credentials of the user for vPLC.R1, and then the resource manager 1252 can identify all resources dedicated to vPLC.R1, such as IP address ranges. Then, the VM instance (e.g., 1218a) is started on the hypervisor 1216 in the vPLC.R1 segment 1210. Thereafter, the control plane 1250 sends a response back to the requesting user through the vPLC.R1 endpoint 1270. If the request is for a bare metal server (e.g., 1214a), then the resource manager 1252 can supply the resources of vPLC.R1 and assign it to vPLC.R1 together with all necessary configurations. Similar processing may be performed for requests from users associated with customers of dealer R2 1282 to be satisfied by vPLC.R2 segment 1220, and requests from users associated with customers of dealer Rn 1284 to be satisfied by vPLC.Rn segment 1230. Each processing of a vPLC may be performed independently of another vPLC, as well as concurrently with another vPLC.

[0320] The vPLC segmentation model may have some advantages, such as physical separation and a shared common control plane 1250 operated by the CSP. In addition, a resource manager 1252 manages resources across vPLCs 1210-1230. However, resources (including networking and storage) are replicated to be assigned to each vPLC, and therefore there may be scaling challenges. Small footprints (such as a single rack or server) are also not feasible under this model. However, the vPLC segmentation model can still have shared power, cooling, etc. As mentioned above, the segmentation model is only one end of the continuum, and there are various partitioning methods based on resources and efficiency.

[0321] Fig.13 is a block diagram illustrating a vPLC nesting model of resource partitioning according to certain embodiments. Fig.13 The nested model in illustrates the other end of the continuum of VM-level resource partitioning. In other words, a VM may be exclusively assigned to a particular vPLC and not used by other vPLCs or the CSP to provide services offered by the CSP to its direct customers. However, a hypervisor, server, or rack may be shared between customers of the CSP and customers of one or more vPLCs. In some embodiments, the nested model may have a base layer that none of the customers can see as a basis for sharing, such as a hypervisor, and an abstraction layer (e.g., VM) may be built on top of the base layer, allowing each dealer to create clones and customize the abstraction layer for the dealer's customers.

[0322] exist Fig.13 In an embodiment of the present invention, all vPLCs (e.g., vPLC.R1, vPLC.R2, and vPLC.Rn) are hosted on a single segment with a shared infrastructure, shown as a "server CSP" 1320 (e.g., a bare metal server) operated by a CSP, where the "server CSP" 1320 can have control plane functionality. The server CSP 1320 can be configured to host a hypervisor 1330 that manages virtual machines (VMs) 1332a-n running on the hypervisor. In some embodiments, a segment may include multiple racks. Here, two VM instances of vPLC.R1 1332a-b, one VM instance of vPLC.R2 1332c, and one VM instance of vPLC.Rn 1332n reside on the shared hypervisor 1330. All vPLCs share the same data plane 1312 in the segment 1310. In some embodiments, a segment may include multiple racks. Since hypervisors, servers, and racks can be shared by multiple vPLCs, the servers of those vPLCs may be from different racks.

[0323] Fig.13 A variation of the partitioning scenario is further illustrated, where a customer of reseller R2 can request an additional bare metal server, server vPLC.R2 1322, which is provisioned as a dedicated server. In the vPLC nested model, the shared server pool can be placed wherever there is space. Thus, it provides a low-cost point for the reseller.

[0324] exist Fig.13 In the example, a gateway 1340 (e.g., an IGW or DRG) shared by the vPLCs has a connection to the Internet or an enterprise network if necessary. Incoming packets from the Internet / enterprise network 1360 can be tagged (i.e., encapsulated in each packet header) with vPLC-related information (e.g., vPLC ID and customer lease ID) at the gateway 1340 to track arrival at the appropriate vPLC. Packet encapsulation helps isolate traffic within a single segment 1310 shared by multiple vPLCs. As an example, a packet destined for a VM 1332a that belongs to a lease associated with a customer C1 of a dealer R1 associated with vPLC.R1 can be encapsulated with vPLC_ID.vPLC.R1 and a customer lease ID (T_ID.R1.C1) in the packet header. The packet can then be routed to VMs 1332a-b partitioned for vPLC.R1 based on the vPLCID (vPLC_ID.vPLC.R1). The customer tenancy ID (T_ID.R1.C1) in the packet header associated with customer C1 of reseller R1 may further assist in routing the packet to tenant C1 running on VM 1332a. The packet is decapsulated before delivery to VM 1332a.

[0325] Similarly, a packet destined for VM 1332c belonging to a lease associated with customer C1 of reseller R2 associated with vPLC.R2 may be encapsulated with vPLC_ID.vPLC.R2 and the customer lease ID (T_ID.R2.C1) in the packet header. The packet may then be routed to resources partitioned for vPLC.R2 based on the vPLC ID (vPLC_ID.vPLC.R2). The customer lease ID (T_ID.R2.C1) associated with customer C1 of reseller R2 in the packet header may further assist in routing the packet to tenant C1 running on VM 1332c in vPLC.R2. The packet is decapsulated prior to delivery to VM1332c.

[0326] Outgoing packets may be processed in the opposite manner. For example, an outgoing packet originating from VM 1332a in vPLC.R1 and destined for the Internet 1360 may be encapsulated with vPLC_ID.vPLC.R1 and a customer lease ID (T_ID.R1.C1) associated with customer C1 of dealer R1 in the packet header. When the packet arrives at gateway 1340, the packet may be decapsulated before being forwarded to the Internet 1360. Similarly, an outgoing packet originating from VM 1332c in vPLC.R2 and destined for the Internet 1360 may be encapsulated with vPLC_ID.vPLC.R2 and a customer lease ID (T_ID.R2.C1) associated with customer C1 of dealer R2 in the packet header. When the packet arrives at gateway 1340, the packet may be decapsulated before being forwarded to the Internet 1360. Therefore, both incoming and outgoing traffic are isolated within a single segment 1310 shared by multiple vPLCs.

[0327] In some embodiments, in a nested model, one or more VMs may belong to direct customers of the CSP and share the same hypervisor with other vPLCs.

[0328] Users of a reseller accessing the vPLC infrastructure are authenticated in both the segmented and nested models. A user associated with a customer of a particular reseller can access an endpoint and be authenticated as a user of the vPLC associated with the particular reseller by using the user's credentials (e.g., username and customer tenancy ID). For example, in some embodiments, Fig.13 , a user associated with customer C1 of reseller R1 may send a request to launch a VM instance through one of the vPLC.R1 endpoints 1302. The specific vPLC.R1 endpoint 1302 may augment the request with the vPLC ID of vPLC.R1. The control plane 1350 may collaborate with the identity service to check the correct credentials of the user for vPLC.R1 (e.g., the user's username and the lease ID of customer C1). The resource manager 1352 may then identify all resources allocated to vPLC.R1 based on the vPLC ID, e.g., servers 1320 and hypervisors 1330, and identify VM 1332a based on the customer lease ID of customer C1. The VM instance 1332a may then be launched on the hypervisor 1330 accordingly.

[0329] Fig.14 is a flow chart illustrating a registration process for a customer of a reseller associated with a vPLC according to certain embodiments. When a direct customer of a CSP subscribes to or registers (i.e., registers for) a cloud service provided by the CSP (i.e., a CSP-provisioned cloud service), a lease or account is created for that customer. Similarly, when a customer of a single reseller subscribes to or registers for a cloud service provided by the reseller (i.e., a reseller-provisioned cloud service), a lease or account is created for that customer.

[0330] Fig.14 The diagram shows the registration process for a specific customer C1 of dealer R1. However, the registration process is applicable to customers of a single dealer. Fig.14 In the example, at step S1, customer C1 1401 of dealer R1 may register to create a new account by entering the user's identity credentials, such as a user name or account name (e.g., John), using a registration portal on the console of vPLC.R1 1402. At step S2, the vPLC1.R1 console 1402 may augment the registration request by adding the vPLC ID (e.g., vPLC_ID.vPLC.R1) identifying the vPLC created by dealer R1 to the user's credentials, and forward the registration request to the CSP (control plane (CP) or management plane (MP)) 1404. In some embodiments, account creation for customer C1 of dealer R1 may be handled by dealer R1 with the help of the CP or MP of the CSP.

[0331] At step S3, the CSP then creates a customer lease (or account, T.R1.C1) for customer C1 1401 of dealer R1. A lease identifier (T_ID.T.R1.C1) is assigned to the newly created lease (T.R1.C1) of customer C1. The vPLC ID (e.g., vPLC_ID.vPLC.R1) identifying vPLC.R1 of dealer R1 can be associated with the newly created customer lease ID (e.g., T_ID.T.R1.C1) of customer C1, as shown in 1430, and stored in database 1420 along with other credentials (e.g., account name and password). Other customers of dealer R1 and dealer R2 can also be stored in database 1420. For example, the customer lease ID (i.e., R1.C2) of customer C2 of dealer R1 is associated with the vPLC ID of vPLC.R1—T_ID.T.R1.C2 and vPLC_ID.vPLC.R1, as shown in 1432. The customer lease ID of reseller R2's customer C2 (i.e., R2.C1) is associated with the vPLC ID of vPLC.R2—T_ID.T.R2.C1 and vPLC_ID.vPLC.R2, as shown in 1434.

[0332] The association between the vPLC ID and the lease ID for a customer of a single reseller can provide isolation between the leases of customers within a vPLC. For example, a customer lease of R1.C1 can be securely isolated from a customer lease of R1.C2 by using different customer lease IDs (T_ID.T.R1.C1 for customer C1 and T_ID.T.R1.C2 for customer C2), but both customer leases are within the same vPLC.R1. A lease associated with reseller R1 and a lease associated with reseller R2 can be securely isolated using their respective vPLC IDs (vPLC_ID.vPLC.R1 for reseller R1, vPLC_ID.vPLC.R2 for reseller R2).

[0333] At step S4, CSP 1404 may return a handle including the customer lease ID (e.g., T_ID.T.R1.C1), a temporary default password, and an account name to vPLC.R1 console 1402. At step S5, vPLC.R1 console may receive the temporary credentials and forward the customer lease ID and password to customer C1 1401 of reseller R1. Fig.14 As shown in FIG. 14 , a customer C1 1401 of a reseller R1 can interact directly with the reseller R1 through a vPLC.R1 console 1402 to register and subscribe to one or more cloud services provided by the reseller. Similarly, a customer of a CSP can interact with the CSP individually and register at the CSP's console (not shown) to subscribe to cloud services provided by the CSP.

[0334] As discussed above with respect to lease creation, the CSP’s database (e.g. Fig.14 1420) can store vPLCIDs, customer lease IDs, and their corresponding credentials. In some embodiments, multiple customer lease IDs can be associated with the same vPLC ID, as shown in 1430 (T_ID.T.R1.C1 is associated with vPLC_ID.vPLC.R1) and 1432 (T_ID.T.R1.C2 is associated with vPLC_ID.vPLC.R1). Leases can be defined at the realm level, so a lease can have a realm identifier associated with a vPLC.

[0335] Fig.15 is a flow chart illustrating a login process for a user associated with a customer of a dealer associated with a vPLC according to some embodiments. Fig.15 In the above example, steps S1 and S2 involve a single dealer's customer completing Fig.14 The login phase follows the registration process described in .

[0336] At step S1, a user 1501 associated with a customer of dealer R1 may log in using a customer tenancy ID (or CT ID), username, and password at vPLC.R1 endpoint 1510. At S2, user 1501 and its customer tenancy may be verified at vPLC.R1 endpoint 1510 by undergoing a verification process that may include, but is not limited to, user authentication (e.g., verifying valid credentials, such as username and password), session management (e.g., session tokens or timeouts), and access control enforcement (based on access rights, permissions, and policies).

[0337] At step S3, vPLC.R1 endpoint 1510 may return a session handle. A session handle may refer to a token or unique identifier returned to a customer after successfully logging into a customer account. The session handle may be used for subsequent requests to access cloud services and resources (e.g., launch an instance) without having to re-authenticate for each individual request during an active login session (or API session).

[0338] When resources are created, cloud resource IDs (CIDs) may be generated for these resources, including customer tenancy IDs. Virtual machines, accounts, tenancies, authorization policies, virtual network subnets, ACLs, and load balancers may be examples of cloud resources and may therefore be referenced by their respective CIDs.

[0339] Fig.16 is a flow chart illustrating a resource allocation and provisioning process for a reseller's customers associated with a vPLC according to certain embodiments.A resource manager (RM) manages the resources of the cloud infrastructure provided by the CSP in a region and the resource partitions assigned to each vPLC.

[0340] As discussed above, users associated with customers of the reseller may use a vPLC-specific endpoint to access resources associated with the vPLC and perform one or more functions or operations involving resources allocated to the vPLC. Fig.16 , at step S1 , a user 1601 associated with a customer C1 of a reseller R1 may issue a request through a vPLC-specific endpoint vPLC.R1 endpoint 1602 to launch a computing instance, for example, a VM instance with 1 GB of RAM.

[0341] At step S2, vPLC.R1 endpoint 1602 may augment (or annotate) the request to indicate that the request is from a customer of dealer R1 by marking the vPLC.R1 endpoint with a corresponding vPLC ID (e.g., vPLC_ID.vPLC.R1), and forward the request to resource manager (RM) 1604. In other words, once the request is authenticated, the annotation information (e.g., vPLC ID) allows the request to be processed using all policies associated with vPLC.R1. In some embodiments, the policies associated with the vPLC may include, for example, resource type, the amount of resources allowed to be allocated (i.e., capacity limits), permissions, etc.

[0342] At step S3, RM 1604 queries its database (i.e., resource database) 1606 to determine whether the requested resource is available for vPLC.R1 under the policy. Based on the query, at step S4, RM can perform resource allocation after confirming that the requested resource is available under the policy. In other words, RM allocates a portion of the resources of vPLC.R1 that have been allocated to dealer R1 to the customer lease (T.R1.C1) associated with customer C1 of dealer R1 (based on the customer lease ID when the user logs in). Such resource allocation can be performed by assigning or specifying a portion of the available cloud resources (already allocated to vPLC.R1) to the user associated with customer C1 based on the policy agreed upon between customer C1 and dealer R1 (such as capacity restrictions or licenses, etc.). For example, dealer R1 and its customer C1 may have a contract policy to allow up to 100GB of storage to be available for use. Currently 80GB has been allocated (or used). If a user associated with customer C1 requests 10GB, RM can identify the CID of the 10GB that CP will supply. If a user associated with customer C1 requests 30GB, which would exceed the total limit of 100GB, the request may be denied.

[0343] At step S5, RM 1604 obtains the cloud resource ID of the resource (vPLC.R1.C1) assigned to the lease (T.R1.C1) of customer C1 assigned to dealer R1 from the resource database. At step S6, RM passes the resource ID to vPLC.R1 endpoint 1602. At step S7, vPLC.R1 endpoint 1602 issues a resource request to control plane (CP) 1608, requesting a resource with a specific resource ID of the resource assigned to the lease (T.R1.C1) of customer C1 assigned to dealer R1. In other words, resource manager 1604 can augment (e.g., step S6) the user's request with information related to vPLC (e.g., the resource ID assigned to vPLC.R1.C1), and control plane 1608 can use this information to provision resources (e.g., step S8).

[0344] At step S8, the control plane may provision the requested resources (e.g., launch a specific VM instance and storage). The resources may include computing, networking, storage, etc. At step S9, the control plane 1608 may respond to the vPLC.R1 endpoint 1602 with a status and a resource handle. The resource handle may refer to a unique resource identifier assigned to the provisioned resource, such as a cloud resource ID assigned to the provisioned compute instance (e.g., VM), storage volume, virtual cloud network (VCN or subnet), database, etc. The resource handle may allow the customer to access and manage the provisioned resources through an API or command line tool.

[0345] At step S10, the status and resource handle are forwarded to user 1601 associated with customer C1 of reseller R1. At step S11, the control plane may notify RM about the resource provisioning status, such as success or failure. At step S12, RM may update a record in resource DB 1606 that tracks resource usage of customer C1 associated with the user. Continuing with the above example, the record may be updated to indicate that the total amount of memory used by customer C1 is 90GB after successfully provisioning 10GB (on top of the previously provisioned 80GB), or remains at 80GB after the user's request is denied. The records maintained by the resource DB may help enforce policies associated with the vPLC.

[0346] Fig.17 is a flow diagram illustrating a resource allocation and provisioning process for a dealer's customers associated with a vPLC in accordance with certain embodiments. Fig.17 yes Fig.16 Instead of using a resource manager (RM) as a central role that receives requests for communication with all subsystems and coordinates resource allocation and provisioning processes, a control plane (CP) may also be used to play this central role.

[0347] For example, in Fig.17 In the example of FIG. 1 , at step S1, a user 1701 associated with a customer C1 of a dealer R1 may issue a request to a vPLC-specific endpoint vPLC.R1 endpoint 1702. At step S2, the vPLC.R1 endpoint 1702 may augment the request by marking the corresponding vPLC ID to indicate that the request is from a customer of the dealer R1, and forward the request to a control plane (CP) 1704. At step S3, the CP 1704 forwards the request to a resource manager (RM) 1706. At step S4, the RM 1706 queries its database (i.e., resource database) 1708 to determine whether the requested resource is available for vPLC.R1. Based on the query, at step S5, if the requested resource is available, the RM performs resource allocation.

[0348] At step S6, the RM obtains the resource ID of the resource (vPLC.R1.C1) assigned to the lease (T.R1.C1) assigned to the customer C1 of the dealer R1 from the resource database. At step S7, the RM passes the resource ID to the CP 1704. At step S8, the control plane can supply the requested resources. At step S9, the control plane 1704 can respond to the vPLC.R1 endpoint 1702 with the status and resource handle. At step S10, the status and resource handle can be forwarded to the user 1701. At step S11, the control plane can notify the RM about the resource supply status. At step S12, the RM can update the record in the resource database that tracks the resource usage of the customers associated with the user.

[0349] like Fig.17 As shown in FIG. 1 , CP 1704 may play a central role by forwarding resource requests to RM 1706 (e.g., step S3) and receiving resource IDs from RM (e.g., step S6), and provisioning the requested resources (e.g., step S8). Fig.16 In contrast, this embodiment avoids the need for the vPLC.R1 endpoint 1702 to perform additional steps, such as issuing a resource request to the CP, such as Fig.16 As shown in steps S7 and S8 in .

[0350] Fig.18 is a simplified diagram illustrating a use case in which a vPLC is hosted by infrastructure in a first domain but is associated with a second, different domain, according to certain embodiments. Fig.18 In , there are two separate domains, Domain A 1802 and Domain B 1812 provided by the CSP. Each domain is a logical collection of regions. Domains are isolated from each other and do not share data. Accordingly, Domain A 1802 is isolated from Domain B 1812 and there is no shared data or communication between the two domains. Leases created for customers of the CSP exist within a single domain and cannot be used to access another domain or regions in another domain. Domains enable the CSP to provide defined levels of service between regions in the domain that meet the needs of a specific organization. For example, a CSP may create a domain to achieve an elevated level of security and separation, such as a "Government" domain created for government entities that are customers of the CSP. The CSP may create a second domain with a lower elevated level of security and separation, such as a "Commercial" domain created for non-government commercial customers of the CSP. Examples of domains that a CSP may create: (a) Commercial domain; (b) U.S. Government FedRAMP authorized domain; (c) U.S. Government IL5 authorized domain; (d) Country A government domain; (e) Country B government domain; and so on. For example, in Fig.18 In the example, domain A 1802 may have a higher security posture than domain B 1812.

[0351] A realm can have one or more zones. Each realm has its own identity and trust profile (e.g., passwords, credentials, etc.). This identity and trust profile information is shared between zones belonging to the same realm, and thus zones within a realm can communicate with each other. The identities and trust profiles of a realm are configured so that cross-realm communication is not allowed.

[0352] exist Fig.18 In the example depicted in FIG, domain A 1802 includes region A 1804. The infrastructure provided by the CSP in region A 1804 is organized as data centers 1806. Fig.18 , data center 1806 is shown as a dedicated regional cloud data center (DRCC) hosted on a customer's premises. A DRCC can refer to a fully managed cloud region built using high-performance infrastructure designed by a CSP to help customers bring cloud primitives and services closer to the customer's existing data and applications. A DRCC can be dedicated to a single customer and run within the customer's data center but is fully managed by the CSP.

[0353] exist Fig.18 In the example, domain B 1812 includes region B 1814. The infrastructure provided by the CSP in region B 1814 is organized as data center 1816. Fig.18 As shown in FIG, data center 1816 hosts vPLC 1818. Accordingly, a portion of the infrastructure provided by the CSP in data center 1816 in region B 1812 is allocated to vPLC 1818. Therefore, vPLC 1818 is physically located in region B 1814 in domain B 1812.

[0354] As previously described, when a vPLC is created, as part of configuring the vPLC, the vPLC is associated with a particular domain. Typically, the vPLC is associated with the same domain associated with the region where the regional infrastructure provided by the CSP hosting the vPLC is located. In some embodiments, when the vPLC is configured, the vPLC may be associated with a domain that is different from the domain associated with the regional infrastructure hosting the vPLC. For example, in Fig.18 , vPLC 1818 may be associated with realm A 1802, but not realm B 1812. Dashed box 1820 and associated arrow 1830 are intended to indicate that vPLC 1818 is physically hosted by data center 1816 in realm B 1812, but is logically or virtually associated with and belongs to realm A 1802. Realm B 1812 is referred to as the hosting realm or host realm of vPLC 1818. Realm A 1802 is referred to as the logical realm or virtual realm of vPLC 1818.

[0355] This makes vPLC 1818 and data center 1806 in the same domain, i.e., domain A 1802. Since the infrastructure in the same domain shares the same identity and trust profile, vPLC 1818 is configured with the identity and trust profile of domain A 1802. The configuration of the identity and trust profile information of domain A 1802 can be completed by creating a mapping in vPLC 1818. For example, the identity service API in the virtual domain (i.e., domain A 1802) can call the vPLC in the host domain (i.e., domain B 1812), which can accept the call and establish trust (i.e., share identity and trust profile information) between the two domains. When an instance is created in a customer lease in the vPLC in the host domain, the resource ID and lease ID associated with the newly created instance in the host domain can be mapped to the new resource ID and lease ID in the virtual domain. Therefore, a mapping table (or "shadow lease") can be maintained in the host domain (i.e., domain B 1812). The same processing and mapping is also performed in the virtual realm (i.e., realm A 1802). Therefore, both the vPLC 1818 and realm A 1802 (i.e., the virtual realm) share the same identity and trust profile information. Therefore, since the vPLC 1818 and the data center 1806 are located in realm A 1802, they are able to communicate with each other, even though the vPLC 1818 is physically hosted by infrastructure in a different realm B 1812. The vPLC 1818 may not be able to communicate with other infrastructure in region B 1814 associated with realm B 1812.

[0356] Additionally, the vPLC 1818 is also logically associated with region A 1804, even though the vPLC is physically hosted by region B 1814. Region B 1814 is referred to as a hosted region or host region of the vPLC 1818. Region A 1804 in realm A 1802 is referred to as a logical region or virtual region of the vPLC 1818. The virtual realms and virtual regions of a vPLC may be configured when the vPLC is created.

[0357] As described above, the resource ID of a resource includes a portion identifying a domain associated with the resource and a portion identifying a region associated with the resource. The vPLC is considered a resource and is therefore assigned a resource ID. In some embodiments, a vPLC ID that uniquely identifies a vPLC is a resource ID. The vPLC ID includes a portion identifying a virtual domain associated with the vPLC identified by the vPLC ID, and a portion identifying a virtual region associated with the vPLC. Accordingly, for identity management purposes in domain A 1802, the vPLC is considered to be part of the domain and region identified by the vPLC ID corresponding to the vPLC.

[0358] In certain embodiments, a vPLC may be configured in the manner described above utilizing virtual boot environment (ViBE) technology, wherein the vPLC is hosted by one region and one domain, but is associated with different virtual regions and different virtual domains. ViBE may refer to a virtual cloud network (VCN) that is provisioned in an overlay of an existing region (e.g., a "host region"). Once provisioned, ViBE is connected to the new region using a communication channel (e.g., an IPSec tunnel VPN). Certain basic core services (or "seed" services), such as deployment orchestrators, public key infrastructure (PKI) services, and the like, may be provisioned in ViBE. These services may provide the capabilities required to bring hardware online, establish a chain of trust in a new region, and deploy the remaining services in a new region. Utilizing a virtual boot environment may prevent circular dependencies between boot resources by utilizing the resources of a host region. Services may be prepared and tested in ViBE before a physical region (e.g., a target region) is available.

[0359] For example, in some embodiments, Realm B 1812 may create a ViBE within its realm, where the ViBE shares identity and trust profile information with Realm A 1802. The ViBE in Realm B 1812 may then be used to bootstrap new areas in Realm A 1802. Further details related to ViBE are described in the following applications, which are incorporated herein by reference in their entirety for all purposes:

[0360] (1) U.S. Nonprovisional Application No. 18 / 105,779, filed on February 3, 2023, entitled “VIRTUAL BOOTSTRAP ENVIRONMENT FOR BUILDING REGIONAL DATA CENTERS”;

[0361] (2) U.S. Nonprovisional Application No. 18 / 105,768, filed on February 3, 2023, entitled “TECHNIQUES FOR AVIRTUAL BOOTSTRAPENVIRONMENT IN A DISTRIBUTED VIRTUAL PRIVATE NETWORK”; and

[0362] (3) U.S. nonprovisional application No. 18 / 105,779, filed on February 3, 2023, entitled “TECHNIQUES FOR MIGRATING SERVICES FROMA VIRTUAL BOOTSTRAP ENVIRONMENT.”

[0363] Fig.18 The architecture depicted in can be used for different purposes, where the vPLC is hosted by one zone and one realm, but is associated with different virtual zones and different virtual realms. Fig.18 In the example depicted in , vPLC 1818 can be used as a backup for data center 1806. This allows for backups for disaster recovery (DR) in different geographic locations. For example, when data center 1806 is a DRCC located at a customer's premises, the customer may request that the CSP provide backup services for DRCC 1806. In response, the CSP may select vPLC 1818 to back up DRCC 1806, wherein vPLC 1818 is physically hosted in region B 1812, which is away from region A 1802 hosting DRCC 1806 and is located in a different geographic location. This can provide a more cost-effective solution for the CSP without having to build another data center for the customer in domain A 1802 just for backup purposes. In some embodiments, the customer may not even know where the backup is performed, that is, the presence and location of vPLC 1818 may be invisible to the customer. The vPLC used for backup can be physically hosted in a cloud provided by a CSP in different domains and regions.

[0364] Since the goal of a DR site is to minimize the occurrence of correlated failures by introducing geographic separation between the primary and DR sites and avoiding simultaneous modifications to the primary and secondary locations, the DRCC 1806 can enjoy DR guarantees once the CSP can ensure that the DRCC and the paired vPLC 1818 (and by extension its hosting area in domain B 1812) are not modified simultaneously.

[0365] Fig.19 is a flow chart 1900 illustrating an example method of creating a vPLC in accordance with certain embodiments, wherein the vPLC is hosted by infrastructure provided by a CSP in a particular region in a particular domain, but is virtually associated with a different region in a different domain. Fig.19 The processing depicted in can be performed as part of the processing performed to create a vPLC. In some embodiments, Fig.19 The processing depicted in can be primarily performed by infrastructure provided by the CSP in the hosting regions and domains.

[0366] Processing begins at 1902 when information is received identifying a host zone in a domain of physically hosted hosts where a vPLC is to be created. Fig.18 In the embodiment depicted in FIG. 18, information may be received that a vPLC is to be created in region B 1814 in realm A 1812. The region and realm identified in 1902 represent the host region and host realm of the vPLC to be created.

[0367] At 1904, information identifying a zone in a specific realm may be received, wherein the specific realm is different from the host realm identified in 1902, wherein the zone and specific realm identified in 1904 are to be associated as a virtual zone and a virtual realm of a vPLC to be created. Fig.18 In the embodiment depicted in , information may be received that a vPLC will be virtually associated with area A 1804 in domain A 1802 .

[0368] At 1906, identity and trust profile information is obtained for the particular realm identified in 1904. The information obtained in 1906 may include identity credentials associated with the realm that will become the virtual realm of the vPLC, including passwords, certificates, and the like.

[0369] At 1908 , a vPLC ID is generated for the vPLC to be created, wherein the vPLC ID identifies the region and specific domain identified in the information received in 1904 .

[0370] At 1910, a vPLC is created in the host domain and resources are allocated to the vPLC, wherein the allocated resources are selected from resources in the infrastructure provided by the CSP in the region identified in 1902 and the domain identified in 1902. The resources may include one or more physical resources (e.g., racks, servers, routers, memory or storage resources) and / or logical resources (e.g., hypervisors, virtual machines, virtual routers). For example, for Fig.18 In the embodiment depicted in , resources are allocated from data center 1816 to the vPLC.

[0371] At 1912, the vPLC is configured using the identity and trust profile information obtained in 1906. For example, for Fig.18 In the embodiment depicted in , the vPLC may be configured using the identity and trust profile information of domain A 1802 .

[0372] At 1914, the vPLC begins communicating with the infrastructure provided by the CSP in the specific domain identified in 1904, which is the virtual domain of the vPLC. Fig.18 In the embodiment depicted in , vPLC 1818 communicates with data center 1806. The communication may be initiated by vPLC 1818 or data center 1806.

[0373] Virtual Private Label Cloud (vPLC) - Remote Data Plane

[0374] Fig. 20 is a block diagram illustrating a CSP control plane model according to certain embodiments. Fig. 20 The distributed environment 2000 depicted in the embodiment is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, substitutions, and modifications are possible. For example, in some embodiments, the distributed environment 2000 may have more than Fig. 20 More or fewer systems or components than shown in the drawings may be used, two or more systems may be combined, or there may be different system configurations or arrangements. Fig. 20 The systems, subsystems, and other components depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device).

[0375] like Fig. 20 As shown in FIG. 1 , there is a CSP-provided infrastructure in a region 2002 and a remote site 2060. The base network in the regional infrastructure 2002 (also referred to as a local site) provided by the CSP is referred to as base 0, and the base network in the remote site 2060 is referred to as base 1. In some embodiments, network base 0 and base 1 may be compatible with each other, so each site may have a network virtualization device (NVD) and share the same address space. In some embodiments, network base 0 and base 1 may not be compatible with each other, and communication between the local site 2002 and the remote site 2060 may require network address translation (NAT) and lookup tables.

[0376] The regional infrastructure provided by the CSP may include CSP namespace 0 2010 and vPLC.R1 namespace 1 2030. CSP namespace 0 includes components such as CSP CP (primary control plane) 2012, CSP resource manager (RM) 2014, local management plane (MP) 2018, and management plane adapter (MPA) 2016. In some embodiments, the MPA may be a separate component from the local MP.

[0377] vPLC.R1 namespace 1 2030 includes a local vPLC.R1 data plane (DP) 2038 for performing data plane functions within vPLC.R1, a vPLC.R1 control plane (CP) 2032, a vPLC.R1 resource manager (RM) 2034, and a vPLC.R1 management plane (MP) 2036. As discussed above, vPLC.R1 may have a VCN 2032, which includes a CP, RM, and MP, for enabling vPLC.R1 to communicate with a remote site 2060 via a communication channel 2050.

[0378] In some embodiments, the regional infrastructure 2002 provided by the CSP may include multiple vPLCs, such as vPLC.R1, vPLC.R2, etc. Each vPLC may have a vPLC-specific CP, a vPLC-specific RM, a vPLC-specific MP, and a vPLC-specific DP.

[0379] The endpoint set 2004 may be used to receive requests from customers of the reseller R1 2003 to access resources or perform functions involving resources, which may be located in the vPLC.R1 namespace 1 2030 or the remote DP 2062. In this CSP-CP model, all URLs associated with the endpoint 2004 may point to the CSP-CP server 2012. The CSP-CP 2012 may determine whether the request through the endpoint is from a non-reseller customer of the CSP or a customer of the reseller R1 based on the URL associated with the called endpoint. For example, the endpoint associated with the URL compute.CSPcloud.com may be called by a non-reseller customer of the CSP, and the endpoint associated with the URL compute.vplcR1cloud.com may be called by a customer of the reseller R1. If the request is from a customer of the reseller, then the CSP CP 2012 may forward the request to the vPLC-specific CP 2032 as needed.

[0380] As mentioned above Figure 6 As discussed, the control plane (CP) may be responsible for providing management, deployment, and orchestration functions within the cloud infrastructure, such as receiving requests from customers, working with other components in the cloud infrastructure (e.g., RM and MP) to determine whether the request can be satisfied, and responding to the customer. In this CSP-CP model, the primary CP 2112 may be responsible for determining whether the customer's request 2003 should reach the local DP 2038 via route 2080 or reach the remote DP 2062 via route 2082. If the customer's request is to be routed to the remote site 2060, then the vPLC-specific CP 2032 may be responsible for receiving the request from the primary CP.

[0381] The management plane (MP) may be a collection of software components responsible for all the processing and workflow required to supply requested operations. In other words, the MP oversees resource fulfillment by ensuring that the data plane performs different tasks correctly and in the correct order. In this CSP-CP model, the local MP 2018 may be responsible for overseeing resource fulfillment in the local DP 2038. The vPLC.R1 MP 2036 may be responsible for connecting to the remote site 2060 through the communication channel 2050.

[0382] The management plane adapter (MPA) can mediate the communication between the CP and the local MP. In some embodiments, the MPA can also act as the local management plane while routing the requests of the remote management plane to the correct remote network. In this CSP-CP model, the local MPA 2016 can be part of the local MP and is responsible for mediating the communication between the local MP 2018 and the main CP 2012.

[0383] The resource manager (RM) may be responsible for tracking resources in the cloud infrastructure to determine whether the requested resources are allowed and available for allocation based on the resource allocation policy. In this CSP-CP model, the local RM 2014 may be responsible for tracking local resources (e.g., local DP 2038) in the regional infrastructure 2002 provided by the CSP. The vPLC.R1 RM 2034 may be responsible for tracking resources in the remote DP 2062.

[0384] exist Fig. 20 In some embodiments, the remote site 2060 may include a remote DP 2062, a remote MP 2066, and a cache 2068 working with a VCN 2064. In some embodiments, a remote site hosted by a dealer may include multiple VCNs, each associated with a customer of the dealer. Similar to the functions of the MP discussed above, the remote MP 2066 may be responsible for overseeing the fulfillment of resources in the remote DP 2062. The remote DP 2062 may contain resources 2063 that the dealer R1 may use to provide cloud services (e.g., computing services for launching VMs) supplied by the dealer. The cache 2068 may be used to improve the performance of functions that require a large number of resources or a large amount of bandwidth (such as remote communications between the regional infrastructure 2002 provided by the CSP and the remote site 2060). For example, when requesting to launch a VM, the remote DP may use an operating system (OS) image, disk image, or snapshot pre-populated in the cache instead of accessing the information through the communication channel 2050.

[0385] exist Fig. 20 In the embodiment, a communication channel 2050 connects a regional infrastructure 2002 (also referred to as a local site) provided by a CSP and a remote site 2060, specifically, is established between a vPLC.R1 VCN 2031 and a remote VCN 2064. The communication channel 2050 may be an on-demand or persistent connection, such as an optical fiber or wavelength division multiplexing (WDM) link, FastConnect, etc. Two edge devices, such as gateways, a gateway 2040 located at a local site (i.e., a regional infrastructure provided by a CSP) 2002 and a gateway 2070 located at a remote site 2060, serve as entry and exit points for traffic (e.g., data packets) entering and leaving each site through the communication channel 2050. The gateway 2040 and the gateway 2070 may include different types of gateways, for example, a dynamic routing gateway (DRG) for connecting to an on-premises network of a remote site and an Internet gateway (IGW) for connecting to a remote site through a public network (e.g., the Internet).

[0386] like Fig. 20 As shown in , when a customer 2003 of dealer R1 requests to access a resource or use a cloud service provided by the dealer, the request may pass through one of the endpoints in the endpoint set 2004 and go to the main CP 2012. The main CP acting on behalf of dealer R1 may determine whether a local DP 2038 or a remote DP 2062 can best satisfy the customer's request. This determination may result in two routes: route 2080 and route 2082. In some embodiments, both the local DP 2038 and the remote DP 2062 may be used for the customer's request. For example, if the request involves different resources located in different DPs, one request may go to route 2080, and another request may go to route 2082.

[0387] When receiving the client's request, the master CP 2012 can work with the local RM 2014 to determine whether the request to access the local resources in the local DP 2038 is allowed and whether there are available resources to satisfy the request. The same check can be performed on the remote DP 2062. In some embodiments, the local RM 2014 can request the assistance of the vPLC.R1 RM 2034 to check the resource allocation history of the remote DP 2062. In some embodiments, the local RM 2014 can request the assistance of the vPLC.R1 RM 2034 to check the resource allocation history of the remote DP 2062. If the local DP can satisfy the request, the request can go to route 2080. Then, the local MP 2018 can ensure that the local DP 2038 performs the appropriate function or operation to satisfy the request.

[0388] On the other hand, if the local DP cannot satisfy the request or the remote DP is a better choice, the request can go to route 2082. In this case, the master CP 2012 can send the request to the vPLC-specific CP (or vPLC.R1 CP) 2032, which in turn requests the vPLC.R1 MP 2036 to send the request to the remote VCN 2064 in the remote site 2060 via the communication channel 2050. The vPLC.R1 MP 2036 can work with the remote MP 2066 to ensure that the remote DP 2062 satisfies the request. Once the request is satisfied, a response can be sent from the remote MP 2066 back to the vPLC.R1 MP 2036 via the communication channel 2050. The vPLC-specific CP 2032 can then communicate the completion response to the master CP 2012 to inform the customer of the reseller R1 2003 of the result.

[0389] Finally, if both local DP 2038 and remote DP 2062 are to be used, for example, the client has multiple requests, then some requests that can be satisfied by local DP 2038 can be routed to route 2080, while other requests that can be satisfied by remote DP 2062 can be routed to route 2082.

[0390] In some embodiments, the dealer's customers may indicate a preference for using resources in the local DP 2038 or the remote DP 2062. In this case, the master CP 2012 may route the request via route 2080 for the local DP 2038 or via route 2082 for the remote DP 2062 accordingly.

[0391] In order to establish a communication channel 2050 between the vPLC.R1 VCN 2031 and the remote VCN 2064, the remote site 2060 may need to provide a web service API with primitives or functions for creating VCNs and launching computing instances. For example, the primitives can create a virtual network, create a network tunnel, create a subnet in the virtual network, set DHCP options for the subnet, create a block volume, create a VM or bare metal instance, assign an IP address range to a host or load balancer, set instance metadata for a specified instance, terminate an instance, etc. These primitives can allow the network differences between the local site 2002 (i.e., the regional infrastructure provided by the CSP) and the remote site 2060 to be hidden.

[0392] vPLC.R1 VCN 2031 and remote VCN 2064 may communicate using packet encapsulation-decapsulation to achieve transparent network packet flow from a subnet of vPLC.R1 VCN 2031 of a customer of reseller R1 to another subnet of remote VCN 2064 belonging to the same customer.

[0393] A compatible base network may refer to two physical networks with the same characteristics (such as interfaces and protocols) so that the two networks can communicate without encountering problems in the network infrastructure. When the base networks between the two sites (i.e., the local site 2002 and the remote site 2060) are the same or compatible, no network address translation is required. Even with address translation, firewall rules may not be required. In the case of such a compatible base, in some embodiments, the remote site 2060 may be implemented as a subsite with a trusted extension of the base of the local site 2002 and connected to the local site using, for example, a metro link.

[0394] For example, if the substrate (e.g., substrate 0) of the local site 2002 and the substrate (e.g., substrate 1) of the remote site 2060 are the same or compatible with each other, then a data packet originating from a computing instance in the vPLC.R1 VCN 2031 can be encapsulated (or marked) at the local site by an edge device (such as gateway 2040) using vPLC-related information (such as the vPLC ID of vPLC.R1 and the lease ID (and / or VCN ID) of the requesting customer of dealer R1) and then sent to the remote site via communication channel 2050.

[0395] After receiving the data packet, the edge device at the remote site (such as gateway 2070) can decapsulate the data packet to verify the vPLC ID and determine the destination VCN in the remote site 2060, and forward the decapsulated data packet accordingly. In some embodiments, the data packet encapsulation and decapsulation can also be performed by a network virtualization device (NVD) (such as a smart NIC) in each site (i.e., local site 2030 and remote site 2060). The NVD can be used to provide network virtualization primitives for creating VCNs.

[0396] Similarly, a data packet originating from a computing instance in remote VCN 2064 may be encapsulated (or tagged) at the remote site by an edge device (such as gateway 2070) using vPLC-related information (such as the vPLC ID of vPLC.R1 and the lease ID (and / or VCN ID) of the requesting customer of reseller R1), and then sent to the local site via communication channel 2050. Upon receiving the data packet, an edge device (such as gateway 2040) at local site 2002 may decapsulate the data packet to determine the specific vPLC associated with the vPLC ID and the destination VCN of the requesting customer of reseller R1 in local site 2060, and forward the decapsulated data packet accordingly.

[0397] Network address translation (NAT) and a lookup table may be required when the substrate networks between two sites (i.e., local site 2002 and remote site 2060) are incompatible. For example, if the substrate (e.g., substrate 0) of local site 2002 and the substrate (e.g., substrate 1) of remote site 2060 are incompatible with each other, for example, the remote site does not have NVD, then a VLAN identifier (or VLAN ID or VLAN tag) may be used for packet encapsulation / decapsulation. In some embodiments, a lookup table containing VLAN ID and VCN ID mapping information 2072 at remote site 2060 may be used to determine the VCN associated with the VCNID of a specific VLAN ID in a packet. Since VCNs are owned by customer leases and each customer lease belongs to a vPLC, a packet with a VLAN ID can ultimately determine which vPLC in local site 2002 the packet belongs to. VLAN ID and VCN ID mapping information 2072 may be used for incompatible substrate networks between two sites and in Fig. 20 Shown as a dotted box.

[0398] For example, a data packet originating from a computing instance in vPLC.R1 VCN 2031 may be encapsulated with vPLC related information (e.g., vPLC ID, lease ID, and VCN ID), similar to that described above, because local site 2002 has all the information related to the requesting customer of dealer R1. After receiving the data packet, an edge device (such as gateway 2070) at remote site 2060 may decapsulate the data packet to verify the vPLC ID and determine the destination VCN in remote site 2060 based on the VCN ID, and forward the decapsulated data packet accordingly. In some embodiments, if the remote site does not know the VCN ID, a VCN ID to VLAN ID lookup may be performed by an edge device (e.g., gateway 2040) at the local site to replace the VCN ID with the corresponding VLAN ID, or to add the found VLAN ID to the data packet header, and then send the data packet to the remote site via communication channel 2050.

[0399] However, for packets originating from compute instances in remote VCN 2064 in response to a requesting customer of reseller R1, since the remote site does not have an NVD and does not know the vPLC ID, the VLAN ID may be used for packet encapsulation. The packet may first be encapsulated with the VLAN ID and sent to an edge device (such as gateway 2070) at remote site 2060, which knows how to prepare the packet to be sent over communication channel 2050 (e.g., FastConnect connection). Gateway 2070 at remote site 2060 may decapsulate the packet, strip the VLAN tag, and use VLAN / VCN mapping information 2072 to look up the vPLC ID, lease ID, VCN ID, and IP address of an edge device (such as gateway 2040) at local site 2002. Gateway 2070 at remote site 2060 may then re-encapsulate the packet using the above-looked-up information to send to local site 2002 over communication channel 2050.

[0400] Once the packet is received and decapsulated by the edge device (e.g., gateway 2040) at the local site 2002 to obtain vPLC related information (e.g., vPLC ID), gateway 2040 can continue to use encapsulation / decapsulation to forward the packet to the next hop to reach the NVD of the vPLC associated with the vPLC ID (e.g., vPLC.R1). The NVD then decapsulates the packet and finds the destination VCN ID of the specific VCN (e.g., vPLC.R1 VCN) associated with the requesting customer of reseller R1, and forwards the packet accordingly.

[0401] Connectivity between resources allocated in remote site 2060 and resources allocated in local site 2002 is provided by packet encapsulation / decapsulation, which makes resources in one subnet in the remote site appear as if they are located on an extension of a subnet in a VCN hosted in a vPLC in local site 2002. The CSP can achieve such a result by issuing a vPLC-aware packet encapsulation / decapsulation protocol that allows permitted traffic to flow between the VCN implementation in local site 2002 and the VCN implementation at remote site 2060.

[0402] Fig.21 is a block diagram illustrating a local vPLC-CP model according to certain embodiments. Fig.21 The distributed environment 2100 depicted in the embodiment is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, substitutions, and modifications are possible. For example, in some embodiments, the distributed environment 2100 may have more than Fig.21 More or fewer systems or components than shown in the drawings may be used, two or more systems may be combined, or there may be different system configurations or arrangements. Fig.21 The systems, subsystems, and other components depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device).

[0403] Fig. 20 and Fig.21 Both have the same infrastructure and remote sites 2160 provided by the CSP in the same region 2102, the same CSP namespace 0 2110 and vPLC.R1 namespace 1 2130 and their corresponding components (e.g., CP, RM, MP, and vPLC.R1 DP), and the same communication channel 2150. Fig. 20 and Fig.21 The difference between the two is which control plane is used to control and provide access to the local vPLC.R1 DP 2138 and the remote DP 2162. Fig. 20 In the example, the main CP (i.e., CSP CP) 2012 plays such a role. Fig.21 In the example, the vPLC.R1-specific CP 2132 plays this role.

[0404] like Fig.21 As shown in FIG. 2 , the endpoint set 2104 associated with vPLC.R1 can be used to receive requests from customers of dealer R1 2103 to access resources or perform functions involving resources, which may be located in vPLC.R1 namespace 1 2130 or remote DP 2162. All requests may be intercepted by a vPLC-specific CP (i.e., a vPLC.R1-specific CP) 2132 before being sent to the primary CSP CP 2112. The vPLC.R1-specific CP acting on behalf of dealer R1 can determine whether a local DP 2138 or a remote DP 2162 can best satisfy the customer's request. This determination may result in two different routes: a route 2180 to the local DP 2138 and a route 2182 to the remote DP 2162. In some embodiments, both the local DP 2138 and the remote DP 2162 can be used for the customer's request.

[0405] When a customer's request is received, the vPLC.R1-specific CP 2132 may work with the vPLC.R1 RM 2134 to determine whether local resources in the local vPLC.R1 DP 2138 are allowed and available to satisfy the request. If the local DP can satisfy the request, then the request may proceed to route 2180. The vPLC.R1-specific CP 2132 may forward the request to the master CP (or CSP CP) 2112, which may then respond as per Fig. 20 The process depicted in route 2080 accesses the local vPLC.R1 DP 2138 via the local CSP MPA 2116 and the local CSP MP 2118 .

[0406] On the other hand, if the local vPLC.R1 DP 2138 cannot satisfy the request or the remote DP is a better choice, then the request can go to route 2182. In this case, the vPLC.R1-specific CP 2132 can request the vPLC.R1 MP 2136 to send the request to the remote VCN 2164 in the remote site 2160 via the communication channel 2150. The vPLC.R1 MP 2136 can work with the remote MP 2166 to ensure that the remote DP 2162 satisfies the request. Once the request is satisfied, the remote MP 2166 can send a response back to the vPLC.R1 MP 2136 via the communication channel 2150. The vPLC-specific CP 2132 can then notify the customer of the reseller R1 2103 of the result.

[0407] In this local vPLC-CP model, the primary CSP CP 2112 is not involved when determining that a request goes to the remote site 2182. In other words, the vPLC.R1-specific CP 2132 has full control over how requests are routed.

[0408] The communication between the regional infrastructure (i.e., local site) 2102 and the remote site 2160 provided by the CSP is similar to Fig. 20 The communication is the same as that described in , by utilizing packet encapsulation-decapsulation to achieve transparent network packet flow through communication channel 2150.

[0409] Fig. 22 is a block diagram illustrating a remote vPLC-CP model according to certain embodiments. Fig. 22 The distributed environment 2200 depicted in the embodiment is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, substitutions, and modifications are possible. For example, in some embodiments, the distributed environment 2200 may have more than Fig. 22 More or fewer systems or components than shown in the drawings may be used, two or more systems may be combined, or there may be different system configurations or arrangements. Fig. 22 The systems, subsystems, and other components depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device).

[0410] Fig. 22 Can be similar to Fig.21 , because both have the CSP-provided infrastructure in region 2202, remote site 2260, and communication channel 2250. However, the components in vPLC.R1 namespace 1 2230 have been moved to the remote site 2260, except for the local vPLC.R1 DP (i.e., local DP) 2238, which remains in the regional infrastructure 2202 provided by the CSP. In other words, vPLC.R1 CP 2232, vPLC.R1 RM 2234, and vPLC.R1 MP 2236 are located in the remote site 2260 and perform the same operations as Fig.21 The components in the remote site 2260 (i.e., vPLC.R1CP 2132, vPLC.R1 RM 2134, and vPLC.R1 MP 2136) perform functions similar to those performed by the components in the remote site 2260. The vPLC.R1 CP 2232 in the remote site 2260 (referred to as the remote vPLC.R1CP) can play a role in controlling and providing access to the local vPLC.R1 DP 2238 and the remote DP 2262. Note that the term "local" is still from the perspective of the regional infrastructure 2202 provided by the CSP.

[0411] In some embodiments, the remote vPLC.R1 CP 2232, vPLC.R1 RM 2234, and vPLC.R1 MP 2236 may be created using resources within the remote site 2260, but is referred to as a remote vPLC.R1 CP because the CP is used to access the local DP 2238 in namespace 1 of vPLC.R1 2230 through the communication channel 2250. In other embodiments, the remote vPLC.R1 CP 2232, vPLC.R1 RM 2234, and vPLC.R1 MP 2236 may be created using resources in the local site 2202 as long as there is network connectivity between the CSP local network in the local site 2202 and the remote vPLC.R1 CP 2232. This may be accomplished by having a load balancer in the vPLC.R1 VCN 2268 with a remote address pointing to the remote vPLC.R1 CP 2232.

[0412] In certain embodiments, the remote vPLC-CP model may be used when the base network of the local site 2202 and the base network of the remote site 2260 are compatible or incompatible. If the base networks of the two sites are compatible, then the remote site 2260 may be considered a trusted extension of the local site 2202. If the networks of the two sites are incompatible, then the gateways in the two sites (e.g., gateway 2240 and gateway 2270) may perform packet modification / rewriting for security purposes to avoid direct network access between base 0 of the local site 2202 and base 1 of the remote site 2260. The packet modification / rewriting may involve modifying the source or destination IP address, source or destination port, or other information in the packet. In some embodiments, such packet modification / rewriting may be performed for compatible and incompatible bases between the two sites. Fig. 22 In the example, vPLC.R1 VCN 2268 can be used to add further security measures to prevent the remote site 2260 from directly accessing the substrate in CSP namespace 02210.

[0413] like Fig. 22 As shown in FIG. 1 , an endpoint set 2204 associated with vPLC.R1 may be used to receive requests from customers of reseller R1 2203 to access resources or perform functions involving resources, which may be located in a local DP 2238 within vPLC.R1 namespace 1 2230 or in a remote DP 2262. However, access to resources in vPLC.R1 namespace 1 2230 may now need to go through a communication channel 2250. In some embodiments, another endpoint set 2206 associated with vPLC.R1 may be used for customers of reseller R1 2205 to access a local DP 2238 through a CSP CP 2212 in a local site (regional infrastructure provided by the CSP) 2202.

[0414] A request from a customer of dealer R1 2203 may go to the remote vPLC.R1 CP acting on behalf of dealer R1 to determine whether the customer's request can be best satisfied by the local vPLC.R1 DP 2238 or the remote DP 2262. This determination may result in two different routes: route 2280 to the local vPLC.R1 DP 2138 and route 2282 to the remote DP 2262. In some embodiments, both the local DP 2238 and the remote DP 2262 may be used for the customer's request.

[0415] When a customer's request is received, the remote vPLC.R1 CP 2232 may work with the vPLC.R1 RM 2234 to determine whether local resources in the local vPLC.R1 DP 2238 are allowed and available to satisfy the request. If the local DP can satisfy the request, then the request may go to route 2280. In some embodiments, the remote vPLC.R1 CP 2232 may establish a communication channel 2250 with the local vPLC.R1 VCN 2268 using the remote VCN 2264 with the assistance of the vPLC.R1 MP 2236 to send the request to the CSP CP 2212. In other embodiments, if the remote site 2260 is an on-premises or enterprise network of a reseller, then there may be a persistent communication channel, such as FastConnect, between the remote VCN 2264 and the local vPLC.R1 VCN 2268, and the remote vPLC.R1 CP 2232 may send the request to the CSP CP 2212. When the remote vPLC.R1 CP 2232 sends a request to the CSP CP 2212, this is equivalent to delegating the access processing of the local DP 2238 to the CSP CP 2212 in the local site 2210. In some embodiments, a new API in the local site can be used to access the local vPLC.R1 DP 2238 when the CSPCP 2212 receives a request from the remote site 2260, or to perform some pre-processing and post-processing actions before executing the request.

[0416] CSP CP 2212 may use local MP 2218 to assist in accessing local vPLC.R1 DP 2238. Once the request is satisfied, a response may be sent from CSP CP 2212 (or local MP 2216) back to remote vPLC.R1 CP 2232 (or vPLC.R1 MP 2236) via communication channel 2250. Remote vPLC CP 2232 may then notify the customer of dealer R1 2203 of the result.

[0417] On the other hand, if the local vPLC.R1 DP 2238 cannot satisfy the request or the remote DP is a better choice, the request can go to route 2282. In this case, the remote vPLC.R1 CP 2232 can request the vPLC.R1 MP 2236 to enable / execute a workflow that can ensure that the remote DP 2262 performs the appropriate function or operation to satisfy the request. The remote vPLC.R1 CP 2232 can respond to the customer of the dealer R1 2203 after the request is satisfied.

[0418] The communication between the regional infrastructure (i.e., local site) 2202 and the remote site 2260 provided by the CSP is similar to Fig. 20 As described in , transparent network packet flow through communication channel 2250 is achieved by utilizing packet encapsulation-decapsulation, so that the dealer's customers are unaware of such processing in the back end.

[0419] Fig.23 is an example flow diagram illustrating a process for creating a communication channel between infrastructure provided by a CSP in a region and a remote site in accordance with certain embodiments. Fig.23 The processes depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device). Fig.23 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.23 Various processing steps are depicted as occurring in a particular order or sequence, but this is not meant to be limiting. In certain alternative embodiments, the processing may be performed in a different order, or some steps may be performed in parallel. It should be appreciated that in alternative embodiments, Fig.23 The processing described in may include Fig.23 There may be more or fewer steps than those depicted in the example.

[0420] In some embodiments, for example, Fig.23 The processing depicted in the figure may be performed by a CSP. Some steps may be performed by components (e.g., control plane (CP), resource manager (RM), and management plane (MP), etc.) within a regional infrastructure provided by a CSP or a cloud service (such as a VCN service, a vPLC service, etc.) provided by one or more CSPs.

[0421] At step 2302, a request to access a resource in a remote site may be received. Fig. 20 In step 2304, the primary CSPCP 2080 may receive a request from a customer of the reseller R1 2003, and the primary CSPCP 2080 determines with the help of the local RM 2014 that the request can be satisfied by the remote site 2060. At step 2304, the remote resources in the remote site may be identified. For example, continuing the above example, in Fig. 20 In , the customer of reseller R1 2003 may have used local DP 2038 for computing services. However, the customer may want to have a disaster recovery site that is not local to the regional infrastructure 2002 provided by the CSP. Therefore, the remote DP 2062 in the remote site 2060 may be a better candidate to meet the customer's request.

[0422] At step 2308, a remote virtual cloud network (VCN) in the remote site may be set up and the remote resources may be made part of the remote VCN. For example, as discussed above, the remote site may provide a web service API with primitives or functions for creating a VCN and launching a computing instance. Fig. 20 , remote site 2060 can create remote VCN 2064 and make the customer leases of the requesting customers of dealer R1 part of remote VCN 2064. Gateways at either site, for example, gateway 2040 and gateway 2070, can be configured.

[0423] In addition, for Fig. 22 , the remote vPLC.R1 CP 2232, vPLC.R1 RM 2234, and vPLC.R1 MP 2236 may also be configured by the remote site 2260 or the local site 2202, as described with respect to Fig. 22 described.

[0424] At step 2310, a network communication channel may be created between the vPLC VCN and the remote VCN. Fig. 20 In the example, if the remote VCN 2064 is part of the enterprise network of the reseller R, a remote and persistent communication channel, such as FastConnect, can be created between the vPLC.R1 VCN 2031 and the remote VCN 2064. The customers of the reseller R1 can utilize the network services of the cloud service provisioned by the reseller by providing the necessary information, such as the dynamic routing gateway (DRG), IP address, etc., to be associated with the VCN.

[0425] At step 2312, the vPLC-specific CP, RM, and MP may be set as part of the vPLC VCN. Fig.21 In the embodiment, the vPLC.R1-specific CP 2132, vPLC.R1 RM 2134 and vPLC.R1 MP 2136 should be part of the vPLC.R1VCN 2131 so that the vPLC.R1 RM 2134 can track the remote resources in the remote DP 2162 and the vPLC.R1 MP 2136 can communicate with the remote MP 2166 to supervise the remote DP 2162's fulfillment of customer requests.

[0426] Fig.24 is an example flow chart illustrating a method for processing requests in a CSP-CP model according to certain embodiments. Fig.24 The processes depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device). Fig.24 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.24 Various processing steps are depicted as occurring in a particular order or sequence, but this is not meant to be limiting. In certain alternative embodiments, the processing may be performed in a somewhat different order, or some steps may be performed in parallel. It should be appreciated that in alternative embodiments, Fig.24 The processing described in may include Fig.24 There may be more or fewer steps than those depicted in the example.

[0427] In some embodiments, for example, Fig.24 The processing depicted in can be performed by the CSP, vPLC, or remote infrastructure (e.g. Fig. 20 For example, some steps may be performed by components within a regional infrastructure provided by a CSP or a cloud service provided by one or more CSPs (e.g., a control plane (CP), a resource manager (RM), and a management plane (MP), etc.). Other steps may be performed by components within a remote infrastructure.

[0428] At step 2410, a primary control plane (CP) at a local site may receive a request to perform an operation involving resources associated with a vPLC. Fig. 20 In the example, a customer of reseller R1 2003 can send a request in vPLC.R1 (eg, placing five VMs on a server) to primary CP 2012 via an endpoint in endpoint set 2004 .

[0429] At step 2412, the primary CP determines whether to use the resources at the local data plane (DP) of the vPLC or the remote DP of the remote site to perform the requested operation. At step 2414, if it is determined to be the local DP, the process proceeds to step 2430. If it is determined to be the remote DP, the process proceeds to step 2450. For example, in Fig. 20 In the example, the master CP 2012 may consult the local RM 2014 to check whether the request to place five VMs on the server can be satisfied by the local DP 2038 or the remote DP 2062. In some embodiments, the local RM 2014 may request the assistance of the vPLC.R1 RM 2034 to check the resource allocation history of the remote DP 2062. In other words, the master CP works together with the local RM to perform processing to determine whether the requested operation is permitted and whether there are resources available in the local DP or the remote DP to perform the operation.

[0430] For example, assume that the resource allocation policy of vPLC.R1 limits each request to a maximum of 10 VMs, and the local DP 2038 has three VMs available, while the remote DP 2062 has 10 VMs available. The local RM can first check the resource allocation policy of vPLC.R1 and determine that the request is allowed / permitted. The local RM can then check the availability and determine that the local DP does not have sufficient resources to satisfy the request (i.e., the remaining three VMs cannot satisfy the request for five VMs), but the remote DP has sufficient resources to satisfy the request (i.e., the remaining ten VMs can satisfy the request for five VMs). Therefore, the local RM 2014 can notify the primary CP that only the remote DP can perform the requested operation of placing five VMs on the server.

[0431] For the local DP, at step 2430, the master CP requests the local MP to enable a workflow to perform the requested operation. Fig. 20 In step 2432, after receiving a determination from the local RM 2014 that the request should be forwarded to route 2080, the master CP 2012 may request the local MP 2018 to enable or provision a workflow to perform the requested operation (e.g., place five VMs on the server). At step 2432, the requested operation may be performed in the local DP of the vPLC. Fig. 20 In the example, the local MP 2018 can obtain the resource ID of the identified server and the lease ID of the requesting customer of the dealer R1 from the local RM, and request the local DP 2038 to provision five VMs on the hypervisor running on the identified server. Once the requested operation is completed, the local MP 2018 can notify the main CP 2012, which in turn responds to the requesting customer of the dealer R1 2003.

[0432] For remote DP, at step 2450, the master CP requests the vPLC-specific CP in the vPLC's VCN to connect to the remote site. Fig. 20 In step 2452, the master CP 2012 may send a request to the vPLC.R1 CP 2032 to connect to the remote site 2060 to fulfill the request. At step 2452, the vPLC.R1 CP consults the vPLC.R1 RM 2036 for additional checks. For example, as discussed previously, the vPLC.R1 RM may track the resource allocation history of the remote DP 2062. Thus, the vPLC.R1 RM may check based on the resource allocation policy of the vPLC.R1 and the resource availability in the remote DP for a particular customer of the dealer R1 2003. In some embodiments, the vPLC.R1 RM may check the resource DB in the vPLC.R1 that contains the resource allocation and provisioning history of the remote DP 2062.

[0433] At step 2454, the vPLC-specific CP requests the vPLC-specific MP in the vPLC's VCN to communicate with the remote MP in the remote site. Fig. 20 , vPLC.R1 2032 may request vPLC.R1 MP 2036 to supply a workflow that may transmit the request to remote MP 2066 via a communication channel 2050 established between vPLC.R1 VCN 2031 and remote VCN 2064. The communication may include packet encapsulation / decapsulation by edge devices (e.g., gateways) in local site 2002 and remote site 2060, as discussed above.

[0434] At step 2456, the remote MP performs the requested operation in the remote DP of the remote site. Fig. 20 In the example, after receiving the request from vPLC.R1 MP 2036, remote MP 2066 can provide a workflow to ensure that five VMs are created on the server in remote DP 2062. Once the requested operation is completed, remote MP 2066 can notify vPLC.R1 MP 2036 through communication channel 2050, which relays the notification back to primary CP 2012 through vPLC.R1CP 2032. Therefore, primary CP 2012 can respond to the request of dealer R1 2003.

[0435] Fig.25 is an example flow chart illustrating a method for processing requests in a native vPLC-CP model according to certain embodiments. Fig.25 The processes depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device). Fig.25 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.25 Various processing steps are depicted as occurring in a particular order or sequence, but this is not meant to be limiting. In certain alternative embodiments, the processing may be performed in a different order, or some steps may be performed in parallel. It should be appreciated that in alternative embodiments, Fig.25 The processing described in may include Fig.25 There may be more or fewer steps than those depicted in the example.

[0436] In some embodiments, for example, Fig.24 The processing depicted in can be performed by the CSP, vPLC, or remote infrastructure (e.g. Fig.21 For example, some steps may be performed by components within a regional infrastructure provided by a CSP or a cloud service provided by one or more CSPs (e.g., a control plane (CP), a resource manager (RM), and a management plane (MP), etc.). Other steps may be performed by components within a remote infrastructure.

[0437] At step 2510, a vPLC-specific control plane (CP) at a local site may receive a request to perform an operation involving resources associated with the vPLC. Fig.21 In the example, a customer of reseller R1 2103 can send a request in vPLC.R1 (e.g., place five VMs on a server) to vPLC.R1CP 2132 via one of the endpoints in endpoint set 2104.

[0438] In step 2512, the vPLC-specific CP determines whether to use resources at the local data plane (DP) of the vPLC or at a remote DP at the remote site to perform the requested operation. In step 2514, if it is determined to be the local DP, then the process proceeds to step 2530. If it is determined to be the remote DP, then the process proceeds to step 2550. For example, in Fig.21 In some embodiments, vPLC.R1 CP 2132 may consult vPLC.R1 RM 2134 to check whether the request to place five VMs on the server can be satisfied by local DP 2138 or remote DP 2162. In some embodiments, vPLC.R1 RM 2134 may request the assistance of local RM 2114 to check the resource allocation history of local DP 2138. In other words, vPLC.R1 CP works together with vPLC.R1 RM to perform processing to determine whether the requested operation is permitted and whether resources are available in the local DP or remote DP to perform the operation.

[0439] For a local DP, at step 2530, the vPLC-specific CP forwards the request to the primary CP at the local site. Fig.21 In the example, after receiving a determination from vPLC.R1 RM 2134 that the request should be routed to route 2180, vPLC.R1 CP 2132 may forward the request to the primary CP (or CSP CP) 2112. The process proceeds to step 2532, which will execute Fig.24 In steps 2430-2432, the requested operation is performed in the local DP 2138 of vPLC.R1 by requesting the local MP 2118 to supply the workflow.

[0440] For remote DP, at step 2550, the vPLC-specific CP requests the vPLC-specific MP of the vPLC to communicate with the remote MP of the remote site. Fig.21 , vPLC.R1 CP 2132 may request vPLC.R1 MP 2136 to supply a workflow that may transmit the request to remote MP 2166 via a communication channel 2150 established between vPLC.R1 VCN 2131 and remote VCN 2164. The communication may include packet encapsulation / decapsulation by edge devices (e.g., gateways) in local site 2102 and remote site 2160, as discussed above.

[0441] At step 2552, the remote MP performs the requested operation in the remote DP of the remote site. Fig.21 , after receiving the request from vPLC.R1 MP 2136, remote MP 2166 may provide a workflow to ensure that five VMs are created on the server in remote DP 2162. Once the requested operation is completed, remote MP 2166 may notify vPLC.R1 MP 2136 via communication channel 2150, which relays the notification to vPLC.R1 CP 2132 in response to the request of reseller R1 2103's customer.

[0442] Fig.26 is an example flow chart illustrating a method for processing requests in a remote vPLC-CP model according to certain embodiments. Fig.26 The processes depicted in the can be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the corresponding system, using hardware, or a combination thereof. The software can be stored on a non-transitory storage medium (e.g., on a memory device). Fig.26 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.26 Various processing steps are depicted as occurring in a particular order or sequence, but this is not meant to be limiting. In certain alternative embodiments, the processing may be performed in a different order, or some steps may be performed in parallel. It should be appreciated that in alternative embodiments, Fig.26 The processing described in may include Fig.26 There may be more or fewer steps than those depicted in the example.

[0443] In some embodiments, for example, Fig.25 The processing depicted in can be performed by the CSP, vPLC, or remote infrastructure (e.g. Fig.21 For example, some steps may be performed by components within a regional infrastructure provided by a CSP or a cloud service provided by one or more CSPs (e.g., a control plane (CP), a resource manager (RM), and a management plane (MP), etc.). Other steps may be performed by components within a remote infrastructure.

[0444] At step 2610, a request is received at a remote site to perform an operation involving resources of a vPLC (e.g., placing a VM on a server). Fig. 22 In the example, a customer of reseller R1 2203 can send a request in vPLC.R1 (e.g., place five VMs on a server) to a remote vPLC.R1 CP 2232 via one of the endpoints in endpoint set 2204.

[0445] At step 2614, the CP at the remote site determines whether to use the local data plane (DP) of the vPLC or the resources at the remote DP of the remote site to perform the requested operation. At step 2616, if it is determined to be the remote DP, then the process proceeds to step 2620. If it is determined to be the local DP, then the process proceeds to step 2630. For example, in Fig. 22 In some embodiments, the remote vPLC.R1 CP 2232 may consult the vPLC.R1 RM 2234 to check whether the request to place five VMs on the server can be satisfied by the local DP 2238 or the remote DP 2262. In some embodiments, the vPLC.R1 RM 2134 may request the assistance of the local RM 2214 to check the resource allocation history of the local DP 2238. In other words, the remote vPLC.R1 CP works together with the vPLC.R1 RM to perform processing to determine whether the requested operation is permitted and whether resources are available in the local DP or the remote DP to perform the operation.

[0446] For the remote DP, at step 2620, the remote CP uses the remote vPLC MP to perform operations in the remote DP. Fig. 22 , after receiving a determination from vPLC.R1 RM 2234 that the request should go to route 2282, the remote vPLC.R1 CP 2232 may request vPLC.R1 MP 2236 to supply a workflow to perform the requested operation (e.g., place five VMs on the server) in remote DP 2262. Once the requested operation is completed, vPLC.R1 MP 2236 may notify the remote vPLC.R1 CP 2232, which in turn responds to the request of the distributor R1 2203 customer.

[0447] For the local DP, at step 2630, the remote CP requests the remote vPLC MP to communicate with the CSP CP at the local site through the network communication channel. Fig. 22 In some embodiments, the remote vPLC.R1 CP 2132 may request the vPLC.R1 MP 2236 to provide a workflow that may transmit the request to the CSP CP 2212 via the communication channel 2150 established between the VCN 2268 and the remote VCN 2264. The communication may include packet encapsulation / decapsulation by edge devices (e.g., gateways) in the local site 2202 and the remote site 2260 as discussed above. As discussed above, in some embodiments, if there is a persistent communication channel, such as FastConnect, between the remote VCN 2264 and the local vPLC.R1 VCN 2268, the remote vPLC.R1 CP 2232 may send the request to the CSP CP 2212.

[0448] At step 2632, the requested operation is performed in the local DP of the vPLC in the local site. Fig. 22 In the example, CSP CP 2212 may request local MP 2218 to provision a workflow to ensure that five VMs are created on the server in local DP 2238. Once the requested operation is completed, CSP CP 2212 (or local MP 2218) may notify remote vPLC.R1 CP 2232 (or vPLC.R1 MP 2236) via communication channel 2250 so that remote vPLC.R1 CP 2232 may respond to the request of dealer R1 2203 customer.

[0449] Example CSPI Architecture

[0450] As noted above, Infrastructure as a Service (IaaS) is a specific type of cloud computing. IaaS can be configured to provide virtualized computing resources over a public network (e.g., the Internet). In the IaaS model, cloud computing 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 supply various services to accompany these infrastructure components (example services include billing software, monitoring software, logging software, load balancing software, and clustering software, etc.). Therefore, since these services may be policy-driven, IaaS users can be able to implement policies to drive load balancing to maintain the availability and performance of applications.

[0451] In some cases, 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 a virtual machine (VM), install an operating system (OS) on each VM, deploy middleware such as a database, create storage buckets for workloads and backups, and even install enterprise software into that VM. The customer can then use the provider's services to perform a variety of functions, including balancing network traffic, troubleshooting application problems, monitoring performance, managing disaster recovery, and more.

[0452] In most cases, the cloud computing model will require the involvement of a cloud provider. A cloud provider may, but need not, specialize in providing (e.g., provisioning, renting, selling) third-party IaaS services. An entity may also choose to deploy a private cloud, thereby becoming its own infrastructure service provider.

[0453] In some examples, IaaS deployment is the process of placing a new application or a new version of an application onto a prepared application server, etc. It may also include the process of preparing the server (e.g., installing libraries, daemons, etc.). This is typically managed by the cloud provider, below the hypervisor layer (e.g., servers, storage, network hardware, and virtualization). Thus, the customer may be responsible for handling (OS), middleware, and / or application deployment (e.g., on a self-service virtual machine (e.g., that can be started on demand), etc.).

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

[0455] In some cases, there are two different challenges with IaaS provisioning. First, there is the initial challenge of provisioning the initial set of infrastructure before anything is running. Second, once everything has been provisioned, there is the challenge of evolving the existing infrastructure (e.g., adding new services, changing services, removing services, etc.). In some cases, both of these challenges can be addressed by enabling configuration that defines the infrastructure in a declarative manner. In other words, the infrastructure (e.g., which components are required and how they interact) can be defined by one or more configuration files. Therefore, the overall topology of the infrastructure (e.g., which resources depend on which resources, and how they work together) can be described in a declarative manner. In some cases, once the topology is defined, workflows can be generated to create and / or manage the different components described in the configuration files.

[0456] In some examples, the infrastructure can have many interconnected elements. For example, there may be one or more virtual private clouds (VPCs) (e.g., a potential on-demand pool of configurable and / or shared computing resources), also referred to as a core network. In some examples, one or more inbound / outbound traffic group rules can also be provided to define how to set up the inbound / outbound traffic of the network and one or more virtual machines (VMs). Other infrastructure elements, such as load balancers, databases, etc., can also be provided. The infrastructure can evolve gradually as more and more infrastructure elements are desired and / or added.

[0457] In some cases, continuous deployment techniques can be employed to enable deployment of infrastructure code across various virtual computing environments. In addition, the described techniques can enable infrastructure management within these environments. In some examples, a service team can write code that is expected to be deployed to one or more but typically many different production environments (e.g., across various different geographic locations, sometimes across the world). However, in some examples, the infrastructure on which the code will be deployed is first set up. In some cases, provisioning can be done manually, resources can be provisioned using a provisioning tool, and / or code can be deployed using a deployment tool once the infrastructure is provisioned.

[0458] Fig. 27 27 is a block diagram 2700 illustrating an example mode of an IaaS architecture according to at least one embodiment. A service operator 2702 can be communicatively coupled to a secure host lease 2704 that can include a virtual cloud network (VCN) 2706 and a secure host subnet 2708. In some examples, the service operator 2702 can use one or more client computing devices, which can be portable handheld devices (e.g., Cellular phone, computing tablets, personal digital assistants (PDAs), or wearable devices (e.g., Google head mounted display), running software (such as Microsoft Windows ) and / or various mobile operating systems (such as iOS, Windows Phone, Android, BlackBerry 8, Palm OS, etc.), and supports Internet, email, short message service (SMS), or other communication protocols. Alternatively, the client computing device may be a general-purpose personal computer, including, for example, a computer running various versions of Microsoft Apple The client computing device may be a personal computer and / or laptop computer running various commercially available The client computing device may be a workstation computer running any of a variety of GNU / Linux operating systems (such as, for example, Google Chrome OS). Alternatively or additionally, the client computing device may be any other electronic device, such as a thin client computer, an Internet-enabled gaming system (e.g., with or without gesture input device), and / or a personal messaging device capable of communicating over a network that has access to VCN 2706 and / or the Internet.

[0459] VCN 2706 may include a local peer gateway (LPG) 2710, which may be communicatively coupled to a secure shell (SSH) VCN 2712 via LPG 2710 contained in SSH VCN 2712. SSH VCN 2712 may include an SSH subnet 2714, and SSH VCN 2712 may be communicatively coupled to control plane VCN 2716 via LPG 2710 contained in control plane VCN 2716. In addition, SSH VCN 2712 may be communicatively coupled to data plane VCN 2718 via LPG 2710. Control plane VCN 2716 and data plane VCN 2718 may be contained in a service lease 2719, which may be owned and / or operated by an IaaS provider.

[0460] The control plane VCN 2716 may include a control plane demilitarized zone (DMZ) layer 2720 that acts as a perimeter network (e.g., a portion of a corporate network between a corporate intranet and an external network). DMZ-based servers may have limited liability and help control vulnerabilities. In addition, the DMZ layer 2720 may include one or more load balancer (LB) subnets 2722, a control plane application layer 2724 that may include (one or more) application subnets 2726, and a control plane data layer 2728 that may include (one or more) database (DB) subnets 2730 (e.g., (one or more) front-end DB subnets and / or (one or more) back-end DB subnets). The LB subnet(s) 2722 included in the control plane DMZ layer 2720 may be communicatively coupled to the application subnet(s) 2726 included in the control plane application layer 2724 and the Internet gateway 2734 that may be included in the control plane VCN 2716, and the application subnet(s) 2726 may be communicatively coupled to the DB subnet(s) 2730 included in the control plane data layer 2728 and the service gateway 2736 and the network address translation (NAT) gateway 2738. The control plane VCN 2716 may include the service gateway 2736 and the NAT gateway 2738.

[0461] The control plane VCN 2716 may include a data plane mirror application layer 2740, which may include application subnet(s) 2726. The application subnet(s) 2726 included in the data plane mirror application layer 2740 may include a virtual network interface controller (VNIC) 2742 that may execute a compute instance 2744. The compute instance 2744 may communicatively couple the application subnet(s) 2726 of the data plane mirror application layer 2740 to the application subnet(s) 2726 that may be included in the data plane application layer 2746.

[0462] The data plane VCN 2718 may include a data plane application layer 2746, a data plane DMZ layer 2748, and a data plane data layer 2750. The data plane DMZ layer 2748 may include (one or more) LB subnets 2722, which may be communicatively coupled to the (one or more) application subnets 2726 of the data plane application layer 2746 and the Internet gateway 2734 of the data plane VCN 2718. The (one or more) application subnets 2726 may be communicatively coupled to the service gateway 2736 of the data plane VCN 2718 and the NAT gateway 2738 of the data plane VCN 2718. The data plane data layer 2750 may also include (one or more) DB subnets 2730, which may be communicatively coupled to the (one or more) application subnets 2726 of the data plane application layer 2746.

[0463] The internet gateway 2734 of the control plane VCN 2716 and the data plane VCN 2718 may be communicatively coupled to a metadata management service 2752, which may be communicatively coupled to a public internet 2754. The public internet 2754 may be communicatively coupled to a NAT gateway 2738 of the control plane VCN 2716 and the data plane VCN 2718. The service gateway 2736 of the control plane VCN 2716 and the data plane VCN 2718 may be communicatively coupled to a cloud service 2756.

[0464] In some examples, a service gateway 2736 of a control plane VCN 2716 or a data plane VCN 2718 can make application programming interface (API) calls to cloud services 2756 without going through public internet 2754. API calls from service gateway 2736 to cloud services 2756 can be one-way: service gateway 2736 can make API calls to cloud services 2756, and cloud services 2756 can send requested data to service gateway 2736. However, cloud services 2756 may not initiate API calls to service gateway 2736.

[0465] In some examples, secure host lease 2704 can be directly connected to service lease 2719, which can otherwise be isolated. Secure host subnet 2708 can communicate with SSH subnet 2714 through LPG 2710, which can enable two-way communication on otherwise isolated systems. Connecting secure host subnet 2708 to SSH subnet 2714 can enable secure host subnet 2708 to access other entities within service lease 2719.

[0466] The control plane VCN 2716 may allow a user of the service lease 2719 to set up or otherwise provision desired resources. The desired resources provisioned in the control plane VCN 2716 may be deployed or otherwise used in the data plane VCN 2718. In some examples, the control plane VCN 2716 may be isolated from the data plane VCN 2718, and the data plane mirror application layer 2740 of the control plane VCN 2716 may communicate with the data plane application layer 2746 of the data plane VCN 2718 via the VNIC 2742, which may be included in the data plane mirror application layer 2740 and the data plane application layer 2746.

[0467] In some examples, a user or customer of the system may make a request, such as a create, read, update, or delete (CRUD) operation, through the public internet 2754 which may transmit the request to the metadata management service 2752. The metadata management service 2752 may transmit the request to the control plane VCN 2716 through the internet gateway 2734. The request may be received by the LB subnet(s) 2722 contained in the control plane DMZ layer 2720. The LB subnet(s) 2722 may determine that the request is valid, and in response to the determination, the LB subnet(s) 2722 may transmit the request to the application subnet(s) 2726 contained in the control plane application layer 2724. If the request is validated and a call to the public internet 2754 is required, the call to the public internet 2754 may be transmitted to the NAT gateway 2738 which may make the call to the public internet 2754. The metadata that the request may desire to be stored may be stored in the DB subnet(s) 2730.

[0468] In some examples, data plane mirror application layer 2740 may facilitate direct communication between control plane VCN 2716 and data plane VCN 2718. For example, it may be desirable to apply changes, updates, or other appropriate modifications to the configuration to the resources contained in data plane VCN 2718. Control plane VCN 2716 may communicate directly with the resources contained in data plane VCN 2718 via VNIC 2742 and may thereby perform changes, updates, or other appropriate modifications to the configuration.

[0469] In some embodiments, control plane VCN 2716 and data plane VCN 2718 may be included in service lease 2719. In this case, a user or customer of the system may not own or operate control plane VCN 2716 or data plane VCN 2718. Alternatively, an IaaS provider may own or operate control plane VCN 2716 and data plane VCN 2718, both of which may be included in service lease 2719. This embodiment may enable isolation of networks that may prevent a user or customer from interacting with the resources of other users or other customers. In addition, this embodiment may allow a user or customer of the system to store databases privately without relying on the public Internet 2754, which may not have the desired level of threat protection, for storage.

[0470] In other embodiments, the LB subnet(s) 2722 contained in the control plane VCN 2716 can be configured to receive signals from the service gateway 2736. In this embodiment, the control plane VCN 2716 and the data plane VCN 2718 can be configured to be called by customers of the IaaS provider without calling the public Internet 2754. Customers of the IaaS provider may desire 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 2719, which can be isolated from the public Internet 2754.

[0471] Fig.28 28 is a block diagram 2800 illustrating another example model of an IaaS architecture according to at least one embodiment. A service operator 2802 (e.g., Fig. 27 The service operator 2702) can be communicatively coupled to the secure host lease 2804 (e.g., Fig. 27 The secure host lease 2704 may include a virtual cloud network (VCN) 2806 (e.g., Fig. 27 VCN 2706) and secure host subnet 2808 (e.g., Fig. 27 The VCN 2806 may include a local peer gateway (LPG) 2810 (e.g., Fig. 27 ), which may be communicatively coupled to a secure shell (SSH) VCN 2812 via an LPG 2710 contained in an SSH VCN 2812 (e.g., Fig. 27 SSH VCN 2712). SSH VCN 2812 may include SSH subnet 2814 (e.g., Fig. 27 SSH subnet 2714 of the control plane VCN 2816), and SSH VCN 2812 can be communicatively coupled to control plane VCN 2816 via LPG 2810 contained in control plane VCN 2816 (e.g., Fig. 27 The control plane VCN 2716). The control plane VCN 2816 may be included in a service lease 2819 (e.g., Fig. 27 service lease 2719), and the data plane VCN 2818 (e.g., Fig. 27 The data plane VCN 2718) may be contained in a customer lease 2821 which may be owned or operated by a user or customer of the system.

[0472] The control plane VCN 2816 may include a LB subnet 2822 (e.g., Fig. 27 LB subnet(s) 2722) of the control plane DMZ layer 2820 (e.g., Fig. 27 The control plane DMZ layer 2720 may include (one or more) application subnets 2820 (e.g., Fig. 27 (one or more) application subnets 2726) of the control plane application layer 2824 (e.g., Fig. 27 The control plane application layer 2724 of FIG. 1 may include (one or more) database (DB) subnets 2830 (e.g., similar to Fig. 27 (one or more) DB subnets 2730) of the control plane data layer 2828 (e.g., Fig. 27 The LB subnet(s) 2822 contained in the control plane DMZ layer 2820 may be communicatively coupled to the application subnet(s) 2826 contained in the control plane application layer 2824 and the internet gateway 2834 (e.g., Fig. 27 2734), and the application subnet(s) 2826 may be communicatively coupled to the DB subnet(s) 2830 and the service gateway 2836 (e.g., Fig. 27 service gateway) and network address translation (NAT) gateway 2838 (e.g., Fig. 27 NAT gateway 2738). The control plane VCN 2816 may include a service gateway 2836 and a NAT gateway 2838.

[0473] The control plane VCN 2816 may include a data plane mirror application layer 2840 (e.g., Fig. 27 The data plane image application layer 2740). The (one or more) application subnets 2826 included in the data plane image application layer 2840 may include a computing instance 2844 (e.g., similar to Fig. 27 The compute instance 2844 may facilitate the application subnet(s) 2826 of the data plane mirroring application layer 2840 and the application subnets 2826 (e.g., the application subnets 2826 of the data plane mirroring application layer 2840) and the application subnets 2826 of the data plane mirroring application layer 2846 (e.g., the application subnets 2826 of the data plane mirroring application layer 2840). Fig. 27 Communication between (one or more) application subnets 2826 in the data plane application layer 2746) via the VNIC 2842 contained in the data plane mirror application layer 2840 and the VNIC 2842 contained in the data plane application layer 2846.

[0474] The Internet gateway 2834 included in the control plane VCN 2816 can be communicatively coupled to the metadata management service 2852 (e.g., Fig. 27 2752), which can be communicatively coupled to the public Internet 2854 (e.g., Fig. 27 The public Internet 2854 can be communicatively coupled to a NAT gateway 2838 included in the control plane VCN 2816. The service gateway 2836 included in the control plane VCN 2816 can be communicatively coupled to a cloud service 2856 (e.g., Fig. 27 Cloud service 2756).

[0475] In some examples, the data plane VCN 2818 may be contained in a customer lease 2821. In this case, the IaaS provider may provide a control plane VCN 2816 for each customer, and the IaaS provider may provision each customer with a unique compute instance 2844 contained in a service lease 2819. Each compute instance 2844 may allow communication between a control plane VCN 2816 contained in a service lease 2819 and a data plane VCN 2818 contained in a customer lease 2821. The compute instance 2844 may allow resources provisioned in a control plane VCN 2816 contained in a service lease 2819 to be deployed or otherwise used in a data plane VCN 2818 contained in a customer lease 2821.

[0476] In other examples, a customer of the IaaS provider may have a database that exists in the customer tenancy 2821. In this example, the control plane VCN 2816 may include a data plane mirror application layer 2840, which may include (one or more) application subnets 2826. The data plane mirror application layer 2840 may reside in the data plane VCN 2818, but the data plane mirror application layer 2840 may not be in the data plane VCN 2818. That is, the data plane mirror application layer 2840 may access the customer tenancy 2821, but the data plane mirror application layer 2840 may not exist in the data plane VCN 2818 or be owned or operated by the customer of the IaaS provider. The data plane mirror application layer 2840 may be configured to make calls to the data plane VCN 2818, but may not be configured to make calls to any entity contained in the control plane VCN 2816. A customer may desire to deploy or otherwise use resources provisioned in control plane VCN 2816 in data plane VCN 2818, and data plane mirror application layer 2840 may facilitate the customer's desired deployment or other use of resources.

[0477] In some embodiments, a customer of an IaaS provider may apply filters to a data plane VCN 2818. In this embodiment, the customer may determine what the data plane VCN 2818 may access, and the customer may restrict access to the public Internet 2854 from the data plane VCN 2818. The IaaS provider may not apply filters or otherwise control access to any external network or database by the data plane VCN 2818. The customer applying filters and controls to the data plane VCN 2818 contained in the customer lease 2821 may help isolate the data plane VCN 2818 from other customers and the public Internet 2854.

[0478] In some embodiments, cloud services 2856 may be called by service gateway 2836 to access services that may not exist on public Internet 2854, control plane VCN 2816, or data plane VCN 2818. The connection between cloud services 2856 and control plane VCN 2816 or data plane VCN 2818 may not be real-time or continuous. Cloud services 2856 may exist on different networks owned or operated by IaaS providers. Cloud services 2856 may be configured to receive calls from service ...

Claims

1. A method comprising: providing one or more CSP-provided cloud services to one or more customers of a cloud service provider (CSP) using a first portion of an infrastructure provided by the CSP in a first region; creating a first virtual private label cloud (vPLC) for the first reseller based on the infrastructure provided by the CSP, wherein creating the first vPLC includes allocating a second portion of the infrastructure provided by the CSP to the first vPLC; providing a first subset of cloud services offered by the first reseller to one or more customers of the first reseller using the first vPLC; connecting the first vPLC to a remote infrastructure via a communication channel, the remote infrastructure being located outside of an infrastructure provided by the CSP in the first region, and A second subset of the cloud services offered by the first reseller is provided to one or more customers of the first reseller using the remote infrastructure.

2. The method of claim 1 , further comprising providing access to a second subset of cloud services offered by the first reseller using a first control plane associated with and located within a first portion of infrastructure provided by the CSP. 3 . The method of claim 2 , wherein providing access to the second subset of cloud services offered by the first vendor uses a communication channel.

4. The method of any of the preceding claims, further comprising providing access to a second subset of cloud services offered by the first vendor using a second control plane associated with and located within the first vPLC.

5. The method of any of the preceding claims, further comprising providing access to a first subset of cloud services offered by the first vendor using a third control plane associated with the first vPLC and located within the remote infrastructure.

6. A method as claimed in any one of the preceding claims, wherein the communication channel is between a virtual cloud network (VCN) within the first vPLC and a VCN within the remote infrastructure.

7. A method as claimed in any preceding claim, wherein data packets used for communication between the first vPLC and the remote infrastructure over the communication channel are tagged with vPLC related information. The method of claim 7 , wherein the vPLC-related information includes information identifying the first vPLC.

9. The method of claim 7 or claim 8, wherein the base network of the infrastructure provided by the CSP and the base network of the remote infrastructure are incompatible with each other.

10. The method of claim 9, further comprising mapping between VLAN identifiers and vPLC related information.

11. A system comprising: one or more processors; as well as One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by one or more processors of a computing system, cause the system to: providing one or more CSP-provided cloud services to one or more customers of a cloud service provider (CSP) using a first portion of an infrastructure provided by the CSP in a first region; creating a first virtual private label cloud (vPLC) for the first reseller based on the infrastructure provided by the CSP, wherein creating the first vPLC includes allocating a second portion of the infrastructure provided by the CSP to the first vPLC; providing a first subset of cloud services offered by the first reseller to one or more customers of the first reseller using the first vPLC; connecting the first vPLC to a remote infrastructure via a communication channel, the remote infrastructure being located outside of an infrastructure provided by the CSP in the first region; as well as A second subset of the cloud services offered by the first reseller is provided to one or more customers of the first reseller using the remote infrastructure.

12. The system of claim 11, wherein the system is further caused to provide access to a second subset of cloud services offered by the first reseller using a first control plane associated with and located within a first portion of infrastructure provided by the CSP.

13. The system of claim 11 or claim 12, wherein the system is further caused to use a second control plane associated with and located within the first vPLC to provide access to a second subset of cloud services offered by the first vendor.

14. The system of any one of claims 11 to 13, wherein the system is further caused to use a third control plane associated with the first vPLC and located within the remote infrastructure to provide access to a first subset of cloud services offered by the first reseller.

15. The system of any one of claims 11 to 14, wherein data packets used for communication between the first vPLC and the remote infrastructure through the communication channel are tagged with vPLC related information.

16. A non-transitory computer-readable medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising: providing one or more CSP-provided cloud services to one or more customers of a cloud service provider (CSP) using a first portion of an infrastructure provided by the CSP in a first region; creating a first virtual private label cloud (vPLC) for the first reseller based on the infrastructure provided by the CSP, wherein creating the first vPLC includes allocating a second portion of the infrastructure provided by the CSP to the first vPLC; providing a first subset of cloud services offered by the first reseller to one or more customers of the first reseller using the first vPLC; connecting the first vPLC to a remote infrastructure via a communication channel, the remote infrastructure being located outside of an infrastructure provided by the CSP in the first region; as well as A second subset of the cloud services offered by the first reseller is provided to one or more customers of the first reseller using the remote infrastructure.

17. The non-transitory computer readable medium of claim 16, further comprising providing access to a second subset of cloud services offered by the first reseller using a first control plane associated with and located within the first portion of infrastructure provided by the CSP.

18. The non-transitory computer readable medium of claim 16 or claim 17, further comprising using a second control plane associated with and within the first vPLC to provide access to a second subset of cloud services offered by the first vendor.

19. The non-transitory computer readable medium of any of claims 16 to 18, further comprising providing access to a first subset of cloud services offered by the first vendor using a third control plane associated with the first vPLC and located within the remote infrastructure.

20. The non-transitory computer readable medium of any one of claims 16 to 19, wherein data packets used for communication between the first vPLC and the remote infrastructure through the communication channel are tagged with vPLC related information.

Citation Information

Patent Citations

  • Virtual bootstrap environment for building regional data centers

    US20230251888A1

  • Techniques for a virtual bootstrap environment in a distributed virtual private network

    US20230254287A1