The last few years have seen a dramatic increase in the adoption of cloud services and this trend is only going to increase. Various different cloud environments are being provided by different cloud service providers (CSPs), each cloud environment providing a set of one or more cloud services. The set of cloud services offered by a cloud environment may include one or more different types of services including but not restricted to Software-as-a-Service (SaaS) services, Infrastructure-as-a-Service (IaaS) services, Platform-as-a-Service (PaaS) services, and others.
While various different cloud environments are currently available, each cloud environment provides a closed ecosystem for its subscribing customers. As a result, a customer of a cloud environment is restricted to using the services offered by that cloud environment. There is no easy way for a customer subscribing to a cloud environment provided by a CSP to, via that cloud environment, use a service offered provided by a different CSP. Embodiments discussed herein address these and other issues.
Disclosed herein are techniques for provisioning a cloud service of a first cloud service provider using a control plane of a second cloud service provider.
In some embodiments, a system includes a first computing resource of a first cloud service provider (CSP), the first computing resource housed within a datacenter of a second CSP, the first computing resource comprising: one or more first processors, and one or more first memory storing first instructions that, upon execution by the one or more first processors, configure the first computing resource to provide a first service to a user having a first user account with the second CSP, the first service provided via a first private network hosted by the second CSP and associated with the first user account; and a second computing resource of the first CSP, the second computing resource being remote from the datacenter and communicatively coupled to the first computing resource, the second computing resource comprising: one or more second processors, and one or more second memory storing second instructions that, upon execution by the one or more second processors, configure the second computing resource to: provide a second private network communicatively coupled with the first private network and associated with a second user account of the user with the first CSP; collect usage data associated with at least one of the first private network or the second private network; and transmit the usage data to a second service of the second CSP.
In some embodiments, the second computing resource is further configured to determine: a first usage event and a first resource utilization of the first usage event associated with a first time period; and a second usage event and a second resource utilization of the second usage event associated with the first time period; and second usage data aggregating at least the first resource utilization and the second resource utilization.
In some embodiments, the second computing resource is further configured to: obtain a first account identifier stored by the second CSP using a second user account identifier stored by the first CSP, wherein the first account identifier is included in the usage data and the second account identifier is included in the second usage data.
In some embodiments, the usage data includes an aggregation of resource use associated with a predefined period of time for the second user account.
In some embodiments, the usage data is associated with an account identifier, and the second computing resource is further configured to: determine a resource allocation associated with the account identifier; determine a resource utilization based on the usage data; generate an amount based on the resource allocation and the resource utilization; and transmit the amount to the second CSP.
In some embodiments, the amount is generated further based on a rate, wherein the rate and the resource allocation are predetermined and configured by at least one of the user associated with the account identifier or an administrator of the second CSP.
In some embodiments, the second computing resource is further configured to: transmit a request for an access token identifying the user of the first CSP to the second CSP; receive the access token from the second CSP; and transmit the access token to the second CSP and indicate an association with the access token.
In some embodiments, the second computing resource is further configured to: receive, from the second service of the second CSP, a response code indicating a rejection of the usage data; generate adjusted usage data by adjusting at least one of a start time or an end time of the usage data; and transmit the adjusted usage data to the second service of the second CSP.
In some embodiments, sending the usage data occurs once for a first predefined time period and wherein the second computing resource is further configured to: receive, from the second service of the second CSP, a response code indicating the usage data has already been received; and responsive to receiving the response code, remove the usage data from a database.
In some embodiments, the second computing resource is further configured to: receive, from the second service of the second CSP, a response code indicating an error; increment a count representing a number of response codes received indicating the error; and responsive to the count exceeding a threshold, transmit a notification to a user device of the first CSP.
In some embodiments, a method includes: providing, by a first computing resource of a first cloud service provider (CSP), a first service to a user having a first user account with a second CSP, the first service provided via a first private network of the user with the second CSP; transmitting data between a second private network communicatively coupled with the first private network, the second private network associated with a second user account of the user with the first CSP; collecting, by a second computing resource of the first CSP, usage data associated with at least one of the first private network or the second private network; and transmitting, by the second computing resource of the first CSP, the usage data to a second service of the second CSP.
In some embodiments, techniques include One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause a system to perform operations comprising: providing, by a first computing resource of a first cloud service provider (CSP), a first service to a user having a first user account with a second CSP, the first service provided via a first private network of the user with the second CSP; transmitting data between a second private network communicatively coupled with the first private network, the second private network associated with a second user account of the user with the first CSP; collecting, by a second computing resource of the first CSP, usage data associated with at least one of the first private network or the second private network; and transmitting, by the second computing resource of the first CSP, the usage data to a second service of the second CSP.
Some embodiments include a system that includes one or more processing systems and one or more computer-readable media storing instructions which, when executed by the one or more processing systems, cause the system to perform part or all of the operations and/or methods disclosed herein.
Some embodiments include one or more non-transitory computer-readable media storing instructions which, when executed by one or more processing systems, cause a system to perform part or all of the operations and/or methods disclosed herein.
The techniques described above and below may be implemented in a number of ways and in a number of contexts. Several example implementations and contexts are provided with reference to the following figures, as described below in more detail. However, the following implementations and contexts are but a few of many.
Features, embodiments, and advantages of the present disclosure are better understood when the following Detailed Description is read with reference to the accompanying drawings.
In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of certain embodiments. However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive. 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 advantageous over other embodiments or designs.
The present disclosure relates generally to improved cloud architectures, and more particularly to techniques for providing services based on infrastructure distributed between multiple cloud service providers (CSPs). In an example, a first cloud service provider (CSP) (e.g., Oracle® Cloud Infrastructure—OCI) provides first services (e.g., a database service, such as the Exadata service available from Oracle), some of which can be available from a first cloud service provider infrastructure (CSPI) of the first CSP. A second CSP (e.g., Microsoft® Azure, Google Cloud™, Amazon Web Services—AWS®) provides second services (e.g., Azure Virtual Machines), some of which can be available from a second cloud service provider infrastructure (CSPI) of the second CSP. At least a first service of the first services can be made available to customers of the second CSP via the second CSPI. In an example, hardware and/or software configured by the first CSPI to provide the first service are deployed at the second CSPI.
For example, at the physical level, the second CSPI can include a first set of computing resources of the first CSPI (e.g., a rack of servers optimized for a service of the first CSP). The first CSPI can include a second set of computing resources of the first CSPI (e.g., servers within a region). The second CSPI can also include a third set of computing resources of the second CSPI (e.g., servers within an availability zone). The first set of computing resources can be connected to the second set of computing resources and the third set of computing resources.
At the virtual level, the first set of resources and the second set of resource can host a first cloud for a customer with the first CSP. In comparison, the third set of resources can host a second cloud for the customer with the second CSP. The two clouds can be connected (e.g., via a peering connection that uses virtual routers). A service provided by the first CSP to the customer can have a first resource hosted in the first set of computing resources and a second resource hosted in the second set of computing resources. This service can be available to the customer via the second cloud. The use of the first resource enables the reduction of latency. The offering of the service of the first CSP via the second CSP can enable a better experience by extending the service to customers of the second CSP that may be more familiar with the configuring and managing of clouds with the second CSP.
To illustrate, consider the example of an Exadata service (i.e., an OCI database service) made available via Azure. In this example, at the physical level, an OCI child site belonging to an OCI region is co-located in an Azure data center. The OCI child site is connected to the Azure data center via a FastConnect router (and a Microsoft MeetMe ToR router at the Azure side). The OCI child site is also connected to the parent OCI region via a fiber optics connection. At the virtual level, the Azure data center hosts a customer cloud (e.g., VNET), whereas the OCI's parent region and child site collectively host a customer virtual cloud network (VCN). Latency critical resources for the OCI service (e.g., a data plane resource for the Exadata service) are hosted in the child site, whereas other supporting resources (e.g., a control plane resource, a customer facing console resource, etc.) are hosted in the parent region.
On the OCI side, the VNET and the VCN are connected via a virtual router (e.g., a dynamic routing gateway, DRG, that supports FastConnect and a virtual router provided by Azure that supports MeetMe). In the VNET, a delegate subnet can be configured. In the VCN, an Exadata service subnet can be configured. Both subnets use the same internet protocol (IP) address range. The VNET can store mapping information that maps an IP address that is within an IP address range and that is used in the VNET to an IP address of an Exadata service at the VCN. Traffic to the IP address (e.g., from a compute instance of the VNET) is sent from the VNET to the VCN given the one-to-one IP address mapping.
As such, from a customer perspective, the customer perceives an Exadata service within its VNET having an IP address. However, in effect this Exadata service is in the VCN at that IP address. Further, by hosting at least a part of the Exadata service in the child site (e.g., the data plane), the latency associated with the Exadata service can be reduced.
Referring back to the above architecture, the first set of computing resources can be referred to as belonging to a child site, whereas the second set of computing resources can be referred to as belonging to a parent site. The third set of computing resources can be referred to as data center resources. The child site of the first CSP is deployed in a data center (or the second CSPI) of the second CSP. In comparison, the parent site of the first CSP is deployed in the first CSPI of the first CSP.
A child site may enable low latency services of the first CSP to be offered to customers via the second CSP. However, a deployment mechanism may be needed to control deployment of resources of the first CSP in the child site and in the parent site.
Embodiments of the present disclosure relate to such a deployment mechanism. In an example, the deployment mechanism includes a control plane of the first CSP, where the control plane is not hosted in a child site. Customer input at the second CSPI can be received by the control plane and can mapped to a customer ID with the first CSPI. Based on the customer ID, the control plane can provision resources at the first CSPI, such as by creating a cloud network for the customer and related connectivity resources (e.g., a dynamic routing gateway-DRG) for the cloud network. The cloud network can be also connected to a virtual machine (VM) cluster that would host the service. The VM cluster can be hosted in a child site, whereas other resources of the cloud network can be hosted in a parent site. Thereafter, the control plane can inter-connect the cloud network to the customer's cloud network with the second CSP, such that the two cloud networks of the customer are inter-connected. As part of this inter-connection, the control plane can provide internet protocol (IP) addresses of the VM cluster and, possibly, corresponding DNS records to the second CSPI such that these IP addresses, and possibly DNS records, are available to the customer at their cloud network with the second CSP.
To illustrate, consider again the example of OCI and Azure. Azure customer input (e.g., selecting their VNET and a subnet) is received from an Azure resource manager (ARM). Oracle Resource Provider (ORP) can transform this input into an OCI ID for the customer and pass this information to the control plane. The control plane performs two main processes. The first process is to provision the relevant OCI resources. The second process is to connect these resources to the customer's VNET.
Under the first process, the control plane creates the customer's VCN in a customer tenancy (e.g., at a parent site) and creates a subnet within the VCN (and possibly a backup subnet). The Azure and OCI subnets (one in the customer's Azure VNET and one in the customer's OCI VCN) use the same Classless Inter-Domain Routing (CIDR). The control plane also creates a DRG in the customer tenancy and attaches the DRG to the VCN. It also sets up the routing information for the DRG and the VCN (such that these two resources are inter-connected). ORP can also provision a VM cluster (e.g., in a child site). IP address(es) of this VM cluster from the CIDR and are mapped to corresponding DNS records.
Under the second process, the control plane registers these IP addresses with Azure (on the MeetMe router). It also creates a virtual circuit between the DRG and the MeetMe router and sends the DNS records such that a private DNS zone can be set up in Azure.
In the interest of clarity of explanation, embodiments of the present disclosure are described in connection with particular CSPs (e.g., Oracle and Microsoft) and services (e.g., an Exadata service). However, the embodiments are not limited as such and instead, similarly, and equivalently apply to any CSPs, CSPIs, and services in a multi-cloud environment.
The term cloud service is generally used to refer to a service that is made available by a CSP to users or customers on demand (e.g., via a subscription model) using systems and infrastructure (e.g., 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 systems and servers. Customers can thus avail themselves of cloud services provided by the CSP without having to purchase separate hardware and software resources for the services. Cloud services are designed to provide a subscribing customer easy, scalable access to applications and set of computing resources without the customer having to invest in procuring the infrastructure that is used for providing the services.
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), Infrastructure-as-a-Service (IaaS), Platform-as-a-Service (PaaS), and others.
A customer can subscribe to one or more cloud services provided by a CSP. The customer can be any entity such as an individual, an organization, an enterprise, and the like. When a customer subscribes to or registers for a service provided by a CSP, a tenancy or an account is created for that customer. The customer can then, via this account, access the subscribed-to one or more cloud resources associated with the account.
As noted above, IaaS is one particular type of cloud computing service. In an IaaS model, the CSP provides infrastructure (referred to as cloud services provider infrastructure or CSPI) that can be used by customers to build their own customizable networks and deploy customer resources. The customer's resources and networks are thus hosted in a distributed environment by infrastructure provided by the CSP. This is different from traditional computing, where the customer's resources and networks are hosted by infrastructure provided by the customer.
The CSPI may comprise interconnected high-performance compute 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 an underlay network. The resources in a CSPI may be spread across one or more data centers that may be geographically spread across one or more geographical regions. Virtualization software may be executed by these physical resources to provide a virtualized distributed environment. The virtualization creates an overlay network (also known as a software-based network, a software-defined network, or a virtual network) over the physical network (or substrate network or underlay network). The physical network provides the underlying basis for creating one or more overlay or virtual networks on top of the physical network. The physical network comprises physical network devices such as physical switches, routers, computers, host machines, and the like. An overlay network is a logical (or virtual) network that runs on top of a physical substrate network. A given physical network can support one or multiple overlay networks. Overlay networks typically use encapsulation techniques to differentiate between traffic belonging to different overlay networks. A virtual or overlay network is also referred to as a VCN. The virtual networks are implemented using software virtualization technologies (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 an NVD, and other mechanisms) to create layers of network abstraction that can be run on top of the physical network. Virtual networks can take on many forms, including peer-to-peer networks, IP networks, and others. Virtual networks are typically either Layer-3 IP networks or Layer-2 VLANs. This method of virtual or overlay networking is often referred to as virtual or overlay Layer-3 networking. 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), and others.
For IaaS, the CSPI provided by a CSP can be configured to provide virtualized set of computing resources over a public network (e.g., the Internet). In an IaaS model, a cloud computing services provider can host the infrastructure components (e.g., servers, storage devices, network nodes (e.g., hardware), deployment software, platform virtualization (e.g., a hypervisor layer), or the like). In some cases, an IaaS provider may also supply a variety of services to accompany those infrastructure components (e.g., billing, monitoring, logging, security, load balancing and clustering, etc.). Thus, as these services may be policy-driven, IaaS users may be able to 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 offers high-performance compute resources and capabilities and storage capacity in a flexible virtual network that is securely accessible from various networked locations such as from a customer's on-premises network. When a customer subscribes to or registers for an IaaS service provided by a CSP, the tenancy created for that customer is a secure and isolated partition within the CSPI where the customer can create, organize, and administer their cloud resources.
Customers can build their own virtual networks using compute, memory, and networking resources provided by CSPI. One or more customer resources or workloads, such as compute instances, can be deployed on these virtual networks. For example, a customer can use resources provided by the CSPI to build one or multiple customizable and private virtual network(s) referred to as VCNs. A customer can deploy one or more customer resources, such as compute instances, on a customer VCN. Compute instances can take the form of virtual machines, bare metal instances, and the like. The CSPI thus 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. The customer does not manage or control the underlying physical resources provided by the CSPI but has control over operating systems, storage, and deployed applications; and possibly limited control of select networking components (e.g., firewalls).
The CSP may provide a console that enables customers and network administrators to configure, access, and manage resources deployed in the cloud using CSPI resources. In certain 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.
CSPI may support single-tenancy or multi-tenancy architectures. In a single tenancy architecture, a software (e.g., an application, a database) or a hardware component (e.g., a host machine or a server) serves a single customer or tenant. In a multi-tenancy architecture, a software or a hardware component serves multiple customers or tenants. Thus, in a multi-tenancy architecture, the CSPI resources are shared between multiple customers or tenants. In a multi-tenancy situation, precautions are taken, and safeguards put in place within CSPI to ensure that each tenant's data is isolated and remains invisible to other tenants.
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 the physical network may be connected to a Local Area Network (LAN), a Wide Area Network (WAN), or other type of physical network. Examples of traditional endpoints in a physical network include modems, hubs, bridges, switches, routers, and other networking devices, physical computers (or host machines), and the like. Each physical device in the 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), and the like. In a virtualized environment or in a virtual network, the endpoints can include various virtual endpoints such as virtual machines that are hosted by components of the physical network (e.g., hosted by physical host machines). These endpoints in the 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 enable flexibility by allowing network managers to move around the overlay addresses associated with network endpoints using software management (e.g., via software implementing a control plane for the virtual network). Accordingly, unlike in 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 a physical network, communications between components in the virtual network involves both the virtual network and the underlying physical network. In order to facilitate such communications, the components of CSPI are configured to learn and store mappings that map overlay addresses in the virtual network to actual physical addresses in the substrate network, and vice versa. These mappings are then used to facilitate the communications. Customer traffic is encapsulated to facilitate routing in the virtual network.
Accordingly, physical addresses (e.g., physical IP addresses) are associated with components in physical networks and overlay addresses (e.g., overlay IP addresses) are associated with entities in virtual or overlay networks. A physical IP address is an IP address associated with a physical device (e.g., a network device) in the 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 with a compute instance in a customer's VCN. Two different customers or tenants, each with their own private VCNs can potentially use the same overlay IP address in their VCNs without any knowledge of each other. Both the physical IP addresses and overlay IP addresses are types of real IP addresses. These are separate from virtual IP addresses. A virtual IP address is typically a single IP address that is represents or maps to multiple real IP addresses. A virtual IP address provides a 1-to-many mapping between the virtual IP address and multiple real IP addresses. For example, a load balancer may use a VIP to map to or represent multiple servers, each server having its own real IP address.
The CSPI is physically hosted in one or more data centers in one or more regions around the world. The CSPI may include components in the physical or substrate network and virtualized components (e.g., virtual networks, compute instances, virtual machines, etc.) that are in a virtual network built on top of the physical network components. In certain embodiments, the CSPI is organized and hosted in realms, regions, and availability domains. A region is typically a localized geographic area that contains one or more data centers. Regions are generally independent of each other and can be separated by vast distances, for example, across countries or even continents. For example, a first region may be in Australia, another one in Japan, yet another one in India, and the like. The CSPI resources are divided among regions such that each region has its own independent subset of CSPI resources. Each region may provide a set of core infrastructure services and resources, such as, compute resources (e.g., bare metal servers, virtual machine, containers and related infrastructure, etc.); storage resources (e.g., block volume storage, file storage, object storage, archive storage); networking resources (e.g., VCNs, load balancing resources, connections to on-premise networks); database resources; edge networking resources (e.g., DNS); access management and monitoring resources; and others. Each region generally has multiple paths connecting it to other regions in the realm.
Generally, an application is deployed in a region (i.e., deployed on infrastructure associated with that region) where it is most heavily used, because using nearby resources is faster than using distant resources. Applications can 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 varying requirements for legal jurisdictions, tax domains, and other business or social criteria, and the like.
The data centers within a region can be further organized and subdivided into availability domains (ADs). An availability domain may correspond to one or more data centers located within a region. A region can be composed of one or more availability domains. In such a distributed environment, CSPI resources are either region-specific, such as a VCN, or availability domain-specific, such as a compute instance.
ADs within a region are isolated from each other, fault tolerant, and are configured such that they are very unlikely to fail simultaneously. This is achieved by the ADs not sharing critical infrastructure resources such as networking, physical cables, cable paths, cable entry points, etc., such that a failure at one AD within a region is unlikely to impact the availability of the other ADs within the same region. The ADs within the same region may be connected to each other by a low latency, high bandwidth network, which makes it possible to provide high-availability connectivity to other networks (e.g., the Internet, customers' on-premises networks, etc.) and to build replicated systems in multiple ADs for both high-availability and disaster recovery. Cloud services use multiple ADs to ensure high availability and to protect against resource failure. As the infrastructure provided by the IaaS provider grows, more regions and ADs may be added with additional capacity. Traffic between availability domains is usually encrypted.
In certain embodiments, regions are grouped into realms. A realm is a logical collection of regions. Realms are isolated from each other and do not share any data. Regions in the same realm may communicate with each other, but regions in different realms cannot. A customer's tenancy or account with the CSP exists in a single realm and can be spread across one or more regions that belong to that realm. Typically, when a customer subscribes to an IaaS service, a tenancy or account is created for that customer in the customer-specified region (referred to as the “home” region) within a realm. A customer can extend the customer's tenancy across one or more other regions within the realm. A customer cannot access regions that are not in the realm where the customer's tenancy exists.
An IaaS provider can provide multiple realms, each realm catered to a particular set of customers or users. For example, a commercial realm may be provided for commercial customers. As another example, a realm may be provided for a specific country for customers within that country. As yet another example, a government realm may be provided for a government, and the like. For example, the government realm may be catered for a specific government and may have a heightened level of security than a commercial realm. For example, OCI currently offers a realm for commercial regions and two realms (e.g., FedRAMP authorized and IL5 authorized) for government cloud regions.
In certain embodiments, an AD can be subdivided into one or more fault domains. A fault domain is a grouping of infrastructure resources within an AD to provide anti-affinity. Fault domains allow for the distribution of compute instances such that the instances are not on the same physical hardware within a single AD. This is known as anti-affinity. A fault domain refers to a set of hardware components (computers, switches, and more) that share a single point of failure. A compute pool is logically divided up into fault domains. Due to this, a hardware failure or compute 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 for each AD may vary. For instance, in certain embodiments each AD contains three fault domains. A fault domain acts as a logical data center within an AD.
When a customer subscribes to an IaaS service, resources from CSPI are provisioned for the customer and associated with the customer's tenancy. The customer can use these provisioned resources to build private networks and deploy resources on these networks. The customer networks that are hosted in the cloud by the CSPI are referred to as VCNs. A customer can set up one or more VCNs using CSPI resources allocated for the customer. A VCN is a virtual or software defined private network. The customer resources that are deployed in the customer's VCN can include compute instances (e.g., virtual machines, bare-metal instances) and other resources. These compute instances may represent various customer workloads such as applications, load balancers, databases, and the like. A compute instance deployed on a VCN can communicate with publicly accessible endpoints (“public endpoints”) over a public network such as the Internet, with other instances in the same VCN or other VCNs (e.g., the customer's other VCNs, or VCNs not belonging to the customer), with the customer's on-premise data centers or networks, and with service endpoints, and other types of endpoints.
The CSP may provide various services using the CSPJ. In some instances, customers of CSPI may themselves act like service providers and provide services using CSPI resources. A service provider may expose a service endpoint, which is characterized by identification information (e.g., an IP Address, a DNS name and port). A customer's resource (e.g., a compute instance) can consume a particular service by accessing a service endpoint exposed by the service for that particular service. These service endpoints are generally endpoints that are publicly accessible by users using public IP addresses associated with the endpoints via a public communication network such as the Internet. Network endpoints that are publicly accessible are also sometimes referred to as public endpoints.
In certain embodiments, a service provider may expose a service via an endpoint (sometimes referred to as a service endpoint) for the service. Customers of the service can then use this service endpoint to access the service. In certain implementations, a service endpoint provided for a service can be accessed by multiple customers that intend to consume that service. In other implementations, a dedicated service endpoint may be provided for a customer such that only that customer can access the service using that dedicated service endpoint.
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 that are assigned to the VCN (e.g., 10.0/16). A VCN includes associated subnets, route tables, and gateways. A VCN resides within a single region but can span one or more or all of the region's availability domains. A gateway is a virtual interface that is configured for a VCN and enables communication of traffic to and from the VCN to one or more endpoints outside the VCN. One or more different types of gateways may be configured for a VCN to enable communication to and from different types of endpoints.
A VCN can be subdivided into one or more sub-networks or subnets. A subnet is thus a unit of configuration or a subdivision that can be created within a VCN. A VCN can have one or multiple 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 which represent an address space subset within the address space of the VCN.
Each compute instance is associated with a virtual network interface card (VNIC), that enables the compute instance to participate in a subnet of a VCN. A 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 compute instance, a service) and a virtual network. A VNIC exists in a subnet, has one or more associated IP addresses, and associated security rules or policies. A VNIC is equivalent to a Layer-2 port on a switch. A VNIC is attached to a compute instance and to a subnet within a VCN. A VNIC associated with a compute instance enables the compute instance to be a part of a subnet of a VCN and enables the compute instance to communicate (e.g., send and receive packets) with endpoints that are on the same subnet as the compute instance, with endpoints in different subnets in the VCN, or with endpoints outside the VCN. The VNIC associated with a compute instance thus determines how the compute instance connects with endpoints inside and outside the VCN. A VNIC for a compute instance is created and associated with that compute instance when the compute instance is created and added to a subnet within a VCN. For a subnet comprising a set of compute instances, the subnet contains the VNICs corresponding to the set of compute instances, each VNIC attached to a compute instance within the set of computer instances.
Each compute instance is assigned a private overlay IP address via the VNIC associated with the compute instance. This private overlay IP address is assigned to the VNIC that is associated with the compute instance when the compute instance is created and used for routing traffic to and from the compute instance. All VNICs in a given subnet use the same route table, security lists, and DHCP options. As described above, 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 which represent an address space subset within the address space of the VCN. For a VNIC on a particular subnet of a VCN, the private overlay IP address that is assigned to the VNIC is an address from the contiguous range of overlay IP addresses allocated for the subnet.
In certain embodiments, a compute instance may optionally be assigned additional overlay IP addresses in addition to the private overlay IP address, such as, for example, one or more public IP addresses if in a public subnet. These multiple addresses are assigned either on the same VNIC or over multiple VNICs that are associated with the compute instance. Each instance however has a primary VNIC that is created during instance launch and is associated with the overlay private IP address assigned to the instance—this primary VNIC cannot be removed. Additional VNICs, referred to as secondary VNICs, can be added to an existing instance in the same availability domain as the primary VNIC. All the VNICs are in the same availability domain as the instance. A secondary VNIC can be in a subnet in the same VCN as the primary VNIC, or in a different subnet that is either in the same VCN or a different one.
A compute instance may optionally be assigned a public IP address if it is in a public subnet. A subnet can be designated as either a public subnet or a private subnet at the time the subnet is created. A private subnet means that the resources (e.g., compute instances) and associated VNICs in the subnet cannot have public overlay IP addresses. A public subnet means that the resources and associated VNICs in the subnet can have public IP addresses. A customer can designate a subnet to exist either in a single availability domain or across multiple availability domains in a region or realm.
As described above, a VCN may be subdivided into one or more subnets. In certain embodiments, a Virtual Router (VR) configured for the VCN (referred to as the VCN VR or just VR) enables communications between the subnets of the VCN. For a subnet within a VCN, the VR represents a logical gateway for that subnet that enables the subnet (i.e., the compute instances on that subnet) to communicate with endpoints on other subnets within the VCN, and with other endpoints outside the VCN. The VCN VR is a logical entity that is configured to route traffic between VNICs in the VCN and virtual gateways (“gateways”) associated with the VCN. A VCN VR is a Layer-3/IP Layer concept. In one embodiment, there is one VCN VR for a VCN where the VCN VR has potentially an unlimited number of ports addressed by IP addresses, with one port for each subnet of the VCN. In this manner, the VCN VR has a different IP address for each subnet in the VCN that the VCN VR is attached to. The VR is also connected to the various gateways configured for a VCN. In certain embodiments, a particular overlay IP address from the overlay IP address range for a subnet is reserved for a port of the VCN VR for that subnet. For example, consider a VCN having two subnets with associated address ranges 10.0/16 and 10.1/16, respectively. For the first subnet within the VCN with address range 10.0/16, an address from this range is reserved for a port of the VCN VR for that subnet. In some instances, the first IP address from the range may be reserved for the VCN VR. For example, for the subnet with overlay IP address range 10.0/16, IP address 10.0.0.1 may be reserved for a port of the VCN VR for that subnet. For the second subnet within the same VCN with address range 10.1/16, the VCN VR may have a port for that second subnet with IP address 10.1.0.1. The VCN VR has a different IP address for each of the subnets in the VCN.
In some other embodiments, each subnet within a VCN may have its own associated VR that is addressable by the subnet using a reserved or default IP address associated with the VR. The reserved or default IP address may, for example, be the first IP address from the range of IP addresses associated with that subnet. The VNICs in the subnet can communicate (e.g., send and receive packets) with the VR associated with the subnet using this default or reserved IP address. In such an embodiment, the VR is the ingress/egress point for that subnet. The VR associated with a subnet within the VCN can communicate with other VRs associated with other subnets within the VCN. The VRs can also communicate with gateways associated with the VCN. The VR function for a subnet is running on or executed by one or more NVDs executing VNICs functionality for VNICs in the subnet.
Route tables, security rules, and DHCP options may be configured for a VCN. Route tables are virtual route tables for the VCN and include rules to route traffic from subnets within the VCN to destinations outside the VCN by way of gateways or specially configured instances. A VCN's route tables can be customized to control how packets are forwarded/routed to and from the VCN. DHCP options refers to configuration information that is automatically provided to the instances when they boot up.
Security rules configured for a VCN represent overlay firewall rules for the VCN. The security rules can include ingress and egress rules, and specify the types of traffic (e.g., based upon protocol and port) that is allowed in and out of the instances within the VCN. The customer can choose whether a given rule is stateful or stateless. For instance, the customer can allow incoming SSH traffic from anywhere to a set 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 the resources in that group. A security list, on the other hand, includes rules that apply to all the resources in any subnet that uses the security list. A VCN may be provided with a default security list with default security rules. DHCP options configured for a VCN provide configuration information that is automatically provided to the instances in the VCN when the instances boot up.
In certain embodiments, the configuration information for a VCN is determined and stored by a VCN control plane (CP). The configuration information for a VCN may include, for example, information about the address range 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 executing the various virtualization network functions (e.g., VNICs, VRs, gateways) associated with the VCN, state information for the VCN, and other VCN-related information. In certain embodiments, a VCN Distribution Service publishes the configuration information stored by the VCN CP, or portions thereof, to the NVDs. The distributed information may be used to update information (e.g., forwarding tables, routing tables, etc.) stored and used by the NVDs to forward packets to and from the compute instances in the VCN.
In certain embodiments, the creation of VCNs and subnets are handled by the VCN CP, and the launching of compute instances is handled by a compute CP. The compute CP is responsible for allocating the physical resources for the compute instance and then calls the VCN CP to create and attach VNICs to the compute instance. The VCN CP also sends VCN data mappings to a VCN data plane that is configured to perform packet forwarding and routing functions. In certain embodiments, the VCN CP provides a distribution service that is responsible for providing updates to the VCN data plane.
A customer may create one or more VCNs using resources hosted by CSPI. A compute instance deployed on a customer VCN may communicate with different endpoints. These endpoints can include endpoints that are hosted by CSPI and endpoints outside CSPI.
Various different architectures for implementing cloud-based services using CSPI are described below.
As shown in the example depicted in
Examples of instances include applications, database, load balancers, and the like.
In the embodiment depicted in
Multiple compute instances may be deployed on each subnet, where the compute instances can be virtual machine instances, and/or bare metal instances. The compute instances in a subnet may be hosted by one or more host machines within CSPI 101. A compute instance participates in a subnet via a VNIC associated with the compute instance. For example, as shown in
Subnet-2 can have multiple compute instances deployed on it, including virtual machine instances and/or bare metal instances. For example, as shown in
VCN A 104 may also include one or more load balancers. For example, a load balancer may be provided for a subnet and may be configured to load balance traffic across multiple compute instances on the subnet. A load balancer may also be provided to load balance traffic across subnets in the VCN.
A particular compute instance deployed on VCN 104 can communicate with various different endpoints. These endpoints may include endpoints that are hosted by CSPI 200 and endpoints outside CSPI 200. Endpoints that are hosted by CSPI 101 may include: an endpoint on the same subnet as the particular compute instance (e.g., communications between two compute instances in Subnet-1); an endpoint on a different subnet but within the same VCN (e.g., communication between a compute instance in Subnet-1 and a compute instance in Subnet-2); an endpoint in a different VCN in the same region (e.g., communications between a compute instance in Subnet-1 and an endpoint in a VCN in the same region, communications between a compute instance in Subnet-1 and an endpoint in service network 110 in the same region); or an endpoint in a VCN in a different region (e.g., communications between a compute instance in Subnet-1 and an endpoint in a VCN in a different region). A compute instance in a subnet hosted by CSPI 101 may also communicate with endpoints that are not hosted by CSPI 101 (i.e., are outside CSPI 101). These outside endpoints include endpoints in the customer's on-premises network 116, endpoints within other remote cloud networks 118, public endpoints 112 accessible via a public network such as the Internet, and other endpoints.
Communications between compute instances on the same subnet are facilitated using VNICs associated with the source compute instance and the destination compute instance. For example, compute instance C1 in Subnet-1 may want to send packets to compute instance C2 in Subnet-1. For a packet originating at a source compute instance and whose destination is another compute instance in the same subnet, the packet is first processed by the VNIC associated with the source compute instance. Processing performed by the VNIC associated with the source compute instance can include determining destination information for the packet from the packet headers, identifying any policies (e.g., security lists) configured for the VNIC associated with the source compute instance, determining a next hop for the packet, performing any packet encapsulation/decapsulation functions as needed, and then forwarding/routing the packet to the next hop with the goal of facilitating communication of the packet to its intended destination. When the destination compute instance is in the same subnet as the source compute instance, the VNIC associated with the source compute instance is configured to identify the VNIC associated with the destination compute instance and forward the packet to that VNIC for processing. The VNIC associated with the destination compute instance is then executed and forwards the packet to the destination compute instance.
For a packet to be communicated from a compute instance in a subnet to an endpoint in a different subnet in the same VCN, the communication is facilitated by the VNICs associated with the source and destination compute instances and the VCN VR. For example, if compute instance C1 in Subnet-1 in
For a packet to be communicated from a compute instance in VCN 104 to an endpoint that is outside VCN 104, the communication is facilitated by the VNIC associated with the source compute instance, VCN VR 105, and gateways 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 another endpoint is outside the VCN. A gateway is a Layer-3/IP layer concept and enables a VCN to communicate with endpoints outside the VCN. A gateway thus facilitates traffic flow between a VCN and other VCNs or networks. Various different types of gateways may be configured for a VCN to facilitate different types of communications with different types of endpoints. Depending upon the gateway, the communications may be over public networks (e.g., the Internet) or over private networks. Various communication protocols may be used for these communications.
For example, compute instance C1 may want to communicate with an endpoint outside VCN 104. The packet may be first processed by the VNIC associated with source compute instance C1. The VNIC processing determines that the destination for the packet is outside the Subnet-1 of Cl. 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, based upon the destination for the packet, determines a particular gateway associated with VCN 104 as the next hop for the packet. VCN VR 105 may then forward the packet to the particular identified gateway. For example, if the destination is an endpoint within the customer's on-premises network, then the packet may be forwarded by VCN VR 105 to DRG gateway 122 configured for VCN 104. The packet may then be forwarded from the gateway to a next hop to facilitate communication of the packet to it final intended destination.
Various different types of gateways may be configured for a VCN. Examples of gateways that may be configured for a VCN are depicted in
Communication channel 124 can be over public communication networks such as the Internet or private communication networks. Various different communication protocols may 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, and others. The device or equipment in customer on-premise network 116 that forms one end point for communication channel 124 is referred to as the customer premise equipment (CPE), such as CPE 126 depicted in
In certain embodiments, a Remote Peering Connection (RPC) can be added to a DRG, which allows a customer to peer one VCN with another VCN in a different region. Using such an RPC, customer VCN 104 can use DRG 122 to connect with a VCN 108 in another region. DRG 122 may also be used to communicate with other remote cloud networks 118, not hosted by CSPI 101 such as a Microsoft Azure cloud, Amazon AWS cloud, and others.
As shown in
A Network Address Translation (NAT) gateway 128 can be configured for customer's VCN 104 and enables cloud resources in the customer's VCN, which do not have dedicated public overlay IP addresses, access to the Internet and it does so without exposing those resources to direct incoming Internet connections (e.g., L4-L7 connections). This enables a private subnet within a VCN, such as private Subnet-1 in VCN 104, with private access to public endpoints on the Internet. In NAT gateways, connections can be initiated only from the private subnet to the public Internet and not from the Internet to the private subnet.
In certain embodiments, a Service Gateway (SGW) 126 can be configured for customer VCN 104 and provides a path for private network traffic between VCN 104 and supported services endpoints in a service network 110. In certain embodiments, service network 110 may be provided by the CSP and may provide various services. An example of such a service network is Oracle's Services Network, which provides various services that can be used by customers. For example, a compute instance (e.g., a database system) in a private subnet of customer VCN 104 can back up data to a service endpoint (e.g., Object Storage) without needing public IP addresses or access to the Internet. In certain embodiments, a VCN can have only one SGW, and connections can only be initiated from a subnet within the VCN and not from service network 110. If a VCN is peered with another, resources in the other VCN typically cannot access the SGW. Resources in on-premises networks that are connected to a VCN with FastConnect or VPN Connect can also use the service gateway configured for that VCN.
In certain implementations, SGW 126 uses the concept of a service Classless Inter-Domain Routing (CIDR) label, which is a string that represents all the regional public IP address ranges for the service or group of services of interest. The customer uses the service CIDR label when they configure the SGW and related route rules to control traffic to the service. The customer can optionally utilize it when configuring security rules without needing to adjust them if the service's public IP addresses change in the future.
A Local Peering Gateway (LPG) 132 is a gateway that can be added to customer VCN 104 and enables VCN 104 to peer with another VCN in the same region. Peering means that the VCNs communicate 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 preferred embodiments, a VCN has a separate LPG for each peering it establishes. Local Peering or VCN Peering is a common practice used to establish network connectivity between different applications or infrastructure management functions.
Service providers, such as providers of services in service network 110, may provide access to services using different access models. According to a public access model, services may be exposed as public endpoints that are publicly accessible by compute instance in a customer VCN via a public network such as the Internet and or may be privately accessible via SGW 126. According to a specific private access model, services are made accessible as private IP endpoints in a private subnet in the customer's VCN. This is referred to as a Private Endpoint (PE) access and enables a service provider to expose their service as an instance in the customer's private network. A Private Endpoint resource represents a service within the customer's VCN. Each PE manifests as a VNIC (referred to as a PE-VNIC, with one or more private IPs) in a subnet chosen by the customer in the customer's VCN. A PE thus provides a way to present a service within a private customer VCN subnet using a VNIC. Since the endpoint is exposed as a VNIC, all the features associates with a VNIC such as routing rules, security lists, etc., are now available for the PE VNIC.
A service provider can register their service to enable access through a PE. The provider can associate policies with the service that restricts the service's visibility to the customer tenancies. A provider can register multiple services under a single virtual IP address (VIP), especially for multi-tenant services. There may be multiple such private endpoints (in multiple VCNs) that represent the same service.
Compute instances in the private subnet can then use the PE VNIC's private IP address or the service DNS name to access the service. 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. A Private Access Gateway (PAGW) 130 is a gateway resource that can be attached to a service provider VCN (e.g., a VCN in service network 110) that acts as an ingress/egress point for all traffic from/to customer subnet private endpoints. PAGW 130 enables a provider to scale the number of PE connections without utilizing its internal IP address resources. A provider needs only configure one PAGW for any number of services registered in a single VCN. Providers can represent a service as a private endpoint in multiple VCNs of one or more customers. From the customer's perspective, the PE VNIC, which, instead of being attached to a customer's instance, appears attached to the service with which the customer wishes to interact. The traffic destined to the private endpoint is routed via PAGW 130 to the service. These are referred to as customer-to-service private connections (C2S connections).
The PE concept can also be used to extend the private access for the service to customer's on-premises networks and data centers, by allowing the traffic to flow through FastConnect/IPsec links and the private endpoint in the customer VCN. Private access for the service can also be extended to the customer's peered VCNs, by allowing the traffic to flow between LPG 132 and the PE in the customer's VCN.
A customer can control routing in a VCN at the subnet level, so the customer can specify which subnets in the customer's VCN, such as VCN 104, use each gateway. A VCN's route tables are used to decide if traffic is allowed out of a VCN through a particular gateway. For example, in a particular instance, a route table for a public subnet within customer VCN 104 may send non-local traffic through IGW 120. The route table for a private subnet within the same customer VCN 104 may send traffic destined for CSP services through SGW 126. All remaining traffic may be sent via the NAT gateway 128. Route tables only control traffic going out of a VCN.
Security lists associated with a VCN are used to control traffic that comes into a VCN via a gateway via inbound connections. All resources in a subnet use the same route table and security lists. Security lists may be used to control specific types of traffic allowed in and out of instances in a subnet of a VCN. Security list rules may comprise ingress (inbound) and egress (outbound) rules. For example, an ingress rule may specify an allowed source address range, while an egress rule may specify an allowed destination address range. Security rules may specify a particular protocol (e.g., TCP, ICMP), a particular port (e.g., 22 for SSH, 3389 for Windows RDP), etc. In certain implementations, an instance's operating system may enforce its own firewall rules that are aligned with the security list rules. Rules may be stateful (e.g., a connection is tracked, and the response is automatically allowed without an explicit security list rule for the response traffic) or stateless.
Access from a customer VCN (i.e., by a resource or compute instance deployed on VCN 104) can be categorized as public access, private access, or dedicated access. Public access refers to an access model where a public IP address or a NAT is used to access a public endpoint. Private access enables customer workloads in VCN 104 with private IP addresses (e.g., resources in a private subnet) 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 the (public service endpoints of) services using a service gateway. A service gateway thus offers a private access model by establishing a virtual link between the customer's VCN and the service's public endpoint residing outside the customer's private network.
Additionally, CSPI may offer dedicated public access using technologies such as FastConnect public peering where customer on-premises instances can access one or more services in a customer VCN using a FastConnect connection and without traversing a public network such as the Internet. CSPI also may also offer dedicated private access using FastConnect private peering where customer on-premises instances with private IP addresses can access the customer's VCN workloads using a FastConnect connection. 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 an easy, elastic, and economical way to create a dedicated and private connection with higher bandwidth options and a more reliable and consistent networking experience when compared to Internet-based connections.
In the example embodiment depicted in
The host machines or servers may execute a hypervisor (also referred to as a virtual machine monitor or VMM) that creates and enables a virtualized environment on the host machines. The virtualization or virtualized environment facilitates cloud-based computing. One or more compute instances may be created, executed, and managed on a host machine by a hypervisor on that host machine. The hypervisor on a host machine enables the physical set of computing resources of the host machine (e.g., compute, memory, and networking resources) to be shared between the various compute instances executed by the host machine.
For example, as depicted in
A compute instance can be a virtual machine instance or a bare metal instance. In
In certain instances, an entire host machine may be provisioned to a single customer, and all of the one or more compute instances (either virtual machines or bare metal instance) hosted by that host machine belong to that same customer. In other instances, a host machine may be shared between multiple customers (i.e., multiple tenants). In such a multi-tenancy scenario, a host machine may host virtual machine compute instances belonging to different customers. These compute instances may be members of different VCNs of different customers. In certain embodiments, a bare metal compute instance is hosted by a bare metal server without a hypervisor. When a bare metal compute instance is provisioned, a single customer or tenant maintains control of the physical CPU, memory, and network interfaces of the host machine hosting the bare metal instance and the host machine is not shared with other customers or tenants.
As previously described, each compute instance that is part of a VCN is associated with a VNIC that enables the compute instance to become 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. A VNIC is associated with a compute instance when the compute instance is created. In certain embodiments, for a compute instance executed by a host machine, the VNIC associated with that compute instance is executed by an NVD connected to the host machine. For example, in
For compute instances hosted by a host machine, an NVD connected to that host machine also executes VCN VRs corresponding to VCNs of which the compute instances are members.
For example, in the embodiment depicted in
A host machine may include one or more network interface cards (NIC) that enable the host machine to be connected to other devices. A NIC on a host machine may provide one or more ports (or interfaces) that enable the host machine to be communicatively connected to another device. For example, a host machine may be connected to an NVD using one or more ports (or interfaces) provided on the host machine and on the NVD. A host machine may also be connected to other devices such as another host machine.
For example, in
The NVDs are in turn connected via communication links to ToR switches, which are connected to physical network 218 (also referred to as the switch fabric). In certain embodiments, the links between a host machine and an NVD, and between an NVD and a ToR switch are Ethernet links. For example, in
Physical network 218 provides a communication fabric that enables ToR switches to communicate with each other. Physical network 218 can be a multi-tiered network. In certain implementations, physical network 218 is a multi-tiered Clos network of switches, with ToR switches 214 and 216 representing the leaf level nodes of the multi-tiered and multi-node physical switching network 218. Different Clos network configurations are possible including but not limited to a 2-tier network, a 3-tier network, a 4-tier network, a 5-tier network, and in general a “n”-tiered network. An example of a Clos network is depicted in
Various different connection configurations are possible between host machines and NVDs such as one-to-one configuration, many-to-one configuration, one-to-many configuration, and others. In a one-to-one configuration implementation, each host machine is connected to its own separate NVD. For example, in
In a one-to-many configuration, one host machine is connected to multiple NVDs.
The arrangement depicted in
In the configuration depicted in
Referring back to
An NVD may be implemented in various different forms. For example, in certain embodiments, an NVD is implemented as an interface card referred to as a smartNIC or an intelligent NIC with an embedded processor onboard. A smartNIC is a separate device from the NICs on the host machines. In
A smartNIC is however just one example of an NVD implementation. Various other implementations are possible. For example, in some other implementations, an NVD or one or more functions performed by the 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, an NVD may be embodied in a host machine where the functions performed by an NVD are performed by the host machine. As another example, an NVD may be part of a ToR switch, or a ToR switch may be configured to perform functions performed by an NVD that enables the ToR switch to perform various complex packet transformations that are used for a public cloud. A ToR that performs the functions of an NVD is sometimes referred to as a smart ToR. In yet other implementations, where virtual machines (VMs) instances, but not bare metal (BM) instances, are offered to customers, functions performed by an NVD may be implemented inside a hypervisor of the host machine. In some other implementations, some of the functions of the NVD may be offloaded to a centralized service running on a fleet of host machines.
In certain embodiments, such as when implemented as a smartNIC as shown in
An NVD receives packets and frames from a host machine (e.g., packets and frames generated by a compute instance hosted by the host machine) via a host-facing port and, after performing the necessary packet processing, may forward the packets and frames to a ToR switch via a network-facing port of the NVD. An NVD may receive packets and frames from a ToR switch via a network-facing port of the NVD and, after performing the necessary packet processing, may forward the packets and frames to a host machine via a host-facing port of the NVD.
In certain embodiments, there may be multiple ports and associated links between an NVD and a ToR switch. These ports and links may be aggregated to form a link aggregator group of multiple ports or links (referred to as a LAG). Link aggregation allows multiple physical links between two endpoints (e.g., between an NVD and a ToR switch) to be treated as a single logical link. All the physical links in a given LAG may operate in full-duplex mode at the same speed. LAGs help increase the bandwidth and reliability of the connection between two endpoints. If one of the physical links in the LAG goes down, 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. The multiple ports associated with a LAG are treated as a single logical port. Traffic can be load-balanced across the multiple physical links of a LAG. One or more LAGs may be configured between two endpoints. The two endpoints may be between an NVD and a ToR switch, between a host machine and an NVD, and the like.
An NVD implements or performs network virtualization functions. These functions are performed by software/firmware executed by the NVD. Examples of network virtualization functions include without limitation: packet encapsulation and de-capsulation functions; functions for creating a VCN network; functions for implementing network policies such as VCN security list (firewall) functionality; functions that facilitate the routing and forwarding of packets to and from compute instances in a VCN; and the like. In certain embodiments, upon receiving a packet, an NVD is configured to execute a packet processing pipeline for processing the packet and determining how the packet is to be forwarded or routed. As part of this packet processing pipeline, the NVD may execute one or more virtual functions associated with the overlay network such as executing VNICs associated with compute instances in the VCN, executing a Virtual Router (VR) associated with the VCN, the encapsulation and decapsulation of packets to facilitate forwarding or routing in the virtual network, execution of certain gateways (e.g., the Local Peering Gateway), the implementation of Security Lists, Network Security Groups, network address translation (NAT) functionality (e.g., the translation of Public IP to Private IP on a host by host basis), throttling functions, and other functions.
In certain embodiments, the packet processing data path in an NVD may comprise multiple packet pipelines, each composed of a series of packet transformation stages. In certain implementations, upon receiving a packet, the packet is parsed and classified to a single pipeline. The packet is then processed in a linear fashion, one stage after another, until the packet is either dropped or sent out over an interface of the NVD. These stages provide basic functional packet processing building blocks (e.g., validating headers, enforcing throttle, inserting new Layer-2 headers, enforcing L4 firewall, VCN encapsulation/decapsulation, etc.) so that new pipelines can be constructed by composing existing stages, and new functionality can be added by creating new stages and inserting them into existing pipelines.
An NVD may perform both control plane and data plane functions corresponding to a control plane and a data plane of a VCN. Examples of a VCN CP are also depicted in
As indicated above, an NVD executes various virtualization functions including VNICs and VCN VRs. An NVD may execute VNICs associated with the compute instances hosted by one or more host machines connected to the VNIC. For example, as depicted in
An NVD also executes VCN Virtual Routers corresponding to the VCNs of the compute instances. For example, in the embodiment depicted in
In addition to VNICs and VCN VRs, an NVD may execute various software (e.g., daemons) and include one or more hardware components that facilitate the various network virtualization functions performed by the NVD. For purposes of simplicity, these various components are grouped together as “packet processing components” shown in
As described above, a compute instance in a customer VCN may communicate with various different endpoints, where the endpoints can be within the same subnet as the source compute instance, in a different subnet but within the same VCN as the source compute instance, or with an endpoint that is outside the VCN of the source compute instance. These communications are facilitated using VNICs associated with the compute instances, the VCN VRs, and the gateways associated with the VCNs.
For communications between two compute instances on the same subnet in a VCN, the communication is facilitated using VNICs associated with the source and destination compute instances. The source and destination compute instances may be hosted by the same host machine or by different host machines. A packet originating from a source compute instance may be forwarded from a host machine hosting the source compute instance to an NVD connected to that host machine. On the NVD, the packet is processed using a packet processing pipeline, which can include execution of the VNIC associated with the source compute instance. Since the destination endpoint for the packet is within the same subnet, execution of the VNIC associated with the source compute instance results in the packet being forwarded to an NVD executing the VNIC associated with the destination compute instance, which then processes 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 both 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). The VNICs may use routing/forwarding tables stored by the NVD to determine the next hop for the packet.
For a packet to be communicated from a compute instance in a subnet to an endpoint in a different subnet in the same VCN, the packet originating from the source compute instance is communicated from the host machine hosting the source compute instance to the NVD connected to that host machine. On the NVD, the packet is processed using a packet processing pipeline, which can include execution of one or more VNICs, and the VR associated with the VCN. For example, as part of the packet processing pipeline, the NVD executes or invokes functionality corresponding to the VNIC (also referred to as executes the VNIC) associated with source compute instance. The functionality performed by the VNIC may include looking at the VLAN tag on the packet. Since the packet's destination is outside the subnet, the VCN VR functionality is next invoked 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 both 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).
If the destination for the packet is outside the VCN of the source compute instance, then the packet originating from the source compute instance is communicated from the host machine hosting the source compute instance to the NVD connected to that host machine. The NVD executes the VNIC associated with the source compute instance. Since the destination end point of the packet is outside the VCN, the packet is then processed by the VCN VR for that VCN. The NVD invokes the VCN VR functionality, which may result in the packet being forwarded to an 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 a next hop that facilitates communication of the packet to its intended destination endpoint. For example, in the embodiment depicted in
A compute instance deployed on a VCN can communicate with various different endpoints. These endpoints may include endpoints that are hosted by CSPI 200 and endpoints outside CSPI 200. Endpoints hosted by CSPI 200 may include instances in the same VCN or other VCNs, which may be the customer's VCNs, or VCNs not belonging to the customer.
Communications between endpoints hosted by CSPI 200 may be performed over physical network 218. A compute instance may also communicate with endpoints that are not hosted by CSPI 200 or are outside CSPI 200. Examples of these endpoints include endpoints within a customer's on-premises network or data center, or public endpoints accessible over a public network such as the Internet. Communications with endpoints outside CSPI 200 may be performed over public networks (e.g., the Internet) (not shown in
The architecture of CSPI 200 depicted in
As shown in
In certain embodiments, each logical NIC is assigned its own VLAN ID. Thus, a specific VLAN ID is assigned to logical NIC A 416 for Tenant #1 and a separate VLAN ID is assigned to logical NIC B 418 for Tenant #2. When a packet is communicated from VM1 406, a tag assigned to Tenant #1 is attached to the packet by the hypervisor and the packet is then communicated from host machine 402 to NVD 412 over link 414. In a similar manner, when a packet is communicated from VM2 408, a tag assigned to Tenant #2 is attached to the packet by the hypervisor and the packet is then communicated from host machine 402 to NVD 412 over link 414. Accordingly, a packet 424 communicated from host machine 402 to NVD 412 has an associated tag 426 that identifies a specific tenant and associated VM. On the NVD, for a packet 424 received from host machine 402, the tag 426 associated with the packet is used to determine whether the packet is to be processed by VNIC-VM1 420 or by VNIC-VM2 422. The packet is then processed by the corresponding VNIC. The configuration depicted in
A feature of a Clos network is that the maximum hop count to reach from one Tier-0 switch to another Tier-0 switch (or from an NVD connected to a Tier-0-switch to another NVD connected to a Tier-0 switch) is fixed. For example, in a 3-Tiered Clos network at most seven hops are needed for a packet to reach from one NVD to another NVD, where the source and target NVDs are connected to the leaf tier of the Clos network. Likewise, in a 4-tiered Clos network, at most nine hops are needed for a packet to reach from one NVD to another NVD, where the source and target NVDs are connected to the leaf tier of the Clos network. Thus, a Clos network architecture maintains consistent latency throughout the network, which is important for communication within and between data centers. A Clos topology scales horizontally and is cost effective. The bandwidth/throughput capacity of the network can be easily increased by adding more switches at the various tiers (e.g., more leaf and spine switches) and by increasing the number of links between the switches at adjacent tiers.
In certain embodiments, each resource within 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 a Console or through APIs. An example syntax for a CID is:
In a typical cloud environment, a CSP provides CSPI that is used to provide the set of cloud services that are offered by that cloud environment to its customers. The CSPI provided by a CSP may include various types of hardware and software resources including compute resources, memory resources, networking resources, consoles for accessing the cloud services, and others. A customer of a cloud environment provided by a CSP may subscribe to one or more of the cloud services offered by that cloud environment. Various subscription models may be offered by the CSP 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 such users can use the cloud service subscribed to by the customer. In certain implementations, when a customer subscribes to a cloud service provided by a particular cloud environment, a customer account or customer tenancy is created for that customer. One or more users can then be associated with the customer tenancy and such users can then use the services subscribed to by the customer under the customer tenancy. Information regarding the services subscribed to by a customer, the users associated with the customer tenancy, etc., is usually stored within the cloud environment and associated with the customer tenancy.
For example, two different cloud environments provided by two different CSPs are depicted in
Cloud A 610 includes infrastructure CSPI_A 612 provided by CSP A. This infrastructure CSPI_A 612 may be used to provide a set of intra-cloud services 615 offered by cloud A 610. One or more customers (e.g., Cust_A1 616-1, Cust_A2 616-2) may subscribe to one or more of such services. One or more users 618-1 may be associated with customer Cust_A1 616-1 and can use the services subscribed to by customer Cust_A1 616-1 in cloud A 610. In a similar manner, one or more users 618-2 may be associated with customer Cust_A2 616-2 and can use the services subscribed to by customer Cust_A2 616-2 in cloud A 610. In various use cases, the services subscribed to by customer Cust_A1 616-1 may be different from the services subscribed to by customer Cust_A2 616-2.
Similarly, cloud B 640 includes infrastructure CSPI_B 642 provided by CSP B. This infrastructure CSPI_B 642 may be used to provide a set of services 644 offered by cloud B 640 (which may, but need not, be different from the services offered by Cloud A 610). One or more customers (e.g., Cust_B1 646-1) may subscribe to one or more services from the set of services 644. One or more users 648-1 may be associated with customer Cust_B1 646-1 and can use the services subscribed to by customer Cust_B1 646-1 in cloud B 640.
As depicted in
In certain embodiments, CSP A and CSP B may agree to offer cross-cloud services of each. In the illustration of
To enable CSP A's cross-cloud services offering and availability via cloud B 640, cloud A 610 can implement an inter-cloud service 614. The inter-cloud service 614 can be configured to, among other things, enable the use of CSP A's cross-cloud services via cloud B. For example, the inter-cloud service 614 can communicate with services 644 of cloud B 640 and translate such communications into information suitable for use by intra-cloud services 615 of cloud A 610. More specifically, the set of services 644 can enable a portal of CSP B and the deployment and management of resources for a customer of CSP B within cloud B 640. Through this portal, a cross-cloud service of CSP A can be offered. Accordingly, a customer of CSP B (e.g., customer Cust_A1 616-1) can subscribe to and request the cross-cloud service of CSP A via the portal. Such subscription and cloud operation requests can be received by the inter-cloud service 614 that then translates them into information specific to cloud A 610. Such information can be passed to one or more of the intra-cloud services 615 that then provision the service. Information back from the intra-cloud services 615 can be translated and sent by the inter-cloud service 614 to cloud services 644 for use thereby.
In certain embodiments, the requested cross-cloud service can be provisioned by the one or more of the intra-cloud services 615 across resources in both cloud A 610 and cloud B 640. Doing so can support latency sensitive operations (or, at least, reduce processing latency).
As illustrated, infrastructure CSPI_A 612 of cloud A 610 includes an infrastructure 624 for a private cloud of customer Cust_A1 616-1 in cloud A 610 (e.g., for a VCN that is part of a tenancy of this customer at cloud A 610), an infrastructure 626 for a private cloud of customer Cust_A2 616-2 in cloud A 610, and other infrastructures 620. Each of these infrastructures includes hardware and/or software provided by CSP A and installed at locations (organized as regions) under the control of CSP A.
In comparison, infrastructure CSPI_B 642 of cloud B 640 includes an infrastructure 644 for the private cloud of customer Cust_A1 616-1 in cloud A (e.g., for the VCN that is part of the tenancy of this customer at cloud A 610), an infrastructure 646 for a private cloud of customer Cust_A1 616-1 in cloud B 640 (e.g., for a VNET that is part of this customer at cloud B 640), an infrastructure 648 for a private cloud of customer Cust_B1 646-1 in cloud B 640, and other infrastructures 650. The infrastructure 644 includes hardware and/or software provided by CSP A and installed at locations (organized as regions) under the control of CSP B (e.g., co-located with components of CSPI_B 642). In comparison, the infrastructures 646, 648, and 650 include hardware and/or software provided by CSP B and installed at locations (organized as regions) under the control of CSP B.
The infrastructure 644 and the infrastructure 646 can be networked together such that customer Cust_A1 616-1 can access, via its private cloud with CSP B, its private cloud with CSP A, where the private cloud with CSP A is distributed between CSPI_A 612 and CSPI_B 642. This communicative coupling of the private clouds can be initiated by the inter-cloud service 614 and performed by one or more of the intra-cloud services 615. In this way, customer A 616-1 has two tenancies: a first one with CSP A that includes a first private cloud (e.g., a VCN) distributed between CSPI_A 612 and CSPI_B 642, and a second one with CSP B that includes a second private cloud (e.g., VNET) local to CSPI_B 642.
The requested cross-cloud service can be actually hosted on the first private cloud (e.g., at least in part on the infrastructure 644 within CSPI_B 642 and, possibly, in the infrastructure 624 within CSPI_A 612) and accessible via the second private cloud (e.g., to workflows hosted by the infrastructure 646). This distribution of components to enable a first private cloud of a first CSP to be hosted, at least in part, by a second cloud of a second CSP and to be linked to a second private cloud hosted by the second cloud is further described in the next figures.
A customer of the second CSP (e.g., an Azure customer) can create and manage, via a portal of the second CSP (e.g., an Azure portal), a virtual resource (e.g., an infrastructure and/or a VM cluster) within the cloud of the first CSP. This virtual resource can be provisioned to provide the cross-cloud service. The support of such offering can be implemented, at least in part, using the inter-cloud service 614 of
On the left side of
On the right side of
The routers 732 within the substrate network 730 can be interconnected (e.g., via Ethernet cables) to the routers 722 within the child site 720. The connectivity fabric 724 of the child site 720 provides inter-connectivity between the routers 722 and the physical resources 726. Further, this connectivity fabric 724 is connected (e.g., using fiber optics, such as Dark Fiber) with the connectivity fabric 714 of the parent region 710 such that a data connectivity can exist between the child site 720 and the parent region 710.
The substrate network 730 can host a set of resources of the second CSP for a customer (e.g., to provide a VNET that includes compute instances having access to the Exadata service, as further illustrated in the next figures). These second CSP resources can be part of a proximity group within a certain latency (e.g., 100 ps) to the cross-cloud service.
The child site 720 can host latency critical resources of the first CSP, where these first CSP resources support the cross-cloud service (e.g., the child site 720 can host OCI database resources and data plane resources in support of an Exadata service). The parent region 720 can host other resources (e.g., the inter-cloud service 614 and the intra-cloud services 715 of
In an example, the customer can have multiple private clouds with each CSP (e.g., multiple VNETs and/or multiple VCNs). In the case of multiple private clouds with the first CSP, the underlying physical resources may not be co-located in the same CSPI of the second CSP and, instead, can be included in or form different child sites. In this case, these resources may not be directly interconnected (e.g., no direct physical connection may exist between the different child sites). Instead, an indirect connection can exist via parent region, where each of the different child sites is physically connected (e.g., via fiber optics) to the parent region, and where data flows between the two child sites through the parent region.
Further, the child site 720 can support a multi-tenancy architecture. In particular, multiple customers can each have one or more private clouds with each CSP (e.g., one or more VNETs and one or more VCNs). Each of such customers can have a separate access to a corresponding cross-cloud service via the child site 720.
In an example, the second private cloud 820 (e.g., VNET) is hosted by physical computing resources of CSPI_B 850 of the second CSP (e.g., an Azure data center). The second private cloud 820 can include compute instances (not shown) that have access to the cross-cloud service. The second private cloud 820 includes a subnet 822. The subnet 822 uses an IP address range. This range can be specified based on input of the customer via a portal of the second CSP (e.g., an Azure portal). An IP address can be allocated from the IP address range to each compute instance launched to provide the cross-cloud service for the customer (e.g., a VM that belongs to a VM cluster and that provides a database instance). These compute instances can be hosted by the first private cloud 810 (shown, more generally in
The first private cloud 810 (e.g., the VCN) can be hosted by physical computing resources of the first CSP including, for example, physical computing resources of a child site and a parent region (similar to the ones illustrated in
Each compute instance can have an IP address from the IP address range. A one-to-one mapping exists between compute instances of the first private cloud 810 (e.g., the virtual resources 814) and the NICS 824 of the second private cloud 820. As such cross-cloud service traffic can be sent from the second private cloud 820 to the first private cloud 810 and vice versa using this one-to-one mapping.
The second private cloud 820 can be connected (e.g., peered) to the first private cloud 810 via one or more virtual routers (e.g., coupling a substrate network of the second CSP with the child site), gateways (e.g., to couple the child site with the parent region, a gateway 826 is implemented at the child site, and a gateway 816 is implemented at the parent region, such as by being parts of connectivity fabrics) and connection protocols (e.g., MeetMe and FastConnect protocols). Collectively, the gateways 816 and 826 can represent a dynamic routing gateway.
From a customer perspective, the customer need not be aware of the underlying physical architecture and inter-connections. Instead, it may suffice that the customer can have visibility at the virtual level, whereby the customer can perceive and manage their private clouds 810 and 820 (e.g., their network configurations). Managing the second private cloud 820 can be via a second portal of the second CSP. Managing the first private cloud 810 can be via the second portal of the second CSP or a first portal of the first CSP. In an embodiment, changes and/or operations related to the cross-cloud service are only enabled via the second CSP (e.g., via the second CSP, the customer can scale up or down, remove, terminate, add, etc. virtual resources at the first private cloud 810 launched for the cross-cloud service). In comparison, change and/or operations unrelated to the cross-cloud service are enabled (possibly only) via the first CSP (e.g., via the first CSP, the customer can scale up or down, remove, terminate, add, etc. virtual resources at the first private cloud 810 launched for a non-cross-cloud service).
The first resources (which can be a combination of physical and virtual resources) can include a private cloud 920, a service tenancy 910, a VM cluster 926, and a gateway 928. The private cloud 920 (e.g., a VCN) can correspond to a tenancy of the customer with the first CSP and can include a primary subnet 922 having an IP range (e.g., Classless Inter-Domain Routing (CIDR) range) and, optionally, a backup subnet 924 using the same IP range. The service tenancy 910 can be available for multiple customers of the first CSP and can include a gateway 912. The VM cluster 926 includes a number of VMs (or compute instances) launched for the client to provide thereto the cross-cloud service. The VM cluster 926 can be hosted on physical resources within a child site. The gateway 928 (e.g., a service gateway) connects virtual resources of the primary subnet 922 (and, likewise of the backup subnet 924) that are hosted on physical resources within a parent region with the VM cluster 926. In comparison, the gateway 912 connects such virtual resources to a private cloud 960 of the customer with the second CSP. The gateway 912 can be implemented as a DRG attached to the private cloud 920 in the customer tenancy. The connection can be via a gateway/router 914. The gateway/router 914 can provided, at least in part, in a child site and connect the child site to a parent region (thus, providing gateway functionalities) via a first connection protocol (e.g., FastConnect) and connect the child site to a substrate network of the second CSP (thus, providing routing functionalities) via a second connection protocol (e.g., MeetMe). For example, the gateway/router 914 can represent a FastConnect Virtual Circuit resource in the service tenancy 910 to connect the DRG to an Azure MeetMe router (an example of a router 968).
The second resources (which can be a combination of physical and virtual resources) can include the private cloud 960 and the router 968. The private cloud 960 can include a primary subnet 922 having an IP range and, optionally, a backup subnet 964 using the same IP range. The IP range can be the same as the one of the primary subnet 922. The router 968 can be connected to the gateway/router 914 such that to provide a data connection from the primary subnet 962 (e.g., and the backup subnet 964) to the private cloud 920. The primary subnet 962 can include NICs 966A through 966K that are connected to the router 968.
The IP addresses used for the different virtual resources to provide the cross-cloud service can be selected by the first CSP (e.g., by an inter or intra-cloud service thereof) from the IP range. The first CSP (e.g., The inter or intra-cloud service thereof) can create domain name system (DNS) corresponding to the IP addresses and can be provided to the private cloud 960. Such DNS record can be used to set up a private DNS zone for the customer, where this private DNS zone can be used with the private cloud 960.
To illustrate, the subnets 922, 924, 962, 964 use IP addresses from 10.0.10.0/24. Each NIC 966 has an IP address from this range (e.g., NICA 966 A uses 10.0.10.10, NIC K 966 K uses 10.0.10.11). The VMs in the VM clusters use the same IP addresses (e.g., a first VM uses 10.0.10.10, whereas a second VM uses 10.0.10.11).
A customer (e.g., an Azure customer) can operate a customer device 1000 to create and manage a set of virtual resources for the cross-cloud service (e.g., an Oracle DB Infrastructure resources) via a portal of the second CSP (shown as a CSP_B Portal 1052). In an example, this portal 1052 interacts with one or more services of the second CSP (shown as CSP_B services 1054, examples thereof can include an Azure resource manager (ARM) which exposes APIs to manage the lifecycle of Oracle DB Infrastructure resources (DB Infrastructure resources include Exadata Infrastructure and Cloud VM Cluster); other examples include Azure Resource Provider as a Service (RPaaS) to simplify development and operation of an Azure Resource Provider, such as asynchronous operations and their progress updates). To manage resources built on top of set of virtual resources (DB Home, Database, Pluggable Database), the CSP_B services 1054 interact with an inter-cloud service 1012 of the first CSP such that the customer is redirected to the inter-cloud service 1012 (e.g., ORP in the case of OCI).
The inter-cloud service 1012 is configured to: i. handle translation of identifiers assigned by the second CSP (e.g., Azure identifiers) to identifiers assigned by the first CSP (e.g., OCI identifiers) including identities, resource IDs, and subscription IDs; ii. handle translation of second CSP states (e.g., Azure states) to first CSP states (e.g., OCI states), and vice versa; and/or iii. delegate the request to intra-cloud services 1014 of the first CSP to execute (e.g., to a resource control plane 1016, such as an OCI DBaaS control plane). The inter-cloud service 1012 is also configured to coordinate any second CSP specific integrations with other second CSP services (e.g., with Azure Resource Provider). The inter-cloud service 1012 can also be configured to perform or cause other intra-cloud services 1014 to perform operations including linking cloud accounts, publishing observability information and vending tokens to access other cloud customer environments.
The intra-cloud services 1014 can provide a portal of the first CSP (shown as CSP_A Portal 1018) accessible to the customer device 1000 of the customer to manage other services of the customer with the first CSP. The two portals 1052 and 1018 can enable similar functionalities (e.g., by presenting inputs and outputs fields) and yet be different. For example, the portal 1052 (e.g., an Azure portal) can have a presentation format controlled by the second CSP. Additionally, the portal 1052 can enable functionalities specific to the second CSP and unrelated to the first CSP, in addition to the functionalities related to the cross-cloud service. In comparison, the portal 1018 (e.g., an OCI portal) can have a presentation format controlled by the first CSP. Additionally, the portal 1018 can enable functionalities specific to the first CSP and unrelated to the second CSP, in addition to the functionalities related to the cross-cloud service. As far as the cross-cloud service, the portal 1052 can expose information available from the second CSP, where this information can be provided by the inter-cloud service 1012.
In an example of an OCI and Azure use case, the inter-cloud service 1012 exposes Oracle DB Products. The inter-cloud service 1012 can be registered with ARM through RPaaS and is configured implement the Azure Resource Provider Contract (RPC), which is a set of operations that all Azure Resource Providers support. The Azure RPaaS internal service is used to support the bulk of RPC operations.
Generally, the inter-cloud service 1012 can be configured to have a second CSP identity (e.g., an Azure RP identity equivalent to an OCI service principal), as well as the ability to operate on a second CSP customer environment using the second CSP flows (e.g., Azure OBO flows). The inter-cloud service 1012 can also be configured to persist second CSP-specific metadata for a first CSP resource, such as the Azure identifier to OCID mapping for DB resources. The inter-cloud service 1012 can also be configured have a first CSP identity to obtain a scope to operate on the first CSP customer environment. The inter-cloud service 1012 can also be configured to act as a thin adaptor layer, accepting second CSP formatted requests that have already been authenticated by the services 1054, translating them to a first CSP request and delegating the request to the intra-cloud services.
As such, the inter-cloud service 1012 performs multiple operations. These operations include translating identifiers from one cloud to another cloud, and vice versa. The operations also include obtaining a first CSP identity for incoming requests from the services 1054 to use in calling the intra-cloud services 1014. These operations also include translating second CSP format requests into first CSP format requests and call the intra-cloud services 1014. The operations also include limiting/quota/capacity validation pass-through or conciliation, implicitly creating first CSP prerequisites for network connectivity for network connected resources (e.g., creating OCI DRG, VCN and subnet that a VMCluster is attached to), causing the linking of private clouds, and configuring DNS entries with the second CSP for resources that have a DNS record associated with them.
In an example, the inter-cloud service 1012 can be hosted in one or more child sites. The inter-cloud service 1012 can cause a virtual resource 1020 to be hosted in a child site. In an Exadata service use case, the virtual resource 1020 can include a DBaaS data plane via a DBaaS control plane. This control plane is hosted in a parent region, as part of the intra-cloud services 1014. In this use case, a compute instance (e.g., a VM) can be instantiated for the customer on a private cloud of the customer with the second CSP (e.g., a VNET in Azure). The compute instance can perform database operations by placing calls to the DBaaS data plane. Such operations include queries, storage, etc. or any operation that the Exadata service supports. The calls and responses thereto can be internal to the private cloud with the second CSP. Upon usage, the DBaaS data plane can report usage information (e.g., for metrics analysis, billing, etc.) to one or more of the intra-cloud services 1014 (e.g., to an observability service). This usage information can then be provided to a monitoring service of the second CSP.
User input is received by the CSPI_B 1150 (e.g., by a portal, similar to the CSP_B portal 1052 of
Next, user input is received by inter-cloud service 1110 from the computing device 1100 (where this input can be at the portal) and indicates a request to create a cross-cloud service infrastructure (e.g., an Exadata service). The user input can indicate various parameters for the provisioning, such as a region and an availability zone. The inter-cloud service 1110 can indicate a star of the provisioning to the computing device 1100 (e.g., via the portal) and can execute a provisioning workflow by which the cross-cloud service infrastructure is created in the relevant child site. While this infrastructure is being created, the inter-cloud service 1110 sets its state to “provisioning.” Once created, the inter-cloud service 1110 updates the state to “succeeded” and provides. Indications of these states can be provided to the computing device 1100 (e.g., via the portal). Similarly, computing device 1100 can check the current state via the portal, where a state querying request can be made from the CSPI_B 1150 to the inter-cloud service 1110 and the inter-cloud service 1110 would respond back with the state information.
Thereafter, user input is received by the inter-cloud service 1110 from the CSPI_B 1150 (where this input is provided at the portal) and corresponds to a request from the computing device 1100 to create a VM cluster resource. The request can indicate a subnet. The inter-cloud service 1110 then executes a set of checks and starts provisioning the VM cluster. This provisioning is further described in the next figure. The inter-cloud service 1110 sets the state to “provisioning.” Once created, the inter-cloud service 1110 updates the state to “succeeded.” Here also, indications of these states can be provided to the computing device 1100 (e.g., via the portal). Similarly, computing device 1100 can check the current state via the portal, where a state querying request can be made from the CSPI_B 1150 to the inter-cloud service 1110 and the inter-cloud service 1110 would respond back with the state information.
As described herein above, the inter-cloud service 1220 receives a request to create a VM cluster for the cross-cloud service (e.g., an Exadata VM cluster) and passes this request with other information (e.g., first identifiers assigned by the first CSP and mapped to second identifiers assigned by the second CSP) to the control plane 1202. In turn, the control plane 1202 retrieves details from CSPI_B 1250 (e.g., from ARM in Azure) about a subnet, including the CIDR, for example and verifies that pre-requisites (e.g., the subnet has been provisioned, the region of a second private cloud with the second CSP (e.g., the VNET in Azure), etc.) are met. The control plane 1202 then creates a first private cloud with the first CSP (e.g., a VCN in OCI) in the customer tenancy (e.g., based on the first identifiers) and creates a subnet in the first private cloud. This subnet has the same CIDR as the subnet in the second private cloud.
Next, the control plane 1202 creates configures the gateway 1206 (e.g., the DRG) in the service tenancy and request to attach the gateway 1206 to the first private cloud in the customer's tenancy. The control plane 1202 also configures the routing information in the gateway 1206 (e.g., by creating a DRG routing table for traffic between the two private clouds or MeetMe router). Similarly, the control plane 1202 also configures the routing information in the first private cloud (e.g., by creating a VCN routing table for traffic to the DRG and the VM Cluster). Once the routing information has been created, the control plane 1202 can inform inter-cloud service 1200 about the success. In response, the inter-cloud service 1200 can configure a network security group for the first private cloud and request a VM cluster to be created. The VM cluster is then provisioned in the relevant child site, whereby IP addresses from the CIDR are assigned to it. DNS records corresponding to the IP addresses are also generated. The inter-cloud service 1200 can receive such DNS records and request attachment of the first private network to the second private network (e.g., the VCN to the VNET).
The control plane 1202 then calls an API of the second CSP, where this API allows IP address injection into the customer subnet in a form of a NIC. Each IP address can represent a VM Cluster node IP. The control plane 1202 can register all IP addresses that the VM cluster will have. The API call can include a device identifier (e.g., GUID of the MeetMe router). This identifier can be based on a mapping of GUIDs mapped to physical locations (child sites). The call can also include a subnet resource identifier (e.g., the private network's subnet in the customer tenancy), an IP address (e.g., the IP address of the NIC that is being created, where this address is in the subnet range), and a resource name (the name of the NIC that will be visible to the user). The API can return a virtual local area network identifier (VLAN ID), which is usable during a virtual circuit creation. The control plane 1202 then creates a virtual circuit that uses a connection (e.g., FastConnect connection) to a router of the CSPI_B 1250 (e.g., to a MeetMe router) and provides the DNS records such that a private DNS zone can be added to the customer's second private network. At this point, the VM cluster is created successfully. Compute instances for the cross-cloud service (e.g., Exadata database instances) can then be hosted in the VM cluster.
As discussed above, a first CSP may provide intra-cloud services (e.g., database services, storage services, compute services, and the like) to customers of the first CSP and a second CSP may provide similar intra-cloud services to customers of the second CSP. A customer of the second CSP may also be a customer of the first CSP and may wish to access intra-cloud services provided by the first CSP via their tenancy in a cloud environment provided by the second CSP. As such, the first CSP may provide an intra-cloud service as a cross-cloud service to customers of the second CSP. Similarly, the second CSP may provide an intra-cloud service such as a cross-cloud service to customers of the first CSP. At least one of the cross-cloud services offered by one CSP to customers of another CSP can be the same service as an intra-cloud service offered by the one CSP to its own customers. In this way, customers of one CSP can be provided with a platform-level experience of another CSP from within the cloud environment of the one CSP. Additionally, customers of the one CSP can be exposed to new features, releases, and resources of the other CSP without leaving the cloud environment of the one CSP.
For example, Oracle as a CSP provides intra-cloud services via OCI to its own customers and Microsoft as a CSP can provide similar intra-cloud services via Azure to its own customers. A Microsoft Azure customer may also be an Oracle OCI customer and may wish to access intra-cloud services provided by Oracle's OCI via their Microsoft Azure tenancy. As such, Oracle's OCI can provide an intra-cloud service such as Oracle's Exadata database service as a cross-cloud service to Microsoft Azure customers. At least one of the cross-cloud services offered by Oracle's OCI to Microsoft Azure customers can be the same service as an intra-cloud service offered by Oracle's OCI to one of its own customers. For example, Oracle's OCI can provide Oracle's Exadata database service to its own customers and to Microsoft Azure customers through Microsoft's Azure environment. In this way, Microsoft Azure customers can be provided with a platform-level experience of Oracle's OCI from within Microsoft Azure. Additionally, Microsoft Azure customers can be exposed to new features, releases, and resources of Oracle's OCI without leaving Microsoft Azure. While Oracle's OCI and Microsoft's Azure have been used as examples, the techniques described throughout are not limited to these CSPs and may similarly applied to other CSPs such as Google Cloud™ and AWS®.
To facilitate providing cross-cloud services, child sites may be provided in respective CSPIs of different CSPs and cross-cloud services offered by other respective CSPs may be accessed using the child sites. For example, in the case of OCI and Azure described above, a child site may be provided in an Azure CSPI and may provide access to an Exadata database service offered by OCI from within the Azure cloud environment. Providing access to cross-cloud services using child sites can provide high-bandwidth access to those cross-cloud services with reduced latency relative to those cross-cloud services being accessed through the first CSP and/or other remote cloud environments. However, resources such as compute resources at each child site may be limited. Therefore, it may be desirable to provide to one or more management mechanisms to provision and manage the lifecycle of cross-cloud services from within one or more CSPIs and/or cloud environments. The techniques described herein pertain to resource management mechanisms for provisioning and the managing the lifecycle of cross-cloud services offered by and between one or more CSPs. The resource management mechanisms described herein are dynamic in that characteristics of the child sites, cloud environments, and/or the CSPIs of the CSPs along with other factors can be considered in provisioning and managing a cross-cloud service.
The first cloud environment 1302 may include a console 1314, a multi-cloud platform 1312, analytic services 1316, a resource provider 1304, an intra-cloud service 1310, a network control plane 1308, a service control plane, a plan management system 1352, and/or a usage report storage system 1354. The second cloud environment 1318 may include a portal 1320 that includes a blade 1322, a resource provider as a service (RPaaS) 1328 that may include a configuration 1330, a resource manager 1324 that may include a configuration 1326, a network provider 1334, a service data plane 1332, and/or a resource usage processing system 1356.
The first cloud environment 1302 can be configured to receive requests for cross-cloud services, evaluate permission statuses for such requests, generate instructions for provisioning such services in one or more other cloud environments such as the second cloud environment 1318, deploy such services in the one or more other cloud environments, and manage the deployed services. In some implementations, the intra-cloud services 1310 of the first cloud environment 1302 can be configured to provide one or more of the intra-cloud services 1310 (e.g., an Exadata intra-cloud service) as one or more cross-cloud services (e.g., an Exadata cross-cloud service) to customers having a tenancy in the second cloud environment 1318. Provisioning an intra-cloud service offered by the first cloud environment 1302 as a cross-cloud service between the first cloud environment 1302 and the second cloud environment 1318 can at least be facilitated by the resource provider 1304 of the first cloud environment 1302. To provision a cross-cloud service, the resource provider 1304 can be configured to send a provisioning request for the requested cross-cloud service to the service control plane 1306 and the network control plane 1308 of the first cloud environment 1302 and, in response, the service control plane 1306 and the network control plane 1308 can deploy an intra-cloud of the intra-cloud services 1310 as a cross-cloud service to the second cloud environment 1318 (e.g., to the service data plane 1332 and network provider 1334 of the second cloud environment 1318).
In some implementations, the first cloud environment 1302 can include multiple parent regions and the second cloud environment 1318 can include multiple child sites corresponding to the multiple parent regions. In some implementations, the service data plane 1332 of the second cloud environment 1318 can serve as and/or form one or more child sites of a respective parent region. In some implementations, each respective parent region of the first cloud environment 1302 can include a resource provider such as the resource provider 1304 that together with one or more child sites associated with the respective parent region facilitates the provisioning and lifecycle management of one or more cross-cloud services. The one or more cross-cloud services can include one or more of the intra-cloud services 1310 of the first cloud environment 1302. For example, the resource provider 1304 can be a resource provider for a parent region in the first cloud environment 1302 and can provision and manage the lifecycle of an intra-cloud service of the intra-cloud services 1310 as a cross-cloud service between the service control plane 1306 of the first cloud environment 1302 and the service data plane 1332 of the second cloud environment 1318. Child sites can at least be implemented according to the physical architecture described above with respect to
In some implementations, provisioning of cross-cloud services between the first cloud environment 1302 and the second cloud environment 1318 can be facilitated by the resource provider 1304 of the first cloud environment 1302 and the resource manager 1324 of the second cloud environment 1318. For example, the resource manager 1324 of the second cloud environment 1318 may send a cross-cloud service provisioning request to the resource provider 1304 of the first cloud environment 1302 and, in response, the resource provider 1304 can facilitate the provisioning of the cross-cloud service together with the second cloud environment 1318.
Managing the lifecycle of provisioned cross-cloud services between the first cloud environment 1302 and the second cloud environment 1318 can be facilitated by the resource provider 1304 of the first cloud environment 1302 and the resource manager 1324 of the second cloud environment 1318. For example, the resource manager 1324 of the second cloud environment 1318 may send a request for managing the lifecycle of a provisioned cross-cloud service (e.g., a request to terminate the cross-cloud service) to the resource provider 1304 and, in response, the resource provider 1304 can facilitate the lifecycle management function for the cross-cloud service together with the second cloud environment 1318. In some implementations, to facilitate the provisioning and lifecycle management, the resource manager 1324 can be configured to communicate with the resource provider 1304 (e.g., using APIs of the first cloud environment 1302 that are exposed by the resource provider 1304 to the resource manager 1324).
In some implementations, a customer of the second cloud environment 1318 and/or the second CSP desiring to provision a cross-cloud service from within the second cloud environment 1318 and/or manage a cross-cloud service that has been provisioned in conjunction with the second cloud environment 1318 can initiate a request 1336 to do. The customer can initiate the request 1336 via the portal 1320 of the second cloud environment 1318. In some implementations, the portal 1320 can include one or more graphical user interfaces that can be accessed via a client device such as a computer (e.g., through an application, operating system, and/or software program executing on the client device). The one or more graphical user interfaces or portions thereof can be generated by, populated by, and/or otherwise supplied by the resource manager 1324 of the second cloud environment 1318. Customers of the second cloud environment 1318 can access the portal 1320 to manipulate and/or interact with the one or more graphical user interfaces to initiate the request 1336 and perform other functions such as manage their tenancy within the second cloud environment 1318.
In some implementations, the one or more graphical user interfaces or portions thereof can be generated by, populated by, and/or otherwise supplied by the resource provider 1304 of the first cloud environment 1302. The one or more graphical user interfaces or portions thereof can be provided to and/or declared to the portal 1320 using a blade 1322 of the portal 1320. The blade 1322 can serve as and/or function as an extension, plugin, add-on, and the like of the portal 1320. Customers of both the first cloud environment 1302 and the second cloud environment 1318 can access the portal 1320 to manipulate and/or interact with the one or more graphical user interfaces to initiate the request 1336 and perform other functions such as manage their tenancies within the first cloud environment 1302 and the second cloud environment 1318.
In some implementations, requests received via the portal 1320 to provision a cross-cloud service can be routed to the resource manager 1324 of the second cloud environment 1318 which in turn can route the request 1336 to the resource provider 1304 of the first cloud environment 1302 (e.g., via a first set of APIs of the first cloud environment 1302 that are exposed within the resource manager 1324). On the other hand, requests received via the portal 1320 to manage the lifecycle of a provisioned cross-cloud service (e.g., viewing analytics, consumption, costs, logs, etc.) can be routed to a console 1314 of the first cloud environment 1302 which in turn can route the request 1336 within the first cloud environment 1302 (e.g., via a second of APIs that are exposed within first cloud environment 1302). For example, the console 1314 can be configured to route the request 1336 to analytic services 1316 of the first cloud environment 1302 for viewing analytics, consumption, costs, logs, and the like pertaining to the provisioned cross-cloud service. In some implementations, respective customers of the second cloud environment 1318 may be assigned respective identifiers (e.g., a first cloud environment account identifier, a second cloud environment account identifier) such that each request 1336 initiated by a respective customer of the second cloud environment 1318 can be associated with the identifier for that respective customer. In this way, access to the portal and request initiation can be controlled and managed by the resource manager 1324 based on roles and/or permissions associated with each customer identifier.
To facilitate the provisioning of a cross-cloud service and lifecycle management of a provisioned cross-cloud service, the resource provider 1304 can be linked to the resource manager 1324 and a resource provider as a service (RPaaS) 1328 of the second cloud environment 1318. Linking the resource provider 1304 to the second cloud environment 1318 enables the resource provider 1304, resource manager 1324, and RPaaS 1328 to coordinate resources and operations.
The resource provider 1304 can have an identity that is associated with the second cloud environment 1318. The identity can be configured to replicate an identity that the resource provider 1304 has with the first cloud environment 1302. To facilitate the linking, the resource provider 1304 can provide a configuration 1326 to the resource manager 1324 and a configuration 1330 to the RPaaS 1328. The configuration 1326 and the configuration 1330 can include an identifier for the resource provider 1304 and can define API specifications, connection endpoints, and/or locations of intra-cloud services associated with the resource provider 1304.
The resource provider 1304 can be configured to provision a cross-cloud service and/or manage of the lifecycle of a provisioned cross-cloud service based on operations performed by the multi-cloud platform 1312 of the first cloud environment 1302. The multi-cloud platform 1312 can be configured to perform operations that are common to linking and integrating the first cloud environment 1302 to the second cloud environment 1318 and other cloud environments of other CSPs. For example, the multi-cloud platform 1312 can be configured to link the customer's second account for the second CSP to the customer's first account for the first CSP, publish observation information collected from the first cloud environment 1302 and/or the second cloud environment 1318, generate vending tokens for accessing the customer's other cloud environments, and the like. Additionally, the multi-cloud platform 1312 can be configured to create, define, supply, and/or otherwise implement a contract between the resource provider 1304, the resource manager 1324, and the RPaaS 1328. The contract can identify resources supported by and/or operations to be performed by the resource provider 1304, the resource manager 1324, and the RPaaS 1328. In some implementations, the contract can allow the resource provider 1304, the resource manager 1324, and the RPaaS 1328 to operate on the same tenancy within the first cloud environment 1302. For example, the contract can define provisioning and/or lifecycle management events that are to be sent from the resource manager 1324 and/or RPaaS 1328 upon occurrence of such events where the resource provider 1304 can be configured to perform provisioning and/or lifecycle management operations asynchronously based on the reception and/or a change in status of such events.
The multi-cloud platform 1312 can be further configured to perform generalized cloud management operations including, but not limited to: (i) mapping subscriptions and tenancies of the second cloud environment 1318 to the subscriptions and tenancies of the first cloud environment 1302; (ii) generating and managing policy statements that govern tenancies in respective cloud environments (e.g., a statement that facilitates the multi-cloud platform 1312 and the resource provider 1304 to operate in the same tenancy); (iii) generating and managing access tokens that facilitate cross-cloud access and/or communication between respective cloud environments; and/or (iv) mapping observability information of the first cloud environment 1302 to the second cloud environment 1318 (e.g., writing an event to the second cloud environment 1318 when a backup is completed on the first cloud environment 1302, writing resource logs of the first cloud environment 1302 to the second cloud environment 1318, and the like). In this way, the first cloud environment 1302 and the second cloud environment 1318 can avoid overlapping operations and resources, which in turn can increase efficiency.
In some implementations, upon receiving the request 1336 to provision a cross-cloud service, the resource provider 1304 can be configured to map the request 1336 to an identifier of the first cloud environment 1302 and pass the request along to the service control plane 1306. The service control plane 1306 can be configured to perform two main processes: the first process is to provision the relevant resources of the first cloud environment 1302; and the second process is to connect these resources to the customer's tenancy in the second cloud environment 1318 (e.g., the customer's VNET in the second cloud environment 1318). Under the first process, the service control plane 1306 creates a VCN for the customer in the first cloud environment 1302 and creates one or more subnets within the VCN. In some implementations, the VCN can function as a shadow tenancy for the customer's tenancy in the second cloud environment 1318. One or more of the subnets within the VCN and one or more subnets in the VNET can use the same CIDR. The service control plane 1306 also creates a DRG in the first cloud environment 1302 and attaches the DRG to the customer's VCN and configures routing information for the DRG and the VCN (e.g., to interconnect these two resources). The service control plane 1306 also provisions a VM cluster in the service data plane 1332. IP address(es) of this VM cluster are from the CIDR and are mapped to corresponding DNS records. Under the second process, the service control plane 1306 registers these IP address(es) with the second cloud environment 1318 and creates a virtual circuit between the DRG and the network provider 1334 and sends the DNS records such that a private DNS zone can be set up in second cloud environment 1318.
Additionally, or alternatively, upon receiving the request 1336 to provision a cross-cloud service, the resource provider 1304 is configured to: (i) map an identifier assigned to the customer by the second CSP to an identifier assigned to the customer by the first CSP; (ii) obtain the identity of the resource provider 1304 that is associated with the request 1336 (i.e., the second cloud environment 1318 from which the request 1336 originates); (iii) translate the format of the request 1336 from that of the second cloud environment 1318 to that of the first cloud environment 1302 and route the formatter request along with the mapped identifier to the service control plane 1306 and network control plane 1308; (iv) establish network connectivity prerequisites for network connectivity between the first cloud environment 1302 and the second cloud environment 1318 (e.g., establish DRG, VCN, and subnets for connecting to the network provider 1334 and VMs of the service data plane 1332 of the second cloud environment 1318); (v) establish network connectivity between the network control plane 1308 and the network provider 1334 based on the network connectivity prerequisites (e.g., linking the delegated subnets of the second cloud environment 1318 to the VCN of the first cloud environment 1302 and configuring DNS entries in the second cloud environment 1318). Additionally, once the cross-cloud service is provisioned, the resource provider 1304 can be configured to persist metadata between the first cloud environment 1302 and the second cloud environment 1318 (e.g., the mapping between the identifier for the second cloud environment 1318 and the first cloud environment 1302) and act as a thin adaptor layer that accepts requests that are formatted for the second cloud environment 1318 and that have already been authenticated by resource manager 1324 (e.g., requests to manage the lifecycle of provisioned cross-cloud services), translates them into requests that are formatted for the first cloud environment 1302, and delegates the translated requests to the service control plane 1306.
The resource provider 1304 may collect resource usage information associated with the second cloud environment 1318 and a provisioned intra cloud service 1310. The resource usage information may be collected during use of the provisioned intra cloud service 1310 by a user identified within the first cloud environment 1302 using a first account identifier. The user may have a second account identifier identifying the user within the second cloud environment 1318. The second account identifier may be associated with the first account identifier in memory of the first cloud environment 1302 and/or the second cloud environment 1318. The plan management system 1352 and/or other components of the first cloud environment 1302 may be configured to determine the first account identifier using the second account identifier or determine the second account identifier using the first account identifier. For example, the first account identifier may be transmitted (e.g., by the plan management system 1352, by a inter-cloud data adapter described in further detail below) to the second cloud environment 1318 in a request to obtain the second account identifier from the second cloud environment 1318. The mapping between the first account identifier and the second account identifier (e.g., a token) may be maintained by the second cloud environment 1318 (e.g., to increase security of second account and/or the second cloud environment 1318) and used to determine the second account identifier (e.g., a token) to transmit to the first cloud environment 1302.
The resource usage information may be collected on a per service basis and/or a account identifier basis. For example, when a first service and a second service of the first cloud environment 1302 are called (e.g., used) by the second account for the second cloud environment 1318, the resource provider 1304 may collect resource usage information that indicates that the second account (account for the second cloud environment 1318 and associated with the first account) and/or the first account (account associated with the first cloud environment 1302 and associated with the second account) called two services. In another example, when the first service and the second service of the first cloud environment 1302 are called (e.g., used) by the second account, the resource provider 1304 may collect resource usage information that indicates that the second account and/or the first account called the first service and the second service. The resource usage information may further include a utilization amount (e.g., measured using resource credits), a metering period (e.g., a metering hour), a child stock keeping unit (SKU), and/or a basket SKU. The SKU may indicate the provisioned intra cloud service 1310 used/called by the second account. The metering period may include a start date and/or time of usage and an end date and/or time of usage for a respective service. The utilization amount may be calculated based on how long the service was used, how much memory was involved in use of the service (e.g., how much database memory is used), how much processing power was used using the service, how many times the service was used/called, and/or how long the service was used for, etc.
In certain embodiments, the child SKU indicates an individual product and/or resource a user account can deploy and/or use from the first cloud environment 1302. Basket SKU may be a top level SKU that represents a commitment (e.g., a payment commitment) the user account might have made in a contract (e.g., as described herein). As an example, the user account might have committed to spend $100,000 USD, this number could be associated with the basket SKU as 100,000 units. The user account may be allowed to use and/or provision a number of different products and/or resource types, each one of these would be a child SKU indicating the resources that would be counted towards the 100,000 unit commit that was made by the user account.
The resource provider 1304 may transmit the resource usage information to the plan management system 1352. The resource usage information may be transmitted after a predetermined amount of time (e.g., thirty minutes, an hour, 6 hours, a day, etc.) has passed since last sending previous resource usage information. The plan management system 1352 may be included in the multi-cloud platform 1312 and/or implement functionality like that described above with respect to the multi-cloud platform 1312. The plan management system 1352 may receive the resource usage information for the first account associated with the second account. The resource usage information may be received from the resource provider 1304.
As described above, the resource usage information may include an account identifier (e.g., the first account identifier of an account for the first cloud environment 1302 and/or the second account identifier). The resource usage information may indicate which SKUs have been used by the first account during a given metering period (e.g., a metering hour). The resource usage information may additionally indicate a utilization amount (e.g., an amount of resource use associated with the SKU) during the metering period.
The utilization amount may be used with one or more defined rates to determine a cost amount. The utilization amount and a resource allocation may be used to determine a usage amount and an overage amount. The usage amount may indicate the utilization amount within the resource allocation. The usage amount may be less than or equal to the resource allocation. The overage amount may indicate the utilization amount in excess of the utilization amount. For example, the utilization amount may be 15 resource credits. The resource allocation may be 10 resource credits. Thus, the usage amount may be 10 resource credits and the overage amount may be 5 resource credits.
In certain embodiments, more or less amounts may be determined using the resource utilization and one or more resource allocations. For example, a first resource allocation may be equal to 10 resource credits and a second resource allocation may be equal to 12 credits. In such an example, a usage amount, a first overage amount, and an excessive overage amount may be calculated. In certain embodiments, no resource allocation exists.
The resource usage information may be used to calculate one or more costs associated with the resource usage information. A usage cost may be calculated using the usage amount and a usage rate (e.g., usage amount*usage rate). An overage cost may be calculated using the overage amount and an overage rate (e.g., overage amount*overage rate). The usage rate and the overage rate may be predefined. The rates and the resource allocation(s) may be defined by contract information (e.g., the contract described above with respect to the multi-cloud platform 1312). The rates, resource allocations, and/or resource utilizations may be associated with the first account and be different from those of another account. In certain embodiments, one or more rates (e.g., the overage rate) is dynamic (e.g., based on account history, based on resource demand, based on time of day, etc.). Using multiple rates that correspond to multiple resource utilization ranges/amounts, a tiered pricing structure can be established for utilization of resources and thereby the services offered by the first cloud environment 1302 to the second cloud environment 1318. In certain embodiments, rates increase or decrease as more resources are used. For example, higher rates may be charged for exceeding a threshold resource allocation (“an overage charge”).
Each rate may be associated with a computation type. The computation type may indicate whether the rate is associated an overage amount, a usage amount, a pay as you go (PAYG) amount, or another amount. Each cost calculated with a rate (e.g., usage rate, overage rate, etc.) may be associated with the computation type.
The resource usage information or a portion of the resource usage information may be stored in a first data structure (e.g., a table, a hash map) and included in a usage entry stored by the first data structure. The one or more costs calculated using the resource usage information may also be stored in the first data structure. In certain embodiments, the first data structure may include a different entry for each unique combination of account identifier, SKU, metering period, and computation type included in the received resource usage information.
Continuing the above example, the first service identified by a first SKU (e.g., 893380) may have been used such that 15 resource credits were used to run the first service. The first service may have been used by a first account with a first account identifier (e.g., 28721). The first service may have been used (e.g., fully, started, ended) during a first metering period (e.g., 2024-04-02 5:00:00). The resource allocation for the first account may have been 10 credits (e.g., for the first service, across a combination of services). A rate of $1/credit may be set for usage within the resource allocation. A rate of $2 may be set for usage in excess of the resource allocation. Based on the resource allocation and resource utilization, a usage computation may be performed associated with the first 10 resource credits and an overage computation may be performed associated with the credits (e.g., 5 credits) in excess of 10. The usage cost may be 10*$1=$10, and the overage cost may be 5*$2=$10.
The plan management system 1352 may add a unique usage identifier to the usage entries when adding the usage entries to the first data structure. The usage identifier can be used to uniquely identify the usage entry from other usage entries.
Continuing the first example, the first data structure may include two usage entries that correspond to the resource usage information. An example of the first data structure is shown below, using table 1.
In certain embodiments, the table 1 may also track when (e.g., a date and/or time) each usage entry was added to the table. The first data structure and operations described above with respect to generating data for the first data structure and inserting the data into the first data structure may be performed by a resource usage tracking system (e.g., resource usage tracking system 1404 described further with respect to
One or more usage entries of the first data structure may be transmitted to a resource usage report generation system (e.g., resource usage report generation system 1406 described further with respect to
The resource usage report may be generated after a certain amount of time passing (e.g., once an hour, once a day, once a month), when a certain number of usage entries have been received, as resource usage entries are received, etc. The resource usage report may indicate which services (e.g., SKUs) have been used by the first user account, when resources were used, costs associated with the resources, how much overage costs have been accrued, how much usage costs have been accrued, how much PAYG costs have been accrued, trends, relationships between entries, relationships between data fields included in respective entries, and/or other information obtainable based at least on the first data structure.
The resource usage report may be transmitted to the usage report storage system 1354. The usage report storage system 1354 may store resource usage reports. The resource usage reports may be associated with an account, a service, and/or a cloud provider (e.g., the second cloud provider). The resource usage reports may be transmitted (e.g., upon responsive to a request) to the resource provider 1304 and/or the console 1314 from the plan management system 1352 and/or from the usage report storage system 1354.
The usage report storage system 1354 may transmit the usage report at the end of a time period (e.g., a month) to a user (of the second cloud environment), an administrator (e.g., of the first cloud environment), to another system (e.g., an account receivable system). The other system may be able to analyze the usage report to determine whether a fund transfer received from a funding account associated with the first cloud environment 1302 matches a total amount included in the usage report, a portion of the usage report, or a set of usage reports. The usage report may include a total cost for one or more account identifiers. The account identifiers may be second account identifiers and/or first account identifiers. By checking information in the usage report against funds received in a funds transfer and/or a value generated by the second cloud environment 1318, the first cloud environment 1302 can perform account balancing and ensure fees owed in connection to the intra-cloud services are paid.
In addition to, or an alternative to, the one or more usage entries of the first data structure being transmitted to the usage report generation system 1354, the one or more usage entries may be transmitted to a resource aggregation system (e.g., resource aggregation system 1410 described in further detail with respect to
The resource aggregation system may may maintain a second data structure (e.g., a data table, a hash graph, etc.) included aggregation entries. The resource aggregation system may be configured to insert, modify, and/or delete aggregation entries and/or portions of aggregation entries. The resource aggregation system may receive one or more usage entries from the resource usage tracking system, or a portion of usage entries. For each usage entry (e.g., or portion of usage entry) received, the resource aggregation system may determine if there is a similar aggregation entry included in the second data structure. The usage entry may be similar to the aggregation entry if the account identifier, compute type, and metering period are equivalent (e.g., match). The aggregation entry may include an account identifier, a computation type, an aggregated cost amount, a metering period, and a set of usage identifier that represent the usage entries that are represented by the aggregation entry. The usage entries may be represented by the aggregation entry because the usage entries may include the same account identifier, compute type, and metering period as the aggregation entry. Further, the usage entries may be represented by the aggregation entry because the aggregated cost amount included in the aggregation entry may be a summation of the costs for the usage entries.
If the resource aggregation system determines that the usage entry is similar to the aggregation entry, the resource aggregation may add (e.g., summation) the cost (e.g., usage cost, overage cost, PAYG cost, etc.) to an aggregated cost included in the aggregation entry.
The aggregation entry may be removed (e.g., deleted) from the second data structure after the aggregation entry is transmitted (e.g., to another system (e.g., for storage, for further processing), the resource usage processing system 1356, to an inter-cloud data adapter (e.g., inter-cloud data adapter 1412 described in further detail below)). The aggregation entry may be removed (e.g., deleted) from the second data structure after a response (e.g., a success response) is received from another system (e.g., the resource usage processing system 1356, the inter-cloud data adapter). One or more usage entries represented by the aggregation entry may be removed from the first data structure upon removal of the aggregation entry from the second data structure.
In certain embodiments, a usage entry may not be added to the second data structure if the usage entry includes a usage identifier that is included in a set of usage identifiers included in the second data structure.
In certain embodiments, the second data structure includes a pending recording indication for each aggregated entry. The pending recording indication may indicate whether any usage entries received by the resource aggregation system that would otherwise have their usage identifier and cost added to the aggregation entry, should not be combined with the existing aggregation entry. In such a case, the usage entry may be used to initialize a new aggregation entry or combined with the existing aggregation entry if the pending recording indication changes to indicate that the resource aggregation entry is not pending. The pending recording indication may indicate that the aggregation entry has been transmitted to another system (e.g., the inter-cloud data adapter and/or resource usage processing system 1356, each described below in further detail (e.g., with respect to
Certain embodiments may prevent the usage entry from being added to the aggregation entry because the aggregation entry may be removed (e.g., deleted, overwritten) from the second data structure if a response is received by the resource aggregation system that indicates the aggregation entry associated with the pending recording indication has been successfully recorded. According, the pending recording indication can ensure that usage entries received after similar usage entries are transmitted to the other system can still be transmitted at a later time and accounted for.
Continuing the first example, from above, the usage entries from the first data structure may be transmitted to the resource aggregation system and inserted into a second data structure.
An example of the second data structure is shown below, using table 2.
Further continuing the example, consider the following usage entries being received by the resource aggregation system:
If the above usage entries were received by the resource aggregation system, table 2 would be updated and include the information shown in table 3, below.
In certain embodiments, the aggregation entries may be transmitted to the resource usage report generation system (for use in generating the resource usage report), the usage report storage system 1354, the resource provider 1304, the multi-cloud platform 1312, the console 1314 (for presenting information about usage data), and/or another system.
The aggregated cost entries may be used to generate usage data (e.g., described below in further detail with respect to
The resource usage processing system 1356 may provide an API for use by the plan management system 1352. The API may enable the plan management system 1352 to transmit (e.g., push) usage data to the resource usage processing system 1356. The usage data may include an entry included in the second data structure or include information represented by an aggregation entry included in the second data structure. The information may be formatted such that the resource usage processing system 1356 may process the aggregation entry. The usage data may be generated using the usage data and formatted (e.g., using the inter-cloud data adapter) such that the usage data can be received and processed by the resource usage processing system 1356. The plan management system 1352 may be configured (e.g., using the inter-cloud data adapter) to format responses received from the resource usage processing system 1356 such that they can received and/or processed by the plan management system 1352.
The usage data may include an aggregation (e.g., summation) of one or more aggregated cost entries (e.g., a usage entry and an overage entry) with a common metering period (e.g., metering hour). The aggregation of cost entries may include usage costs, overage costs, PAYG costs, and/or other costs aggregated and associated with the account over one or more metering periods (e.g., metering hours). The aggregation of cost entries may include costs other than usage costs and associated with the account over one or more metering periods (e.g., metering hours). The cost entries may have been aggregated over the course of a period of time (e.g., a day, 4 hours) before being transmitted to the resource usage processing system 1356. The usage data may be associated with a single account (e.g., first user account identifier, second user account identifier).
Aggregating cost entries for a period of time before generating and transmitting the usage data can be useful to reduce certain response codes (e.g., duplicate indicator) from being received back from the resource usage processing system 1356. Such response codes can lead to further processing being performed by the first cloud environment 1302 that could be reduced by embodiments that aggregate costs for a longer period of time. This is because some resource usage information may not be received by the plan management system 1352 for a period of time after a service is called due to other processing delays.
The resource usage processing system 1356 may transmit a response to the plan management system 1352 after the usage data is received. In certain embodiments, the response may indicate an acceptance of the usage data. Responsive to receiving the response indicating the acceptance of the usage data representing a set of resource usage information, the plan management system 1352 may cause the usage entries that were represented by the aggregation entry to be removed from the first data structure. Responsive to receiving the response indicating the acceptance of the usage data representing a set of resource usage information, the plan management system 1352 may cause the aggregation entry represented by the usage data to be removed from the second data structure. By removing the entries from the data structures, the entries can be kept from being used again, which could cause further processing to be performed and duplicate usage data being sent to the resource usage processing system 1356 after the resource processing usage system 1356 has already received and/or processed an aggregation entry. By reducing duplication of data and processing, network, energy, memory, and processing resources can be reduced.
In certain embodiments, the response may indicate a rejection of the usage data. For example, a rejection may be indicated when the usage data includes a metering period that has already been included in usage data (e.g., an aggregation entry for a computation type, metering period, and account identifier has already been recorded by the resource usage processing system 1356). The rejection may indicate that a duplicate metering period was received. Responsive to receiving the duplicate metering period rejection from the resource usage processing system 1356, the plan management system 1352 may adjust the metering period for the aggregation entry represented by the usage data and aggregate it with aggregation entry with a common account identifier, computation type, and metering period.
In certain embodiments, if a response has been received from the resource usage processing system 1356 that indicates a rejection of the usage information more than a set threshold number of times in a row without a successful response, a notification may be transmitted to another system (e.g., a user device, a system included in the first cloud environment 1302, etc.). The set threshold number of times may be compared with a rejection counter that is incremented when receiving a response from the resource usage processing system 1356 indicating a rejection and that resets the counter to zero when the resource usage processing system 1356 returns a message indicating a successful usage data recording.
In some implementations, one or more graphical user interfaces or portions thereof can be generated by, populated by, and/or otherwise supplied by the resource usage processing system 1356. The resource usage processing system 1356 may be configured to transmit usage data, or a subset thereof to the portal 1320. The usage data may indicate how many times a service was used, when the service was used (e.g., a metering hour), an account identifier associated with the service usage, a first cost associated with the service (e.g., base usage cost), a second cost associated with the service (e.g., an overage cost), and/or other data accessible by the resource usage processing system 1356. The usage data can be used by the portal 1320 to indicate usage associated with a user account (e.g., display usage statistics and costs), usage over time, services used, services used over time, and/or billing information, etc.
In certain embodiments, data received from the resource provider 1304 may include a tag. The tag may indicate whether the plan management system is to process resource usage information, generate a resource usage report, and/or generate usage data.
As described above, the resource usage information 1402 may be received/collected (e.g., from a resource provider (e.g., resource provider 1304)). The resource usage information 1402 may be used to calculate one or more costs associated with the resource usage information 1402. A usage cost may be calculated using the usage amount and a usage rate (e.g., usage amount*usage rate). An overage cost may be calculated using the overage amount and an overage rate (e.g., overage amount*overage rate). The usage rate and the overage rate may be predefined. The rates and the resource allocation(s) may be defined by contract information (e.g., the contract described above with respect to the multi-cloud platform 1312).
The resource usage information 1402 or a portion of the resource usage information 1402 may be stored in a first data structure (e.g., a table, a hash map) included in a usage entry. The one or more costs calculated using the resource usage information 1402 may also be stored in the first data structure. In certain embodiments, the first data structure may include a different entry for each unique combination of account identifier, SKU, metering period, and computation type included in the received resource usage information 1402.
The first data structure and operations described above with respect to generating data for the first data structure and inserting the data into the first data structure may be performed by the resource usage tracking system 1404 of the plan management system 1352. The resource usage tracking system 1404 may be configured to remove usage entries from the first data structure.
One or more usage entries of the first data structure may be transmitted to the resource usage report generation system 1406. The usage entries may be transmitted periodically (e.g., once an hour), after a certain number of usage entries have been generated by the resource usage tracking system 1404, and/or upon request (e.g., from the resource usage report generation system 1406). The usage entries can be used to generate the resource usage report 1408. The resource usage report 1408 may include the usage entries, a portion of the usage entries, and/or data generated using the usage entries.
The resource usage report 1408 may be transmitted to the usage report storage system 1354. The usage report storage system may store resource usage reports 1408. The resource usage reports 1408 may be associated with an account, a service, and/or a cloud provider (e.g., the second cloud provider). The resource usage reports 1408 may be transmitted (e.g., upon responsive to a request) to the resource provider 1304 and/or the console 1314 from the plan management system 1352 and/or from the usage report storage system 1354. The usage report storage system may transmit the usage report at the end of a time period (e.g., a month) to a user (of the second cloud environment), an administrator (e.g., of the first cloud environment), to another system (e.g., an account receivable system).
In addition to, or an alternative to, the one or more usage entries of the first data structure being transmitted to the resource usage report generation system 1406, the one or more usage entries may be transmitted to the resource aggregation system 1410. The usage entries may be transmitted periodically (e.g., once an hour), after a certain number of usage entries have been generated by the resource usage tracking system 1404, and/or upon request (e.g., from the resource aggregation system 1410). The usage entries can be used to generate an aggregated cost amount.
The resource aggregation system 1410 may maintain a second data structure (e.g., a data table, a hash graph, etc.) included aggregation entries. Processing performed by the resource aggregation system 1410 and how the second data structure may be used are described above.
The resource aggregation system 1410, may transmit an aggregation entry to the inter-cloud data adapter 1412 (e.g., responsive to a request, at a certain time, when the second data structure includes a predefined number of entries, etc.). The inter-cloud data adapter 1412 may request one or more aggregation entries based on when the aggregation entries were added to the second data structure and/or a metering period they represent, a time since the inter-cloud data adapter 1412 last requested aggregation entries from the resource aggregation system 1410.
The inter-cloud data adapter 1412 may be capable of modifying data received from the resource aggregation system 1410 (e.g., end/or other data) into a format (e.g., usage data 1414) that can be used by the resource usage processing system and/or another system. The inter-cloud data adapter 1412 may be capable of modifying data received from the resource usage processing system or another system into a format that can be used by the resource aggregation system 1410 (e.g., and/or another system).
The inter-cloud data adapter 1412 may convert an account identifier for the first account of the first cloud environment (e.g., first cloud environment 1302) to a second account identifier for the second account of the second cloud environment (e.g., and vice versa). The account identifiers may be included in an account identifier mapping maintained by the first cloud environment and/or second cloud environment. The inter-cloud data adapter 1412 may use the mapping. The inter-cloud data adapter 1412 may load the mapping and/or refresh the mapping periodically to ensure the mapping is up to date.
The inter-cloud data adapter 1412 may be configured to convert computation types (e.g., usage, overage) into a secondary computation type identifier (e.g., a “dimension identifier”). The conversion may be performed based on a mapping between the computation types and secondary computation type identifiers stored by the first cloud environment and/or second cloud environment that is accessible by the inter-cloud data adapter 1412. The mappings may be adjusted based on the contract (e.g., described above), input from a cloud environment administrator, etc.
The inter-cloud data adapter 1412 may use an API for transmitting data to a resource usage processing system (e.g., resource usage processing system 1356). The API may enable the inter-cloud data adapter 1412 to transmit (e.g., push) usage data 1414 to the resource usage processing system. The usage data 1414 may include an entry included in the second data structure or include information represented by an aggregation entry included in the second data structure. The information may be formatted such that the resource usage processing system may process information represented by the aggregation entry.
Aggregating cost entries for a period of time before generating and transmitting the usage data 1414 can be useful to reduce certain response codes (e.g., duplicate indicator) from being received back from the resource usage processing system. Such response codes can lead to further processing being performed by the first cloud environment that could be reduced by embodiments that aggregate costs for a longer period of time. This is because some resource usage information 1402 may not be received by the plan management system 1352 for a period of time after a service is called due to processing delays.
The resource usage processing system may transmit a response to the inter-cloud data adapter 1412 after the usage data 1414 is received. In certain embodiments, the response may indicate an acceptance of the usage data 1414 (e.g., using a response code). Responsive to receiving the response indicating the acceptance of the usage data 1414 representing a set of resource usage information, the inter-cloud data adapter 1412 may cause the usage entries that were represented by the aggregation entry to be removed from the first data structure (e.g., by sending the response code to the resource usage tracking system 1404). Responsive to receiving the response indicating the acceptance of the usage data 1414 representing a set of resource usage information, the inter-cloud data adapter 1412 may cause the aggregation entry represented by the usage data 1414 to be removed from the second data structure (e.g., by sending a response code to the resource aggregation system 1410). By removing the entries from the data structures, the entries can be kept from being used again, which could cause further processing to be performed and duplicate usage data 1414 being sent to the resource usage processing system after the resource usage processing system has already received and/or processed an aggregation entry. By reducing duplication of data and processing, network, energy, memory, and processing resources can be reduced.
In certain embodiments, the response (e.g., response code) may indicate a rejection of the usage data 1414. For example, a rejection may be indicated when the usage data 1414 includes a metering period that has already been included in recorded usage data (e.g., an aggregation entry for a computation type, metering period, and account identifier has already been recorded by the resource usage processing system). The rejection may indicate that a duplicate metering period was received. Responsive to receiving the duplicate metering period rejection from the resource usage processing system the inter-cloud data adapter 1412 may indicate the rejection to the resource aggregation system 1410 and the resource aggregation system 1410 may adjust the metering period for the aggregation entry represented by the usage data 1414 and aggregate it with any other aggregation entry with a common account identifier, computation type, and metering period.
In certain embodiments, if a response has been received from the resource usage processing system that indicates a rejection of the usage data 1414 more than a set threshold number of times in a row without a successful response, a notification may be transmitted (e.g., by the inter-cloud data adapter 1412) to another system (e.g., a user device, a system included in the first cloud environment 1302, etc.). The set threshold number of times may be comparted with a rejection counter that is incremented when receiving a response from the resource usage processing system indicating a rejection and that resets the counter to zero when the resource usage processing system returns a message indicating a successful usage data recording.
The processing depicted in
At step 1, mappings may be loaded. The mappings may include an account identifier mapping, a SKU mapping, a computation type mapping, and/or other mappings. In order to record usage data (e.g., usage data 1414 described above) using the resource usage processing system 1356, the inter-cloud data adapter 1412 may convert a first account identifier associated with the first cloud environment to a corresponding second account identifier. The first account identifier and the second account identifier may identify a same user that is a user of each cloud environment. In order to record usage data using the resource usage processing system 1356, the inter-cloud data adapter 1412 may convert a SKU the first cloud environment is configured to use to a corresponding SKU the second cloud environment is configured to interpret. In order to record usage data using the resource usage processing system 1356, the inter-cloud data adapter 1412 may convert a computation type used by the first cloud environment to a secondary computation type used by the second cloud environment. The conversion(s) may enable the first cloud environment and the second cloud environment to “translate” data between the two environments. Such conversion may be useful because the cloud environments may be existing cloud environments and configured to used different data than one another. The mappings can enable the cloud environments to operate using data from the other in a predictable way.
In certain embodiments, a mapping of a first account identifier is mapped to a pair of a second account identifier and a resource identifier (e.g., SPM subscription ID}→{Azure Resource ID, Plan ID}. Mappings may be generated during an order activation flow and stored and replicated globally by the Multi-cloud Link service 1512 as a part of Multi-cloudLink data. The multi-cloud link service 1512 may perform operations similar to those described above with respect to the multi-cloud platform 1312. The inter-cloud data adapter 1412 may load a mapping from the multi-cloud link service 1502 on startup and may periodically refresh the mapping.
At step 2, the mapping from step 1 may be refreshed (e.g., using similar techniques as described with respect to step 1). The mappings may be refreshed periodically. Refreshing the mappings can help make sure the mappings are up to date so that communication between the inter-cloud data adapter 1412, resource aggregation system, and the resource usage processing system 1356 can occur with fewer or no issues compared to if mappings were not refreshed periodically and could become outdated.
At step 3, resource usage information (e.g., resource usage information 1402) may be received by the resource usage tracking system 1404. The resource usage information may be received from a resource provider (e.g., resource provider 1304). The resource usage information is described above in further detail. The resource usage tracking system 1404 may maintain a first data structure as described above to track usage entries for sending to a resource usage reporting generation system and/or the resource aggregation system 1410.
At step 4, the resource usage tracking system 1404 may transmit tracked usage information to the resource aggregation system 1410. The tracked usage information may include usage entries from the first data structure. The tracked usage information may be inserted into a second data structure maintained by the resource aggregation system 1410. The inserted tracked usage information may be combined (e.g., added to) an existing aggregation entry of the second data structure or be included in a new aggregation entry (e.g., that other tracked usage information can be added to).
At step 5, aggregated usage data may be transmitted to the inter-cloud data adapter by the resource aggregation system. The aggregated usage data may include one or more aggregation entries. The aggregated usage data may be transmitted to the inter-cloud data adapter 1412 responsive to a request from the inter-cloud data adapter 1412. The inter-cloud data adapter 1412 may format the received aggregated usage data into a format (e.g., usage data 1414) that the resource usage processing system 1356 is configured to process. Formatting the aggregated usage data into usage data may be performed based on the mappings loaded in steps 1 and 2, and/or based on other rules for generating usage data.
At step 6, the inter-cloud data adapter 1412 may generate and transmit a request for a token. The token request may be transmitted to the resource usage processing system 1356. The token may be used to successfully transmit usage data from the inter-cloud data adapter 1412 to the resource usage processing system 1356. In certain embodiments, if a token is not included or the token is expired, outdated, and/or incorrect, the usage data will not be recorded by the resource usage processing system 1356 and a response may be received from the resource usage processing system 1356 that indicates a failed recording (e.g., usage data not recorded by the resource usage processing system 1356). In certain embodiments, the token request may include a client identifier and/or a client secret. The client secret may be obtained using the client identifier and may be stored as a key (e.g., a private key). The client identifier may identify a client (e.g., a user account). The token request may be transmitted to a secret service (e.g., secret service version 2 (SSV2)).
At step 7, a token may be transmitted from the resource usage processing system 1356 to the inter-cloud data adapter 1412 (e.g., responsive to the token request transmitted in step 6).
At step 8, the second account identifier for the second cloud service provider may replace the first user identifier included in the aggregated data (e.g., replace the first account identifier included in an aggregation entry to the second account identifier). The second account identifier may replace the first account identifier so that when the resource usage processing system 1356 receives usage data including information representing the aggregate usage data, the resource usage processing system 1356 can associate the usage data with the second account identifier. As mentioned above, the first account identifier may identify an account of a user of the first cloud environment while the second account identifier may identify an account of the user of the second cloud environment. The second account identifier may be obtained from the token (e.g., the token may be a tokenized account identifier) and/or the mappings loaded by the inter-cloud data adapter 1412.
At step 9, the inter-cloud data adapter 1412 may transmit the usage data to the resource usage processing system 1356 (e.g., using an API). The usage data may be generated by the inter-cloud data adapter 1412 using the aggregated usage data. The usage data may be formatted for processing by the resource usage processing system 1356 and may include different formatting that then aggregated usage data. The usage data may represent one or more pieces of information that are represented by the aggregated usage data even though the usage data may be formatted differently from the aggregated usage data. The usage data may include the second account identifier, an indication of the computation type (e.g., the secondary computation type identifier), an aggregated cost, a metering period, and/or a list of usage identifiers.
At step 10, the resource usage processing system 1356 may receive the usage data and determine (e.g., based on the metering period, the account identifier, and/or the secondary computation type identifier whether to record (e.g., accept) the usage data or reject the usage data.
In certain embodiments, when the usage data is accepted by the resource usage processing system 1356, the resource usage processing system 1356 may transmit a response to the inter-cloud data adapter that indicates the acceptance. The indication may be included in a response code. The response code may be interpretable by the inter-cloud data adapter 1412. In certain embodiments, the response code indicated that the usage data was not accepted (e.g., that the usage data was rejected). Such embodiments are described in further detail with respect to
At step 11, a usage data response may be transmitted from the inter-cloud data adapter 1412 to the resource aggregation system 1410. The usage data response may include the indication that the inter-cloud data adapter 1412 received from the resource usage processing system 1356 or a second indicator that indicates the same indication (e.g., success, rejection, etc.). In certain embodiments, when the response codes indicated the acceptance of the usage data, the aggregation entry included in the second data structure may be removed (e.g., since they have been recorded by the resource usage processing system 1356). The usage entries included in the first data structure that are represented by the aggregation entry may be removed from the first data structure (e.g., since they have been recorded by the resource usage processing system 1356).
Steps 1-11 may be performed like steps 1-11 included in flow 1500. In the illustrated embodiments, the usage data response transmitted in steps 10 and 11 may indicate that the usage data was not recorded by the resource usage processing system 1356. The usage data may not have been recorded because it was determined to be a duplicate (e.g., usage data for the metering period for the user account was already accepted by the resource usage processing system 1356), the token was expired, an unknown error occurred, a resource identifier is not valid (e.g., multi-cloud link service 1512 is storing a resource identifier value that is incorrect (e.g., out of date)), the second account identifier is not valid, and/or an aggregated cost is negative. In certain embodiments, the usage data response may cause (e.g., after step 10), step 1, 2, and/or 6 to be performed (e.g., performed again).
At step 12, based on the usage data response, an aggregation entry may be modified and/or removed. In certain embodiments, when the usage data response indicated a duplicate usage data was received by the resource usage processing system 1356, an aggregation entry included in the usage data may be combined with another aggregation entry (e.g., an aggregation entry for the next metering period), if the other aggregation entry already exists in the second data structure. If such another entry does not exist in the second data structure, the aggregation entry may have the metering period changed (e.g., to a next metering period in an order of metering periods, a metering period that represents a current time).
In certain embodiments, when the usage data response indicates a rejection of the usage data, a retry counter may be incremented before the usage data or different usage data (e.g., the usage data with a different metering period) is transmitted to the inter-cloud data adapter 1412 for sending to the resource usage processing system 1356. If a retry counter is incremented past a predefined threshold a notification may be transmitted to a system or a user device. The retry counter may be reset (e.g., to zero) after a usage data response indicates a successful recording to the resource usage processing system 1356.
In certain embodiments, when the usage data response indicates a rejection of the usage data, steps 1, 2, and/or 6 may be performed. The steps may be performed because the usage data response indicates that a mapping may be out of date, an incorrect second account identifier was used, an incorrect token was used, and/or an incorrect secondary computation type identifier was used, etc.
In certain embodiments, if no usage data response is received within a predefined time period, the usage data may be transmitted again and the retry counter may be incremented.
At steps 13-16 may be performed in a similar manner to steps 5, 9, 10, and 11, respectively.
At step 1702, a first computing resource of a first cloud service provider (e.g., the first cloud service provider of the first cloud environment 1302) may provide a first service to a user having a first user account associated with a second cloud service provider (e.g., the second cloud service provider of the second cloud environment 1318). The first service may be provided via a first private network of the user with the second cloud service provider. The first service may be provider such that the first user account can use the first service offered by the first cloud service provider.
At step 1704, data (e.g., resource usage information 1402 or data used to obtain the resource usage information 1402) may be transmitted between a second private network communicatively coupled with the first private network. The second private network may be associated with a second user account of the user with the first cloud service provider.
At step 1706, a second computing resource (e.g., plan management system 1352) of the first cloud service provider may collect usage data (e.g., usage data 1414) associated with the first private network and/or the second private network. The usage data may be collected to that the first cloud service provider can determine utilization of resources associated with the second user account and/or first user account. The usage data may be transmitted to the second cloud provider. The usage data may indicate a cost amount (e.g., aggregated cost amount) for resources of the first cloud service provider used (e.g., used by the second user account). The usage data may include an aggregation of resource use associated with a predefine period of time (e.g., a metering period). The resource use represent resources used by the second user account.
At step 1708, the second computing resource of the first cloud service provider may transmit the usage data to a second service (e.g., resource usage processing system 1356) of the second cloud service provider. The usage data may be transmitted to the second cloud service provider so that the cloud service provider can determine resources of the first cloud service provider that were used, how many resources were used, what the resources were used for, when the resources were used, and/or costs associated with the resource use. The first cloud service provider may use the information to present information in a portal, transfer funds to the first cloud service provider, and/or request funds from a user device or account (e.g., bank account) associate with the first user account.
In certain embodiments, the usage data indicated how many resources were utilized, how many resources were utilized in excess of a resource allocation, a cost amount associated with the resource allocation, a cost amount associated with the resource utilization below an overage threshold, and/or a cost amount associated with the resource utilization above the overage threshold.
The cost amount(s) may be generated based on one or mote rates. The rates may be predefined (e.g., configured by a user associated with a user identifier, configured by an administrator of the second cloud service provider). Different rates may be used to calculate a cost amount. For example, a first rate may be used to determine a first cost amount representing a cost of resources below a threshold (e.g., a resource allocation) and a second rate may be used to determine a second cost amount representing a second cost of resources above the threshold.
The usage data may include the first account identifier associated with the user and used by the second cloud service provider. The first account identifier may be mapped to a second account identifier used by the first cloud service provider. The first or second account identifier can be used to obtain the second or first account identifier, respectively. For example, the first cloud service provider may use the second account identifier to obtain the first account identifier and the second cloud service provider may use the first account identifier to obtain the second account identifier. Similarly, other information used by the first cloud provider and the second cloud provider may be mapped such that information used by the first cloud provider can be used to obtain information used by the second cloud provider. The mappings may be useful for obtaining data that represents data from one of the cloud service providers that can be used by the other cloud service provider during processing.
In certain embodiments, the second computing resource may transmit a request for an access token identifying the user (e.g., a second user account) of the first cloud service provider to the second cloud service provider. The second computing resource may receive the access token from the second cloud service provider. The second computing resource may transmit the access token to the second cloud service provider and indicate an association with the access token. For example, the access token may be included in the usage data. In an example the access token may indicate permission to record data and cause the second service to record the usage data. In an example, the access token may represent the first account identifier.
In certain embodiments, the second computing resource may receive a response code from the second service of the second cloud service provider. The response code may indicate a successful recording of the usage data. The response code may indicate a rejection of the usage data (e.g., the usage data has already been received, an error occurred, etc.). The usage data may be adjusted (e.g., adjusting a metering period, aggregating the usage data with other usage data) based on the response code. A counter may be incremented or reset based on the response code. In certain embodiments, if the counter is incremented above a predefined value, a notification may be transmitted (e.g., within the first cloud environment, to the second cloud environment, to a user device, etc.).
Embodiments described with respect to at least
Embodiments can enable resources utilization to be tracked. The resource utilization may be tracked on a per cloud environment basis, a per account identifier basis, and/or a per service basis. The fine grain tracking can enable services from one cloud service provider to be accessed and accounted for by another cloud service provider while the cloud service providers may have little insight into the configuration of the other cloud service provider thereby increasing confidentiality and integrity of data within the cloud environments.
As noted above, IaaS is one particular type of cloud computing. IaaS can be configured to provide virtualized computing resources over a public network (e.g., the Internet). In an IaaS model, a cloud computing provider can host the infrastructure components (e.g., servers, storage devices, network nodes (e.g., hardware), deployment software, platform virtualization (e.g., a hypervisor layer), or the like). In some cases, an IaaS provider may also supply a variety of services to accompany those infrastructure components (example services include billing software, monitoring software, logging software, load balancing software, clustering software, etc.). Thus, as these services may be policy-driven, IaaS users may be able to implement policies to drive load balancing to maintain application availability and performance.
In some instances, IaaS customers may access resources and services through a wide area network (WAN), such as the Internet, and can use the cloud provider's services to install the remaining elements of an application stack. For example, the user can log in to the IaaS platform to create virtual machines (VMs), install operating systems (OSs) on each VM, deploy middleware such as databases, create storage buckets for workloads and backups, and even install enterprise software into that VM. Customers can then use the provider's services to perform various functions, including balancing network traffic, troubleshooting application issues, monitoring performance, managing disaster recovery, etc.
In most cases, a cloud computing model will require the participation of a cloud provider. The cloud provider may, but need not be, a third-party service that specializes in providing (e.g., offering, renting, selling) IaaS. An entity might also opt to deploy a private cloud, becoming its own provider of infrastructure services.
In some examples, IaaS deployment is the process of putting a new application, or a new version of an application, onto a prepared application server or the like. It may also include the process of preparing the server (e.g., installing libraries, daemons, etc.). This is often managed by the cloud provider, below the hypervisor layer (e.g., the servers, storage, network hardware, and virtualization). Thus, the customer may be responsible for handling (OS), middleware, and/or application deployment (e.g., on self-service virtual machines (e.g., that can be spun up on demand) or the like.
In some examples, IaaS provisioning may refer to acquiring computers or virtual hosts for use, and even installing needed libraries or services on them. In most cases, deployment does not include provisioning, and the provisioning may need to be performed first.
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, there is the challenge of evolving the existing infrastructure (e.g., adding new services, changing services, removing services, etc.) once everything has been provisioned. In some cases, these two challenges may be addressed by enabling the configuration of the infrastructure to be defined declaratively. In other words, the infrastructure (e.g., what components are needed and how they interact) can be defined by one or more configuration files. Thus, the overall topology of the infrastructure (e.g., what resources depend on which, and how they each work together) can be described declaratively. In some instances, once the topology is defined, a workflow can be generated that creates and/or manages the different components described in the configuration files.
In some examples, an infrastructure may have many interconnected elements. For example, there may be one or more virtual private clouds (VPCs) (e.g., a potentially on-demand pool of configurable and/or shared computing resources), also known as a core network. In some examples, there may also be one or more inbound/outbound traffic group rules provisioned to define how the inbound and/or outbound traffic of the network will be set up and one or more virtual machines (VMs). Other infrastructure elements may also be provisioned, such as a load balancer, a database, or the like. As more and more infrastructure elements are desired and/or added, the infrastructure may incrementally evolve.
In some instances, continuous deployment techniques may be employed to enable deployment of infrastructure code across various virtual computing environments. Additionally, the described techniques can enable infrastructure management within these environments. In some examples, service teams can write code that is desired to be deployed to one or more, but often many, different production environments (e.g., across various different geographic locations, sometimes spanning the entire world). However, in some examples, the infrastructure on which the code will be deployed must first be set up. In some instances, the provisioning can be done manually, a provisioning tool may be utilized to provision the resources, and/or deployment tools may be utilized to deploy the code once the infrastructure is provisioned.
The VCN 1806 can include a local peering gateway (LPG) 1810 that can be communicatively coupled to a secure shell (SSH) VCN 1812 via an LPG 1810 contained in the SSH VCN 1812. The SSH VCN 1812 can include an SSH subnet 1814, and the SSH VCN 1812 can be communicatively coupled to a control plane VCN 1816 via the LPG 1810 contained in the control plane VCN 1816. Also, the SSH VCN 1812 can be communicatively coupled to a data plane VCN 1818 via an LPG 1810. The control plane VCN 1816 and the data plane VCN 1818 can be contained in a service tenancy 1819 that can be owned and/or operated by the IaaS provider.
The control plane VCN 1816 can include a control plane demilitarized zone (DMZ) tier 1820 that acts as a perimeter network (e.g., portions of a corporate network between the corporate intranet and external networks). The DMZ-based servers may have restricted responsibilities and help keep breaches contained. Additionally, the DMZ tier 1820 can include one or more load balancer (LB) subnet(s) 1822, a control plane app tier 1824 that can include app subnet(s) 1826, a control plane data tier 1828 that can include database (DB) subnet(s) 1830 (e.g., frontend DB subnet(s) and/or backend DB subnet(s)). The LB subnet(s) 1822 contained in the control plane DMZ tier 1820 can be communicatively coupled to the app subnet(s) 1826 contained in the control plane app tier 1824 and an Internet gateway 1834 that can be contained in the control plane VCN 1816, and the app subnet(s) 1826 can be communicatively coupled to the DB subnet(s) 1830 contained in the control plane data tier 1828 and a service gateway 1836 and a network address translation (NAT) gateway 1838. The control plane VCN 1816 can include the service gateway 1836 and the NAT gateway 1838.
The control plane VCN 1816 can include a data plane mirror app tier 1840 that can include app subnet(s) 1826. The app subnet(s) 1826 contained in the data plane mirror app tier 1840 can include a virtual network interface controller (VNIC) 1842 that can execute a compute instance 1844. The compute instance 1844 can communicatively couple the app subnet(s) 1826 of the data plane mirror app tier 1840 to app subnet(s) 1826 that can be contained in a data plane app tier 1846.
The data plane VCN 1818 can include the data plane app tier 1846, a data plane DMZ tier 1848, and a data plane data tier 1850. The data plane DMZ tier 1848 can include LB subnet(s) 1822 that can be communicatively coupled to the app subnet(s) 1826 of the data plane app tier 1846 and the Internet gateway 1834 of the data plane VCN 1818. The app subnet(s) 1826 can be communicatively coupled to the service gateway 1836 of the data plane VCN 1818 and the NAT gateway 1838 of the data plane VCN 1818. The data plane data tier 1850 can also include the DB subnet(s) 1830 that can be communicatively coupled to the app subnet(s) 1826 of the data plane app tier 1846.
The Internet gateway 1834 of the control plane VCN 1816 and of the data plane VCN 1818 can be communicatively coupled to a metadata management service 1852 that can be communicatively coupled to public Internet 1854. Public Internet 1854 can be communicatively coupled to the NAT gateway 1838 of the control plane VCN 1816 and of the data plane VCN 1818. The service gateway 1836 of the control plane VCN 1816 and of the data plane VCN 1818 can be communicatively coupled to cloud services 1856.
In some examples, the service gateway 1836 of the control plane VCN 1816 or of the data plane VCN 1818 can make application programming interface (API) calls to cloud services 1856 without going through public Internet 1854. The API calls to cloud services 1856 from the service gateway 1836 can be one-way: the service gateway 1836 can make API calls to cloud services 1856, and cloud services 1856 can send requested data to the service gateway 1836. But, cloud services 1856 may not initiate API calls to the service gateway 1836.
In some examples, the secure host tenancy 1804 can be directly connected to the service tenancy 1819, which may be otherwise isolated. The secure host subnet 1808 can communicate with the SSH subnet 1814 through an LPG 1810 that may enable two-way communication over an otherwise isolated system. Connecting the secure host subnet 1808 to the SSH subnet 1814 may give the secure host subnet 1808 access to other entities within the service tenancy 1819.
The control plane VCN 1816 may allow users of the service tenancy 1819 to set up or otherwise provision desired resources. Desired resources provisioned in the control plane VCN 1816 may be deployed or otherwise used in the data plane VCN 1818. In some examples, the control plane VCN 1816 can be isolated from the data plane VCN 1818, and the data plane mirror app tier 1840 of the control plane VCN 1816 can communicate with the data plane app tier 1846 of the data plane VCN 1818 via VNICs 1842 that can be contained in the data plane mirror app tier 1840 and the data plane app tier 1846.
In some examples, users of the system, or customers, can make requests, for example create, read, update, or delete (CRUD) operations, through public Internet 1854 that can communicate the requests to the metadata management service 1852. The metadata management service 1852 can communicate the request to the control plane VCN 1816 through the Internet gateway 1834. The request can be received by the LB subnet(s) 1822 contained in the control plane DMZ tier 1820. The LB subnet(s) 1822 may determine that the request is valid, and in response to this determination, the LB subnet(s) 1822 can transmit the request to app subnet(s) 1826 contained in the control plane app tier 1824. If the request is validated and requires a call to public Internet 1854, the call to public Internet 1854 may be transmitted to the NAT gateway 1838 that can make the call to public Internet 1854. Metadata that may be desired to be stored by the request can be stored in the DB subnet(s) 1830.
In some examples, the data plane mirror app tier 1840 can facilitate direct communication between the control plane VCN 1816 and the data plane VCN 1818. For example, changes, updates, or other suitable modifications to configuration may be desired to be applied to the resources contained in the data plane VCN 1818. Via a VNIC 1842, the control plane VCN 1816 can directly communicate with, and can thereby execute the changes, updates, or other suitable modifications to configuration to, resources contained in the data plane VCN 1818.
In some embodiments, the control plane VCN 1816 and the data plane VCN 1818 can be contained in the service tenancy 1819. In this case, the user, or the customer, of the system may not own or operate either the control plane VCN 1816 or the data plane VCN 1818. Instead, the IaaS provider may own or operate the control plane VCN 1816 and the data plane VCN 1818, both of which may be contained in the service tenancy 1819. This embodiment can enable isolation of networks that may prevent users or customers from interacting with other users,' or other customers,' resources. Also, this embodiment may allow users or customers of the system to store databases privately without needing to rely on public Internet 1854, which may not have a desired level of threat prevention, for storage.
In other embodiments, the LB subnet(s) 1822 contained in the control plane VCN 1816 can be configured to receive a signal from the service gateway 1836. In this embodiment, the control plane VCN 1816 and the data plane VCN 1818 may be configured to be called by a customer of the IaaS provider without calling public Internet 1854. Customers of the IaaS provider may desire this embodiment since database(s) that the customers use may be controlled by the IaaS provider and may be stored on the service tenancy 1819, which may be isolated from public Internet 1854.
The control plane VCN 1916 can include a control plane DMZ tier 1920 (e.g., the control plane DMZ tier 1820 of
The control plane VCN 1916 can include a data plane mirror app tier 1940 (e.g., the data plane mirror app tier 1840 of
The Internet gateway 1934 contained in the control plane VCN 1916 can be communicatively coupled to a metadata management service 1952 (e.g., the metadata management service 1852 of
In some examples, the data plane VCN 1918 can be contained in the customer tenancy 1921. In this case, the IaaS provider may provide the control plane VCN 1916 for each customer, and the IaaS provider may, for each customer, set up a unique compute instance 1944 that is contained in the service tenancy 1919. Each compute instance 1944 may allow communication between the control plane VCN 1916, contained in the service tenancy 1919, and the data plane VCN 1918 that is contained in the customer tenancy 1921. The compute instance 1944 may allow resources, that are provisioned in the control plane VCN 1916 that is contained in the service tenancy 1919, to be deployed or otherwise used in the data plane VCN 1918 that is contained in the customer tenancy 1921.
In other examples, the customer of the IaaS provider may have databases that live in the customer tenancy 1921. In this example, the control plane VCN 1916 can include the data plane mirror app tier 1940 that can include app subnet(s) 1926. The data plane mirror app tier 1940 can reside in the data plane VCN 1918, but the data plane mirror app tier 1940 may not live in the data plane VCN 1918. That is, the data plane mirror app tier 1940 may have access to the customer tenancy 1921, but the data plane mirror app tier 1940 may not exist in the data plane VCN 1918 or be owned or operated by the customer of the IaaS provider. The data plane mirror app tier 1940 may be configured to make calls to the data plane VCN 1918 but may not be configured to make calls to any entity contained in the control plane VCN 1916. The customer may desire to deploy or otherwise use resources in the data plane VCN 1918 that are provisioned in the control plane VCN 1916, and the data plane mirror app tier 1940 can facilitate the desired deployment, or other usage of resources, of the customer.
In some embodiments, the customer of the IaaS provider can apply filters to the data plane VCN 1918. In this embodiment, the customer can determine what the data plane VCN 1918 can access, and the customer may restrict access to public Internet 1954 from the data plane VCN 1918. The IaaS provider may not be able to apply filters or otherwise control access of the data plane VCN 1918 to any outside networks or databases. Applying filters and controls by the customer onto the data plane VCN 1918, contained in the customer tenancy 1921, can help isolate the data plane VCN 1918 from other customers and from public Internet 1954.
In some embodiments, cloud services 1956 can be called by the service gateway 1936 to access services that may not exist on public Internet 1954, on the control plane VCN 1916, or on the data plane VCN 1918. The connection between cloud services 1956 and the control plane VCN 1916 or the data plane VCN 1918 may not be live or continuous. Cloud services 1956 may exist on a different network owned or operated by the IaaS provider. Cloud services 1956 may be configured to receive calls from the service gateway 1936 and may be configured to not receive calls from public Internet 1954. Some cloud services 1956 may be isolated from other cloud services 1956, and the control plane VCN 1916 may be isolated from cloud services 1956 that may not be in the same region as the control plane VCN 1916. For example, the control plane VCN 1916 may be located in “Region 1,” and cloud service “Deployment 19,” may be located in Region 1 and in “Region 2.” If a call to Deployment 19 is made by the service gateway 1936 contained in the control plane VCN 1916 located in Region 1, the call may be transmitted to Deployment 19 in Region 1. In this example, the control plane VCN 1916, or Deployment 19 in Region 1, may not be communicatively coupled to, or otherwise in communication with, Deployment 19 in Region 2.
The control plane VCN 2016 can include a control plane DMZ tier 2020 (e.g., the control plane DMZ tier 1820 of
The data plane VCN 2018 can include a data plane app tier 2046 (e.g., the data plane app tier 1846 of
The untrusted app subnet(s) 2062 can include one or more primary VNICs 2064(1)-(N) that can be communicatively coupled to tenant virtual machines (VMs) 2066(1)-(N). Each tenant VM 2066(1)-(N) can be communicatively coupled to a respective app subnet 2067(1)-(N) that can be contained in respective container egress VCNs 2068(1)-(N) that can be contained in respective customer tenancies 2070(1)-(N). Respective secondary VNICs 2072(1)-(N) can facilitate communication between the untrusted app subnet(s) 2062 contained in the data plane VCN 2018 and the app subnet contained in the container egress VCNs 2068(1)-(N). Each container egress VCNs 2068(1)-(N) can include a NAT gateway 2038 that can be communicatively coupled to public Internet 2054 (e.g., public Internet 1854 of
The Internet gateway 2034 contained in the control plane VCN 2016 and contained in the data plane VCN 2018 can be communicatively coupled to a metadata management service 2052 (e.g., the metadata management system 1852 of
In some embodiments, the data plane VCN 2018 can be integrated with customer tenancies 2070. This integration can be useful or desirable for customers of the IaaS provider in some cases such as a case that may desire support when executing code. The 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.
In some examples, the customer of the IaaS provider may grant temporary network access to the IaaS provider and request a function to be attached to the data plane app tier 2046. Code to run the function may be executed in the VMs 2066(1)-(N), and the code may not be configured to run anywhere else on the data plane VCN 2018. Each VM 2066(1)-(N) may be connected to one customer tenancy 2070. Respective containers 2071(1)-(N) contained in the VMs 2066(1)-(N) may be configured to run the code. In this case, there can be a dual isolation (e.g., the containers 2071(1)-(N) running code, where the containers 2071(1)-(N) may be contained in at least the VM 2066(1)-(N) that are contained in the untrusted app subnet(s) 2062), which may help prevent incorrect or otherwise undesirable code from damaging the network of the IaaS provider or from damaging a network of a different customer. The containers 2071(1)-(N) may be communicatively coupled to the customer tenancy 2070 and may be configured to transmit or receive data from the customer tenancy 2070. The containers 2071(1)-(N) may not be configured to transmit or receive data from any other entity in the data plane VCN 2018. Upon completion of running the code, the IaaS provider may kill or otherwise dispose of the containers 2071(1)-(N).
In some embodiments, the trusted app subnet(s) 2060 may run code that may be owned or operated by the IaaS provider. In this embodiment, the trusted app subnet(s) 2060 may be communicatively coupled to the DB subnet(s) 2030 and be configured to execute CRUD operations in the DB subnet(s) 2030. The untrusted app subnet(s) 2062 may be communicatively coupled to the DB subnet(s) 2030, but in this embodiment, the untrusted app subnet(s) may be configured to execute read operations in the DB subnet(s) 2030. The containers 2071(1)-(N) that can be contained in the VM 2066(1)-(N) of each customer and that may run code from the customer may not be communicatively coupled with the DB subnet(s) 2030.
In other embodiments, the control plane VCN 2016 and the data plane VCN 2018 may not be directly communicatively coupled. In this embodiment, there may be no direct communication between the control plane VCN 2016 and the data plane VCN 2018. However, communication can occur indirectly through at least one method. An LPG 2010 may be established by the IaaS provider that can facilitate communication between the control plane VCN 2016 and the data plane VCN 2018. In another example, the control plane VCN 2016 or the data plane VCN 2018 can make a call to cloud services 2056 via the service gateway 2036. For example, a call to cloud services 2056 from the control plane VCN 2016 can include a request for a service that can communicate with the data plane VCN 2018.
The control plane VCN 2116 can include a control plane DMZ tier 2120 (e.g., the control plane DMZ tier 1820 of
The data plane VCN 2118 can include a data plane app tier 2146 (e.g., the data plane app tier 1946 of
The untrusted app subnet(s) 2162 can include primary VNICs 2164(1)-(N) that can be communicatively coupled to tenant virtual machines (VMs) 2166(1)-(N) residing within the untrusted app subnet(s) 2162. Each tenant VM 2166(1)-(N) can run code in a respective container 2167(1)-(N), and be communicatively coupled to an app subnet 2126 that can be contained in a data plane app tier 2146 that can be contained in a container egress VCN 2168. Respective secondary VNICs 2172(1)-(N) can facilitate communication between the untrusted app subnet(s) 2162 contained in the data plane VCN 2118 and the app subnet contained in the container egress VCN 2168. The container egress VCN can include a NAT gateway 2138 that can be communicatively coupled to public Internet 2154 (e.g., public Internet 1954 of
The Internet gateway 2134 contained in the control plane VCN 2116 and contained in the data plane VCN 2118 can be communicatively coupled to a metadata management service 2152 (e.g., the metadata management system 1852 of
In some examples, the pattern illustrated by the architecture of block diagram 2100 of
In other examples, the customer can use the containers 2167(1)-(N) to call cloud services 2156. In this example, the customer may run code in the containers 2167(1)-(N) that requests a service from cloud services 2156. The containers 2167(1)-(N) can transmit this request to the secondary VNICs 2172(1)-(N) that can transmit the request to the NAT gateway that can transmit the request to public Internet 2154. Public Internet 2154 can transmit the request to LB subnet(s) 2122 contained in the control plane VCN 2116 via the Internet gateway 2134. In response to determining the request is valid, the LB subnet(s) can transmit the request to app subnet(s) 2126 that can transmit the request to cloud services 2156 via the service gateway 2136.
It should be appreciated that IaaS architectures 1800, 1900, 2000, 2100 depicted in the figures may have other components than those depicted. Further, the embodiments shown in the figures are only some examples of a cloud infrastructure system that may incorporate an embodiment of the disclosure. In some other embodiments, the IaaS systems may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration or arrangement of components.
In certain embodiments, the IaaS systems described herein may include a suite of applications, middleware, and database service offerings that are delivered to a customer in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. An example of such an IaaS system is the Oracle Cloud Infrastructure (OCI) provided by the present assignee.
Bus subsystem 2202 provides a mechanism for letting the various components and subsystems of computer system 2200 communicate with each other as intended. Although bus subsystem 2202 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 2202 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include an Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, which can be implemented as a Mezzanine bus manufactured to the IEEE P1386.1 standard.
Processing unit 2204, which can be implemented as one or more integrated circuits (e.g., a conventional microprocessor or microcontroller), controls the operation of computer system 2200. One or more processors may be included in processing unit 2204. These processors may include single core or multicore processors. In certain embodiments, processing unit 2204 may be implemented as one or more independent processing units 2232 and/or 2234 with single or multicore processors included in each processing unit. In other embodiments, processing unit 2204 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.
In various embodiments, processing unit 2204 can execute a variety of programs in response to program code and can maintain multiple concurrently executing programs or processes. At any given time, some or all of the program code to be executed can be resident in processor(s) 2204 and/or in storage subsystem 2218. Through suitable programming, processor(s) 2204 can provide various functionalities described above. Computer system 2200 may additionally include a processing acceleration unit 2206, which can include a digital signal processor (DSP), a special-purpose processor, and/or the like.
I/O subsystem 2208 may include user interface input devices and user interface output devices. User interface input devices may include a keyboard, pointing devices such as a mouse or trackball, a touchpad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may include, for example, motion sensing and/or gesture recognition devices such as the Microsoft Kinect® motion sensor that enables users to control and interact with an input device, such as the Microsoft Xbox® 360 game controller, through a natural user interface using gestures and spoken commands. User interface input devices may also include eye gesture recognition devices such as the Google Glass® blink detector that detects eye activity (e.g., ‘blinking’ while taking pictures and/or making a menu selection) from users and transforms the eye gestures as input into an input device (e.g., Google Glass®). Additionally, user interface input devices may include voice recognition sensing devices that enable users to interact with voice recognition systems (e.g., Siri® navigator), through voice commands.
User interface input devices may also include, without limitation, three dimensional (3D) mice, joysticks or pointing sticks, gamepads and graphic tablets, and audio/visual devices such as speakers, digital cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode reader 3D scanners, 3D printers, laser rangefinders, and eye gaze tracking devices. Additionally, user interface input devices may include, for example, medical imaging input devices such as computed tomography, magnetic resonance imaging, position emission tomography, medical ultrasonography devices. User interface input devices may also include, for example, audio input devices such as MIDI keyboards, digital musical instruments, and the like.
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 that using a liquid crystal display (LCD) or plasma display, a projection device, a touch screen, and the like. In general, use of the term “output device” is intended to include all possible types of devices and mechanisms for outputting information from computer system 2200 to a user or other computer. For example, user interface output devices may include, without limitation, a variety of display devices that visually convey text, graphics, and audio/video information such as monitors, printers, speakers, headphones, automotive navigation systems, plotters, voice output devices, and modems.
Computer system 2200 may comprise a storage subsystem 2218 that provides a tangible non-transitory computer-readable storage medium for storing software and data constructs that provide the functionality of the embodiments described in this disclosure. The software can include programs, code modules, instructions, scripts, etc., that when executed by one or more cores or processors of processing unit 2204 provide the functionality described above. Storage subsystem 2218 may also provide a repository for storing data used in accordance with the present disclosure.
As depicted in the example in
System memory 2210 may also store an operating system 2216. Examples of operating system 2216 may include various versions of Microsoft Windows®, Apple Macintosh®, and/or Linux operating systems, a variety of commercially-available UNIX® or UNIX-like operating systems (including without limitation the variety of GNU/Linux operating systems, the Google Chrome® OS, and the like) and/or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® OS, and Palm® OS operating systems. In certain implementations where computer system 2200 executes one or more virtual machines, the virtual machines along with their guest operating systems (GOSs) may be loaded into system memory 2210 and executed by one or more processors or cores of processing unit 2204.
System memory 2210 can come in different configurations depending upon the type of computer system 2200. For example, system memory 2210 may be volatile memory (such as random access memory (RAM)) and/or non-volatile memory (such as read-only memory (ROM), flash memory, etc.) Different types of RAM configurations may be provided including a static random access memory (SRAM), a dynamic random access memory (DRAM), and others. In some implementations, system memory 2210 may include a basic input/output system (BIOS) containing basic routines that help to transfer information between elements within computer system 2200, such as during start-up.
Computer-readable storage media 2222 may represent remote, local, fixed, and/or removable storage devices plus storage media for temporarily and/or more permanently containing, storing, computer-readable information for use by computer system 2200 including instructions executable by processing unit 2204 of computer system 2200.
Computer-readable storage media 2222 can include any appropriate 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 can include tangible computer-readable storage media such as RAM, ROM, electronically erasable programmable ROM (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other tangible computer readable media.
By way of example, computer-readable storage media 2222 may include a hard disk drive that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive that reads from or writes to a removable, nonvolatile magnetic disk, and an optical disk drive that reads from or writes to a removable, nonvolatile optical disk such as a CD ROM, DVD, and Blu-Ray® disk, or other optical media. Computer-readable storage media 2222 may include, but is not limited to, Zip® drives, flash memory cards, universal serial bus (USB) flash drives, secure digital (SD) cards, DVD disks, digital video tape, and the like. Computer-readable storage media 2222 may also include, solid-state drives (SSD) based on non-volatile memory such as flash-memory based SSDs, enterprise flash drives, solid state ROM, and the like, SSDs based on volatile memory such as solid state RAM, dynamic RAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs that use a combination of DRAM and flash memory based SSDs. The disk drives and their associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for computer system 2200.
Machine-readable instructions executable by one or more processors or cores of processing unit 2204 may be stored on a non-transitory computer-readable storage medium. A non-transitory computer-readable storage medium can include physically tangible memory or storage devices that include volatile memory storage devices and/or non-volatile storage devices. Examples of non-transitory computer-readable storage medium include magnetic storage media (e.g., disk or tapes), optical storage media (e.g., DVDs, CDs), various types of RAM, ROM, or flash memory, hard drives, floppy drives, detachable memory drives (e.g., USB drives), or other type of storage device.
Communications subsystem 2224 provides an interface to other computer systems and networks. Communications subsystem 2224 serves as an interface for receiving data from and transmitting data to other systems from computer system 2200. For example, communications subsystem 2224 may enable computer system 2200 to connect to one or more devices via the Internet. In some embodiments communications subsystem 2224 can include radio frequency (RF) transceiver components for accessing wireless voice and/or data networks (e.g., using cellular telephone technology, advanced data network technology, such as 3G, 4G or EDGE (enhanced data rates for global evolution), WiFi (IEEE 802.11 family standards, or other mobile communication technologies, or any combination thereof), global positioning system (GPS) receiver components, and/or other components. In some embodiments communications subsystem 2224 can provide wired network connectivity (e.g., Ethernet) in addition to or instead of a wireless interface.
In some embodiments, communications subsystem 2224 may also receive input communication in the form of structured and/or unstructured data feeds 2226, event streams 2228, event updates 2230, and the like on behalf of one or more users who may use computer system 2200.
By way of example, communications subsystem 2224 may be configured to receive data feeds 2226 in real-time from users of social networks and/or other communication services such as Twitter®feeds, Facebook® updates, web feeds such as Rich Site Summary (RSS) feeds, and/or real-time updates from one or more third party information sources.
Additionally, communications subsystem 2224 may also be configured to receive data in the form of continuous data streams, which may include event streams 2228 of real-time events and/or event updates 2230, that may be continuous or unbounded in nature with no explicit end. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measuring tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like.
Communications subsystem 2224 may also be configured to output the structured and/or unstructured data feeds 2226, event streams 2228, event updates 2230, and the like to one or more databases that may be in communication with one or more streaming data source computers coupled to computer system 2200.
Computer system 2200 can be one of various types, including a handheld portable device (e.g., an iPhone® cellular phone, an iPad® computing tablet, a PDA), a wearable device (e.g., a Google Glass® head mounted display), a PC, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.
Due to the ever-changing nature of computers and networks, the description of computer system 2200 depicted in the figure is intended only as a specific example. Many other configurations having more or fewer components than the system depicted in the figure are possible. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, firmware, software (including applets), or a combination. Further, connection to other computing devices, such as network input/output devices, may be employed. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments.
Although specific embodiments have been described, various modifications, alterations, alternative constructions, and equivalents are also encompassed within the scope of the disclosure. Embodiments are not restricted to operation within certain specific data processing environments, but are free to operate within a plurality of data processing environments. Additionally, although embodiments have been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that the scope of the present disclosure is not limited to the described series of transactions and steps. Various features and aspects of the above-described embodiments may be used individually or jointly.
Further, while embodiments have been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also within the scope of the present disclosure. Embodiments may be implemented only in hardware, or only in software, or using combinations thereof. The various processes described herein can be implemented on the same processor or different processors in any combination. Accordingly, where components or services are described as being configured to perform certain operations, such configuration can be accomplished, e.g., by designing electronic circuits to perform the operation, by programming programmable electronic circuits (such as microprocessors) to perform the operation, or any combination thereof. Processes can 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.
The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope as set forth in the claims. Thus, although specific disclosure embodiments have been described, these are not intended to be limiting. Various modifications and equivalents are within the scope of the following claims.
The use of the terms “a” and “an” and “the” and similar referents in the context of describing the disclosed embodiments (especially in the context of the following claims) are to be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms “comprising,” “having,” “including,” and “containing” are to be construed as open-ended terms (i.e., meaning “including, but not limited to,”) unless otherwise noted. The term “connected” is to be construed as partly or wholly contained within, attached to, or joined together, even if there is something intervening. Recitation of ranges of values herein are merely intended to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein and each separate value is incorporated into the specification as if it were individually recited herein. All methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The use of any and all examples, or exemplary language (e.g., “such as”) provided herein, is intended merely to better illuminate embodiments and does not pose a limitation on the scope of the disclosure unless otherwise claimed. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the disclosure.
Disjunctive language such as the phrase “at least one of X, Y, or Z,” unless specifically stated otherwise, is intended to be understood within the context as used in general to present that an item, term, etc., may be either X, Y, or Z, or any combination thereof (e.g., X, Y, and/or Z). Thus, such disjunctive language is not generally intended to, and should not, imply that certain embodiments require at least one of X, at least one of Y, or at least one of Z to each be present.
Preferred embodiments of this disclosure are described herein, including the best mode known for carrying out the disclosure. Variations of those preferred embodiments may become apparent to those of ordinary skill in the art upon reading the foregoing description. Those of ordinary skill should be able to employ such variations as appropriate and the disclosure may be practiced otherwise than as specifically described herein. Accordingly, this disclosure includes all modifications and equivalents of the subject matter recited in the claims appended hereto as permitted by applicable law. Moreover, any combination of the above-described elements in all possible variations thereof is encompassed by the disclosure unless otherwise indicated herein.
All references, including publications, patent applications, and patents, cited herein are hereby incorporated by reference to the same extent as if each reference were individually and specifically indicated to be incorporated by reference and were set forth in its entirety herein.
In the foregoing specification, aspects of the disclosure are described with reference to specific embodiments thereof, but those skilled in the art will recognize that the disclosure is not limited thereto. Various features and aspects of the above-described disclosure may be used individually or jointly. Further, embodiments can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive.
The present application claims the benefit of and priority to U.S. Provisional Application No. 63/604,665, filed Nov. 30, 2023, the entire contents of which are incorporated herein by reference for all purposes.
| Number | Date | Country | |
|---|---|---|---|
| 63604665 | Nov 2023 | US |