Multi-cloud infrastructure database adapter
Through the multi-cloud control plane framework, the problem of service interoperability between cloud environments is solved, allowing users to access the resources and services of another cloud environment from one cloud environment, achieving native user experience and service delivery.
Patent Information
- Application Number
- CN202380019877.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-07-13
- Filing Date
- 2023-02-01
- Publication Date
- 2024-10-29
AI Technical Summary
The existing cloud environment restricts users to only use services provided by the same cloud service provider. It lacks service interoperability across cloud environments, making it difficult for users to access resources and services in different cloud environments.
Using the Multi-Cloud Control Plane (MCCP) framework, through adapters and workflows, users are allowed to access services from one cloud environment to another, providing native user experience and achieving cross-cloud service delivery.
It enables users to transparently use resources and services in different cloud environments, provides complete data plane capabilities, and improves user experience and service interoperability.
Smart Images

Figure CN118871892A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is a non-provisional application of and claims the benefit of each of the following provisional applications. The entire contents of each of the provisional applications listed below are incorporated herein by reference for all purposes.
[0003] (1) U.S. Provisional Application No. 63 / 306,007, filed on February 2, 2022;
[0004] (2) U.S. Provisional Application No. 63 / 306,918, filed on February 4, 2022;
[0005] (3) U.S. Provisional Application No. 63 / 321,614 filed on March 18, 2022;
[0006] (4) U.S. Provisional Application No. 63 / 333,965, filed on April 22, 2022;
[0007] (5) U.S. Provisional Application No. 63 / 336,811, filed on April 29, 2022;
[0008] (6) U.S. Provisional Application No. 63 / 339,297, filed on May 6, 2022;
[0009] (7) U.S. Provisional Application No. 63 / 357,541, filed on June 30, 2022; and
[0010] (8) U.S. Provisional Application No. 63 / 388,925 filed on July 13, 2022. Technical Field
[0011] The present disclosure relates to cloud architectures, and more particularly to techniques for linking two cloud environments so that users of one cloud environment can use services provided by another cloud environment. Background Art
[0012] The adoption rate of cloud services has increased dramatically over the past few years and this trend will only grow. Different cloud service providers (CSPs) offer a variety of different cloud environments, each of which provides a set of one or more cloud services. The set of cloud services provided by a cloud environment may include one or more different types of services, including but not limited to software as a service (SaaS) services, infrastructure as a service (IaaS) services, platform as a service (PaaS) services, etc.
[0013] Although there are currently a variety of different cloud environments available, each cloud environment provides a closed ecosystem for its subscribing customers. As a result, customers of a cloud environment are limited to using the services provided by that cloud environment. For customers who subscribe to a cloud environment provided by a CSP, there is no easy way to use services provided in different cloud environments provided by different CSPs via that cloud environment. The embodiments discussed herein address these and other problems. The embodiments discussed herein address these and other problems. Summary of the invention
[0014] The present disclosure relates generally to improved cloud architectures, and more specifically to techniques for linking two clouds so that users of one cloud environment can use services provided by another different cloud environment. 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, etc. Some embodiments may be implemented using a computer program product including a computer program / instructions that, when executed by a processor, causes the processor to perform any of the methods described in the present disclosure.
[0015] Embodiments of the present disclosure provide a multi-cloud control plane (MCCP) framework that provides the ability to deliver services of a specific cloud network (e.g., Oracle Cloud Infrastructure (OCI)) to users on other clouds (e.g., in Microsoft Azure). The MCCP framework allows users (of (one or more) other cloud environments) to access services of a cloud environment (e.g., PaaS services) while providing a user experience that is as close as possible to that user's native cloud environment (one or more). The key value proposition of MCCP is that customers will be able to experience the full data plane capabilities of services in external clouds.
[0016] One embodiment of the present disclosure is directed to a method, comprising: providing an adapter associated with a service provided by the first cloud infrastructure in a first cloud infrastructure, the adapter enabling one or more users associated with one or more accounts in a second cloud infrastructure to request the service, wherein the second cloud infrastructure is different from the first cloud infrastructure; receiving, by the adapter, a first request to create a resource in the first cloud infrastructure from a first user associated with a first account in the second cloud infrastructure; and executing, by the adapter, a workflow to provision the resource using the service, wherein the workflow includes processing including: retrieving a resource subject associated with the resource; and transmitting a second request to the service provided by the first cloud infrastructure, the second request requesting creation of the resource, wherein the second request includes the resource subject.
[0017] One aspect of the present disclosure provides a computing device comprising one or more data processors and a non-transitory computer-readable storage medium containing instructions, which when executed on the one or more data processors cause the computing device to perform part or all of one or more methods disclosed herein.
[0018] Another aspect of the present disclosure provides a computer program product tangibly embodied in a non-transitory machine-readable storage medium, comprising instructions configured to cause one or more data processors to perform part or all of one or more methods disclosed herein.
[0019] The foregoing and other features and embodiments will become more apparent when referring to the following description, claims and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The features, embodiments, and advantages of the present disclosure may be better understood when the following detailed description is read with reference to the accompanying drawings.
[0021] Figure 1 is a high-level diagram illustrating a distributed environment of a virtual or overlay cloud network hosted by a cloud service provider infrastructure, according to certain embodiments.
[0022] Figure 2 Depicted is a simplified architectural diagram of physical components in a physical network within a CSPI in accordance with certain embodiments.
[0023] 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).
[0024] Figure 4 Depicted is connectivity between a host machine and an NVD for providing I / O virtualization to support multitenancy, according to some embodiments.
[0025] Figure 5 Depicted is a simplified block diagram of a physical network provided by CSPI in accordance with certain embodiments.
[0026] Figure 6 Depicted is a simplified high-level diagram of a distributed environment including multiple cloud environments provided by different cloud service providers (CSPs) according to certain embodiments, wherein the cloud environments include a specific cloud environment that provides a specialized infrastructure that enables one or more cloud services provided by the specific cloud environment to be used by customers of other cloud environments.
[0027] Figure 7 Depicted is an exemplary high-level architecture of a multi-cloud control plane (MCCP) in accordance with some embodiments.
[0028] Fig. 8A and Figure 8B Depicted is an exemplary process for linking two user accounts in different cloud environments in accordance with some embodiments.
[0029] Fig. 9A Depicted is an exemplary system diagram illustrating components of a multi-cloud control plane (MCCP) in accordance with some embodiments.
[0030] Fig. 9B An exemplary flow chart depicting steps performed by a multi-cloud infrastructure according to certain embodiments is illustrated.
[0031] Fig. 10A A system diagram of a database adapter according to some embodiments is illustrated.
[0032] Fig. 10B An exemplary request submitted to a database adapter according to some embodiments is illustrated.
[0033] Fig. 10C An exemplary response provided by a database adapter according to some embodiments is illustrated.
[0034] Fig.11 An exemplary flow chart depicting steps performed by a database adapter according to certain embodiments is illustrated.
[0035] Fig.12 is a block diagram illustrating one mode for implementing a cloud infrastructure as a service system according to at least one embodiment.
[0036] Fig.13 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.
[0037] Fig.14 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.
[0038] Fig.15 is a block diagram illustrating another mode for implementing a cloud infrastructure as a service system according to at least one embodiment.
[0039] Fig.16 is a block diagram illustrating an example computer system in accordance with at least one embodiment. DETAILED DESCRIPTION
[0040] 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 drawings and descriptions are not intended to be limiting. The word "exemplary" is used herein to mean "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.
[0041] The present disclosure relates generally to improved cloud architectures, and more specifically to techniques for linking two clouds so that users of one cloud environment can use services provided by another different cloud environment. 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, etc. Some embodiments may be implemented using a computer program product including a computer program / instructions that, when executed by a processor, cause the processor to perform any of the methods described in the present disclosure.
[0042] Embodiments of the present disclosure provide a multi-cloud control plane (MCCP) framework that provides the ability to deliver services of a specific cloud network (e.g., Oracle Cloud Infrastructure (OCI)) to users on other clouds (e.g., in Microsoft Azure). The MCCP framework allows users (of (one or more) other cloud environments) to access services of a cloud environment (e.g., PaaS services) while providing a user experience that is as close as possible to that user's native cloud environment (one or more). The key value proposition of MCCP is that customers will be able to experience the full data plane capabilities of services in external clouds.
[0043] MCCP enables users of the second cloud infrastructure (e.g., Azure users) to use resources (e.g., database resources) provided by the first cloud infrastructure (e.g., OCI) in a way that is transparent to the users. Specifically, the services provided by the first cloud infrastructure look like "native" services in the second cloud infrastructure. This allows customers of the second cloud infrastructure to natively access the services provided by the first cloud infrastructure. As described below with reference Figure 6-Figure 11 As will be described, MCCP is a group of microservices executed in a first cloud infrastructure that exposes resources of the first cloud infrastructure for use by external cloud users (e.g., users of a second cloud infrastructure). Each microservice acts as a proxy that provides communication with resources provided by the first cloud infrastructure.
[0044] Cloud Network Example
[0045] The term cloud service is generally used to refer to services that are made available on demand (e.g., via a subscription model) to users or customers by a cloud service provider (CSP) 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.
[0046] 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.
[0047] A customer can subscribe to one or more cloud services provided by a CSP. A customer can be any entity, such as an individual, organization, enterprise, 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 one or more subscribed cloud resources associated with the account via this account.
[0048] 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 customers can use 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.
[0049] CSPI may include interconnected high-performance computing resources, including various host machines, memory resources, and network resources that form a physical network, which is also referred to as a substrate network or underlying network. The resources in CSPI may be spread across one or more data centers, which may be geographically spread across 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 substrate 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 that runs on top of a physical substrate 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). Virtual networks are implemented by creating a network abstraction layer that can run on top of a physical network using software virtualization technology (e.g., hypervisors, virtualization functions implemented by network virtualization devices (NVDs) (e.g., smartNICs), top-of-rack (TOR) switches, smart TORs that implement one or more functions performed by NVDs, and other mechanisms). Virtual networks can take many forms, including peer-to-peer networks, IP networks, etc. Virtual networks are typically layer 3 IP networks or layer 2 VLANs. 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 LAN (VXLAN—IETF RFC 7348), Virtual Private Networks (VPNs) (e.g., MPLS Layer 3 Virtual Private Networks (RFC 4364)), VMware's NSX, GENEVE (Generic Network Virtualization Encapsulation), etc.
[0050] 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 infrastructure and a set of 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 a customer's pre-set 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.
[0051] 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 infrastructure and a set of 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 have control over operating systems, storage, and deployed applications; and may also have limited control over selected networking components (e.g., firewalls).
[0052] 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.
[0053] 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 protections are implemented in CSPI to ensure that each tenant's data is isolated and remains invisible to other tenants.
[0054] 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 network 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). Thus, 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, communication between components in the virtual network involves the virtual network and the underlying physical network. To facilitate such communication, components of CSPI are configured to learn and store mappings that map overlay addresses in the virtual network to actual physical addresses in the substrate network, and vice versa. These mappings are then used to facilitate communication. Customer traffic is encapsulated to facilitate routing in the virtual network.
[0055] Thus, a physical address (e.g., a physical IP address) is associated with a component in a physical network, and an overlay address (e.g., an overlay IP address) is associated with an entity 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 substrate 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 each other. Both physical IP addresses and overlay IP addresses are types of real IP addresses. They 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.
[0056] 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 substrate 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 localized 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 set 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, file storage, object storage, archive storage); networking resources (e.g., virtual cloud network (VCN), load balancing resources, connections to pre-set 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.
[0057] 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.
[0058] 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.
[0059] ADs within a region are isolated from each other, fault-tolerant, and configured so that it is extremely unlikely that they will fail simultaneously. This is achieved by ADs not sharing critical 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 via a low-latency, high-bandwidth network, which makes it possible to provide high-availability connections to other networks (e.g., the Internet, customer's on-premises network, etc.) and build replication systems in multiple ADs to achieve both 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, along with additional capacity. Traffic between availability domains is typically encrypted.
[0060] 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 within 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 that customer in a customer-specified region within a domain (called the "home" region). A customer can extend the customer's lease to one or more additional regions within a domain. A customer cannot access regions that are not in the domain where the customer's lease is located.
[0061] An IaaS provider may offer multiple domains, each domain meeting the needs of a specific set of customers or users. For example, a business domain may be provided for business customers. As another example, for customers within a specific country, a domain may be provided for that country. As yet another example, a government domain may be provided for a government, and so on. For example, a government domain may meet the needs of 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.
[0062] 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 group 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 per AD may vary. For example, in some embodiments, each AD contains three fault domains. Fault domains act as logical data centers within an AD.
[0063] 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 customers), with customer's pre-set data centers or networks, and with service endpoints and other types of endpoints through public networks (such as the Internet).
[0064] CSPs can use CSPI to provide various services. In some cases, customers of CSPI can themselves behave like service providers and use CSPI resources to provide services. Service providers can expose service endpoints characterized by identification information (e.g., IP addresses, DNS names, and ports). 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.
[0065] In some embodiments, a service provider may expose a service via an endpoint for the service (sometimes referred to as a service endpoint). Customers 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 customers that intend to consume the service. In other implementations, a dedicated service endpoint may be provided to a customer so that only the customer can access the service using the dedicated service endpoint.
[0066] 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 the transmission of traffic to and from the VCN to one or more endpoints outside the VCN. One or more different types of gateways can be configured for the VCN to enable communications to and from different types of endpoints.
[0067] A VCN can 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 can 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.
[0068] 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 enable the computing instance to become part of the subnet of the VCN, and enable the computing instance to communicate (e.g., send and receive 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 instance is 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 group of computing instances, the subnet includes VNICs corresponding to the group of computing instances, and each VNIC is attached to a computing instance within the group of computing instances.
[0069] 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.
[0070] 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 either assigned 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 auxiliary 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 auxiliary 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.
[0071] 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 in the subnet and associated VNICs 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.
[0072] 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 with 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 VCNVR is a layer 3 / IP layer concept. In one embodiment, there is one VCN VR for the VCN, where the VCN VR potentially has an 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 coverage IP address in the coverage 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 a coverage 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 with an IP address of 10.1.0.1 for the second subnet. The VCN VR has a different IP address for each subnet in the VCN.
[0073] 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 of the subnet run on or are performed by one or more NVDs that perform the VNIC functions of the VNICs in the subnet.
[0074] 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 the instance starts.
[0075] 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 instances within the VCN (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 group 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 set of security rules that apply only to resources in that group. On the other hand, a security list includes 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.
[0076] 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, or portions thereof, stored by the VCN control plane to the NVD. The distributed information may be used to update information (e.g., forwarding tables, routing tables, etc.) stored by the NVD and used to forward packets to and from compute instances in the VCN.
[0077] In some embodiments, the creation of VCNs and subnets is handled by the VCN control plane (CP) and the launching 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 6 , Figure 7 , depicted in FIGS. 8 and 9 (see reference numerals 616 , 716 , 816 , and 916 ) and described below.
[0078] 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.
[0079] The different architectures used to implement cloud-based services using CSPI are described in Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 and Figure 12-16 and 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 FIG. 5 , two or more systems may be combined, or there may be different system configurations or arrangements.
[0080] 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 c / o Oracle International Corporation 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.
[0081] 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 covered 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.
[0082] 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 can be virtual machine instances or bare metal instances) can 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 In the example, 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.
[0083] 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.
[0084] 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.
[0085] A particular 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 particular 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). Compute instances in a subnet 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 a 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.
[0086] Use VNICs associated with source and destination computing instances 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 policy (e.g., security list) configured for the VNIC associated with the source computing instance, determining the next hop of 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.
[0087] For packets to be transmitted from a compute instance in a subnet to an endpoint in a different subnet in the same VCN, communication is facilitated by the VNICs associated with the source and destination compute instances and the VCN VRs. Figure 1 If compute instance C1 in subnet-1 wants to send a packet to compute instance D1 in subnet-2, 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.
[0088] 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 over a public network (e.g., the Internet) or over a private network. Various communication protocols may be used for these communications.
[0089] 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. The 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 identified specific 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.
[0090] 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. Fig.12 , Fig.13 , Fig.14 and Fig.15 1234, 1236, 1238, 1334, 1336, 1338, 1434, 1436, 1438, 1534, 1536, and 1538) 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-premise 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 on-premise network 116 can be a customer network or a customer data center built using the customer's resources. Access to the customer on-premise network 116 is generally very limited. For customers who have both a customer on-premise network 116 and one or more VCNs 104 deployed or hosted in the cloud by CSPI 101, the customer may want their on-premise 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 covers the customer's VCN 104 hosted by CSPI 101 and their on-premise network 116. DRG 122 enables this communication. To enable such communications, a communication channel 124 is established, where one endpoint of the channel is located in the customer 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 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.
[0091] 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 this RPC, a customer VCN 104 can connect to a VCN 108 in another region using a DRG 122. DRG 122 can also be used to communicate with other remote cloud networks 118 that are not hosted by CSPI 101 (such as Microsoft Azure Cloud, Amazon AWS Cloud, etc.).
[0092] 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.
[0093] A network address translation (NAT) gateway 128 can 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 it does 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.
[0094] 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) 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 a pre-set network connected to a VCN with FastConnect or VPN Connect may also use the service gateway configured for that VCN.
[0095] In some embodiments, the SGW 126 uses the concept of a service classless inter-domain routing (CIDR) label, which is a string representing 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 related routing rules to control traffic to the service. Customers can optionally use it when configuring security rules, without having to adjust the security rules if the public IP addresses of the services change in the future.
[0096] A local peering 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 traversing 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 peering it establishes. Local peering or VCN peering is a common practice for establishing network connectivity between different applications or infrastructure management functions.
[0097] 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 is publicly accessible to 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 a service provider to expose its services as instances in a customer's private network. Private endpoint resources represent services within a 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.
[0098] Service providers can register their services to enable access through PE. 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.
[0099] 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 referred to as customer-to-service private connections (C2S connections).
[0100] The PE concept can also be used to extend private access to 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 LPG 132 and the PE in the customer's VCN.
[0101] The customer can control routing in the VCN at the subnet level, so the customer can specify which subnets in the customer's VCN (such as VCN 104) use each gateway. The routing table of the VCN is used to decide whether to allow traffic to leave the VCN through a particular gateway. For example, in a specific instance, the routing table for a public subnet within a customer VCN 104 can send non-local traffic through IGW 120. The routing table for a private subnet within the same customer VCN 104 can send traffic destined for CSP services through SGW 126. All remaining traffic can be sent via NAT gateway 128. The routing table only controls traffic leaving the VCN.
[0102] 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.
[0103] 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.
[0104] 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.
[0105] 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 an infrastructure and a set of complementary cloud services that enable customers to build and run a wide range of applications and services in a highly available hosting environment.
[0106] 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), and 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 the figure may be provided by a host machine and / or by Figure 2 The NVD implementation described in .
[0107] A host machine or server may execute a hypervisor (also referred to 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.
[0108] 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 embodiment of 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.
[0109] 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.
[0110] 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.
[0111] 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 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.
[0112] 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 VCNs corresponding to compute instances hosted by host machines 206 and 208.
[0113] 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.
[0114] 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.
[0115] The NVD is in turn connected to top-of-rack (TOR) switches via communication links, which are connected to the physical network 218 (also referred to as a switching 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.
[0116] 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.
[0117] 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.
[0118] 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, which 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, 312 and the TOR switches 314, 316 may be Ethernet links. The TOR switches 314 and 316 represent layer 0 switching devices in a multi-layer physical network 318.
[0119] 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 communications to / from the host machine 302.
[0120] 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.
[0121] 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.
[0122] 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 separate device from 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.
[0123] 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 may 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 may be implemented in a host machine, where the functions performed by NVD are performed by the host machine. As another example, NVD may be part of a TOR switch, or a TOR switch may be configured to perform the functions performed by NVD, which enables the TOR switch to perform various complex packet conversions for a public cloud. A TOR that performs the functions of NVD is sometimes referred to as a smart TOR. In other implementations that provide virtual machine (VM) instances to customers instead of bare metal (BM) instances, the functions performed by NVD may be implemented inside the hypervisor of the host machine. In some other implementations, some of the functions of NVD may be offloaded to a centralized service running on a group of host machines.
[0124] 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.
[0125] 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.
[0126] 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 is dynamically and transparently reassigned to one of the other physical links in the LAG. The 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 across 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.
[0127] 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 routing and forwarding of packets 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 for processing 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.
[0128] In some embodiments, the packet processing data path in NVD may include multiple packet pipelines, each packet 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 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.
[0129] NVD can perform both 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 provided in Fig.12 , Fig.13 , Fig.14 and Fig.15 An example of a VCN data plane is depicted in FIG. 1 (see reference numerals 1216, 1316, 1416, and 1516) and described below. Fig.12 , Fig.13 , Fig.14 and Fig.151218, 1318, 1418, and 1518) and described below. The 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, NVD only obtains mappings related to the NVD. The data plane functions include functions for actually routing / forwarding packets based on the configuration established using the control plane. The VCN data plane is implemented by encapsulating the customer's network packets before they traverse the substrate network. The 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.
[0130] 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 (which belong to different customers), and the NVD connected to the host machines may execute VNICs corresponding to the compute instances (i.e., perform VNIC-related functionality).
[0131] 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.
[0132] 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 a packet processing component 286 and NVD 212 includes a 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 per-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.
[0133] 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.
[0134] 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 the endpoint is external to the source compute instance's VCN. These communications are facilitated using VNICs associated with the compute instances, VCN VRs, and gateways associated with the VCN.
[0135] 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 can be hosted by the same host machine or different host machines. Packets originating from the source computing instance can 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 can include the execution of a VNIC associated with the source computing instance. Since the destination endpoint of the packet is located in the same subnet, the execution of the VNIC associated with the source computing instance causes the packet to be forwarded to the NVD that executes 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 can 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 can use the routing / forwarding table stored by the NVD to determine the next hop of the packet.
[0136] 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 an NVD connected to the host machine. On the NVD, the packet is 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 corresponding to 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).
[0137] If the destination of 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 may result in the packet being 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 may be forwarded by the VCN VR to the NVD executing the DRG gateway configured for the VCN. The VCN VR may 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 may be executed by an NVD, which may 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.
[0138] 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 via 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.
[0139] Figure 2The architecture of CSPI 200 depicted in the drawings is merely an example 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).
[0140] 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. Figure 4 As 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 .
[0141] like Figure 4 As shown in FIG. 4 , 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 NICs because of the logical NICs.
[0142] 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 different 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 over 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 over link 414. Thus, 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 tag 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.
[0143] Figure 5 A 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 that is 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 layers 1, 2, and 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, also called the leaf switch. Figure 5In the embodiment depicted in , a group of "n" layer 0TOR switches are connected to a group of "n" layer 1 switches and form 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 called blocks. Each block is served or connected to a group 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). The communication of packets on 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 scaling of the physical network.
[0144] 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 scales horizontally and is 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.
[0145] 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:
[0146] ocid1.<resource type>.<domain>.[region][.future use].<unique ID>
[0147] in,
[0148] ocid1: a text string indicating the version of the CID;
[0149] Resource Type: The type of resource (e.g., instance, volume, VCN, subnet, user, group, etc.);
[0150] Domain: The domain in which the resource resides. Example values are "c1" for the commercial domain, "c2" for the government cloud domain, or "c3" for the federal government cloud domain. Each domain can have its own domain name;
[0151] Region: The region where the resource is located. This section may be empty if the region does not apply to the resource;
[0152] Future Use: Reserved for future use.
[0153] Unique ID: The unique portion of the ID. The format can vary depending on the type of resource or service.
[0154] Multi-cloud Introduction
[0155] Figure 6 A simplified high-level diagram of a distributed environment 600 including multiple cloud environments provided by different cloud service providers (CSPs) is depicted, wherein the cloud environments include a specific cloud environment that provides a specialized infrastructure that enables one or more cloud services provided by the specific cloud environment to be used by customers of other cloud environments, according to certain embodiments. Figure 6 As depicted in , various different cloud environments (also referred to as “clouds”) may be provided by different cloud service providers (CSPs), each cloud environment or cloud providing one or more cloud services that may be subscribed to by one or more customers of the cloud environment. A set of cloud services provided by a cloud environment provided by a CSP may include one or more different types of cloud services, including, but not limited to, software as a service (SaaS) services, infrastructure as a service (IaaS) services, platform as a service (PaaS) services, database as a service (DBaaS) services, etc. Examples of cloud environments provided by various CSPs include those provided by Oracle Corporation. Cloud Infrastructure (OCI), provided by Microsoft Corporation Azure, Google Cloud provided by Google LLC TM , Amazon Web Services provided by Amazon Corporation Etc. The cloud services provided by a particular cloud environment may be different from the set of cloud services provided by another cloud environment.
[0156] In a typical cloud environment, a CSP provides a cloud service infrastructure (CSPI), which is used to provide one or more cloud services provided by the cloud environment to its customers. The CSPI provided by the CSP may include various types of hardware and software resources, including computing resources, memory resources, networking resources, consoles for accessing cloud services, and the like. Customers of a cloud environment provided by a CSP may subscribe to one or more of the cloud services provided by the cloud environment. The CSP may provide various subscription models to its customers. After a customer subscribes to a cloud service provided by a cloud environment, one or more users may be associated with the subscribing customer, and these users may use the cloud services subscribed by the customer. In some embodiments, when a customer subscribes to a cloud service provided by a particular cloud environment, a customer account or customer lease is created for the customer. One or more users may then be associated with the customer lease, and these users may then use the services subscribed by the customer under the customer lease. Information about services subscribed by a customer, users associated with a customer lease, and the like is typically stored within the cloud environment and associated with the customer lease.
[0157] For example, Figure 6 616-2) can subscribe to one or more of the services in Service A 614 provided by Cloud A 610. One or more users 618-1 can be associated with Customer A1 616-1 and can use the services that Customer A1 616-1 has subscribed to in Cloud A 610. In a similar manner, one or more users 618-2 can be associated with Customer A2 616-2 and can use the services that Customer A2 616-2 has subscribed to in Cloud A 610. In various use cases, the services subscribed to by customer A1 616 - 1 may be different than the services subscribed to by customer A2 616 - 2 .
[0158] like Figure 6, cloud B 640 includes infrastructure CSPI_B 642 provided by CSP B, and this infrastructure can be used to provide a set of services “Service B” 644 provided by cloud B 640. One or more customers (e.g., customer B1 646-1) can subscribe to one or more services in Service B 644. One or more users 648-1 can be associated with customer B1 646-1 and can use the services subscribed by customer B1 646-1 in cloud B 640.
[0159] like Figure 6 , cloud C 660 includes infrastructure CSPI_C 662 provided by CSP C, and this infrastructure can be used to provide a set of services “Service C” 664 provided by cloud C 660. One or more customers (e.g., customer C1 666-1) can subscribe to one or more services in service C 664. One or more users 668-1 can be associated with customer C1 666-1 and can use the services subscribed by customer C1 666-1 in cloud C 660. It is noted that service A 614, service B 644, and service C 664 can be different from each other.
[0160] In existing cloud implementations, each cloud provides a closed ecosystem for its subscribing customers and associated users. Therefore, customers of a cloud environment and their associated users are limited to using the services provided by the cloud to which the customer subscribes. For example, customer B1 646-1 and its user 648-1 are limited to using service B 644 provided by cloud B 640, and cannot use their account in cloud B 640 to access services from a different cloud environment, such as services in service A 614 provided by cloud A 610 or services in service C 664 provided by cloud C 660. The teachings described herein overcome this limitation. As described in the present disclosure, various techniques are described that enable the creation of a link between two cloud environments, which enables services provided by a first cloud environment provided by a first CSP to be used by customers (and associated users) of a different second cloud environment provided by a second, different CSP using the customer's account in the second cloud environment.
[0161] For example, in Figure 6In the embodiment depicted in FIG. 6 , the infrastructure CSPI_A 612 provided by CSP A includes, in addition to other infrastructure 620, special infrastructure 622 (referred to as multi-cloud enabling infrastructure 622 or MEI 622 or multi-cloud infrastructure 622) that enables one or more services 614 provided by cloud A to be used by customers and associated users of other clouds, such as clouds B 640 and C 660, using customer accounts in those other clouds. In some embodiments, customers of clouds B and C do not have to open separate accounts with cloud A to use one or more of the services 614 provided by cloud A 610. Customer B1 646-1 and associated users 648-1 of cloud B 640 can use their customer accounts or leases in cloud B 640 to use one or more services 614 provided by cloud A 610. As another example, customer C1 666 - 1 and associated user 668 - 1 of cloud C 660 can use their customer accounts or leases in cloud C 660 to use one or more services 614 provided by cloud A 610 .
[0162] In certain embodiments, MEI 622 enables the creation of links between Cloud A 610 and other clouds, where these links can be used by customers of other clouds and their associated users to access and use services provided by Cloud A 610. Figure 6 6 shows in symbolic form a link 670 created between cloud A 610 and cloud B 640, and a link 672 created between cloud A 610 and cloud C 660. Via link 670, customers of cloud B 640 can access or use one or more services 614 provided by cloud A 610. Similarly, via link 672, customers of cloud C 660 can access or use one or more services 614 provided by cloud A 610.
[0163] There are different ways in which IMEI 612 can be implemented. In some embodiments, IMEI 612 may include components that enable links to be established with different clouds. Figure 6 , MEI 622 includes infrastructure components 624 responsible for enabling a link 670 with cloud B 640, and infrastructure components 626 for enabling a link 672 with cloud C 660. In a similar manner, MEI 622 may include other components that enable and facilitate links with other clouds. In some embodiments, components of MEI 622 may also facilitate links with multiple different clouds.
[0164] There are several reasons why a customer of one cloud might want or desire to use cloud services provided by a different cloud. Figure 6For example, there are a number of reasons why customer B1 646-1 of cloud B 640 may want to use cloud service 614 provided by cloud A 610. In one use case scenario, this may occur because cloud A 610 provides cloud services with functionality that cloud B 640 does not provide. As another use case scenario, clouds A and B may provide similar services, but the service provided by cloud A 610 may be better (e.g., more features / functionality, faster, etc.) than the corresponding service provided by cloud B 640. As another use case scenario, customer B1 646-1 of cloud B 640 may want to use cloud services provided by cloud A 610 because the price of the service is cheaper than that provided by cloud B 640. In some cases, there may be geographic restrictions or other reasons why customer B1 646-1 of cloud B 640 may want to use cloud services provided by cloud A 610. For example, cloud A 610 may provide a desired service in a geographic area that cloud B 640 does not provide service, or cloud B 640 does not provide a particular service in a geographic area where the customer requires service. There may be several other use case scenarios why a customer of one cloud might want to use services provided by a different cloud.
[0165] In some embodiments, the MEI 622 provides the capability and performs functions to create a link between cloud A 610 and another cloud, and via the link, enables users associated with customers of another cloud to access and use services provided by cloud A 610 from the other cloud itself in a seamless manner. For example, the MEI 622 enables a user 648-1 associated with customer B1 646-1 of cloud 640 to access services in service A 614 provided by cloud A 610 in a seamless manner. In some embodiments, a user interface (e.g., a console) that the user 648-1 can access from within cloud B 640 can be provided, which enables the user to see a list of services 614 provided by cloud A 610 and select a specific service that the user 648-1 wishes to access. In response to the user selection, the MEI 622 is responsible for performing the process of establishing a link 670 between clouds A and B to enable access to the requested service. The process for setting up the link 670 is substantially automatically performed by the MEI 622. Customer B1 646-1 or associated user 648-1 does not have to worry about performing any system, networking or other configuration changes required to facilitate the creation, maintenance and use of link 670 between clouds A 610 and B 640. There is no burden on the user or customer when creating a link between clouds. Using the techniques described in this disclosure, the link is created in a fast and efficient manner.
[0166] MEI 622 can use various technologies to make the creation and use of links seamless for users and customers, thereby providing an enhanced user experience. In some embodiments, MEI 622 makes the user interface (e.g., graphical user interface GUI, etc.) and processing flow (such as for requesting services from cloud A 610 and for accessing the requested services from cloud A 610) interacted by customer B1 and related user 648-1 substantially similar to the interface and processing flow that the customer / user will experience in cloud B 640. In this way, customers or users who may be accustomed to the interface and processing flow of cloud B 640 do not have to learn new interfaces and processing flows to access services 614 from cloud A 610. MEI 622 can present different interfaces and processing flows for users of different cloud environments. For example, a first set of user interfaces and processes substantially similar to the user interface and process of cloud B can be presented to users from cloud B 640, while another set of user interfaces and processes substantially similar to the user interface and process of cloud C can be presented to users accessing cloud A 610 from cloud C 660. This is done to simplify accessing services 614 of Cloud A 610 from other clouds and thus enhance the user's experience.
[0167] As another example, each cloud environment typically includes an identity management system configured to provide security for the cloud environment. The identity management system is configured to protect resources in the cloud environment, including resources provided by the CSP and resources of subscribing cloud customers deployed in the cloud environment. Functions performed by the identity management system include, for example, managing identity credentials (e.g., usernames, passwords, etc.) associated with subscribing customers and associated users of the cloud, using identity credentials to regulate user access to cloud resources and services based on permission / access policies configured for the cloud environment, and other functions. Different clouds may use different identity management systems and associated technologies. For example, the identity management system and associated processes in cloud A 610 may be completely different from the identity management system and associated processes in cloud B 640, which in turn may be completely different from the identity management system and associated processes in cloud C 660. In some embodiments, despite the differences in identity management systems and associated processes between different cloud environments, the techniques described herein enable users associated with customers of a first cloud to access cloud services provided by different clouds using the same identity credentials associated with customers and users in the first cloud.
[0168] For example, in Figure 6In the embodiment depicted in , cloud B 640 provided by CSP B may include an identity management system that assigns or distributes identity credentials to its subscribing customers and associated users, such as customer B1 646-1 and associated user 648-1. These identity credentials are associated with a lease created for customer B1 646-1 in cloud B 640. In certain embodiments, the MEI 622 provided by cloud A 610 enables user 648-1 associated with cloud B customer B1 646-1 to access services from service A 614 in cloud A 610 using identity credentials associated with user 648-1 and customer B1 646-1 in cloud B 640. This greatly enhances the user experience for user 648-1, as they do not have to create new identity credentials specific to cloud A 610 simply to access services 614 in cloud A 610. The MEI 622 facilitates such access.
[0169] As an example, customer B1 of cloud B 640 may select to use a service, such as database as a service (DBaaS), from a set of services 614 provided by cloud A 610. In response to this selection, MEI 622 causes a link 670 to be automatically created between cloud A 610 and cloud B 640 to enable user 648-1 associated with customer B1 646-1 to use the DBaaS service provided by cloud A 610. The automatic establishment of link 670 is facilitated by MEI 622. After link 670 is established, user 668-1 may use the DBaaS service in cloud A 610 via cloud B 640. As part of using this service, user 668-1 may send a request to create a database resource to cloud A 610 via cloud B 640. In response, CSPI_A 612 may create the requested database in cloud A 610. In some embodiments, the created database may be provisioned in a virtual network (e.g., a virtual cloud network or VCN) created for customer B1 in cloud A 610 and accessible to user 668-1 via cloud B 640. User 668-1 may then send requests from cloud B 640 to cloud A 610 to use the provisioned database. These requests may include, for example, requests to write data to the database, update data stored in the database, delete data in the database, delete a database, create an additional database, and the like. In some use cases, these requests may originate from user 668-1 via cloud B 640 or from a service 644 provided by cloud B 640. In this manner, the MEI 622 provided by cloud A 610 enables users associated with customers of different clouds provided by different CSPs to seamlessly access services provided by cloud A 610.
[0170] Figure 6The distributed environment 600 depicted in the foregoing 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 alternative embodiments, the distributed environment 600 may have more or fewer cloud environments. The cloud environment may also have more or fewer systems and components, or may have different configurations or arrangements of systems and components. Figure 6 The systems and 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).
[0171] Multi-Cloud Control Plane (MCCP)
[0172] Figure 7 Depicted is a high-level architecture of a multi-cloud control plane (MCCP) according to some embodiments. Figure 7 As shown in FIG. 7 , a high-level architecture 700 includes a first cloud environment provided by a first cloud service provider (e.g., OCI) 720 and a second cloud environment provided by a second cloud service provider 710 (i.e., Azure). The first cloud environment 720 includes a first cloud infrastructure 720A that provides a variety of services to users of the first cloud environment 720. In addition, the first cloud environment 720 includes a multi-cloud infrastructure 720B that provides the ability to deliver services of the first cloud infrastructure 720A (e.g., Oracle Cloud Infrastructure (OCI)) to users of other cloud environments (e.g., second cloud infrastructure 710A). The multi-cloud infrastructure 720B allows users to access services on other clouds (e.g., Oracle PaaS services) with a user experience as close as possible to the user's native cloud environment, while providing simple integration between cloud environments.
[0173] The second cloud infrastructure 710A includes a second cloud portal 711, an active directory 712, a resource manager 713, a customer subscription 715, and a subscription to a first cloud provider 717. The second cloud portal 711 is a centralized access point where customers of the second environment 710 can log in and manage their cloud deployments and instances. It should be noted that the second cloud portal may provide options for monitoring and operating services provided by the second cloud infrastructure. The active directory 712 is a service provided by the second cloud infrastructure 710A that provides administrators with the ability to manage end-user identities and access privileges. Its services may include core directories, access management, and identity protection. The resource manager 713 is a deployment and management service for the second cloud infrastructure, i.e., a management layer that provides users with operations (e.g., create, update, delete, etc.) on resources deployed in the customer subscription 715. It should be noted that a customer subscription may also be referred to as a virtual network (VNET) in which customer applications are deployed and executed. The subscription of the first cloud provider 717 in the second cloud infrastructure 710A includes express routes and spoke and hub VNETs, which provide network connections to be established with the second cloud infrastructure 710A (e.g., from a pre-set location, from an external cloud environment). It should be noted that such connections may not be routed through the public Internet, thereby providing users with higher reliability, faster speed, consistent latency, and higher security.
[0174] The first cloud infrastructure 720A includes a control plane 724, a customer lease 726, and a multi-cloud infrastructure 720B. The control plane 724 of the first cloud infrastructure 720A is the native control plane of the first cloud environment, which provides management and orchestration across cloud environments. Configuration baselines are set here, user and role access is provided, and application residency is provided so that they can be executed with related services. The multi-cloud infrastructure 720B includes a multi-cloud platform data plane 722 and a multi-cloud platform data plane 728. As previously described, the multi-cloud infrastructure 720B provides functions that enable users of other cloud environments (e.g., the second cloud environment 710) to access the services provided by the first cloud environment with a user experience as close as possible to the user's native cloud environment (e.g., the second cloud environment 710), while providing simple integration between cloud environments.
[0175] Figure 7 The MCCP architecture also includes a multi-cloud console 721 (different from the second cloud portal 711), which allows users authenticated in the second cloud infrastructure 710 to perform control plane operations on the resources of the first cloud infrastructure 720 exposed via the multi-cloud infrastructure 720B. Figure 7As shown in , all user 705 requests transmitted to the multi-cloud console 721 are directed to the multi-cloud infrastructure included in the first cloud environment. It should be appreciated that the user 705 can transmit requests (e.g., CRUD requests) for resources provided by the first cloud infrastructure directly to the multi-cloud console 721. The multi-cloud console 721 is configured to process requests with a syntax or format similar to that used locally by the second cloud infrastructure. In other words, the multi-cloud console 721 has a similar look and feel, and uses terms similar to the second cloud portal 711 included in the second cloud infrastructure 710A. In some embodiments, a link (e.g., a weblink) that directs the user to the multi-cloud console 721 can be provided in the second cloud console 711.
[0176] The multi-cloud infrastructure 720B included in the first cloud infrastructure 720A includes a plurality of microservices, such as an authority module 722A, an agent module 722B, a platform service module 722C, a cloud-link adapter 722D, an adapter pool 722E (including adapter 1, adapter 2, adapter 3, and adapter 4), and a network link adapter 722F. The adapter pool 722E may include adapters such as an Exa-data cloud service adapter, an autonomous database shared adapter, an autonomous database dedicated adapter, and a virtual machine database adapter.
[0177] Each adapter included in the adapter pool 722E is responsible for exposing a unique set of underlying resources (provided by the first cloud infrastructure 720A) to users of other cloud environments (e.g., the second cloud environment). Specifically, each adapter in the adapter pool 722E maps to a specific product or resource provided by the first cloud infrastructure 720A. It should be noted that the actual resources are created by the native control plane 724 of the first cloud infrastructure. For example, with respect to Database as a Service (DBaaS), the DBaaS control plane included in the control plane 724 is configured to instantiate an Exa database resource in a customer lease 726 of the first cloud environment.
[0178] Incoming requests received by the multi-cloud infrastructure 720B are processed by the permission module 722A to perform authentication and access control. Each request includes a token associated with the user's account in the second cloud infrastructure. The permission module extracts the token and verifies the token in conjunction with the active directory 712 (i.e., the identity provider system of the second cloud infrastructure 710A). After successful verification, the permission module 722A can check the role (i.e., a set of privileges) associated with the user. It should be noted that the role can be associated with one or more tasks / operations permitted for the role. According to one embodiment, the permission module 722A is responsible for authenticating the incoming request of the MCCP and authorizing whether the user is allowed to perform the requested operation based on the role associated with the token. In some embodiments, the permission module 722A can perform the above-mentioned authentication processing by utilizing the custom authentication features of the service platform (i.e., the SPLAT associated with the first cloud infrastructure). SPLAT accepts the incoming request and forwards it to the permission module 722A, which further parses the incoming request to determine the permission decision and returns a success or failure message to the SPLAT. If successful, SPLAT passes the request to routing agent 722B, while if unsuccessful, SPLAT returns an error response directly to the caller.
[0179] The proxy module 722B (also referred to as a routing proxy module) included in the multi-cloud infrastructure 720B is a component that receives an incoming request from the multi-cloud console 721 and routes the request to a specific adapter included in the adapter pool 722E. According to one embodiment, the proxy module 722B accepts a pre-authenticated request from the service platform (i.e., SPLAT) of the first cloud infrastructure and routes the request to an appropriate adapter based on the path information included in the incoming request. In some implementations, the proxy module 722B extracts an identifier corresponding to a service provider (from the incoming request) and routes the request to an appropriate adapter in the adapter pool 722E.
[0180] The cloud-link adapter 722D included in the multi-cloud infrastructure 720B is responsible for handling lifecycle operations of resources provided by the first cloud infrastructure. The cloud-link adapter 722D is configured to create a mapping (or a relationship created in the registration process) between the active directory tenant (and its associated subscription) of the second cloud infrastructure and the corresponding lease / account of the user in the first cloud infrastructure. In other words, the cloud-link adapter 722D generates a mapping of a first identifier associated with the lease of the user in the first cloud infrastructure to a second identifier associated with the account of the user in the second cloud infrastructure.
[0181] In some embodiments, the cloud-link adapter 722D performs translation between an external cloud identifier (e.g., a second identifier associated with an account of a user in the second cloud infrastructure) and a first identifier (associated with a lease of a user in the first cloud infrastructure) so that operations through the multi-cloud control plane 722 can be mapped to appropriate underlying resources in the first cloud infrastructure. In some embodiments, the cloud-link adapter generates a data object to store the above-mentioned mapping information. Additionally, the cloud-link adapter 722D also generates a resource principal associated with the data object. Based on the token (and its associated role) included in the request, one or more permissions are assigned to the resource principal. The user accesses downstream services provided by the first cloud infrastructure from the second cloud infrastructure based on the resource principal. The cloud-link adapter 722D can store the data object and the associated resource principal in the root compartment of the lease of the user in the first cloud infrastructure. Alternatively or additionally, the cloud-link adapter 722D can also store the data object and the resource principal locally on the platform service module 722C of the multi-cloud infrastructure so that other adapters included in the multi-cloud infrastructure can access it seamlessly.
[0182] The network link module (also referred to as a network adapter) 722F is responsible for creating a network link between a customer subscription 715 (in the second cloud infrastructure) and a corresponding customer lease / account (in the first cloud infrastructure) 726. According to some embodiments, the network link module 722F obtains a token (from the platform services module 722C) and creates (1) a first peering relationship between the multi-cloud platform data plane 728 and the customer lease 726 (in the first cloud environment), and (2) a second peering relationship between the customer subscription 715 and a subscription of a first cloud service provider 717 included in the second cloud infrastructure (in the second cloud environment).
[0183] The network link module 722F is also configured to establish network connectivity between the first cloud environment and the second cloud environment, i.e., the network link module 722F can configure the interconnect 719 to communicatively couple the two cloud environments. It should be appreciated that after the network link is formed between the two cloud environments, applications executing in the customer's subscription (e.g., in the VNET of the second cloud infrastructure) can access resources, such as Exa database resources deployed in the customer's lease 726 of the first cloud infrastructure. In addition, as Figure 7As shown in , within the lease 726, telemetry functionality is provided. This functionality involves maintaining logs, metrics, and other performance parameters related to resources deployed in the customer lease and their corresponding usage. According to some embodiments, the MCCP generates a mirror of logs and metrics associated with different resources in the first cloud environment and publishes the metrics, logs, events, etc., for further processing, for example, in a dashboard (e.g., in an application insight module included in the customer subscription 715 of the second cloud environment).
[0184] In some embodiments, a platform service module 722C included in the multi-cloud infrastructure is configured to store credentials associated with services provided to a first cloud infrastructure provided to a second cloud infrastructure. The platform service module 722C provides, for example, tokens / resource principals to different adapters included in the adapter pool 722E so that the adapters can communicate with the native control plane 724 of the first cloud infrastructure. By some embodiments, the platform service module 722C exposes APIs called by different adapters to perform tasks such as:
[0185] • Sell the adapter a minimum scoped access token (issued by the second cloud infrastructure). For example, the network adapter 722F requires an access token to perform the above-mentioned network peering operations.
[0186] Provide a resource principal that the adapter will use to call a downstream service to create a resource in the customer tenancy of the first cloud infrastructure.
[0187] Trigger the replication of observability data (logs, metrics, events) from a first cloud infrastructure to a second cloud infrastructure.
[0188] As previously described, the adapter pool includes multiple adapters, each of which is responsible for exposing a unique set of underlying resources of the first cloud infrastructure to users of the second cloud infrastructure, that is, each adapter maps to a specific product or resource provided by the first cloud environment. For example, the Exa database adapter acts as an agent for the second cloud infrastructure user to create and utilize Exa database resources. Exa database is a preconfigured combination of hardware and software that provides an infrastructure for executing a database. According to some embodiments, Exa database includes a set of resources: (a) Exadata infrastructure (i.e., hardware), (b) VM cloud cluster, (c) container database, and (d) pluggable database. According to some embodiments, the multi-cloud infrastructure provides (users of the second cloud infrastructure) the ability to analyze each level of the stacked infrastructure. Moreover, MCCP provides users with the flexibility of only issuing a create command for the workflow (via the multi-cloud console 721), after which MCCP automatically creates individual resources at each level of the stack. It should be recognized that although Figure 7The adapter pool 722F depicted in FIG. 7 includes four different adapters, but this in no way limits the scope of the MCCP architecture 700. The MCCP architecture may include other adapters, such as specialized adapters designed for use with a particular cloud service provider based on the requirements of the cloud service provider.
[0189] Fig. 8A and Figure 8B An exemplary flow chart for linking two user accounts in different cloud environments according to some embodiments is depicted. The two user accounts may correspond to a first user account in a first cloud infrastructure (eg, a lease) and a second user account in a second cloud infrastructure. Fig. 8A Depicted is a process of linking two user accounts, where a user's tenancy is first created in a first cloud infrastructure and then linked to the user's account in a second cloud infrastructure. Figure 8B A process of linking two user accounts is depicted, where the user's tenancy has already been created in a first cloud infrastructure, ie, the tenancy already exists.
[0190] Fig. 8A Depicted is a data flow executed when a user representing a customer (such as a system administrator) issues a call from a second cloud infrastructure to a multi-cloud infrastructure (included in a first cloud infrastructure) to register a service provided in the first cloud infrastructure. A special console (referred to herein as the multi-cloud console) may be provided for users of the second cloud infrastructure to open an account within the first cloud infrastructure and link the user's account in the first cloud infrastructure to the user's account in the second cloud infrastructure. It is noted that linking the accounts in the first and second cloud infrastructures enables the user to utilize one or more services provided by the first cloud infrastructure (from the second cloud infrastructure). In some embodiments, the user registers for the service using the multi-cloud console. In response to the registration, a URL may be sent to the user that enables the user to log in to the multi-cloud console. The multi-cloud console exposes a UI and API similar to the UI and API of the second cloud infrastructure.
[0191] The multi-cloud console may provide various UIs (e.g., GUIs) that provide user-selectable options that enable a user of the second cloud infrastructure to open an account in the first cloud infrastructure and further link the user's account in the first and second cloud infrastructures. For example, the multi-cloud console may provide a registration UI that enables a user to create an account / lease in the first cloud infrastructure and link the user's account (in the first cloud infrastructure) to the user's account in the second cloud infrastructure. Once the processing triggered in response to the registration / linking request is completed, the user's accounts in the respective cloud infrastructures are linked together. As part of the processing, the multi-cloud console enables a user (e.g., a system administrator) to log into the second cloud infrastructure and request: (a) to create an account for the user (in the first cloud infrastructure) and link the user's account; or (b) for an account that the user already has in the first cloud infrastructure, request to link the user's first cloud infrastructure account to the user's second cloud infrastructure account.
[0192] Thus, in certain use cases, there are two possibilities: (a) the user already has an existing account or tenancy in the first cloud infrastructure, and now via the multi-cloud console registration UI, the user requests to create a link between the user's accounts (the details of this process will be referred to below). Figure 8B ), or (b) the user requests to both create a new account in the first cloud infrastructure and link the newly created account with the user's account in the second cloud infrastructure. The details of this process will be referred to below Fig. 8A It should be appreciated that the linking of the accounts enables the user to use resources in the first cloud via the second cloud. For example, via the second cloud, the user can request to create or provision resources in the first cloud, utilize and manage resources in the first cloud, delete resources in the first cloud, etc.
[0193] like Fig. 8A As shown in , in step 1, in response to input provided by a user to a multi-cloud console (e.g., a registration UI of the multi-cloud console) requesting to create a new account for a user in a first cloud infrastructure and link it to a user account in a second cloud infrastructure, the multi-cloud console calls an account service (in the first cloud infrastructure) to create the new account. Note that the call includes a token generated by the second cloud infrastructure. The token generated by the second cloud infrastructure and included in the call to the account service enables the account or tenancy created in the first cloud infrastructure to be linked to the user's account in the second cloud infrastructure.
[0194] At step 2, as part of the process of setting up a new account for a user, the account service may call an authority / agent module (e.g., Figure 7The authority module 722A included in the multi-cloud infrastructure of the present invention verifies the token. The authority / proxy module verifies the token (as previously referenced Figure 7 The second cloud infrastructure may be used to manage the account in the first cloud infrastructure and its resources (from the second cloud infrastructure).
[0195] After the account service in the first cloud infrastructure successfully creates the new account, in step 3, the account service calls the cloud-link adapter (included in the multi-cloud infrastructure) to create a link (also referred to as a cloud-link) between the user's account in the second cloud infrastructure and the newly created account in the first cloud infrastructure. In some embodiments, the cloud-link adapter exposes APIs to the account service and the multi-cloud console. These APIs can be called by the account service (or by the multi-cloud console) to request the linking of the account. Note that in some embodiments, a token is not included in the call of step 3 because the call to request the linking is not made by the user, but rather instructed by the account service. In this case, the cloud-link adapter does not perform another authentication requiring another token because it relies on the account service having already performed the necessary authentication for the user as part of the process of setting up the account using the token received in step 1.
[0196] In some embodiments, the process of linking the two accounts performed by the cloud-link adapter in step 3 includes:
[0197] (a) The cloud-link adapter creates a data object (also referred to herein as a cloud-link resource object, which is used to store metadata information identifying the two accounts being linked.) For example, the data object stores metadata information including a mapping of a first identifier associated with a tenancy (i.e., an account) created in a first cloud infrastructure and a second identifier associated with a user account for a second cloud service provider.
[0198] (b) The cloud-link adapter creates a new compartment for storing and containing resources on the first cloud infrastructure side that the user can / will manage using the multi-cloud console. In some embodiments, the cloud-link resource object is created in the root directory of the customer's account in the first cloud infrastructure.
[0199] (c) The cloud-link adapter creates a new resource principal (referred to herein as a cloud-link resource principal) for the resource that the user of the second cloud infrastructure desires to use.
[0200] (d) The cloud-link adapter can perform operations to facilitate linking a domain in the first cloud infrastructure to the active directory (e.g., Figure 7 The process of federating the accounts of the first cloud infrastructure and the second cloud infrastructure allows users / user groups in the second cloud infrastructure to authenticate in the first cloud infrastructure, and allows users / user groups from the first cloud infrastructure to authenticate in the second cloud infrastructure.
[0201] In some embodiments, based on the user's credentials / token in the account of the second cloud infrastructure, the permission is associated with the cloud-link resource principal. When the user uses the multi-cloud console to request a new account or request to link the user's account in the first cloud infrastructure to the user's account in the second cloud infrastructure, the user provides consent to establish the resource principal. In addition, as shown in step 4, the cloud-link resource principal is transmitted to the downstream service to enable the user to utilize the downstream service(s) from the second cloud infrastructure (e.g., one or more services provided by the first cloud infrastructure).
[0202] Go to Figure 8B , depicts processing associated with linking an existing account or lease in a first cloud infrastructure to a user's account in a second cloud infrastructure. Figure 8B As shown in , a user requests to link the user's account in the first cloud infrastructure and the second cloud infrastructure via a registration UI provided by the multi-cloud console. In response, in step 1, the multi-cloud console calls the cloud-link adapter to link the account. This call can be made using one of the APIs exposed by the cloud-link adapter to the registration UI. In some embodiments, the information passed to the cloud-link adapter in step 1 includes information identifying the user account in the second cloud infrastructure and the user account in the first cloud infrastructure, a token issued by the second cloud infrastructure, etc.
[0203] In step 2, the cloud-link adapter calls a permission / proxy module included in the multi-cloud infrastructure to authenticate the token received in step 1. As part of this authentication, the permission / proxy module determines whether the user making the request has sufficient permissions on the second cloud infrastructure side to make the link request. As part of the verification, the roles and permissions set on the second cloud infrastructure side can be checked. In response to the user being successfully authenticated, the cloud-link adapter retrieves the resource subject associated with the resource that the user desires to use from the data object previously created for the user. In addition, as shown in step 3, the cloud link resource subject is transmitted to the downstream service to enable the user to utilize (one or more) downstream services from the second cloud infrastructure (e.g., one or more services provided by the first cloud infrastructure).
[0204] Fig. 9A An exemplary system diagram illustrating components of a multi-cloud control plane (MCCP) according to some embodiments is depicted. MCCP 900 includes a service platform (SPLAT) 910, a routing agent 915, a cloud-link adapter 920, a database adapter 925, a network adapter 930, and an MCCP platform 935. After the user successfully completes the above reference Fig. 8A and Figure 8B After the registration process, the user can use the multi-cloud console 905 to issue a command to access, create or update the resources in the user's lease in the first cloud infrastructure. For ease of explanation, the following describes a scenario in which the user uses the multi-cloud console to issue a request to create an Exa database resource.
[0205] In some embodiments, a user accesses the multi-cloud console 905 and provides login information, such as the user's credentials in the second cloud infrastructure. The multi-cloud console 905 provides multiple options, such as creating resources, accessing resources, updating resources, etc. Such options can be provided to the user in the form of selectable icons (e.g., buttons) in the multi-cloud console 905. When the user performs a selection (e.g., creating a resource), an API call to the service platform 910 is triggered. It should be recognized that the request issued to the service platform 910 is not a native call to the first cloud infrastructure. More specifically, the call is a REST type call including an authorization header that includes a token associated with the user in the second cloud infrastructure.
[0206] The REST call including the token is further forwarded to the routing proxy module 915 which performs authentication and access control operations. According to some embodiments, the routing proxy module 915 performs authentication operations by extracting the token included in the REST call. The routing proxy module 915 verifies the token by comparing the signature (used to sign the request) with the publicly available signature of the second cloud infrastructure to ensure that the request originates from a valid customer associated with the second cloud infrastructure. Additionally, the routing proxy module 915 may also check the role (i.e., privilege) associated with the token, for example, whether the role corresponds to an ExadataDB administrator, etc. Based on the role, the routing proxy module 915 may route the request to the appropriate adapter included in the MCCP framework 900.
[0207] According to one embodiment, the routing proxy module 915 compares the role (associated with the token) to a list of preconfigured roles published and assigned (as part of the API specification) for each adapter. For example, if the role associated with the token corresponds to "Exadata DB Administrator", then the request can be understood as a request to create an Exa database, and the request is therefore forwarded to the database adapter 925. In addition, according to some embodiments, the routing proxy module 915 can analyze the information included in the REST call, such as the provider ID, the requested resource type, etc., and based on the analyzed information, the routing proxy module 915 can forward the request to the appropriate adapter.
[0208] In some embodiments, the request obtained by the routing agent module 915 may not include information identifying the user's tenancy in the first cloud infrastructure where the resource is to be deployed. Therefore, the routing agent module 915 communicates with the cloud-link adapter 920 to obtain mapping information of the user account in the second cloud infrastructure to the user's tenancy in the first cloud infrastructure. If the mapping information exists, the routing agent module 915 obtains information related to the user's tenancy in the first cloud infrastructure and passes the information to the database adapter 925. In this way, the database adapter 925 is aware of the user's tenancy in the first cloud infrastructure where the resource is to be created / deployed. However, if the cloud-link adapter 920 determines that the mapping information does not exist, the routing agent module 915 can simply issue an "unauthorized access" message as a response to the request to create the database resource, which is transmitted back to the user.
[0209] It should be noted that in some embodiments, the cloud-link adapter 920 creates a data object (referred to herein as a cloud link resource object) for storing metadata information identifying the two linked accounts. For example, the data object stores metadata information including a mapping of a first identifier associated with a lease (i.e., an account) in the first cloud infrastructure and a second identifier associated with an account of a user of the second cloud service provider. In addition, the cloud-link adapter 920 also creates a resource principal (referred to herein as a cloud link resource principal) for a resource (e.g., a database) that a user of the second cloud infrastructure desires to create / manage. The cloud-link adapter 920 can maintain the data object as well as the resource principal within the root compartment of the user's lease in the first cloud infrastructure. In some embodiments, the cloud-link adapter 920 can also locally store the data object and / or resource principal in the MCCP platform 935.
[0210] In some embodiments, the database adapter 925 may (instruct or) communicate with the network adapter 930 to create a network link between the user account in the second cloud infrastructure and the user's tenancy in the first cloud infrastructure. For example, the network adapter 930 may obtain a token associated with the user from the native service 945 in the second cloud infrastructure module and create: (1) a first peering relationship between the data plane of the MCCP and the user's tenancy in the first cloud infrastructure (in the first cloud environment), and (2) a second peering relationship between the user's account and a subscription of the first cloud provider included in the second cloud infrastructure (in the second cloud environment).
[0211] The network adapter 930 is also configured to establish network connectivity between the first cloud infrastructure and the second cloud infrastructure, that is, the network adapter 930 can configure an interconnect (e.g., Figure 7 719 in the first cloud infrastructure). It should be appreciated that after the network link is formed between the user's tenancy in the first cloud infrastructure and the user's account in the second cloud infrastructure, applications executing in the user's subscription / account are able to access resources, such as an Exa database deployed in the tenancy of the first cloud infrastructure. In addition, the creation of the peering relationship supplies metrics accessible in the second cloud infrastructure (e.g., in a dashboard application executing in the user's subscription in the second cloud infrastructure), such as database usage metrics.
[0212] In some embodiments, the database adapter 925 can obtain a resource principal stored locally in the MCCP platform 935. The database adapter 925 can transmit a request (including the resource principal) to one or more downstream services 940 included in the first cloud infrastructure to create a resource in the user's lease in the first cloud infrastructure. In other words, the downstream service 940 included in the first cloud infrastructure uses the identity (i.e., the resource principal) obtained from the MCCP platform 935 to create / deploy the required resources, such as an Exa database, in the user's lease in the first cloud infrastructure. After the user issues a request to create an Exa database, the user can intermittently poll the MCCP 900 to obtain the status of the request. After the downstream service 940 of the first cloud infrastructure creates the resource in the user's lease in the first cloud infrastructure and the network adapter 930 establishes a peering relationship, the MCCP 900 can notify the user that the request has been successfully completed.
[0213] Fig. 9B An exemplary flow chart depicting steps performed by a multi-cloud infrastructure according to certain embodiments is illustrated. Fig. 9BThe processes depicted in the can be implemented in software (e.g., code, instructions, programs), hardware, or a combination thereof, executed by one or more processing units (e.g., processors, cores) of the corresponding system. The software can be stored on a non-transitory storage medium (e.g., a memory device). Fig. 9B The methods presented in and described below are intended to be illustrative and non-limiting. Fig. 9B Various processing steps that occur in a particular order or sequence are depicted, but this is not intended to be limiting. In some alternative embodiments, these steps may be performed in a different order, or some steps may also be performed in parallel.
[0214] The process begins in step 975, where a first cloud service provider provides a set of one or more cloud services using a first cloud infrastructure. In step 980, a multi-cloud infrastructure is provided within the first cloud infrastructure. The multi-cloud infrastructure enables a user associated with an account for a second cloud service provider to use a first service from the set of one or more cloud services from the second cloud infrastructure. In other words, the multi-cloud infrastructure forms a gateway for users of other cloud service providers to utilize one or more cloud services provided by the first cloud infrastructure from their native cloud environments. It can be appreciated that the first service can correspond to creating and utilizing database resources deployed in the first cloud infrastructure (e.g., in a lease associated with the user and created in the first cloud infrastructure).
[0215] The process then moves to step 985, where the multi-cloud infrastructure creates a link between the account (of the user) for the second cloud service provider and the lease created in the first cloud infrastructure to enable the user to use the first service. In some embodiments, the multi-cloud infrastructure generates a data object that stores metadata information corresponding to the link. The metadata information may include a mapping of a first identifier associated with the lease created in the first cloud infrastructure and a second identifier associated with the account (of the user) for the second cloud service provider.
[0216] Database Adapter
[0217] According to some embodiments of the present disclosure, a CSP (e.g., Figure 7 A first cloud infrastructure 720A provided by a first cloud service provider provides a fleet of services to users of other cloud infrastructures (e.g., a second cloud infrastructure 710A provided by a second cloud service provider). One such service corresponds to the ability to deliver database as a service (DBaaS) provisioning to users in other cloud providers. These services are provided via a cloud provider-specific portal or console that allows users to access and manage resources deployed in the first cloud infrastructure. For example, reference Figure 7The multi-cloud console 721 provides users in the second cloud infrastructure 710A with the ability to deploy, access, and manage resources (e.g., databases) in the first cloud infrastructure 720A. The purpose of providing DBaaS services is to provide users with an experience as close as possible to that of their native cloud service provider.
[0218] Generally speaking, any service of the first cloud infrastructure that needs to provide its management capabilities in the multi-cloud console may not be able to do it directly using its existing APIs and constructs. There is a need for a translation layer that will shape the control plane APIs and resources of the target service through the cloud provider constructs. Therefore, as Figure 7 As shown in , an adapter pool 722E (one adapter for each service type provided by the first cloud infrastructure) is implemented and integrated into the multi-cloud infrastructure. In the present disclosure, the term adapter is defined as corresponding to any multi-cloud infrastructure service that provides (one or more) APIs for consumption by users of the multi-cloud console. One such adapter included in the adapter pool is a database adapter. The database adapter provides highly differentiated services (of the first cloud infrastructure) to users of the second cloud infrastructure. Some examples of database adapters are as follows: (i) Exa-CS adapter for Exadata cloud services, (ii) VMDB adapter for virtual machine database systems, (iii) ADB-D adapter for autonomous databases on dedicated Exadata infrastructure, (iv) ADB-S adapter for autonomous databases on shared Exadata infrastructure, and (v) MySQL Heatwave adapter.
[0219] A detailed description of the architecture of the database adapter is provided below. For simplicity, we assume that the user making the call to the multi-cloud console is a user of the second cloud environment. However, it can be appreciated that users of different cloud environments can also utilize the (one or more) features provided by the database adapter.
[0220] Fig. 10A An exemplary architecture of a database adapter 1000 according to some embodiments is illustrated. The database adapter is configured to provide an accurate state of (one or more) downstream resources. As will be described below, in some embodiments, the database adapter maintains the minimum required state of the resources and avoids storing and managing detailed resource states, which are preferably stored in downstream services. The database adapter is deployed to an independent dedicated lease and maintains its own deployment pipeline. It is noted that the database adapter can be accessible via a proxy endpoint included in the multi-cloud infrastructure.
[0221] refer to Figure 7It is noted that the database adapter may be one of the adapters included in the adapter pool 722E included in the multi-cloud infrastructure. It is noted that the adapter pool 722E provides a bridge for users of the second cloud infrastructure to utilize services provided by the first cloud infrastructure. Fig.14 As shown in , the control plane of the database adapter exposes different APIs for each external cloud provider to communicate with the DBaaS service provided by the first cloud infrastructure. For example, the database adapter is ( Figure 7 ) The user of the second cloud infrastructure exposes API 1005 to utilize the DBaaS service.
[0222] The API 1005A provided to users of the second cloud infrastructure includes one or more modules that provide different services to users of the second cloud infrastructure for resources provisioned in the first cloud infrastructure. For example, the API 1005 includes a first module 1005A that provides operations such as "GET" and "LIST" and a second module 1005B that provides operations such as "CREATE", "UPDATE" and "DELETE". As will be described below, module 1005A processes "GET" and "LIST" requests, which are synchronous calls that act as a channel to the downstream services 1020 of the first cloud infrastructure, while module 1005B processes "CREATE", "UPDATE" and "DELETE" requests, which are asynchronous calls. Asynchronous calls accept requests and start a workflow in the background to complete the operation.
[0223] The API 1005 also communicates with the network adapter 1025 to obtain peer information. For example, when a user (from the second cloud infrastructure) sends a request to create a resource (e.g., a database resource) in the first cloud infrastructure, the request may include the ID of the resource to be provisioned (e.g., the ID of the VCN). The network link adapter 1025 peers the VCN created in the lease on the first cloud infrastructure side with the user's account in the second cloud infrastructure (e.g., Azure VNET). In addition, the API 1005 may also communicate with the MCCP platform 1030 to retrieve the resource principal session token (i.e., the identity of the resource), as described below.
[0224] The database adapter 1000 includes a key-value database 1010 (also referred to as a key-value repository) configured to store canonical representations of resources provided by downstream services of the first cloud infrastructure. Specifically, the key-value database 1010 stores adapter resources. The adapter resource is a lightweight object (e.g., a data object) of a target resource that stores mapping information of a first identifier of a user's account (in the second cloud infrastructure) to a resource identifier of the resource. The data object may also include metadata information reflecting a state specific to a cloud provider.
[0225] Thus, for example, upon receiving a GET request (processed by module 1005A), the database adapter retrieves mapping information (i.e., information mapping the user's account in the second cloud infrastructure to a resource identifier) to process the request. In some embodiments, the information associated with the resource identifier is used as a pointer to the resource and a collection of auxiliary resources associated with the resource. Using the pointer, information about the specific resource is obtained from the downstream service 1020 (which includes multiple services, such as DBaaS, VCN, etc.). It can be appreciated that the information about the specific resource is obtained from the downstream service 1020 (via the use of a pointer in a data object stored in the key-value database 1010) and passed to the user.
[0226] According to some embodiments, the operations provided in API 1005B (e.g., "CREATE", "UPDATE", and "DELETE", i.e., C / U / D / operations) schedule / execute a unique workflow to be executed in the Workflow as a Service (WFaaS) module 1015 of the database adapter 1000. The WFaaS workflow handles asynchronous operations for C / U / D requests and coordinates operations across downstream services 1020. For example, in one embodiment, upon receiving a request of type C / U / D, the corresponding workflow is provisioned via WFaaS 1015. The details of the request are temporarily saved in the key-value database 1010. After the workflow is scheduled, the workflow creates the primary (and required auxiliary resources) in the downstream service 1020. After the downstream resources are created, the temporary information (related to the request) stored in the key-value database 1010 can be deleted.
[0227] It is noted that the C / U / D type workflow communicates with the network adapter 1025 and the MCCP platform 1030 to retrieve virtual network information (e.g., the (user's) lease information in the first cloud infrastructure where the resource is to be deployed) and retrieve a resource principal session token (RSPT) associated with the resource, respectively. In some embodiments, an agent module (e.g., Figure 7 The proxy module 722B of the multi-cloud adapter 1000 acts as a front door for all incoming API requests to the database adapter 1000. The proxy negotiates a session with the endpoint of the database adapter. The incoming request (i.e., the request from the user of the second cloud infrastructure forwarded to the proxy via the multi-cloud console) contains information such as a token generated by the second cloud infrastructure and information related to the user's account in the second cloud infrastructure.
[0228] As previously described, the proxy module performs authentication of the token and authorization of the API request before routing the API request to the database adapter. In some embodiments, along with the original request, the proxy also includes a resource context. The resource context is a security token signed by a shared zone key to ensure end-to-end message integrity while carrying the statements required to fulfill the request. It can be appreciated that the resource context ensures that the database adapter operates under the subject of the cloud-link resource in the customer's lease of the first cloud infrastructure. The database adapter can use the resource context to retrieve a resource principal session token (RPST) from the MCCP platform 1030. The database adapter can then issue a request to a downstream service of the first cloud infrastructure 1020, wherein the request includes the RPST and / or information related to the user's lease in the first cloud infrastructure where the resource is to be deployed.
[0229] In some embodiments, the database adapter 1000 of the present disclosure supplies auxiliary resources in addition to the primary resources requested by the user of the second cloud infrastructure. For example, the database adapter 1000 can supply: (i) create a network link that equates the lease of the first user in the first cloud infrastructure with the first account of the first user in the second cloud infrastructure, and (ii) supply observability resources that enable measurement information of resources created in the first cloud infrastructure to be transmitted to the first account of the first user in the second cloud infrastructure. In addition, it can be appreciated that the database adapter of the present disclosure stores resource information in a cloud-independent manner. Specifically, the database adapter creates a data object (in the KV repository 1010) for each requested downstream resource. Within the data object, the database adapter only stores provider-specific details (e.g., mapping information of the first identifier of the first account of the first user in the second cloud infrastructure to the resource identifier of the resource). Detailed information on the resource status (see next) Fig. 10C Description) is maintained by the downstream service and can be accessed by the database adapter via a pointer stored in the data object.
[0230] Fig. 10B An exemplary request submitted to a database adapter according to certain embodiments is illustrated. Fig. 10B 1 represents an exemplary request (e.g., a GET request) issued by a user of the second cloud infrastructure to obtain information related to the user's database resources deployed in the first cloud infrastructure. It should be noted that in some embodiments, the user can request Figure 7 The multi-cloud console 721 submits a request for obtaining information related to the resource. The multi-cloud console can then generate Fig. 10Band transmits the request to the multi-cloud infrastructure for further processing. According to some embodiments, the request includes a subscription ID (e.g., an ID of an account of a user in the second cloud infrastructure), a resource group name, and a name of a resource included in the first cloud infrastructure. In one embodiment, Fig. 10B The entire request depicted in is used as an identifier of the user's account in the second cloud infrastructure, which is mapped to the resource ID of the downstream resource.
[0231] Fig. 10C The diagram illustrates a database adapter according to some embodiments. Fig. 10B An example response is provided for a request. Fig. 10C As shown in FIG. 1 , mapping information 1075 related to an identifier 1070 of an account of a user in the second cloud infrastructure to a resource identifier 1085 of a resource is maintained in a data object stored in a key-value database. Note that Fig. 10B The request depicted in corresponds to an identifier 1070 of an account of a user in the second cloud infrastructure. When the API module 1005B of the database adapter 1000 initially obtains a "CREATE" request to deploy a resource (e.g., a database), the resource identifier portion 1085 included in the mapping information 1075 is initially set to NULL. After the downstream service deploys the resource in the first cloud infrastructure, the database adapter is configured to update the data object with the resource identifier of the resource. Note that the resource identifier 1085 serves as a pointer that provides a link to detailed information 1080 of the resource maintained by the downstream service. The detailed information may include data related to the location of the resource, the name of the resource, the state of the resource, the number of processors associated with the resource, the size of the resource, the network-link information of the resource, etc. In this way, the da of the present disclosure avoids storing detailed information of the resource and relies on the resource identifier (i.e., the pointer) to retrieve detailed status information of the resource from the downstream service (one or more) of the first cloud infrastructure.
[0232] As previously referenced Fig. 10A As described, the API 1005 includes a first module 1005A that provides operations such as "GET" and "LIST", and a second module 1005B that provides operations such as "CREATE", "UPDATE", and "DELETE". Module 1005A processes "GET" and "LIST" requests, which are synchronous calls that act as a channel for delivery to the downstream service 1020 of the first cloud infrastructure, while module 1005B processes "CREATE", "UPDATE", and "DELETE" requests, which are asynchronous calls. The asynchronous call accepts the request and starts a workflow in the background to complete the operation. The core steps performed for the operations performed by modules 1005A and 1005B are described below, respectively.
[0233] For a "GET" request, the steps include:
[0234] The database adapter performs a lookup of the downstream resource ID based on the ID of the user's account (ie, the ID of the account in the second cloud infrastructure) in the data object stored in the KV store. If the entity is not found, the database adapter rejects the request, for example, with a message "404 Not Found".
[0235] If the entity is found, and if the state is "Creating" or "Invalidated", then the resource details are retrieved from the data object stored in the KV store.
[0236] If the entity is found, and if the state is other than "Creating" or "Invalidated", the database adapter calls the downstream service by passing the resource identifier. The resource details are retrieved from the downstream service to provide the user with the accurate state of the resource.
[0237] For a "LIST" request, the steps include:
[0238] The database adapter performs list operations against the key-value store and executes the list against the downstream service.
[0239] The database adapter filters the list retrieved from the downstream service to ensure that the results only contain resources created through the database adapter and exclude resources that the user may have created directly in the tenancy of the first cloud infrastructure.
[0240] For resources with status "Creating" or "Invalid", the resource details are retrieved from the data object in the key-value store. For other resources, the resource details are obtained from downstream entries to provide their accurate status.
[0241] For an UPDATE request, the steps include:
[0242] The database adapter verifies the existence of a resource with a specific ID (ie, the ID of the resource that is expected to be updated). If no such resource exists, the database adapter rejects the request, for example, with a message "404 Not Found".
[0243] The database adapter updates the entity in the data object stored in the key-value store with a status of "updating", stores the update details, and queues the WFaaS workflow for updating downstream resources.
[0244] Sensitive parts of the update details (such as database passwords) are stored encrypted. When the workflow is completed, the update details are deleted.
[0245] A workflow executes a series of steps to update the required resources (usually just the primary resource).
[0246] For a DELETE request, the steps include:
[0247] The database adapter verifies the existence of a resource with a specific ID (ie, the ID of the resource that is desired to be deleted). If no such resource exists, the database adapter rejects the request, for example, with a message "404 Not Found".
[0248] The database adapter updates the entity in the data object stored in the key-value store with the status "terminating" and queues the WFaaS workflow for deleting the downstream resource.
[0249] The workflow executes a series of steps to delete the primary and supporting resources.
[0250] The workflow deletes the resource entity from the data object stored in the key-value store, after which the mapping information of the terminated resource will no longer exist in the data object, and the name of the resource can be reused for the new resource to be created.
[0251] For a "CREATE" request, the steps include:
[0252] The database adapter verifies that there is no resource with the same ID as the resource being created. If such a resource exists, the database adapter rejects the request, for example, with the message "409 Conflict".
[0253] The database adapter creates a new entity, i.e., a data object (with a status of “Creating”) in the key-value store, stores the creation details, and queues the WFaaS workflow for provisioning downstream resources.
[0254] Sensitive parts of the creation details (such as database passwords) are stored encrypted. When the workflow is completed, the creation details are deleted.
[0255] The workflow performs a series of steps to provision supporting resources and primary resources. Specifically, the workflow: (i) retrieves a resource principal associated with the resource, (ii) retrieves lease information for the resource to be deployed, (iii) transmits a request (including the resource principal and lease-related information) to a downstream service to execute the request, (iv) creates a network that peers the lease of a first user in a first cloud infrastructure with the first account of the first user in a second cloud infrastructure, and (v) invokes the MCCP platform to provision observability resources, i.e., auxiliary resources that enable metric information of resources created in the first cloud infrastructure to be transmitted to the first account of the first user in the second cloud infrastructure.
[0256] The workflow updates the data object with the identity of the newly created downstream resource.
[0257] Fig.11 An exemplary flow chart depicting steps performed by a database adapter according to certain embodiments is illustrated. Fig.11 The processes depicted in the can be implemented in software (e.g., code, instructions, programs), hardware, or a combination thereof, executed by one or more processing units (e.g., processors, cores) of the corresponding system. The software can be stored on a non-transitory storage medium (e.g., a memory device). Fig.11 The methods presented in and described below are intended to be illustrative and non-limiting. Fig.11 Various processing steps that occur in a particular order or sequence are depicted, but this is not intended to be limiting. In some alternative embodiments, these steps may be performed in a different order, or some steps may also be performed in parallel.
[0258] The process begins in step 1105, where an adapter associated with a service is provided in a first cloud infrastructure. The adapter enables one or more users associated with one or more accounts in a second cloud infrastructure to request the service. In step 1110, the adapter receives a first request from a first user associated with a first account in the second cloud infrastructure. The first request corresponds to a request to create a resource in the first cloud infrastructure.
[0259] After receiving the first request, in step 1115, the adapter executes a workflow to provision the resource using the service. Fig. 10A , the control plane of adapter 1005 issues an asynchronous request to WFaaS module 1015 to execute the workflow.
[0260] The process then proceeds to step 1120, where a key-value store (e.g., Fig. 10A The adapter creates a data object in the KV repository 1010 of the first cloud infrastructure. The data object is configured to store mapping information of the first identifier of the first account of the first user in the second cloud infrastructure to the resource identifier of the resource. In step 1125, the adapter obtains identification information of the lease associated with the user in the first cloud infrastructure. In step 1130, the adapter obtains the resource principal previously created and associated with the resource. The information obtained in steps 1125 and 1130 can be obtained by the adapter from the platform service module (e.g., Fig. 10A The platform 1030) is obtained.
[0261] In step 1135, the adapter transmits a second request to the service provided by the first cloud infrastructure. The second request includes a resource body and corresponds to a request sent by the adapter (to the service) to create the resource requested by the user. In some embodiments, the adapter may correspond to a database adapter, the service may correspond to a database as a service (DBaaS), and the resource requested by the user of the second cloud infrastructure may correspond to a database. In addition, the DBaaS may create / deploy a database in the user's lease in the first cloud infrastructure. After creating the resource in the user's lease in the first cloud infrastructure, in step 1140, the adapter updates the data object (created in step 1120) with information related to the resource identifier of the resource deployed by the service.
[0262] Examples of cloud infrastructure
[0263] 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, a cloud computing provider 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 provide various services to accompany these infrastructure components (e.g., billing, monitoring, logging, security, load balancing, and clustering, etc.). Therefore, since these services may be policy-driven, IaaS users may be able to implement policies to drive load balancing to maintain the availability and performance of applications.
[0264] 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.
[0265] 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.
[0266] 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.).
[0267] 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.
[0268] In some cases, there are two different challenges for 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.
[0269] In some examples, the infrastructure may 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 security group rules may also be provided to define how to set up security for the network and one or more virtual machines (VMs). Other infrastructure elements may also be provided, such as load balancers, databases, etc. The infrastructure may evolve gradually as more and more infrastructure elements are desired and / or added.
[0270] 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 geographical locations, sometimes across the world). However, in some examples, the infrastructure on which the code will be deployed must first be 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.
[0271] Fig.12 1 is a block diagram 1200 illustrating an example schema of an IaaS architecture according to at least one embodiment. A service operator 1202 can be communicatively coupled to a secure host lease 1204 that can include a virtual cloud network (VCN) 1206 and a secure host subnet 1208. In some examples, the service operator 1202 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 or UNIX-like operating systems, including but not limited to any of the various 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 gestural input device), and / or a personal messaging device capable of communicating over a network that can access VCN 1206 and / or the Internet.
[0272] VCN 1206 may include a local peer gateway (LPG) 1210, which may be communicatively coupled to a secure shell (SSH) VCN 1212 via LPG 1210 contained in an SSH VCN 1212. SSH VCN 1212 may include an SSH subnet 1214, and SSH VCN 1212 may be communicatively coupled to a control plane VCN 1216 via LPG 1210 contained in a control plane VCN 1216. Furthermore, SSH VCN 1212 may be communicatively coupled to a data plane VCN 1218 via LPG 1210. Control plane VCN 1216 and data plane VCN 1218 may be contained in a service lease 1219, which may be owned and / or operated by an IaaS provider.
[0273] The control plane VCN 1216 may include a control plane demilitarized zone (DMZ) layer 1220 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 security vulnerabilities. In addition, the DMZ layer 1220 may include one or more load balancer (LB) subnets 1222, a control plane application layer 1224 that may include (one or more) application subnets 1226, and a control plane data layer 1228 that may include (one or more) database (DB) subnets 1230 (e.g., (one or more) front-end DB subnets and / or (one or more) back-end DB subnets). The LB subnet(s) 1222 included in the control plane DMZ layer 1220 may be communicatively coupled to the application subnet(s) 1226 included in the control plane application layer 1224 and the Internet gateway 1234 that may be included in the control plane VCN 1216, and the application subnet(s) 1226 may be communicatively coupled to the DB subnet(s) 1230 included in the control plane data layer 1228 and the service gateway 1236 and the network address translation (NAT) gateway 1238. The control plane VCN 1216 may include the service gateway 1236 and the NAT gateway 1238.
[0274] The control plane VCN 1216 may include a data plane mirror application layer 1240, which may include application subnet(s) 1226. The application subnet(s) 1226 included in the data plane mirror application layer 1240 may include a virtual network interface controller (VNIC) 1242 that may execute a compute instance 1244. The compute instance 1244 may communicatively couple the application subnet(s) 1226 of the data plane mirror application layer 1240 to the application subnet(s) 1226 that may be included in the data plane application layer 1246.
[0275] The data plane VCN 1218 may include a data plane application layer 1246, a data plane DMZ layer 1248, and a data plane data layer 1250. The data plane DMZ layer 1248 may include (one or more) LB subnets 1222, which may be communicatively coupled to (one or more) application subnets 1226 of the data plane application layer 1246 and an internet gateway 1234 of the data plane VCN 1218. The (one or more) application subnets 1226 may be communicatively coupled to a service gateway 1236 of the data plane VCN 1218 and a NAT gateway 1238 of the data plane VCN 1218. The data plane data layer 1250 may also include (one or more) DB subnets 1230, which may be communicatively coupled to (one or more) application subnets 1226 of the data plane application layer 1246.
[0276] The internet gateway 1234 of the control plane VCN 1216 and the data plane VCN 1218 may be communicatively coupled to the metadata management service 1252, which may be communicatively coupled to the public Internet 1254. The public Internet 1254 may be communicatively coupled to the NAT gateway 1238 of the control plane VCN 1216 and the data plane VCN 1218. The service gateway 1236 of the control plane VCN 1216 and the data plane VCN 1218 may be communicatively coupled to the cloud service 1256.
[0277] In some examples, service gateway 1236 of control plane VCN 1216 or data plane VCN 1218 can make application programming interface (API) calls to cloud services 1256 without going through public internet 1254. API calls from service gateway 1236 to cloud services 1256 can be one-way: service gateway 1236 can make API calls to cloud services 1256, and cloud services 1256 can send requested data to service gateway 1236. However, cloud services 1256 may not initiate API calls to service gateway 1236.
[0278] In some examples, secure host lease 1204 can be directly connected to service lease 1219, which can otherwise be isolated. Secure host subnet 1208 can communicate with SSH subnet 1214 through LPG 1210, which can enable two-way communication on otherwise isolated systems. Connecting secure host subnet 1208 to SSH subnet 1214 can enable secure host subnet 1208 to access other entities within service lease 1219.
[0279] The control plane VCN 1216 may allow a user of the service lease 1219 to set up or otherwise provision desired resources. The desired resources provisioned in the control plane VCN 1216 may be deployed or otherwise used in the data plane VCN 1218. In some examples, the control plane VCN 1216 may be isolated from the data plane VCN 1218, and the data plane mirror application layer 1240 of the control plane VCN 1216 may communicate with the data plane application layer 1246 of the data plane VCN 1218 via the VNIC 1242, which may be included in the data plane mirror application layer 1240 and the data plane application layer 1246.
[0280] 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 1254 which may transmit the request to the metadata management service 1252. The metadata management service 1252 may transmit the request to the control plane VCN 1216 through the internet gateway 1234. The request may be received by the LB subnet(s) 1222 contained in the control plane DMZ layer 1220. The LB subnet(s) 1222 may determine that the request is valid, and in response to the determination, the LB subnet(s) 1222 may transmit the request to the application subnet(s) 1226 contained in the control plane application layer 1224. If the request is validated and a call to the public internet 1254 is required, the call to the public internet 1254 may be transmitted to the NAT gateway 1238 which may make the call to the public internet 1254. The storage that the request may desire to be stored may be stored in the DB subnet(s) 1230.
[0281] In some examples, data plane mirror application layer 1240 may facilitate direct communication between control plane VCN 1216 and data plane VCN 1218. 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 1218. Control plane VCN 1216 may communicate directly with the resources contained in data plane VCN 1218 via VNIC 1242 and may thereby perform changes, updates, or other appropriate modifications to the configuration.
[0282] In some embodiments, control plane VCN 1216 and data plane VCN 1218 may be included in service lease 1219. In this case, a user or customer of the system may not own or operate control plane VCN 1216 or data plane VCN 1218. Alternatively, an IaaS provider may own or operate control plane VCN 1216 and data plane VCN 1218, both of which may be included in service lease 1219. 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 1254 for storage, which may not have the desired level of threat prevention.
[0283] In other embodiments, the LB subnet(s) 1222 contained in the control plane VCN 1216 can be configured to receive signals from the service gateway 1236. In this embodiment, the control plane VCN 1216 and the data plane VCN 1218 can be configured to be called by customers of the IaaS provider without calling the public Internet 1254. 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 1219, which can be isolated from the public Internet 1254.
[0284] Fig.13 13 is a block diagram 1300 illustrating another example model of an IaaS architecture according to at least one embodiment. A service operator 1302 (e.g., Fig.12 The service operator 1202 of the embodiment may be communicatively coupled to the secure host lease 1304 (e.g., Fig.12 The secure host lease 1204 may include a virtual cloud network (VCN) 1306 (e.g., Fig.12 VCN 1206) and secure host subnet 1308 (e.g., Fig.12 The VCN 1306 may include a local peer gateway (LPG) 1310 (e.g., Fig.12 LPG 1210), which may be accessed via a secure shell (SSH) VCN 1312 (e.g., Fig.12 LPG 1310 in SSH VCN 1212 of the present invention is communicatively coupled to SSH VCN 1312. SSH VCN 1312 may include SSH subnet 1314 (e.g., Fig.12 SSH subnet 1214), and SSH VCN 1312 can be accessed via control plane VCN 1316 (e.g., Fig.12 LPG 1310 in control plane VCN 1216 of the present invention is communicatively coupled to control plane VCN 1316. Control plane VCN 1316 may be included in service lease 1319 (e.g., Fig.12 service lease 1219), and the data plane VCN 1318 (e.g., Fig.12 The data plane VCN 1218) may be contained in a customer lease 1321 which may be owned or operated by a user or customer of the system.
[0285] The control plane VCN 1316 may include a control plane DMZ layer 1320 (e.g., Fig.12 , which may include (one or more) LB subnets 1322 (e.g., Fig.12 (one or more) LB subnets 1222), may include (one or more) application subnets 1326 (e.g., Fig.12 (one or more) application subnets 1226) of the control plane application layer 1324 (e.g., Fig.12 The control plane application layer 1224 of FIG. 1224 may include (one or more) database (DB) subnets 1330 (e.g., similar to Fig.12 (one or more) DB subnets 1230) of the control plane data layer 1328 (e.g., Fig.12 1328). The LB subnet(s) 1322 contained in the control plane DMZ layer 1320 may be communicatively coupled to the application subnet(s) 1326 contained in the control plane application layer 1324 and the internet gateway 1334 (e.g., Fig.12 1234), and the application subnet(s) 1326 may be communicatively coupled to the DB subnet(s) 1330 and the service gateway 1336 (e.g., Fig.12 Serving gateway) and network address translation (NAT) gateway 1338 (e.g., Fig.12 The control plane VCN 1316 may include a service gateway 1336 and a NAT gateway 1338.
[0286] The control plane VCN 1316 may include a data plane mirror application layer 1340 (e.g., Fig.12 The data plane image application layer 1240). The (one or more) application subnets 1326 included in the data plane image application layer 1340 may include a computing instance 1344 (e.g., similar to Fig.12The compute instance 1344 can facilitate the application subnet(s) 1326 of the data plane mirroring application layer 1340 and can include the application subnets 1326 of the data plane mirroring application layer 1346 (e.g., Fig.12 Communication between (one or more) application subnets 1326 in the data plane application layer 1246) via the VNIC 1342 contained in the data plane mirror application layer 1340 and the VNIC 1342 contained in the data plane application layer 1346.
[0287] The Internet gateway 1334 included in the control plane VCN 1316 can be communicatively coupled to the metadata management service 1352 (e.g., Fig.12 1352), which can be communicatively coupled to the public Internet 1354 (e.g., Fig.12 The public Internet 1354 can be communicatively coupled to a NAT gateway 1338 included in the control plane VCN 1316. The service gateway 1336 included in the control plane VCN 1316 can be communicatively coupled to cloud services 1356 (e.g., Fig.12 Cloud service 1256).
[0288] In some examples, the data plane VCN 1318 may be contained in a customer lease 1321. In this case, the IaaS provider may provide a control plane VCN 1316 for each customer, and the IaaS provider may provision each customer with a unique compute instance 1344 contained in a service lease 1319. Each compute instance 1344 may allow communication between a control plane VCN 1316 contained in a service lease 1319 and a data plane VCN 1318 contained in a customer lease 1321. The compute instance 1344 may allow resources provisioned in a control plane VCN 1316 contained in a service lease 1319 to be deployed or otherwise used in a data plane VCN 1318 contained in a customer lease 1321.
[0289] In other examples, a customer of the IaaS provider may have a database that exists in the customer tenancy 1321. In this example, the control plane VCN 1316 may include a data plane mirror application layer 1340, which may include (one or more) application subnets 1326. The data plane mirror application layer 1340 may reside in the data plane VCN 1318, but the data plane mirror application layer 1340 may not be in the data plane VCN 1318. That is, the data plane mirror application layer 1340 may access the customer tenancy 1321, but the data plane mirror application layer 1340 may not exist in the data plane VCN 1318 or be owned or operated by the customer of the IaaS provider. The data plane mirror application layer 1340 may be configured to make calls to the data plane VCN 1318, but may not be configured to make calls to any entity contained in the control plane VCN 1316. A customer may desire to deploy or otherwise use resources provisioned in control plane VCN 1316 in data plane VCN 1318, and data plane mirror application layer 1340 may facilitate the customer's desired deployment or other use of resources.
[0290] In some embodiments, a customer of an IaaS provider may apply filters to the data plane VCN 1318. In this embodiment, the customer may determine what the data plane VCN 1318 may access, and the customer may restrict access to the public Internet 1354 from the data plane VCN 1318. The IaaS provider may not apply filters or otherwise control access to any external network or database by the data plane VCN 1318. The customer applying filters and controls to the data plane VCN 1318 contained in the customer lease 1321 may help isolate the data plane VCN 1318 from other customers and the public Internet 1354.
[0291] In some embodiments, cloud services 1356 may be called by service gateway 1336 to access services that may not exist on public Internet 1354, control plane VCN 1316, or data plane VCN 1318. The connection between cloud services 1356 and control plane VCN 1316 or data plane VCN 1318 may not be real-time or continuous. Cloud services 1356 may exist on different networks owned or operated by IaaS providers. Cloud services 1356 may be configured to receive calls from service gateway 1336 and may be configured not to receive calls from public Internet 1354. Some cloud services 1356 may be isolated from other cloud services 1356, and control plane VCN 1316 may be isolated from cloud services 1356 that may not be in the same region as control plane VCN 1316. For example, control plane VCN 1316 may be located in "region 1", and cloud service "deployment 12" may be located in region 1 and "region 2". If a service gateway 1336 contained in a control plane VCN 1316 located in region 1 makes a call to a deployment 12, the call may be transmitted to the deployment 12 in region 1. In this example, the control plane VCN 1316 or deployment 12 in region 1 may not be communicatively coupled or otherwise in communication with the deployment 12 in region 2.
[0292] Fig.14 1400 is a block diagram illustrating another example model of an IaaS architecture according to at least one embodiment. A service operator 1402 (e.g., Fig.12 The service operator 1202 may be communicatively coupled to the secure host lease 1404 (e.g., Fig.12 The secure host lease 1204 may include a virtual cloud network (VCN) 1406 (e.g., Fig.12 VCN 1206) and secure host subnet 1408 (e.g., Fig.12 VCN 1406 may include LPG 1410 (e.g., Fig.12 1210), which may be accessed via a SSH VCN 1412 (e.g., Fig.12 LPG 1410 in SSH VCN 1212 of the present invention is communicatively coupled to SSH VCN 1412. SSH VCN 1412 may include SSH subnet 1414 (e.g., Fig.12 SSH subnet 1214), and SSH VCN 1412 can be accessed via control plane VCN 1416 (e.g., Fig.12LPG 1410 in control plane VCN 1216 of the present invention is communicatively coupled to control plane VCN 1416 and communicates with control plane VCN 1416 via LPG 1410 included in data plane VCN 1418 (e.g., Fig.12 The control plane VCN 1416 and the data plane VCN 1418 may be included in a service lease 1419 (e.g., Fig.12 Service lease 1219).
[0293] The control plane VCN 1416 may include a load balancer (LB) subnet 1422 (e.g., Fig.12 The control plane DMZ layer 1420 (e.g., Fig.12 The control plane DMZ layer 1220 may include (one or more) application subnets 1426 (e.g., similar to Fig.12 (one or more) application subnets 1226) of the control plane application layer 1424 (e.g., Fig.12 ), a control plane application layer 1224 that may include a control plane data layer 1428 (e.g., Fig.12 1428). The LB subnet(s) 1422 contained in the control plane DMZ layer 1420 may be communicatively coupled to the application subnet(s) 1426 contained in the control plane application layer 1424 and the internet gateway 1434 (e.g., Fig.12 1434), and the application subnet(s) 1426 may be communicatively coupled to the DB subnet(s) 1430 and the service gateway 1436 (e.g., Fig.12 Serving gateway) and network address translation (NAT) gateway 1438 (e.g., Fig.12 The control plane VCN 1416 may include a service gateway 1436 and a NAT gateway 1438.
[0294] The data plane VCN 1418 may include a data plane application layer 1446 (e.g., Fig.12 Data plane application layer 1246), data plane DMZ layer 1448 (e.g., Fig.12 Data plane DMZ layer 1248), and data plane data layer 1450 (e.g., Fig.12The data plane DMZ layer 1448 may include (one or more) trusted application subnets 1460 and (one or more) untrusted application subnets 1462 that may be communicatively coupled to the data plane application layer 1446 and (one or more) LB subnets 1422 of the Internet gateway 1434 included in the data plane VCN 1418. The (one or more) trusted application subnets 1460 may be communicatively coupled to the service gateway 1436 included in the data plane VCN 1418, the NAT gateway 1438 included in the data plane VCN 1418, and (one or more) DB subnets 1430 included in the data plane data layer 1450. The (one or more) untrusted application subnets 1462 may be communicatively coupled to the service gateway 1436 included in the data plane VCN 1418 and (one or more) DB subnets 1430 included in the data plane data layer 1450. Data plane data layer 1450 may include DB subnet(s) 1430 that may be communicatively coupled to a service gateway 1436 included in data plane VCN 1418 .
[0295] Untrusted application subnet(s) 1462 may include one or more primary VNICs 1464(1)-(N) that may be communicatively coupled to tenant virtual machines (VMs) 1466(1)-(N). Each tenant VM 1466(1)-(N) may be communicatively coupled to a respective application subnet 1467(1)-(N) that may be contained in a respective container egress VCN 1468(1)-(N), which may be contained in a respective customer tenancy 1470(1)-(N). Respective secondary VNICs 1472(1)-(N) may facilitate communications between untrusted application subnet(s) 1462 contained in data plane VCN 1418 and application subnets contained in container egress VCNs 1468(1)-(N). Each container egress VCN 1468(1)-(N) may include a NAT gateway 1438 that may be communicatively coupled to the public Internet 1454 (e.g., Fig.12 of the public Internet 1254).
[0296] An internet gateway 1434 included in control plane VCN 1416 and included in data plane VCN 1418 may be communicatively coupled to a metadata management service 1452 (e.g., Fig.121454) can be communicatively coupled to a public Internet 1454. The public Internet 1454 can be communicatively coupled to a NAT gateway 1438 contained in the control plane VCN 1416 and contained in the data plane VCN 1418. A service gateway 1436 contained in the control plane VCN 1416 and contained in the data plane VCN 1418 can be communicatively coupled to a cloud service 1456.
[0297] In some embodiments, data plane VCN 1418 may be integrated with customer lease 1470. In some cases, such integration may be useful or desirable for customers of the IaaS provider, such as where support may be desired when executing code. A customer may provide code to run that may be destructive, may communicate with other customer resources, or may otherwise cause undesirable effects. In response to this, the IaaS provider may determine whether to run code given to the IaaS provider by the customer.
[0298] In some examples, a customer of an IaaS provider may grant temporary network access to the IaaS provider and request functionality attached to a data plane layer application 1446. Code running the functionality may be executed in a VM 1466(1)-(N), and the code may not be configured to run anywhere else on the data plane VCN 1418. Each VM 1466(1)-(N) may be connected to a customer tenancy 1470. The corresponding container 1471(1)-(N) contained in the VM 1466(1)-(N) may be configured to run the code. In this case, there may be double isolation (e.g., the container 1471(1)-(N) runs the code, where the container 1471(1)-(N) may be contained at least in a VM 1466(1)-(N) contained in (one or more) untrusted application subnets 1462), which may help prevent incorrect or otherwise undesirable code from damaging the IaaS provider's network or damaging the network of a different customer. Containers 1471(1)-(N) may be communicatively coupled to customer lease 1470 and may be configured to transmit or receive data from customer lease 1470. Containers 1471(1)-(N) may not be configured to transmit or receive data from any other entity in data plane VCN 1418. After running the code is complete, the IaaS provider may terminate or otherwise dispose of containers 1471(1)-(N).
[0299] In some embodiments, the trusted application subnet(s) 1460 may run code that may be owned or operated by the IaaS provider. In this embodiment, the trusted application subnet(s) 1460 may be communicatively coupled to the DB subnet(s) 1430 and configured to perform CRUD operations in the DB subnet(s) 1430. The untrusted application subnet(s) 1462 may be communicatively coupled to the DB subnet(s) 1430, but in this embodiment, the untrusted application subnet(s) may be configured to perform read operations in the DB subnet(s) 1430. The containers 1471(1)-(N) that may be included in each customer's VM 1466(1)-(N) and that may run code from the customer may not be communicatively coupled to the DB subnet(s) 1430.
[0300] In other embodiments, the control plane VCN 1416 and the data plane VCN 1418 may not be directly communicatively coupled. In this embodiment, there may be no direct communication between the control plane VCN 1416 and the data plane VCN 1418. However, communication may occur indirectly through at least one method. The LPG 1410 may be established by an IaaS provider, which may facilitate communication between the control plane VCN 1416 and the data plane VCN 1418. In another example, the control plane VCN 1416 or the data plane VCN 1418 may call the cloud service 1456 via the service gateway 1436. For example, the call from the control plane VCN 1416 to the cloud service 1456 may include a request for a service that can communicate with the data plane VCN 1418.
[0301] Fig.15 1500 is a block diagram illustrating another example model of an IaaS architecture according to at least one embodiment. A service operator 1502 (e.g., Fig.12 The service operator 1202 of the embodiment may be communicatively coupled to the secure host lease 1504 (e.g., Fig.12 The secure host lease 1204 may include a virtual cloud network (VCN) 1506 (e.g., Fig.12 VCN 1206) and secure host subnet 1508 (e.g., Fig.12 VCN 1506 may include LPG 1510 (e.g., Fig.12 1210), which may be accessed via an LPG 1510 contained in an SSH VCN 1512 (e.g., Fig.12LPG 1510 in SSH VCN 1512 of the present invention is communicatively coupled to SSH VCN 1512. SSH VCN 1512 may include SSH subnet 1514 (e.g., Fig.12 SSH subnet 1214), and SSH VCN 1512 can be accessed via control plane VCN 1516 (e.g., Fig.12 LPG 1510 in control plane VCN 1216 of the present invention is communicatively coupled to control plane VCN 1516 and communicates with control plane VCN 1516 via LPG 1510 included in data plane VCN 1518 (e.g., Fig.12 The control plane VCN 1516 and the data plane VCN 1518 may be included in a service lease 1519 (e.g., Fig.12 Service lease 1219).
[0302] The control plane VCN 1516 may include LB subnet(s) 1522 (e.g., Fig.12 The control plane DMZ layer 1520 (e.g., Fig.12 The control plane DMZ layer 1220 may include (one or more) application subnets 1526 (e.g., Fig.12 (one or more) application subnets 1226) of the control plane application layer 1524 (e.g., Fig.12 control plane application layer 1224), may include (one or more) DB subnets 1530 (e.g., Fig.14 (one or more) DB subnets 1430) of the control plane data layer 1528 (e.g., Fig.12 1528). The LB subnet(s) 1522 contained in the control plane DMZ layer 1520 may be communicatively coupled to the application subnet(s) 1526 contained in the control plane application layer 1512 and the internet gateway 1534 (e.g., Fig.12 1234), and the application subnet(s) 1526 may be communicatively coupled to the DB subnet(s) 1530 and the service gateway 1536 (e.g., Fig.12 ) and a network address translation (NAT) gateway 1538 (e.g., Fig.12 The control plane VCN 1516 may include a service gateway 1536 and a NAT gateway 1538.
[0303] The data plane VCN 1518 may include a data plane application layer 1546 (e.g., Fig.12 Data plane application layer 1246), data plane DMZ layer 1548 (e.g., Fig.12 Data plane DMZ layer 1248), and data plane data layer 1550 (e.g., Fig.12 The data plane DMZ layer 1548 may include (one or more) trusted application subnets 1560 (e.g., Fig.14 (one or more) trusted application subnets 1460) and (one or more) untrusted application subnets 1562 (e.g., Fig.14 The trusted application subnet(s) 1560 may be communicatively coupled to the service gateway 1536 contained in the data plane VCN 1518, the NAT gateway 1538 contained in the data plane VCN 1518, and the DB subnet(s) 1530 contained in the data plane data layer 1550. The untrusted application subnet(s) 1562 may be communicatively coupled to the service gateway 1536 contained in the data plane VCN 1518 and the DB subnet(s) 1530 contained in the data plane data layer 1550. The data plane data layer 1550 may include the DB subnet(s) 1530 that may be communicatively coupled to the service gateway 1536 contained in the data plane VCN 1518.
[0304] The untrusted application subnet(s) 1562 may include primary VNICs 1564(1)-(N) that may be communicatively coupled to tenant virtual machines (VMs) 1566(1)-(N) residing within the untrusted application subnet(s) 1562. Each tenant VM 1566(1)-(N) may run code in a corresponding container 1567(1)-(N) and may be communicatively coupled to an application subnet 1526 that may be contained in a data plane application layer 1546 contained in a container egress VCN 1568. Corresponding secondary VNICs 1572(1)-(N) may facilitate communications between the untrusted application subnet(s) 1562 contained in the data plane VCN 1518 and the application subnets contained in the container egress VCN 1568. The container egress VCN may include a primary VNIC that may be communicatively coupled to the public Internet 1554 (e.g., Fig.12 NAT gateway 1538 of the public Internet 1254).
[0305] The Internet gateway 1534 included in the control plane VCN 1516 and included in the data plane VCN 1518 can be communicatively coupled to the metadata management service 1552 (e.g., Fig.12 15), which can be communicatively coupled to the public Internet 1554. The public Internet 1554 can be communicatively coupled to the NAT gateway 1538 contained in the control plane VCN 1516 and contained in the data plane VCN 1518. The service gateway 1536 contained in the control plane VCN 1516 and contained in the data plane VCN 1518 can be communicatively coupled to the cloud service 1556.
[0306] In some examples, Fig.15 The architecture model shown in block diagram 1500 can be considered as Fig.14 1400 , and may be desired by customers of the IaaS provider if the IaaS provider cannot communicate directly with the customer (e.g., in a disconnected region). The customer may access the corresponding container 1567(1)-(N) contained in each customer's VM 1566(1)-(N) in real time. The container 1567(1)-(N) may be configured to make calls to the corresponding secondary VNIC 1572(1)-(N) contained in the (one or more) application subnets 1526 of the data plane application layer 1546, which may be contained in the container egress VCN 1568. The secondary VNIC 1572(1)-(N) may transmit the call to the NAT gateway 1538, which may transmit the call to the public Internet 1554. In this example, containers 1567(1)-(N), which may be accessed by customers in real time, may be isolated from control plane VCN 1516 and may be isolated from other entities contained in data plane VCN 1518. Containers 1567(1)-(N) may also be isolated from resources from other customers.
[0307] In other examples, a customer may use containers 1567(1)-(N) to call cloud service 1556. In this example, a customer may run code in containers 1567(1)-(N) to request a service from cloud service 1556. Containers 1567(1)-(N) may transmit the request to secondary VNICs 1572(1)-(N), which may transmit the request to a NAT gateway, which may transmit the request to public Internet 1554. Public Internet 1554 may transmit the request to LB subnet(s) 1522 contained in control plane VCN 1516 via Internet gateway 1534. In response to determining that the request is valid, LB subnet(s) may transmit the request to application subnet(s) 1526, which may transmit the request to cloud service 1556 via service gateway 1536.
[0308] It should be appreciated that the IaaS architectures 1200, 1300, 1400, 1500 depicted in the various figures may have other components in addition to those depicted. In addition, the embodiments shown in the various figures are merely some examples of cloud infrastructure systems that may be combined with embodiments of the present disclosure. In some other embodiments, the IaaS system may have more or fewer components than shown in the various figures, may combine two or more components, or may have a different configuration or arrangement of components.
[0309] In certain embodiments, the IaaS system described herein may include application suites, middleware, and database service offerings delivered to customers in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. An example of such an IaaS system is Oracle Cloud Infrastructure (OCI) provided by the assignee.
[0310] Fig.16 An example computer system 1600 is illustrated in which various embodiments may be implemented. System 1600 may be used to implement any of the computer systems described above. As shown, computer system 1600 includes a processing unit 1604 that communicates with a plurality of peripheral subsystems via a bus subsystem 1602. These peripheral subsystems may include a processing acceleration unit 1606, an I / O subsystem 1608, a storage subsystem 1618, and a communication subsystem 1624. Storage subsystem 1618 includes a tangible computer-readable storage medium 1622 and a system memory 1610.
[0311] Bus subsystem 1602 provides a mechanism for allowing various components and subsystems of computer system 1600 to communicate with each other by intention. Although bus subsystem 1602 is schematically shown as a single bus, alternative embodiments of bus subsystem can utilize multiple buses. Bus subsystem 1602 can be any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, and a local bus using any various bus architectures. For example, this architecture can include an industrial standard architecture (ISA) bus, a microchannel architecture (MCA) bus, an enhanced ISA (EISA) bus, a video electronics standard association (VESA) local bus, and a peripheral component interconnect (PCI) bus, which can be implemented as a Mezzanine bus manufactured by the IEEE P1386.1 standard.
[0312] The processing unit 1604, which may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers), controls the operation of the computer system 1600. One or more processors may be included in the processing unit 1604. These processors may include single-core or multi-core processors. In some embodiments, the processing unit 1604 may be implemented as one or more independent processing units 1632 and / or 1634, wherein a single-core or multi-core processor is included in each processing unit. In other embodiments, the processing unit 1604 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.
[0313] In various embodiments, the processing unit 1604 can execute various programs in response to the program code and can maintain multiple concurrently executed programs or processes. At any given time, some or all of the program code to be executed may reside in (one or more) processors 1604 and / or in the storage subsystem 1618. Through appropriate programming, (one or more) processors 1604 can provide the various functions described above. The computer system 1600 may additionally include a processing acceleration unit 1606, which may include a digital signal processor (DSP), a special processor, and the like.
[0314] I / O subsystem 1608 may include user interface input devices and user interface output devices. User interface input devices may include a keyboard, a pointing device such as a mouse or trackball, a touch pad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, buttons, switches, a keypad, an audio input device with a voice command recognition system, a microphone, and other types of input devices. User interface input devices may include, for example, motion sensing and / or gesture recognition devices such as Microsoft Motion sensors that enable users to control apps such as Microsoft 360 game controller. The user interface input device may also include an eye gesture recognition device, such as detecting eye activity from the user (e.g., a "wink" when taking a picture and / or making a menu selection) and translating eye gestures to the input device (e.g., Google ) in Google In addition, the user interface input device may include a user interface that enables the user to communicate with the voice recognition system (e.g., Navigator) interactive voice recognition sensing device.
[0315] The user interface input device may also include, but is not limited to, a three-dimensional (3D) mouse, a joystick or pointing stick, a game panel and a drawing board, and audio / video equipment such as a speaker, a digital camera, a digital video camera, a portable media player, a webcam, an image scanner, a fingerprint scanner, a barcode reader 3D scanner, a 3D printer, a laser rangefinder, and a sight tracking device. In addition, the user interface input device may include, for example, a medical imaging input device such as a computer tomography, a magnetic resonance imaging, a positron emission tomography, a medical ultrasound device. The user interface input device may also include, for example, an audio input device such as a MIDI keyboard, a digital musical instrument, etc.
[0316] The user interface output devices may include a display subsystem, indicator lights, or non-visual displays such as audio output devices, etc. The display subsystem may be a cathode ray tube (CRT), a flat panel device such as using a liquid crystal display (LCD) or plasma display, a projection device, a touch screen, etc. In general, the use of the term "output device" is intended to include all possible types of devices and mechanisms for outputting information from the computer system 1600 to a user or other computers. For example, the user interface output devices may include, but are not limited to, various display devices that visually convey text, graphics, and audio / video information, such as monitors, printers, speakers, headphones, car navigation systems, plotters, voice output devices, and modems.
[0317] Computer system 1600 may include a storage subsystem 1618 containing software elements, shown currently located in system memory 1610. System memory 1610 may store program instructions that may be loaded and executed on processing unit 1604, as well as data generated during execution of these programs.
[0318] Depending on the configuration and type of computer system 1600, system memory 1610 may be volatile (such as random access memory (RAM)) and / or non-volatile (such as read-only memory (ROM), flash memory, etc.). RAM typically contains data and / or program modules that are immediately accessible to and / or currently being operated and executed by processing unit 1604. In some implementations, system memory 1610 may include multiple different types of memory, such as static random access memory (SRAM) or dynamic random access memory (DRAM). In some implementations, a basic input / output system (BIOS), such as one containing basic routines that help transfer information between elements of computer system 1600 during startup, may typically be stored in ROM. By way of example, and not limitation, system memory 1610 also illustrates application programs 1612, which may include client applications, web browsers, middle-tier applications, relational database management systems (RDBMS), etc., program data 1614, and an operating system 1616. By way of example, operating system 1616 may include various versions of Microsoft Apple and / or Linux operating systems, various commercially available or UNIX-like operating systems (including but not limited to various GNU / Linux operating systems, Google OS, etc.) and / or such as iOS, Phone, OS, 16OS and OS operating system's mobile operating system.
[0319] Storage subsystem 1618 may also provide a tangible computer-readable storage medium for storing basic programming and data structures that provide the functionality of some embodiments. Software (programs, code modules, instructions) that provide the above-described functionality when executed by the processor may be stored in storage subsystem 1618. These software modules or instructions may be executed by processing unit 1604. Storage subsystem 1618 may also provide a repository for storing data used in accordance with the present disclosure.
[0320] Storage subsystem 1600 may also include a computer-readable storage media reader 1620, which may be further connected to computer-readable storage media 1622. Together with system memory 1610 and, optionally, in conjunction therewith, computer-readable storage media 1622 may comprehensively represent remote, local, fixed, and / or removable storage devices plus storage media for temporarily and / or more permanently containing, storing, transmitting, and retrieving computer-readable information.
[0321] The computer-readable storage medium 1622 containing the code or portions of the code may also include any suitable media known or used in the art, including storage media and communication media, such as, but not limited to, volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage and / or transmission of information. This may include tangible computer-readable storage media, such as RAM, ROM, electrically erasable programmable ROM (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other tangible computer-readable media. This may also include non-tangible computer-readable media, such as data signals, data transmissions, or any other medium that can be used to transmit the desired information and can be accessed by the computing system 1600.
[0322] By way of example, computer-readable storage media 1622 may include a hard drive that reads from or writes to non-removable nonvolatile magnetic media, a magnetic disk drive that reads from or writes to removable nonvolatile magnetic disks, and a magnetic disk drive that reads from or writes to removable nonvolatile optical disks (such as CD ROMs, DVDs, and optical drives). Computer readable storage media 1622 may include, but are not limited to, The computer readable storage medium 1622 may include a solid-state drive (SSD) based on non-volatile memory (such as a flash memory-based SSD, an enterprise flash drive, a solid-state ROM, etc.), a volatile memory-based SSD (such as a solid-state RAM, a dynamic RAM, a static RAM), a DRAM-based SSD, a magnetoresistive RAM (MRAM) SSD, and a hybrid SSD using a combination of DRAM and flash memory-based SSDs. The disk drive and its associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1600.
[0323] The communication subsystem 1624 provides an interface to other computer systems and networks. The communication subsystem 1624 is used as an interface for receiving data from other systems and sending data from the computer system 1600 to other systems. For example, the communication subsystem 1624 can enable the computer system 1600 to be connected to one or more devices via the Internet. In some embodiments, the communication subsystem 1624 may include a radio frequency (RF) transceiver component for accessing a wireless voice and / or data network (e.g., using cellular phone technology, advanced data network technology such as 3G, 4G or EDGE (Enhanced Data Rates for Global Evolution), Wi-Fi (IEEE 802.11 series standards), or other mobile communication technologies, or any combination thereof), a global positioning system (GPS) receiver component and / or other components. In some embodiments, as an addition or alternative to a wireless interface, the communication subsystem 1624 may provide a wired network connection (e.g., Ethernet).
[0324] In some embodiments, communication subsystem 1624 may also receive incoming communications in the form of structured and / or unstructured data feeds 1626 , event streams 1628 , event updates 1630 , and the like on behalf of one or more users who may use computer system 1600 .
[0325] For example, the communication subsystem 1624 may be configured to receive data feeds 1626 in real time from users of social networks and / or other communication services, such as feed, Updates, web feeds such as Rich Site Summary (RSS) feeds, and / or real-time updates from one or more third-party information sources.
[0326] Additionally, the communication subsystem 1624 may also be configured to receive data in the form of continuous data streams, which may include event streams 1628 and / or event updates 1630, which may be continuous or unbounded in nature, real-time events without explicit termination. Examples of applications that generate continuous data may include, for example, sensor data applications, financial quote machines, network performance measurement tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automotive traffic monitoring, and the like.
[0327] The communication subsystem 1624 may also be configured to output structured and / or unstructured data feeds 1626 , event streams 1628 , event updates 1630 , etc. to one or more databases that may be in computer communication with one or more streaming data source computers coupled to the computer system 1600 .
[0328] Computer system 1600 may be one of various types, including a handheld portable device (e.g., Cellular phone, computing tablets, PDAs), wearable devices (e.g. Glass head mounted display), PC, workstation, mainframe, kiosk, server rack, or any other data processing system.
[0329] Due to the ever-changing nature of computers and networks, the description of the computer system 1600 depicted in the figure is intended only as a specific example. Many other configurations with more or fewer components than the system depicted in the figure are possible. For example, customized hardware may also be used and / or specific elements may be implemented with hardware, firmware, software (including applets) or a combination thereof. In addition, connections to other computing devices such as network input / output devices may also be employed. Based on the disclosure and teachings provided herein, one of ordinary skill in the art will recognize other ways and / or methods of implementing various embodiments.
[0330] Although specific embodiments have been described, various modifications, variations, alternative constructions, and equivalents are also included within the scope of this disclosure. Embodiments are not limited to operating within certain specific data processing environments, but can be freely operated within multiple data processing environments. In addition, although embodiments have been described using a specific series of transactions and steps, it should be clear to those skilled in the art that the scope of this disclosure is not limited to the described series of transactions and steps. The various features and aspects of the above-described embodiments may be used alone or in combination.
[0331] In addition, although embodiments have been described using specific combinations of hardware and software, it should be appreciated that other combinations of hardware and software are also within the scope of the present disclosure. Embodiments may be implemented using only hardware, or only software, or using a combination thereof. The various processes described herein may be implemented in any combination on the same processor or on different processors. Thus, where a component or module is described as being configured to perform certain operations, such configuration may be accomplished by, for example, designing an electronic circuit to perform the operation, by programming a programmable electronic circuit (such as a microprocessor) to perform the operation, or any combination thereof. Processes may communicate using a variety of techniques, including but not limited to conventional techniques for inter-process communication, and different pairs of processes may use different techniques, or the same pair of processes may use different techniques at different times.
[0332] The description and drawings are therefore to be regarded as illustrative rather than restrictive. However, additions, subtractions, deletions and other modifications and changes may be made without departing from the broader spirit and scope set forth in the claims. Therefore, although specific disclosed embodiments have been described, these are not intended to be limiting. Various modifications and equivalent forms are within the scope of the following claims.
[0333] The use of the terms "one" and "an" and "the" and similar references in the context of describing the disclosed embodiments (especially in the context of the following claims) is to be interpreted as covering the singular and the plural, unless otherwise indicated herein or clearly contradicted by the context. Unless otherwise stated, the terms "include", "have", "include" and "contain" are to be interpreted as open terms (i.e., meaning "including but not limited to"). The term "connected" should be interpreted as being partially or completely contained in, attached to or connected together, even if there is something in the middle. Unless otherwise indicated herein, the enumeration of the value range herein is intended only to be used as a shorthand method for individually quoting each individual value falling within the range, and each individual value is incorporated into the specification as if it were individually listed herein. Unless otherwise indicated herein or clearly contradicted by the context, all methods described herein can be performed in any suitable order. The use of any and all examples or exemplary language (e.g., "such as") provided herein is intended only to better illustrate the embodiments and is not intended to limit the scope of the present disclosure, unless otherwise stated. Any language in the specification should not be interpreted as indicating that any unclaimed element is essential to the practice of the present disclosure.
[0334] Disjunctive language, such as the phrase "at least one of X, Y, or Z," is intended to be understood within the context of being generally used to indicate that an item, term, etc. may be X, Y, or Z, or any combination thereof (e.g., X, Y, and / or Z), unless expressly stated otherwise. Thus, such disjunctive language is generally not intended to, and should not, imply that certain embodiments require that at least one of X, at least one of Y, or at least one of Z each be present.
[0335] Preferred embodiments of the present disclosure are described herein, including the best mode known for implementing the present disclosure. Variations of those preferred embodiments will become apparent to those of ordinary skill in the art after reading the above description. Those of ordinary skill should be able to appropriately adopt such variations and may practice the present disclosure in a manner different from that specifically described herein. Thus, the present disclosure includes all modifications and equivalent forms of the subject matter recorded in the appended claims where permitted by applicable law. In addition, unless otherwise indicated herein, the present disclosure includes any combination of the above-mentioned elements in all possible variations thereof.
[0336] All references cited herein, including publications, patent applications and patents, are incorporated herein by reference to the same extent, as if each reference is individually and specifically indicated to be incorporated by reference and set forth in full herein. In the aforementioned specification, various aspects of the present disclosure are described with reference to their specific embodiments, but it will be appreciated by those skilled in the art that the present disclosure is not limited thereto. Each feature and aspect disclosed above can be used individually or in combination. In addition, without departing from the broader spirit and scope of this specification, the embodiments can be used in any number of environments and applications other than those described herein. Thus, this specification and the accompanying drawings should be considered illustrative rather than restrictive.
Claims
1. A method comprising: providing, in a first cloud infrastructure, an adapter associated with a service provided by the first cloud infrastructure, the adapter enabling one or more users associated with one or more accounts in a second cloud infrastructure to request the service, wherein the second cloud infrastructure is different from the first cloud infrastructure; receiving, by the adapter, a first request to create a resource in the first cloud infrastructure from a first user associated with a first account in the second cloud infrastructure; as well as A workflow is executed by the adapter to provision the resource using the service, wherein the workflow includes a process comprising: retrieving a resource principal associated with the resource; and A second request is transmitted to a service provided by the first cloud infrastructure, the second request requesting creation of the resource, wherein the second request includes the resource subject.
2. The method of claim 1, further comprising: obtaining identification information of a lease associated with the first user; as well as The identification information of the lease is sent in a second request, wherein the service creates the resource in the lease associated with the first user.
3. The method of claim 1, further comprising: A data object is created in a key-value store associated with the adapter, the data object being configured to store mapping information of a first identifier of a first account of a first user in the second cloud infrastructure to a resource identifier of the resource. 4 . The method of claim 3 , wherein the workflow is further configured to update the data object with a resource identifier of the resource in response to the service provisioning the resource.
5. The method of claim 1, wherein the workflow is further configured to: Provisioning auxiliary resources associated with the first request, the auxiliary resources comprising at least: (i) creating a network link that peers a lease of a first user in a first cloud infrastructure with a first account of the first user in a second cloud infrastructure, and (ii) provisioning observability resources that enable metric information of resources created in the first cloud infrastructure to be transmitted to the first account of the first user in the second cloud infrastructure.
6. The method of claim 1, wherein the first request comprises at least a resource group name and a subscription identifier of the first user for the second cloud infrastructure, the first request serving as a first identifier of the first user in the second cloud infrastructure.
7. The method of claim 3, further comprising: receiving, by the adapter, a third request requesting information related to resources created in the first cloud infrastructure; extracting a resource identifier of the resource from a data object stored in the key-value store based on the third request; and Information related to the resource is retrieved from the service based on the resource identifier.
8. The method of claim 7, wherein the information related to the resource comprises: The location of the resource, The size of the resource, the state of the resource, the version of the resource, and The processor count associated with the resource. 9 . The method of claim 1 , wherein the adapter receives a first request from a first user of the second cloud infrastructure via a multi-cloud console, wherein the multi-cloud console generates the first request.
10. The method of claim 1, wherein the first cloud infrastructure is different from the second cloud infrastructure, and the resource is a database.
11. The method of claim 10, wherein the database is one of: an Exa database, a shared autonomous database, a dedicated autonomous database, or a virtual machine database.
12. One or more computer-readable non-transitory media storing computer-executable instructions that, when executed by one or more processors, cause: providing, in a first cloud infrastructure, an adapter associated with a service provided by the first cloud infrastructure, the adapter enabling one or more users associated with one or more accounts in a second cloud infrastructure to request the service, wherein the second cloud infrastructure is different from the first cloud infrastructure; receiving, by the adapter, a first request to create a resource in the first cloud infrastructure from a first user associated with a first account in the second cloud infrastructure; as well as A workflow is executed by the adapter to provision the resource using the service, wherein the workflow includes a process comprising: retrieving a resource principal associated with the resource; and A second request is transmitted to a service provided by the first cloud infrastructure, the second request requesting creation of the resource, wherein the second request includes the resource subject.
13. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 12, further comprising instructions that when executed by one or more processors cause the following operations to be performed: obtaining identification information of a lease associated with the first user; and The identification information of the lease is sent in a second request, wherein the service creates the resource in the lease associated with the first user.
14. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 12, further comprising instructions that when executed by one or more processors cause the following operations to be performed: A data object is created in a key-value store associated with the adapter, the data object being configured to store mapping information of a first identifier of a first account of a first user in the second cloud infrastructure to a resource identifier of the resource.
15. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 14, wherein the workflow is further configured to update the data object with a resource identifier of the resource in response to the service provisioning the resource.
16. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 12, wherein the workflow is further configured to: Provisioning auxiliary resources associated with the first request, the auxiliary resources comprising at least: (i) creating a network link that peers a lease of a first user in a first cloud infrastructure with a first account of the first user in a second cloud infrastructure, and (ii) provisioning observability resources that enable metric information of resources created in the first cloud infrastructure to be transmitted to the first account of the first user in the second cloud infrastructure.
17. One or more computer-readable non-transitory media storing computer-executable instructions as described in claim 12, wherein the first request includes at least a resource group name and a subscription identifier of the first user for the second cloud infrastructure, and the first request serves as a first identifier of the first user in the second cloud infrastructure.
18. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 14, further comprising instructions that when executed by one or more processors cause the following operations to be performed: receiving, by the adapter, a third request requesting information related to resources created in the first cloud infrastructure; extracting a resource identifier of the resource from a data object stored in the key-value store; and Information related to the resource is retrieved from the service based on the resource identifier.
19. The one or more computer-readable non-transitory media storing computer-executable instructions of claim 12, wherein the adapter receives a first request from a first user of a second cloud infrastructure via a multi-cloud console, wherein the multi-cloud console generates the first request.
20. A computing device comprising: one or more processors; as well as a memory including instructions that, when executed by the one or more processors, cause the computing device to at least: providing, in a first cloud infrastructure, an adapter associated with a service provided by the first cloud infrastructure, the adapter enabling one or more users associated with one or more accounts in a second cloud infrastructure to request the service, wherein the second cloud infrastructure is different from the first cloud infrastructure; receiving, by the adapter, a first request to create a resource in the first cloud infrastructure from a first user associated with a first account in the second cloud infrastructure; as well as A workflow is executed by the adapter to provision the resource using the service, wherein the workflow includes a process comprising: retrieving a resource principal associated with the resource; and A second request is transmitted to a service provided by the first cloud infrastructure, the second request requesting creation of the resource, wherein the second request includes the resource subject.
Citation Information
Cited By
Resource management method and device, equipment and readable medium
CN121187635A
