System and method for automated migration replication
The automated migration replication method using terraform stacks addresses the challenge of integrating diverse cloud and on-premises resources by automating the process, improving efficiency and reducing errors in resource management.
Patent Information
- Application Number
- JP2025536729
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-05
- Filing Date
- 2023-12-22
- Publication Date
- 2026-02-03
AI Technical Summary
Organizations face challenges in managing and maintaining diverse cloud and on-premises resources, leading to IT silos and inefficient manual integration processes that are time-consuming and error-prone.
An automated migration replication method using terraform stacks and difference files to replicate and update virtual machines across environments, ensuring compatibility and efficiency in cloud service integration.
Facilitates seamless integration of cloud and on-premises resources, reducing errors and time consumption by automating the migration and replication process, thereby enhancing resource management efficiency.
Smart Images

Figure 2026503955000001_ABST
Abstract
Description
[Technical Field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of and priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application No. 63 / 434,879, filed December 22, 2022, and U.S. Provisional Patent Application No. 63 / 434,846, filed December 22, 2022, the entire contents of which are incorporated herein by reference for all purposes.
[0002] Field The present disclosure relates generally to resource integration with cloud services, and more particularly to techniques for extending the reach of cloud services to on-premise or off-premise environments and other cloud platforms to enable migration and multi-cloud use cases. [Background technology]
[0003] background Cloud computing has been a staple of many organizations for many years, providing a suite of online services such as collaboration, communication, data storage and backup, and user relationship management tools—essentially all the technological elements needed to run a business. Currently, there are four main types of cloud computing: private cloud, public cloud, hybrid cloud, and multicloud. A private cloud architecture is a cloud environment dedicated to a single user, group, or organization, which can be on-premises or off-premises. A public cloud architecture is a cloud environment dedicated to multiple users, groups, or organizations, which can be on-premises or off-premises. A hybrid cloud architecture uses both a public cloud architecture and a private cloud architecture or on-premises infrastructure. A multicloud architecture is a combination of clouds (private and / or public) across multiple vendors. Each of these cloud types can be configured to offer a variety of cloud computing services, including Infrastructure as a Service (IaaS), Platforms as a Service (PaaS), Software as a Service (SaaS), and Integration Platform as a Service (iPaaS). IaaS provides standard compute, storage, and network resources at a scale based on demand. PaaS provides software development and deployment resources. SaaS provides software distribution to end users. iPaaS is a set of cloud services that allows users to develop, run, and manage integration flows between different applications. Summary of the Invention [Problem to be solved by the invention]
[0004] The growth of cloud computing has enabled organizations to use a wide variety of highly scalable resources and services on demand, rather than building and maintaining them on- or off-premises. However, in some organizations, the emergence of these diverse resources and services has created information technology (IT) silos as administrators struggle to manage and maintain each different cloud resource and / or on- or off-premises resource (non-cloud resources). For example, IT silos can arise when only one group of people (e.g., one department within an organization) has access to a particular resource. Cloud-based integration (also known as cloud integration) unifies all different cloud resources and / or on- or off-premises resources to avoid such instances of IT silos. Cloud integration is a form of systems integration business delivered as a cloud computing service that addresses the integration of data, processes, service-oriented architecture (SOA), and applications. At the most basic level, cloud integration means connecting a wide range of processes, applications, systems, data repositories, and other IT environments (e.g., public cloud, private cloud, on-premises infrastructure, etc.) in either hybrid or multi-cloud deployments so that they can operate as a single, cohesive IT infrastructure for an organization. Without a cloud integration solution, administrators must perform each integration task separately and manually, a process that is time-consuming and increases the likelihood of error. [Means for solving the problem]
[0005] Quick Overview Provided herein are techniques (e.g., methods, systems, non-transitory computer-readable media storing code or instructions executable by one or more processors) for automated migration replication. One aspect relates to a method. The method may include creating a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial configuration that resides in an initial environment. In some embodiments, the VM is designated for replication in a cloud services provider infrastructure (CSPI). The method may include generating a terraform stack based on the initial snapshot. In some embodiments, execution of the terraform stack in the environment causes replication of VM1 in the environment. The method can include providing a terraform stack to a user; generating a subsequent snapshot of a VM (VM2) in a subsequent configuration; generating a difference file that characterizes differences between the initial snapshot and the subsequent snapshot stored in a volume group; and generating a difference terraform stack based on the difference file, where execution of the difference terraform stack causes a previously replicated VM1 to be updated to replicate VM2, and the method can include providing the difference terraform stack to the user.
[0006] In some embodiments, the VM is not located in the CSPI. In some embodiments, the initial environment is an on-premise environment. In some embodiments, the VM in the initial environment is located in a cloud environment different from the CSPI.
[0007] In some embodiments, the method includes executing a stack in the user's tenancy in CSPI and cloning VM1. In some embodiments, the method includes executing a differencing stack in the user's tenancy and cloning VM2. In some embodiments, a subsequent snapshot is generated after cloning VM1.
[0008] In some embodiments, the method includes generating additional subsequent snapshots and generating a difference file corresponding to each subsequent snapshot. In some embodiments, the method includes replicating at least a portion of the volume group. In some embodiments, replicating at least a portion of the volume group includes identifying a volume group and replicating a boot volume from the volume group.
[0009] In some embodiments, generating the terraform stack further includes determining a compatibility difference between VM1 and the CSPI and modifying the replicated boot volume so that the replicated VM1 is compatible with the CSPI. In some embodiments, modifying the boot volume so that the replicated VM1 is compatible with the CSPI includes determining a first attribute of the initial environment, determining a second attribute of the CSPI, determining a difference between the first attribute and the second attribute, and modifying the boot volume to compensate for the difference between the first attribute and the second attribute. In some embodiments, the first attribute characterizes hardware of the initial environment. In some embodiments, the second attribute characterizes hardware of the user's tenancy in the CSPI. In some embodiments, the terraform stack is modifiable by a user prior to running the terraform stack.
[0010] In some embodiments, the method includes provisioning a replication server in the user's tenancy in the CSPI from the migration control plane, where the VM is then replicated to the user's tenancy. In some embodiments, the initial environment includes a replication plug-in. In some embodiments, creating the volume group includes generating a snapshot of the VM using the replication plug-in and storing the snapshot of the VM in object storage. In some embodiments, creating the volume group includes the replication server writing a copy of the snapshot of the VM to block storage to create the volume group.
[0011] In some embodiments, the difference file can include a single file, where the single file characterizes the differences between the initial snapshot of the VM and a subsequent snapshot of the VM. In some embodiments, the difference file can include multiple files, where the multiple files together characterize the differences between the initial snapshot of the VM and a subsequent snapshot of the VM. In some embodiments, creating a volume group that includes an initial snapshot of a virtual machine (VM) that resides in the initial environment includes creating a boot volume, creating data volumes associated with the boot volume, and assigning an identifier to each of the boot volume and the data volume, where the identifier is included in a terraform stack.
[0012] One aspect relates to a system including a memory containing a volume database and a processor. A process can create a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial configuration that exists in an initial environment, where the VM is designated for replication within a cloud service provider infrastructure (CSPI). The processor can generate a terraform stack based on the initial snapshot, and execution of the terraform stack within the environment causes replication of VM1 within the environment. The processor can provide the terraform stack to a user, generate a subsequent snapshot of a VM (VM2) in a subsequent configuration, generate a difference file that characterizes differences between the initial snapshot and the subsequent snapshot stored in the volume group, and generate a difference terraform stack based on the difference file, where execution of the difference terraform stack causes the previously replicated VM1 to be updated to replicate VM2, and the processor can provide the difference terraform stack to the user.
[0013] One aspect relates to a non-transitory computer-readable storage medium storing a plurality of instructions executable by one or more processors. The instructions, when executed by the one or more processors, cause the one or more processors to create a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial configuration, the VM being residing in an initial environment, the VM being designated for replication within a cloud service provider infrastructure (CSPI). When executed by the one or more processors, the instructions cause the one or more processors to generate a terraform stack based on the initial snapshot, execution of the terraform stack in the environment causing replication of VM1 in the environment, the instructions cause the one or more processors to provide the terraform stack to a user, generate a subsequent snapshot of a VM (VM2) in a subsequent configuration, generate a difference file characterizing differences between the initial snapshot and the subsequent snapshot stored in the volume group, generate a difference terraform stack based on the difference file, execution of the difference terraform stack causes the previously replicated VM1 to be updated to replicate VM2, and the instructions cause the one or more processors to provide the difference terraform stack to a user.
[0014] The techniques described above and below can be implemented in many ways and in many contexts. Several example implementations and contexts are provided with reference to the following figures, as described in further detail below. However, the following implementations and contexts are only some of the many implementations and contexts. [Brief explanation of the drawings]
[0015] [Figure 1] FIG. 1 is a high-level diagram of a distributed environment showing an overlay cloud network or a user's virtual cloud network hosted by a cloud service provider infrastructure, according to various embodiments. [Figure 2]FIG. 1 is a simplified architectural diagram of physical components in a physical network within an underlying cloud service provider infrastructure for a virtual network, according to various embodiments. [Figure 3] FIG. 1 illustrates an example in a cloud service provider infrastructure where a host machine is connected to multiple network virtualization devices, according to various embodiments. [Figure 4A] 4 is a high-level diagram of a distributed environment 400 illustrating a cloud bridge architecture for managing and configuring remote resources that interact with cloud services, according to various embodiments. [Figure 4B] FIG. 1 is a simplified block diagram illustrating a user's external environment as part of a virtual appliance, according to various embodiments. [Figure 4C] FIG. 1 is a simplified block diagram illustrating a user's external environment as part of a virtual appliance, according to various embodiments. [Figure 5] FIG. 1 is a schematic diagram of a cloud migration workflow, according to various embodiments. [Figure 6] FIG. 1 is a simplified block diagram of an architecture that may be implemented for cloud migration, according to various embodiments. [Figure 7] FIG. 1 shows a schematic diagram of one embodiment of a replication process. [Figure 8] FIG. 1 is a swimlane diagram illustrating one embodiment of a process for generating and storing snapshots of local resources. [Figure 9] FIG. 1 is a swimlane diagram illustrating one embodiment of a process for replicating a local resource based on a snapshot. [Figure 10] 1 is a flow chart illustrating one embodiment of a process for iterative replication of local resources. [Figure 11] 1 is a flowchart illustrating one embodiment of a process for iteratively replicating resources from one cloud environment to another cloud environment. [Figure 12]FIG. 1 is a block diagram illustrating one pattern for implementing a cloud infrastructure as a service system, according to at least one embodiment. [Figure 13] FIG. 1 is a block diagram illustrating another pattern for implementing a cloud infrastructure as a service system, according to at least one embodiment. [Figure 14] FIG. 1 is a block diagram illustrating another pattern for implementing a cloud infrastructure as a service system, according to at least one embodiment. [Figure 15] FIG. 1 is a block diagram illustrating another pattern for implementing a cloud infrastructure as a service system, according to at least one embodiment. [Figure 16] FIG. 1 is a block diagram illustrating an exemplary computer system according to at least one embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0016] Detailed Description In the following description, for 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 descriptions are not intended to be limiting. The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs.
[0017] introduction Cloud computing is on-demand access to computing resources (e.g., applications, servers (physical and virtual), data storage, development tools, network functions, etc.) hosted in remote data centers managed by a cloud service provider over a network such as the Internet. A cloud infrastructure, such as Oracle Cloud Infrastructure (OCI), is a set of cloud computing services (cloud services) that enables users to build and run a variety of applications and services within a hosted environment. The cloud infrastructure provides high-performance computing and storage capacity (as physical or virtual hardware instances) physically hosted within one or more global regions (i.e., data centers managed by a cloud service provider such as Oracle) within a flexible overlay virtual network securely accessible from a user's on-premises network. The cloud services offered by the cloud infrastructure are natively integrated with resources maintained within the hosted environment, such as databases and compute instances (e.g., physical and / or virtual servers). There is a strong demand to use these cloud services with resources in remote environments, which can be on-premises or off-premises resources, including other cloud resources.
[0018] Traditionally, the user experience of integrating remote resources with cloud services has been complicated. Many services require the deployment of service-specific agents, and connecting on-premises or off-premises resources to the cloud requires either a one-time service-specific solution or the establishment of a private site-to-site network connection to the cloud infrastructure. For example, Database Management Cloud Service, Oracle Data Safe Service, and Database Migration Service have traditionally implemented three separate frameworks for integrating with remote databases. Service-specific solutions create barriers to adoption, fragment cloud service providers' service portfolios with inconsistent on-premises support, and force users to onboard each service independently. Furthermore, all cloud services are burdened with building and maintaining support for remote sites. Site-to-site network connections offer a more unified experience, but have a high barrier to adoption because they require significant changes to the remote network infrastructure and force wide exposure of users' networks to the cloud infrastructure.
[0019] The approach described in this disclosure provides a simple and secure mechanism for extending the reach of cloud services to on-premises or off-premises environments and other cloud platforms, enabling migration and multi-cloud use cases. This mechanism is implemented by a cloud bridge, which provides a framework and platform for integrating cloud service capabilities with external environments or assets (i.e., bridging the gap and connecting cloud services with external environments or assets). An exemplary use case is facilitating the native migration of virtual machines from an on-premises VMware virtualization environment to a cloud infrastructure (i.e., cloud migration). Another exemplary use case is facilitating the use of virtual machines deployed on a cloud infrastructure provided by a first cloud provider with assets stored on a different cloud infrastructure provided by a second cloud provider (i.e., multi-cloud). This integration is based on specialized software components (i.e., agents) deployed by the user to the external environment. Each agent consists of agent software residing in the external environment and a corresponding agent control plane residing in the cloud infrastructure.
[0020] Nevertheless, users often struggle to understand their legacy environments, including what assets they have and how they interact. For example, to migrate on-premises VMware virtual appliances to OCI native virtual machines, customers need to understand what virtual appliances they have and how they interact. Discovery involves learning about a customer's environment. For a migration use case, it involves discovering customer resources that are part of various customers' on-premises VMware environments. After discovery, customers need to investigate the properties of their on-premises resources to determine what they want to migrate to OCI. As an example, a customer may want to identify virtual appliances running Oracle E-Business Suite by filtering a list of all VMware appliances to VMware appliances with "ebs" in their names. Then, the customer may want to further limit the list to appliances running production workloads by filtering only appliances with five or more cores.
[0021] To address these and other challenges, this disclosure describes a system and workflow for discovery and inventory of components for remote resource integration with cloud services. The discovery and inventory are designed to support thousands of customers, each with tens of thousands of assets. Because migrations are often highly complex, the goal is to build a flexible framework with various capabilities, such as support for various types of external user environments, various types of assets, and various types of asset discovery mechanisms. In summary, the system and workflow include discovery and inventory to provide a representation of a user's external environment to support various services, such as migration use cases. Discovery includes discovering resources in a customer's environment and creating / updating assets that represent the resources in the inventory. Discovery is implemented using a discovery control plane on the cloud infrastructure side and discovery plugins on the external environment side. The discovery control plane is deployed in an overlay, backed by one or more databases, and includes customer-facing application programming interfaces (APIs) that are responsible for configuring discovery and coordinating the discovery plugins. Discovery plugins are deployed in the customer's external environment and are responsible for collecting asset metadata and reporting it to the inventory control plane. Inventory involves storing metadata about assets and relationships discovered by the discovery component or imported by the customer. Inventory is implemented on the cloud infrastructure side using an inventory control plane that includes customer-facing APIs deployed in the overlay and backed by one or more database-based data stores.
[0022] In various embodiments, a computer-implemented process is provided that includes deploying a remote agent appliance in a user's external environment, the remote agent appliance including a discovery plug-in; creating an asset source that specifies locations in the external environment where external assets and associated asset metadata should be discovered along with references to authentication information stored in a data store; creating a discovery policy for discovering the external assets in the asset source; generating a discovery job to retrieve asset metadata about the external assets discovered in the asset source; running the discovery job using the discovery plug-in to discover the external assets in the asset source based on the discovery policy, where running the discovery job includes retrieving asset metadata about the external assets discovered in the asset source and adding the asset metadata to an inventory, the inventory including a collection of assets including the asset metadata about the external assets; and providing the collection of assets in the inventory and the associated asset metadata to a user. In some cases, an asset analytics API is also provided to the user to help the user aggregate asset metadata to gain insight into the user's external environment (e.g., an on-premises environment).
[0023] As used herein, when an action is "based on" something, this means that the action is at least partially based on at least a portion of something. As used herein, the terms "similarly," "substantially," "approximately," and "about" are defined as approximately, but not necessarily completely (including completely), as understood by one of ordinary skill in the art. In any disclosed embodiment, the terms "similarly," "substantially," "approximately," and "about" may be substituted "within a percentage of" what is specified, including 0.1, 1, 5, and 10 percent.
[0024] Cloud Network Example The term cloud services is typically used to refer to services made available on-demand (e.g., through a subscription model) by a cloud services provider (CSP) to users (e.g., cloud service customers) using systems and infrastructure (cloud infrastructure) provided by the CSP. Typically, the servers and systems that make up the CSP's infrastructure are separate from the users' own on-premises servers and systems. Thus, users can utilize cloud services provided by the CSP without having to purchase separate hardware and software resources for the service. Cloud services are designed to provide subscribing users with easy and scalable access to applications and computing resources without requiring the users to invest in procuring the infrastructure used to deliver the service.
[0025] There are multiple cloud service providers offering various types of cloud services. As described herein, cloud services come in various types or models, including SaaS, PaaS, IaaS, etc. A user can subscribe to one or more cloud services offered by a CSP. A user can be any entity, such as an individual, an organization, or a business. When a user subscribes or registers for a service offered by a CSP, a tenancy or account is created for the user. The account then enables the user to access one or more subscribed cloud resources associated with the account.
[0026] As mentioned above, IaaS is a specific type of cloud computing service. In the IaaS model, a CSP provides infrastructure (called cloud service provider infrastructure, or CSPI) that can be used by users to build their own customizable networks and deploy their resources. Thus, the user's resources and network are hosted in a distributed environment by the infrastructure provided by the CSP. This differs from traditional computing, where the user's resources and network are hosted by the infrastructure provided by the user.
[0027] CSPI can comprise interconnected, high-performance computing resources, including various host machines, memory resources, and network resources that form a physical network, also known as a substrate network or underlay network. Resources in CSPI can be distributed across one or more data centers, which can be geographically distributed across one or more geographic regions. Virtualization software can be run by these physical resources to provide a virtualized, distributed environment. This virtualization creates an overlay network (also known as a software-based network, software-defined network, or virtual network) on top of the physical network. The CSPI physical network provides the underlying foundation upon which one or more overlay or virtual networks can be created on top of the physical network. The physical network (or substrate or underlay network) includes physical network devices such as physical switches, routers, computers, and host machines. An overlay network is a logical (or virtual) network that operates on top of the physical substrate network. A particular physical network can support one or more overlay networks. Overlay networks typically use encapsulation techniques to distinguish traffic belonging to different overlay networks. A virtual network or overlay network is also called a virtual cloud network (VCN). A virtual network is implemented using software virtualization technologies (e.g., hypervisors, network virtualization devices (NVDs) (e.g., smart NICs), top-of-rack (TOR) switches, virtualization functions performed by smart TORs that perform one or more functions performed by NVDs, and other mechanisms) to create a layer of network abstraction that can run on top of a physical network. Virtual networks can take many forms, including peer-to-peer networks, IP networks, etc.Virtual networks are typically either Layer 3 IP networks or Layer 2 VLANs. This method of virtual or overlay networking is often called a virtual Layer 3 network or an overlay Layer 3 network. Examples of protocols developed for virtual networks include IP-in-IP (or Generic Routing Encapsulation (GRE)), Virtual Extensible LAN (VXLAN - IETF RFC 7348), Virtual Private Networks (VPN) (e.g., MPLS Layer 3 Virtual Private Network (RFC 4364)), VMware's NSX, and Generic Network Virtualization Encapsulation (GENEVE).
[0028] In the case of IaaS, the infrastructure provided by the CSP (CSPI) may be configured to provide virtualized computing resources over a public network (e.g., the Internet). In the IaaS model, a cloud computing service provider may host infrastructure components (e.g., servers, storage devices, network nodes (e.g., hardware), deployment software, platform virtualization (e.g., hypervisor layer), etc.). In some cases, the IaaS provider may offer various services (e.g., billing, monitoring, logging, security, load balancing, clustering, etc.) incidental to those infrastructure components. Accordingly, these services may be policy-driven, allowing IaaS users to implement policies to drive load balancing and maintain application availability and performance. The CSPI provides infrastructure and a set of complementary cloud services that enable users to build and run a wide range of applications and services within a highly available, hosted, distributed environment. The CSPI provides high-performance computing resources and computing power as well as storage capacity within a flexible virtual network that can be securely accessed from various networked locations, such as from the user's on-premises network. When a user subscribes or registers for an IaaS service offered by a CSP, the tenancy created for that user is a secure, isolated partition within the CSP where the user can create, organize, and manage their cloud resources.
[0029] Users can build their own virtual networks using the compute, memory, and network resources provided by CSPI. One or more user resources or workloads, such as compute instances, can be deployed into these virtual networks. For example, users can build one or more customizable private virtual networks called virtual cloud networks (VCNs) using resources provided by CSPI. Users can deploy one or more user resources, such as compute instances, into their VCNs. Compute instances can take the form of virtual machines, bare metal instances, etc. Thus, CSPI provides infrastructure and a set of complementary cloud services that enable users to build and run a wide range of applications and services within a highly available hosted virtual environment. Users do not manage or control the underlying physical resources provided by CSPI, but they do have control over the operating system, storage, and deployed applications, and in some cases, limited control over selected network components (e.g., firewalls).
[0030] The CSP may provide a console that allows users and network administrators to configure, access, and manage resources deployed in the cloud using CSPI resources. In one embodiment, the console provides a web-based user interface that can be used to access and manage the CSPI. In some implementations, the console is a web-based application provided by the CSP.
[0031] CSPI may support single-tenancy or multi-tenancy architectures. In a single-tenancy architecture, a software component (e.g., an application, a database) or a hardware component (e.g., a host machine or server) serves a single user or tenant. In a multi-tenancy architecture, a software component or hardware component serves multiple users or tenants. Thus, in a multi-tenancy architecture, CSPI resources are shared among multiple users or tenants. In a multi-tenancy situation, precautions are taken and safeguards are implemented within CSPI to ensure that each tenant's data remains isolated and invisible to other tenants.
[0032] In a physical network, a network endpoint (“endpoint”) refers to a computing device or system that is connected to the physical network and communicates with the connected network. Network endpoints in a physical network may be connected to a local area network (LAN), a wide area network (WAN), or other types of physical networks. Examples of traditional endpoints in a physical network include modems, hubs, bridges, switches, routers, and other network devices, physical computers (or host machines), and the like. Each physical device in a physical network has a fixed network address that can be used to communicate with the device. This fixed network address can be a Layer 2 address (e.g., a MAC address), a fixed Layer 3 address (e.g., an IP address), and the like. In a virtual environment or virtual network, endpoints can include various virtual endpoints, such as virtual machines hosted by components of the physical network (e.g., hosted by a physical host machine). These endpoints in the virtual network are addressed by overlay addresses, such as overlay Layer 2 addresses (e.g., an overlay MAC address) and overlay Layer 3 addresses (e.g., an overlay IP address). Network overlays enable flexibility by allowing network administrators to move between overlay addresses associated with network endpoints using software management (e.g., by software implementing the virtual network's control plane). Thus, unlike physical networks, in virtual networks, overlay addresses (e.g., overlay IP addresses) can be moved from one endpoint to another using network management software. Because virtual networks are built on top of physical networks, communication between components in a virtual network involves both the virtual network and the underlying physical network.To facilitate such communications, CSPI components 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 communications. User traffic is encapsulated to facilitate routing within the virtual network.
[0033] Thus, a physical address (e.g., a physical IP address) is associated with a component in a physical network, and an overlay address (e.g., an overlay IP address) is associated with an entity in a virtual or overlay network. A physical IP address is an IP address associated with a physical device (e.g., a network device) in a substrate or physical network. For example, each NVD has an associated physical IP address. An overlay IP address is an overlay address associated with an entity in an overlay network, such as associated with a compute instance in a user's VCN. Two different users or tenants, each with their own private VCN, could potentially use the same overlay IP address in their VCNs without any knowledge of each other. Both physical IP addresses and overlay IP addresses are types of real IP addresses. These IP addresses exist separately from virtual IP addresses. A virtual IP address is typically a single IP address that represents or maps to multiple real IP addresses. A virtual IP address provides a one-to-many mapping between a virtual IP address and multiple real IP addresses. For example, a load balancer may use a VIP to map to or represent multiple servers, each with its own real IP address.
[0034] A cloud infrastructure or CSPI is physically hosted in one or more data centers in one or more regions around the world. The CSPI may include components in a physical or substrate network and virtual components (e.g., virtual networks, compute instances, virtual machines, etc.) in a virtual network built on top of the physical network components. In one embodiment, the CSPI is organized and hosted in realms, regions, and availability domains. A region is a local geographic area that typically contains one or more data centers. Regions are generally independent of each other and may be separated by vast distances, for example, spanning multiple countries or continents. For example, a first region may be in Australia, another region may be in Japan, yet another region may be in India, etc. CSPI resources are divided among regions so that each region contains 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 machines, containers, and related infrastructure), storage resources (e.g., block volume storage, file storage, object storage, archive storage), network resources (e.g., VCNs), load balancing resources, connectivity to on-premises networks, database resources, edge network resources (e.g., DNS), and access management and monitoring resources. Each region typically has multiple paths connecting it to other regions within the realm.
[0035] Because using nearby resources is faster than using resources that are farther away, applications are typically deployed in the region where they are most frequently used (i.e., deployed to the infrastructure associated with that region). Applications may also be deployed in different regions for a variety of reasons, such as redundancy to mitigate the risk of region-wide events such as large weather systems or earthquakes, to meet changing requirements for legal jurisdictions, tax areas, and other business or societal criteria.
[0036] Data centers within a region may 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 may be composed of one or more availability domains. In such a distributed environment, CSPI resources are specific to a region, such as a VCN, or specific to an availability domain, such as a compute instance.
[0037] ADs within a region are isolated from each other, fault-tolerant, and configured to be highly unlikely to fail simultaneously. This is achieved by ADs that do not share critical infrastructure resources, such as networks, physical cables, cable paths, or cable entry points, so that a failure in one AD within a region is unlikely to affect the availability of other ADs in the same region. ADs within the same region may be connected to each other by low-latency, high-bandwidth networks that provide highly available connectivity to other networks (e.g., the Internet, a user's on-premises network, etc.) and enable the creation of replicated systems in multiple ADs for both high availability and disaster recovery. Cloud services use multiple ADs to ensure high availability and protect against resource failures. As the infrastructure provided by an IaaS provider grows, more regions and ADs with additional capacity may be added. Traffic between availability domains is typically encrypted.
[0038] In one embodiment, 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 within the same realm may communicate with each other, but regions in different realms cannot. A user's tenancy or account, along with a CSP, exists within a single realm and can be distributed across one or more regions belonging to that realm. Typically, when a user subscribes to an IaaS service, a tenancy or account is created for the user in a region specified by the user within the realm (called the "home" region). The user can extend their tenancy across one or more other regions within the realm. The user cannot access regions that are not within the realm in which the user's tenancy resides.
[0039] An IaaS provider may offer multiple realms, each catering to the needs of a user or a particular set of users. For example, a commercial realm may be offered to commercial users. As another example, a realm may be offered to a particular country for users within that country. As yet another example, a government realm may be offered to a government, etc. For example, the government realm may cater to the needs of a particular government and may have higher security than the commercial realm. For example, Oracle Cloud Infrastructure (OCI) currently offers two realms: one for a commercial region and one for a government cloud region (e.g., FedRAMP-certified and IL5-certified).
[0040] In one embodiment, an AD can be subdivided into one or more failure domains. A failure domain is a group of infrastructure resources within an AD to provide anti-affinity. Fault domains enable the distribution of compute instances so that multiple compute instances do not reside on the same physical hardware within a single AD. This distribution is known as anti-affinity. A failure domain refers to a set of hardware components (computers, switches, etc.) that share a single point of failure. A compute pool is logically divided into failure domains. Therefore, a hardware failure or compute hardware maintenance event that affects one failure domain does not affect instances in other failure domains. Depending on the embodiment, the number of failure domains per AD may vary. For example, in one embodiment, each AD includes three failure domains. Fault domains act as logical data centers within an AD.
[0041] When a user subscribes to an IaaS service, resources from CSPI are provisioned for the user and associated with the user's tenancy. The user can use these provisioned resources to build private networks and deploy resources to these networks. A user's network hosted in the cloud by CSPI is called a VCN. A user can configure one or more virtual cloud networks (VCNs) using the CSPI resources allocated to the user. A VCN is a virtual private network or software-defined private network. The user's resources deployed within the user's VCN can include compute instances (e.g., virtual machines, bare metal instances) and other resources. These compute instances may represent various user workloads, such as applications, load balancers, databases, etc. Compute instances deployed in a VCN can communicate with endpoints publicly accessible over a public network such as the Internet ("public endpoints"), with other instances in the same VCN or other VCNs (e.g., the user's other VCNs or VCNs not belonging to the user), with the user's on-premises data center or network, and with service endpoints and other types of endpoints.
[0042] CSPs may offer various services using CSPI. In some cases, users of CSPI may act as service providers themselves and offer services using CSPI resources. Service providers may expose service endpoints characterized by identifying information (e.g., IP addresses, DNS names, and DNS ports). User resources (e.g., compute instances) can consume a particular service by accessing the service endpoint exposed by the service for that service. These service endpoints are generally publicly accessible by users over a public communications network, such as the Internet, using a public IP address associated with the endpoint. Publicly accessible network endpoints are sometimes referred to as public endpoints.
[0043] In one embodiment, a service provider may expose a service via an endpoint for the service (sometimes referred to as a service endpoint). Users of the service can then access the service using this service endpoint. In some implementations, a service endpoint provided for a service can be accessed by multiple users wishing to consume the service. In other implementations, a dedicated service endpoint may be provided to a user, allowing only that user to access the service using that dedicated service endpoint.
[0044] In one embodiment, when a VCN is created, it is associated with a private overlay Classless Inter-Domain Routing (CIDR) address space, which is a range of private overlay IP addresses (e.g., 10.0 / 16) that is assigned to the VCN. A VCN includes associated subnets, route tables, and gateways. A VCN exists within a single region but can span one, more, or all of the region's availability domains. A gateway is a virtual interface configured for a VCN that enables 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 with different types of endpoints.
[0045] A VCN can be subdivided into one or more subnetworks, such as one or more subnets. A subnet is thus a unit of configuration or subdivision that can be created within a VCN. A VCN can contain one or more subnets. Each subnet in 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 represents a subset of address space within the VCN's address space and does not overlap with other subnets in that VCN.
[0046] Each compute instance is associated with a virtual network interface card (VNIC) that allows 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 resides in a subnet and 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 connected to a compute instance and to a subnet within a VCN. A VNIC associated with a compute instance allows the compute instance to become part of a subnet of a VCN and enables the compute instance to communicate (e.g., send and receive packets) with endpoints on the same subnet as the compute instance, endpoints in a different subnet within the VCN, or endpoints outside the VCN. Thus, the VNIC associated with a compute instance determines how the compute instance connects with endpoints inside and outside the VCN. A VNIC for a compute instance is created and associated with the compute instance when the compute instance is created and added to a subnet in a VCN. For a subnet containing a set of compute instances, the subnet contains VNICs corresponding to the set of compute instances, and each VNIC connects to one compute instance in the set of compute instances.
[0047] 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 associated with the compute instance when the compute instance is created and is used to route traffic to and from the compute instance. All VNICs within a particular subnet use the same route table, security lists, and Dynamic Host Configuration Protocol (DHCP) options. As previously mentioned, 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 represents a subset of address space within the VCN's address space that does not overlap with other subnets within that VCN. For a VNIC on a particular subnet of a VCN, the private overlay IP address assigned to the VNIC is an address from the contiguous range of overlay IP addresses assigned to that subnet.
[0048] In one embodiment, a compute instance may optionally be assigned an additional overlay IP address in addition to the private overlay IP address, such as one or more public IP addresses if it is in a public subnet. These multiple addresses may be assigned to the same VNIC or across multiple VNICs associated with the compute instance. However, each instance has a primary VNIC that is created during instance launch and associated with the overlay private IP address assigned to the instance, and this primary VNIC cannot be removed. Additional VNICs, called secondary VNICs, may be added to an existing instance in the same availability domain as the primary VNIC. All VNICs are in the same availability domain as the instance. The secondary VNICs can be in a subnet in the same VCN as the primary VNIC or in a different subnet, either in the same VCN or in a different VCN.
[0049] If a compute instance is in a public subnet, the compute instance may optionally be assigned a public IP address. When a subnet is created, it can be specified as either a public subnet or a private subnet. A private subnet means that resources (e.g., compute instances) and associated VNICs in the subnet cannot have public overlay IP addresses. A public subnet means that resources and associated VNICs in the subnet can have public IP addresses. Users can specify a subnet to exist in a single availability domain or across multiple availability domains within a region or realm.
[0050] As mentioned above, a VCN may be subdivided into one or more subnets. In one embodiment, a virtual router (VR) configured for a VCN (referred to as a VCN VR or simply VR) enables communication between subnets of the VCN. For a subnet within a VCN, the VR represents the logical gateway for that subnet, allowing 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. A VCN VR is a logical entity configured to route traffic between VNICs within a VCN and a virtual gateway ("gateway") associated with the VCN. Gateways are further described below with respect to FIG. 1. A VCN VR is a Layer 3 / IP layer concept. In one embodiment, there is one VCN VR per VCN, and the VCN VR has a potentially unlimited number of ports addressed by IP addresses, one port for each subnet of the VCN. In this way, the VCN VR has a different IP address for each subnet within the VCN to which the VCN VR is connected. The VRs are also connected to various gateways configured for the VCN. In one embodiment, a specific overlay IP address from a subnet's overlay IP address range is reserved for ports in that subnet's VCN VR. For example, consider a VCN that includes two subnets with associated address ranges 10.0 / 16 and 10.1 / 16, respectively. For the first subnet in the VCN with address range 10.0 / 16, an address from this range is reserved for ports in that subnet's VCN VR. In some cases, the first IP address from this range may be reserved for a VCN VR. For example, for a subnet with overlay IP address range 10.0 / 16, IP address 10.0.0.1 may be reserved for ports in that subnet's VCN VR.For a second subnet in the same VCN with address range 10.1 / 16, the VCN VR may have a port in 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.
[0051] In some other embodiments, each subnet in a VCN may include a VR associated with it 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 a range of IP addresses associated with the subnet. VNICs in a subnet can use this default or reserved IP address to communicate with (e.g., send and receive packets from) the VR associated with the subnet. In such embodiments, a VR is an ingress / egress point for that subnet. VRs associated with a subnet in a VCN can communicate with other VRs associated with other subnets in the VCN. VRs can also communicate with gateways associated with the VCN. The VR functions for a subnet are running on or performed by one or more NVDs that are performing the VNIC functions for VNICs in the subnet.
[0052] Route tables, security rules, and DHCP options may be configured for a VCN. A route table is a virtual route table for a VCN and contains rules for routing traffic from subnets within the VCN to destinations outside the VCN via gateways or specially configured instances. A VCN's route table can be customized to control how packets are forwarded / routed to and from the VCN. DHCP options refer to configuration information that is automatically provided to instances when they launch.
[0053] Security rules configured for a VCN represent the overlay firewall rules for the VCN. Security rules include ingress and egress rules and can specify the type of traffic (e.g., based on protocol and port) allowed in and out of instances within the VCN. Users can choose whether a particular rule is stateful or stateless. For example, a user can allow incoming SSH traffic from any location to a set of instances by configuring a stateful ingress rule with a source CIDR of 0.0.0.0 / 0 and a destination TCP port of 22. Security rules can be implemented using network security groups or security lists. A network security group consists of a set of security rules that apply only to resources within that group. A security list, on the other hand, contains rules that apply to all resources in any subnet that uses the security list. A VCN may have a default security list that contains default security rules. DHCP options configured for a VCN provide configuration information that is automatically provided to instances within the VCN when the instances launch.
[0054] In one embodiment, configuration information for a VCN is determined and stored by a VCN control plane. The configuration information for a VCN may include, for example, information about address ranges associated with the VCN, subnets and associated information within the VCN, one or more VRs associated with the VCN, compute instances and associated VNICs within the VCN, NVDs (e.g., VNICs, VRs, gateways) performing various virtualized network functions associated with the VCN, VCN state information, and other VCN-related information. In one embodiment, a VCN distribution service publishes the configuration information stored by the VCN control plane or portions thereof to the NVD. The distributed information may be used to update information (e.g., forwarding tables, routing tables, etc.) stored and used by the NVD to forward packets to and from compute instances within the VCN.
[0055] In one embodiment, VCN and subnet creation is handled by a VCN Control Plane (CP), and compute instance launch is handled by the Compute Control Plane. The Compute Control Plane is responsible for allocating physical resources to compute instances and then calls the VCN Control Plane to create and attach VNICs to the compute instances. The VCN CP also sends VCN data mappings to the VCN Data Plane, which is configured to perform packet forwarding and routing functions. In one embodiment, the VCN CP provides a distribution service that is responsible for providing updates to the VCN Data Plane.
[0056] A user may create one or more VCNs using resources hosted by CSPI. Compute instances deployed in a user's VCN may communicate with various endpoints. These endpoints may include endpoints hosted by CSPI and endpoints external to CSPI.
[0057] Various different architectures for implementing cloud-based services using CSPI are shown in FIGS. 1-4C and described below. FIG. 1 is a high-level diagram of a distributed environment 100 illustrating an overlay VCN or a user VCN hosted by CSPI according to one embodiment. The distributed environment shown in FIG. 1 includes multiple components within an overlay network. The distributed environment 100 shown in FIG. 1 is merely an example and is not intended to unduly limit the scope of the claimed embodiments. Many variations, alternatives, and modifications are possible. For example, in some implementations, the distributed environment shown in FIG. 1 may include more or fewer systems or components than those shown in FIG. 1, may combine two or more subsystems, or may include a different configuration or arrangement of systems.
[0058] As shown in the example depicted in FIG. 1 , distributed environment 100 includes CSPI 101, which provides services and resources that users can subscribe to and use to build their own VCNs. In one embodiment, CSPI 101 provides IaaS services to subscribing users. Data centers within CSPI 101 may be organized into one or more regions. One exemplary region, “Region US” 102, is shown in FIG. 1 . A user configures a VCN for a user of Oracle International Corporation with region 102. A user may deploy various compute instances into VCN 104, which may include virtual machines or bare metal instances. Example instances include applications, databases, load balancers, etc.
[0059] In the embodiment shown in FIG. 1 , a user's VCN 104 includes two subnets, "Subnet 1" and "Subnet 2," each with its own CIDR IP address range. In FIG. 1 , Subnet 1's overlay IP address range is 10.0 / 16, and Subnet 2's address range is 10.1 / 16. VCN virtual router 105 represents the VCN's logical gateway, enabling communication between subnets in VCN 104 and with other endpoints outside the VCN. VCN VR 105 is configured to route traffic between VNICs in VCN 104 and the gateway associated with VCN 104. VCN VR 105 provides a port for each subnet in VCN 104. For example, VR 105 may provide a port with IP address 10.0.0.1 for Subnet 1 and a port with IP address 10.1.0.1 for Subnet 2.
[0060] Multiple compute instances may be deployed in each subnet, and 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 in CSPI101. A compute instance joins a subnet through a VNIC associated with the compute instance. For example, as shown in FIG. 1, compute instance C1 becomes part of subnet 1 through a VNIC associated with C1. Similarly, compute instance C2 becomes part of subnet 1 through a VNIC associated with C2. In a similar manner, multiple compute instances, which may be virtual machine instances or bare metal instances, may become part of subnet 1. Each compute instance is assigned a private overlay IP address and a MAC address through its associated VNIC. For example, in FIG. 1, compute instance C1 has an overlay IP address of 10.0.0.2 and a MAC address of M1, while compute instance C2 has a private overlay IP address of 10.0.0.3 and a MAC address of M2. Each compute instance in Subnet 1, including compute instances C1 and C2, has a default route to VCN VR105 using IP address 10.0.0.1, which is the IP address of a port in VCN VR105 in Subnet 1.
[0061] Subnet2 may have multiple compute instances deployed, including virtual machine instances and / or bare metal instances. For example, as shown in FIG. 1, compute instances D1 and D2 become part of Subnet2 through VNICs associated with the respective compute instances. In the embodiment shown in FIG. 1, compute instance D1 has an overlay IP address of 10.1.0.2 and a MAC address of MM1, while compute instance D2 has a private overlay IP address of 10.1.0.3 and a MAC address of MM2. Each compute instance in Subnet2, including compute instances D1 and D2, has a default route to VCN VR105 using IP address 10.1.0.1, which is the IP address of a port in VCN VR105 in Subnet2.
[0062] VCN A 104 may include one or more load balancers. For example, a load balancer may be provided for a subnet and configured to load balance traffic across multiple compute instances on the subnet. A load balancer may be provided to load balance traffic across multiple subnets within a VCN.
[0063] A particular compute instance deployed in VCN 104 can communicate with various endpoints. These endpoints may include endpoints hosted by CSPI 101 and endpoints outside of CSPI 101. Endpoints hosted by CSPI 101 may include endpoints on the same subnet as the particular compute instance (e.g., communication between two compute instances in Subnet 1), endpoints 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), endpoints in a different VCN within the same region (e.g., communication between a compute instance in Subnet 1 and an endpoint in a VCN in the same region 106 or 110, communication between a compute instance in Subnet 1 and an endpoint in a service network 110 in the same region), or endpoints in a VCN in a different region (e.g., communication between a compute instance in Subnet 1 and an endpoint in a VCN in a different region 108). Compute instances in a subnet hosted by CSPI 101 may communicate with endpoints not hosted by CSPI 101 (i.e., outside of CSPI 101). These external endpoints include endpoints within the user's on-premise network 116, endpoints within other remote cloud-hosted networks 118, public endpoints 114 accessible via public networks such as the Internet, and other endpoints.
[0064] Communication between compute instances on the same subnet is facilitated using VNICs associated with the source and destination compute instances. For example, compute instance C1 in Subnet 1 may want to send a packet to compute instance C2 in Subnet 1. For a packet originating from the source compute instance and destined for another compute instance in the same subnet, the packet is first processed by the VNIC associated with the source compute instance. The processing performed by the VNIC associated with the source compute instance may include determining the packet's destination information from the packet header, identifying any policies (e.g., security lists) configured for the VNIC associated with the source compute instance, determining the packet's next hop, performing any packet encapsulation / decapsulation functions as needed, and then forwarding / routing the packet to the next hop to facilitate communication of the packet with its intended destination. If 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 then executes and forwards the packet to the destination compute instance.
[0065] For packets traveling from a compute instance in a subnet to an endpoint in a different subnet within the same VCN, this communication is facilitated by the VNICs and VCN VRs associated with the source and destination compute instances. For example, if compute instance C1 in Subnet 1 in Figure 1 wants to send a packet to compute instance D1 in Subnet 2, the packet is first processed by the VNIC associated with compute instance C1. The VNIC associated with compute instance C1 is configured to route the packet to VCN VR105 using the VCN VR's default route or port 10.0.0.1. VCN VR105 is configured to route the packet to Subnet 2 using port 10.1.0.1. The packet is then received and processed by the VNIC associated with D1, which forwards the packet to compute instance D1.
[0066] For packets traveling from a compute instance within VCN 104 to an endpoint outside VCN 104, the communication is facilitated by a VNIC associated with the source compute instance, VCN VR 105, and a gateway associated with VCN 104. One or more types of gateways may be associated with VCN 104. A gateway is an interface between a VCN and another endpoint, where the other endpoint is outside the VCN. A gateway is a Layer 3 / IP layer concept that allows a VCN to communicate with endpoints outside the VCN. Thus, a gateway facilitates traffic flow between a VCN and other VCNs or networks. Different types of gateways may be configured for a VCN to facilitate different types of communication with different types of endpoints. Depending on the gateway, the communication may go over a public network (e.g., the Internet) or a private network. Various communication protocols may be used for these communications.
[0067] For example, compute instance C1 may wish to communicate with an endpoint outside VCN 104. The packet may first be processed by a VNIC associated with the source compute instance C1. This VNIC processing determines that the packet's destination is outside of Subnet 1 of C1. The VNIC associated with C1 may forward the packet to VCN VR105 of VCN 104. VCN VR105 then processes the packet and, as part of this processing, determines a particular gateway associated with VCN 104 as the packet's next hop based on the packet's destination. VCN VR105 may then forward the packet to the particular identified gateway. For example, if the destination is an endpoint within a user's on-premises network, VCN VR105 may forward the packet to a dynamic routing gateway (DRG) gateway 122 configured for VCN 104. The packet may then be forwarded from the gateway to the next hop to facilitate propagation of the packet to its final intended destination.
[0068] Various types of gateways may be configured for a VCN. Examples of gateways that may be configured for a VCN are shown in FIG. 1 and described below. As shown in the embodiment shown in FIG. 1, a dynamic routing gateway (DRG) 122 may be added to or associated with a user's VCN 104 to provide a path for private network traffic communication between the user's VCN 104 and another endpoint, which may be the user's on-premises network 116, a VCN 108 in a different region of CSPI 101, or another remote cloud network 118 not hosted by CSPI 101. The user's on-premises network 116 may be the user's network or the user's data center built using the user's resources. Access to the user's on-premises network 116 is typically highly restricted. In the case of a user who has both the user's on-premises network 116 and one or more VCNs 104 deployed or hosted in the cloud by CSPI 101, the user may want the user's on-premises network 116 and the user's cloud-based VCN 104 to be able to communicate with each other. This allows users to build an extended hybrid environment that encompasses the user's VCN 104 hosted by CSPI 101 and the user's on-premises network 116. DRG 122 enables this communication. To enable such communication, a communication channel 124 is set up, with one endpoint of the channel in the user's on-premises network 116 and the other endpoint in CSPI 101 connected to the user's VCN 104. The communication channel 124 can traverse a public communication network such as the Internet or a private communication network. Various communication protocols may be used, such as IPsec VPN technology over a public communication network such as the Internet, or Oracle's FastConnect technology, which uses a private network instead of a public network.A device or equipment in a user's on-premise network 116 that forms one endpoint of a communication channel 124 is called user premise equipment (CPE), such as CPE 126 shown in Figure 1. On the CSPI 101 side, the endpoint may be a host machine running DRG 122.
[0069] In one embodiment, a Remote Peering Connection (RPC) can be added to a DRG, allowing a user to peer one VCN with another VCN in a different region. Using such an RPC, a user's VCN 104 can connect with a VCN 108 in another region using the DRG 122. The DRG 122 may also be used to communicate with other remote cloud networks 118 not hosted by the CSPI 101, such as the Microsoft Azure cloud, the Amazon AWS cloud, etc.
[0070] 1, an Internet Gateway (IGW) 120 may be configured for a user's VCN 104, which enables compute instances on VCN 104 to communicate with public endpoints 114 accessible via a public network, such as the Internet. IGW 120 is a gateway that connects a VCN to a public network, such as the Internet. IGW 120 enables direct access for public subnets within a VCN, such as VCN 104 (resources within the public subnet have public overlay IP addresses), to public endpoints 112 on the public network 114, such as the Internet. Using IGW 120, connections can be initiated from subnets within VCN 104 or from the Internet.
[0071] A Network Address Translation (NAT) gateway 128 is configured for a user's VCN 104 to enable access to the Internet for cloud resources in the user's VCN that do not have dedicated public overlay IP addresses, without exposing those resources to direct incoming Internet connections (e.g., L4-L7 connections). This allows private subnets in a VCN, such as Private Subnet 1 in VCN 104, to private endpoints on the Internet. The NAT gateway only allows connections to be initiated from the private subnet to the public Internet; connections cannot be initiated from the Internet to the private subnet.
[0072] In one embodiment, a service gateway (SGW) 126 may be configured for a user's VCN 104 and provides a pathway for private network traffic between VCN 104 and supported service endpoints in service network 110. In one embodiment, service network 110 may be provided by a CSP and may offer a variety of services. An example of such a service network is Oracle's Services Network, which offers a variety of services that may be used by users. For example, a compute instance (e.g., a database system) in a private subnet of a user's VCN 104 can back up data to a service endpoint (e.g., object storage) without requiring a public IP address or access to the Internet. In one embodiment, a VCN may include only one SGW, and connections can be initiated only from subnets within the VCN, not from service network 110. When a VCN is peered with another VCN, resources in the other VCN typically do not have access to the SGW. Resources in an on-premises network connected to a VCN using a FastConnect or VPN connection can also use a service gateway configured for that VCN.
[0073] In one implementation, SGW 126 uses the concept of a service classless inter-domain routing (CIDR) label, which is a string that represents the public IP address range of all regions for a service or group of services of interest. Users use the service CIDR label when configuring the SGW and associated route rules to control traffic to the service. Users can optionally utilize the service CIDR label when configuring security rules, avoiding the need to adjust those security rules if the service's public IP address changes in the future.
[0074] A Local Peering Gateway (LPG) 132 is a gateway that can be added to a user's VCN 104, allowing the 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 routing the traffic through the user's on-premises network 116. In a preferred embodiment, a VCN includes a separate LPG for each peering it establishes. Local peering or VCN peering is a common method used to establish network connectivity between different applications or infrastructure management functions.
[0075] A service provider, such as a provider of a service in service network 110, may provide access to the service using various access models. According to a public access model, the service may be exposed as a public endpoint, which may be publicly accessible by a compute instance in the user's VCN over a public network such as the Internet, and / or privately accessible through SGW 126. According to a specific private access model, the service is made accessible as a private IP endpoint in a private subnet in the user's VCN. This access is called Private Endpoint (PE) access and allows service providers to expose services as instances in the user's private network. A private endpoint resource represents a service in the user's VCN. Each PE appears as a VNIC (referred to as a PE-VNIC with one or more private IPs) in a user-selected subnet in the user's VCN. Thus, the PE provides a way to present services in a subnet of the private user's VCN using VNICs. Because the endpoints are exposed as VNICs, all features associated with the VNIC, such as routing rules, security lists, etc., are available to the PE VNIC.
[0076] A service provider can register a service to make it accessible through the PE. The provider can associate a policy with the service that limits the visibility of the service to the customer's tenancy. The provider can register multiple services under a single virtual IP address (VIP), especially for multi-tenant services. There can be multiple such private endpoints (in multiple VCNs) representing the same service.
[0077] Compute instances in the private subnet can then access the service using the private IP address of the PE VNIC or the DNS name of the service. Compute instances in a user's VCN can access the service by sending traffic to the private IP address of the PE in the user's VCN. A Private Access Gateway (PAGW) 130 is a gateway resource that can be connected to a service provider's VCN (e.g., a VCN in service network 110) and serves as the ingress / egress point for all traffic to and from the private endpoints of the user's subnet. The PAGW 130 allows providers to scale the number of PE connections without utilizing internal IP address resources. A provider needs to configure only one PAGW for any number of services registered within a single VCN. A provider can represent services as private endpoints in multiple VCNs for one or more users. From the user's perspective, the PE VNIC appears to be connected to the service with which the user wants to interact, instead of to the user's instance. Traffic going to the private endpoint is routed to the service through the PAGW 130. These are called user-to-service private connections (C2S (user-to-service) connections).
[0078] The PE concept can also be used to extend private access of services to a user's on-premises network and data center by allowing traffic to flow through a FastConnect / IPsec link and a private endpoint in the user's VCN. Private access of services can also be extended to a user's peered VCN by allowing traffic to flow between LPG 132 and a PE in the user's VCN.
[0079] A user can control routing within a VCN at the subnet level, allowing the user to specify which subnets within the user's VCN, such as VCN 104, use each gateway. A VCN's route table is used to determine whether traffic is allowed to exit the VCN through a particular gateway. For example, in a particular example, the route table for a public subnet in a user's VCN 104 may send non-local traffic through IGW 120. The route table for a private subnet in the same user's VCN 104 may send traffic going to a CSP service through SGW 126. All remaining traffic may be sent through NAT gateway 128. The route table controls only traffic that exits the VCN.
[0080] Security lists associated with a VCN are used to control traffic entering the VCN through the gateway via inbound connections. All resources within a subnet use the same route table and security lists. Security lists may be used to control the specific types of traffic allowed into and out of instances within a VCN's subnet. Security list rules may include ingress (inbound) rules and egress (outbound) rules. For example, ingress rules may specify allowed source address ranges, while egress rules may specify allowed destination address ranges. Security rules may specify a specific protocol (e.g., TCP, ICMP), a specific port (e.g., 22 for SSH, 3389 for Windows RDP), etc. In some implementations, the instance's operating system may enforce its own firewall rules that match the security list rules. Rules may be stateful (e.g., connections are tracked and responses are automatically allowed without explicit security list rules for the response traffic) or stateless.
[0081] Access from a user's VCN (i.e., by resources or compute instances deployed in VCN 104) can be categorized as public access, private access, or dedicated access. Public access refers to an access model in which public IP addresses or NATs are used to access public endpoints. Private access allows a user's workloads (e.g., resources in a private subnet) in VCN 104 with private IP addresses to access services without traversing a public network such as the Internet. In one embodiment, CSPI 101 enables workloads in a user's VCN with private IP addresses to access (public service endpoints of) services using a service gateway. Thus, the service gateway provides a private access model by establishing a virtual link between the user's VCN and the public endpoints of services that reside outside the user's private network.
[0082] Additionally, CSPI may provide dedicated public access using technologies such as FastConnect public peering, where a user's on-premises instances can use a FastConnect connection to access one or more services in the user's VCN without traversing a public network such as the Internet. CSPI may also provide dedicated private access using FastConnect private peering, where a user's on-premises instances with private IP addresses can use a FastConnect connection to access workloads in the user's VCN. FastConnect is a network connection alternative to using the public Internet for connecting a user's on-premises network to CSPI and its services. FastConnect provides an easy, resilient, and economical way to create dedicated private connections with higher bandwidth options and a more reliable and consistent network experience when compared to Internet-based connections.
[0083] FIG. 1 and the accompanying discussion above describe various virtual components within an exemplary virtual network. As previously mentioned, a virtual network is built on top of an underlying physical network or substrate network. FIG. 2 illustrates a simplified architectural diagram of physical components in a physical network within CSPI 200 that serves as the foundation for a virtual network, according to one embodiment. As illustrated, CSPI 200 provides a distributed environment that includes components and resources (e.g., compute, memory, and network resources) provided by a CSP. These components and resources are used to provide cloud services (e.g., IaaS services) to subscribing users, i.e., users who subscribe to one or more services offered by a CSP. Based on the services to which the user subscribes, a subset of CSPI 200's resources (e.g., compute, memory, and network resources) is provisioned for the user. The user can then build their own cloud-based (i.e., CSPI-hosted), customizable private virtual network using the physical compute, memory, and network resources provided by CSPI 200. As previously indicated, these user networks are referred to as VCNs. Users can deploy one or more of their resources, such as compute instances, into their VCNs. The compute instances can be in the form of virtual machines, bare metal instances, etc. CSPI200 provides infrastructure and a set of complementary cloud services that enable users to build and run a wide range of applications and services within a highly available hosted environment.
[0084] In the example embodiment shown in FIG. 2, the physical components of CSPI 200 include one or more physical host machines or servers (e.g., 202, 206, 208), network virtualization devices (NVDs) (e.g., 210, 212), top-of-rack (TOR) switches (e.g., 214, 216), and a physical network (e.g., 218), as well as switches within physical network 218. The physical host machines or servers may host and execute various compute instances that participate in one or more subnets of the VCN. The compute instances may include virtual machine instances and bare metal instances. For example, the various compute instances shown in FIG. 1 may be hosted by the physical host machines shown in FIG. 2. The virtual machine compute instances in the VCN may be executed by one host machine or by multiple different host machines. The physical host machines may host virtual host machines, container-based hosts or functions, etc. The VNICs and VCN VRs shown in FIG. 1 may be executed by the NVDs shown in FIG. 2. The gateway shown in FIG. 1 may be executed by a host machine and / or by the NVD shown in FIG.
[0085] A host machine or server may run a hypervisor (also called a virtual machine monitor or VMM) that creates and enables a virtual environment on the host machine. The virtualized environment facilitates cloud-based computing. One or more compute instances may be created, run, and managed on the host machine by the hypervisor on the host machine. The hypervisor on the host machine enables the host machine's physical computing resources (e.g., compute, memory, and network resources) to be shared among the various compute instances executed by the host machine.
[0086] For example, as shown in FIG. 2, host machines 202 and 208 execute hypervisors 260 and 266, respectively. These hypervisors may be implemented using software, firmware, or hardware, or a combination thereof. Typically, a hypervisor is a process or software layer that resides on a host machine's operating system (OS), which executes on the host machine's hardware processor. A hypervisor provides a virtual environment by allowing the host machine's physical computing resources (e.g., processing resources such as processors / cores, memory resources, and network resources) to be shared among various virtual machine computing instances executed by the host machine. For example, in FIG. 2, hypervisor 260 may reside on top of host machine 202's OS and allow host machine 202's computing resources (e.g., processing resources, memory resources, and network resources) to be shared among computing instances (e.g., virtual machines) executed by host machine 202. A virtual machine can have its own operating system (referred to as a guest operating system), which may be the same as or different from the host machine's OS. The operating system of a virtual machine executed by a host machine may be the same as or different from the operating system of another virtual machine executed by the same host machine. Thus, a hypervisor allows multiple operating systems to run side by side with each other while sharing the same computing resources of the host machine. The host machines shown in Figure 2 may have the same or different types of hypervisors.
[0087] A compute instance can be a virtual machine instance or a bare metal instance. In Figure 2, compute instance 268 on host machine 202 and compute instance 274 on host machine 208 are examples of virtual machine instances. Host machine 206 is an example of bare metal instance 272 that is provided to a user.
[0088] In some examples, an entire host machine may be provisioned to a single user, and one or more compute instances (either virtual machines or bare metal instances) hosted by that host machine all belong to that same user. In other examples, a host machine may be shared among multiple users (i.e., multiple tenants). In such a multi-tenancy situation, the host machine may host virtual machine compute instances belonging to different users. These compute instances may be members of different VCNs of different users. In some embodiments, bare metal compute instances are hosted by bare metal servers that do not have a hypervisor. When a bare metal compute instance is provisioned, a single user 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 users or tenants.
[0089] As previously mentioned, each compute instance that is part of a VCN is associated with a VNIC that enables the compute instance to be a member of a subnet of the VCN. The VNIC associated with a compute instance facilitates communication of packets or frames to and from the compute instance. The VNIC is associated with the compute instance when the compute instance is created. In one embodiment, for a compute instance executed by a host machine, the VNIC associated with the compute instance is executed by an NVD connected to the host machine. For example, in FIG. 2, host machine 202 executes virtual machine compute instance 268 that is associated with VNIC 276, which is executed by NVD 210 connected to host machine 202. As another example, bare metal instance 272 hosted by host machine 206 is associated with VNIC 280, which is executed by NVD 212 connected to host machine 206. As yet another example, VNIC 284 is associated with compute instance 274 executed by host machine 208, which is executed by NVD 212 connected to host machine 208.
[0090] For compute instances hosted by a host machine, the NVD connected to that host machine also executes VCN VRs corresponding to the VCNs of which those compute instances are members. For example, in the embodiment shown in Figure 2, NVD 210 executes VCN VR 277 corresponding to the VCN of which compute instance 268 is a member. NVD 212 may execute one or more VCN VRs 283 corresponding to the VCNs corresponding to the compute instances hosted by host machines 206 and 208.
[0091] A host machine may include one or more network interface cards (NICs) that allow the host machine to be connected to other devices. The NICs on the host machine may provide one or more ports (or interfaces) that allow 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 the NVD. A host machine may also be connected to other devices, such as another host machine.
[0092] 2, host machine 202 is connected to NVD 210 using link 220 extending between port 234 provided by NIC 232 of host machine 202 and port 236 of NVD 210. Host machine 206 is connected to NVD 212 using link 224 extending between port 246 provided by NIC 244 of host machine 206 and port 248 of NVD 212. Host machine 208 is connected to NVD 212 using link 226 extending between port 252 provided by NIC 250 of host machine 208 and port 254 of NVD 212.
[0093] The NVDs are then connected via communication links to top-of-rack (TOR) switches (also called switch fabrics) that are connected to a physical network 218. In one embodiment, the links between the host machines and the NVDs and between the NVDs and the TOR switches are Ethernet links. For example, in Figure 2, links 228 and 230 are used to connect NVDs 210 and 212 to TOR switches 214 and 216, respectively. In one embodiment, links 220, 224, 226, 228, and 230 are Ethernet links. The collection of host machines and NVDs connected to a TOR may be referred to as a rack.
[0094] The physical network 218 provides a communications fabric that allows the TOR switches to communicate with each other. The physical network 218 can be a multi-tier network. In one implementation, the physical network 218 is a multi-tier Clos network of switches, with the TOR switches 214 and 216 representing leaf-level nodes of the multi-tier, multi-node physical switching network 218. Various Clos network configurations are possible, including, but not limited to, 2-tier networks, 3-tier networks, 4-tier networks, 5-tier networks, and generally, "n"-tier networks. An example Clos network is shown in FIG. 5 and described below.
[0095] Various connection configurations are possible between host machines and NVDs, such as one-to-one, many-to-one, and one-to-many configurations. In a one-to-one implementation, each host machine is connected to its own separate NVD. For example, in FIG. 2, host machine 202 is connected to NVD 210 via NIC 232 on host machine 202. In a many-to-one configuration, multiple host machines are connected to a single NVD. For example, in FIG. 2, host machines 206 and 208 are connected to the same NVD 212 via NICs 244 and 250, respectively.
[0096] In a one-to-many configuration, one host machine is connected to multiple NVDs. FIG. 3 illustrates an example of a CSPI 300 in which a host machine is connected to multiple NVDs. As illustrated in FIG. 3, a host machine 302 includes a network interface card (NIC) 304 including multiple ports 306 and 308. The host machine 300 is connected to a first NVD 310 via port 306 and link 320, and to a second NVD 312 via port 308 and link 322. Ports 306 and 308 may be Ethernet ports, and links 320 and 322 between the host machine 302 and the NVDs 310 and 312 may be Ethernet links. The NVD 310 is then connected to a first TOR switch 314, and the NVD 312 is connected to a second TOR switch 316. The links between the NVDs 310 and 312 and the TOR switches 314 and 316 may be Ethernet links. TOR switches 314 and 316 represent layer 0 switching devices within a multi-tier physical network 318 .
[0097] 3 provides two separate physical network paths between the physical switch network 318 and the host machine 302: a first path traversing the TOR switch 314, through the NVD 310, and to the host machine 302, and a second path traversing the TOR switch 316, through the NVD 312, and to the host machine 302. The separate paths result in improved availability (referred to as high availability) of the host machine 302. If there is a problem with one of the paths (e.g., a link in one of the paths fails) or devices (e.g., a particular NVD is not functioning), the other path may be used for communication to and from the host machine 302.
[0098] In the configuration shown in Figure 3, the host machine is connected to two different NVDs using two different ports provided by the host machine's NIC. In other embodiments, the host machine may include multiple NICs that allow the host machine to be connected to multiple NVDs.
[0099] Referring again to Figure 2, an NVD is a physical device or component that performs one or more network and / or storage virtualization functions. An NVD may be any device that has one or more processing units (e.g., a CPU, Network Processing Units (NPUs), FPGAs, packet processing pipelines, etc.), memory including cache, and ports. Various virtualization functions may be performed by software / firmware executed by the one or more processing units of the NVD.
[0100] The NVD may be implemented in various forms. For example, in one embodiment, the NVD is implemented as an interface card called a smart NIC or intelligent NIC that contains an embedded processor. A smart NIC is a separate device from the NIC on the host machine. In Figure 2, NVDs 210 and 212 may be implemented as smart NICs connected to host machine 202 and host machines 206 and 208, respectively.
[0101] However, a smart NIC is just one example of an implementation of an NVD. Various other implementations are possible. For example, in some other implementations, the 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 CSPI200. For example, the NVD may be embodied in a host machine, and the functions performed by the NVD may be performed by the host machine. As another example, the NVD may be part of a TOR switch, or a TOR switch may be configured to perform the functions performed by the NVD, allowing the TOR switch to perform various complex packet transformations used in public clouds. A TOR that performs the functions of an NVD may be referred to as a smart TOR. In yet other implementations where users are provided with virtual machine (VM) instances rather than bare metal (BM) instances, the functions performed by the NVD may be implemented inside the hypervisor of a host machine. In some other implementations, some of the NVD's functions may be offloaded to a centralized service running on a set of host machines.
[0102] In one embodiment, such as when implemented as a smart NIC as shown in FIG. 2, the NVD may include multiple physical ports that allow the NVD to be connected to one or more host machines and one or more TOR switches. Ports on the NVD may be classified as host-facing ports (also referred to as "south ports") or network-facing or TOR-facing ports (also referred to as "north ports"). Host-facing ports of an NVD are ports used to connect the NVD to host machines. Examples of host-facing ports in FIG. 2 include port 236 on NVD 210 and ports 248 and 254 on NVD 212. Network-facing ports of an NVD are ports used to connect the NVD to TOR switches. Examples of network-facing ports in FIG. 2 include port 256 on NVD 210 and port 258 on NVD 212. As shown in FIG. 2, the NVD 210 is connected to the TOR switch 214 using link 228 extending from port 256 of the NVD 210 to the TOR switch 214. Similarly, the NVD 212 is connected to the TOR switch 216 using a link 230 that extends from a port 258 of the NVD 212 to the TOR switch 216 .
[0103] The NVD may receive packets and frames from the host machine (e.g., packets and frames generated by compute instances hosted by the host machine) via a host-facing port, and after performing any necessary packet processing, may forward those packets and frames to the TOR switch via the NVD's network-facing port. The NVD may receive packets and frames from the TOR switch via the NVD's network-facing port, and after performing any necessary packet processing, may forward those packets and frames to the host machine via the NVD's host-facing port.
[0104] In one embodiment, there may be multiple ports and associated links between the NVD and the TOR switch. These ports and links may be aggregated to form a link aggregator group (called a LAG) of multiple ports or links. Link aggregation allows multiple physical links between two endpoints (e.g., between the NVD and the TOR switch) to be treated as a single logical link. All physical links within a particular LAG may operate in full-duplex mode at the same speed. LAGs help increase bandwidth and improve the reliability of the connection between two endpoints. If one of the physical links in the LAG fails, traffic is dynamically and transparently reassigned to one of the other physical links in the LAG. The aggregated physical link provides higher bandwidth than an individual link. Multiple ports associated with a LAG are treated as a single logical port. Traffic can be load-balanced across the multiple physical links in a LAG. One or more LAGs may be configured between two endpoints. Two endpoints may exist between the NVD and the TOR switch, between a host machine and the NVD, etc.
[0105] The NVD implements or performs network virtualization functions. These functions are performed by software / firmware executed by the NVD. Examples of network virtualization functions include, but are not limited to, packet encapsulation and decapsulation functions, functions for creating VCN networks, functions for enforcing network policies such as VCN security list (firewall) functions, and functions for facilitating routing and forwarding of packets to and from compute instances in the VCN. In one embodiment, upon receiving a packet, the NVD is configured to execute a packet processing pipeline to process the packet and determine how the packet should be forwarded or routed. As part of this packet processing pipeline, the NVD may perform one or more virtual functions associated with the overlay network, such as running VNICs associated with compute instances in the VCN, running virtual routers (VRs) associated with the VCN, encapsulating and decapsulating packets to facilitate forwarding or routing within the virtual network, running certain gateways (e.g., local peering gateways), enforcing security lists, network security groups, network address translation (NAT) functions (e.g., per-host public IP to private IP translation), bandwidth throttling functions, and other functions.
[0106] In one embodiment, the packet processing data path within the NVD may comprise multiple packet pipelines, each consisting of a series of packet transformation stages. In one implementation, upon receipt of a packet, the packet is parsed and sorted into a single pipeline. The packet is then processed in a linear fashion, one stage at a time, until the packet is either dropped or transmitted through an interface of the NVD. These stages provide basic functional packet processing building blocks (e.g., header validation, performing bandwidth throttling, inserting a new Layer 2 header, performing L4 firewalling, VCN encapsulation / decapsulation, etc.), such that new pipelines can be constructed by assembling existing stages, and new functionality can be added by creating and inserting new stages into existing pipelines.
[0107] The NVD may perform both control plane and data plane functions corresponding to the VCN's control plane and data plane. Control plane functions include functions used to configure the network (e.g., setting up routes and route tables, configuring VNICs, etc.) that control how data is forwarded. In one embodiment, a VCN control plane is provided that centrally computes mappings between all overlays and the substrate and publishes these mappings to the NVD and to virtual network edge devices such as various gateways, such as DRGs, SGWs, and IGWs. Firewall rules may also be published using the same mechanism. In one embodiment, the NVD retrieves only mappings relevant to that NVD. Data plane functions include functions for the actual routing / forwarding of packets based on configuration settings using the control plane. The VCN data plane is implemented by encapsulating user network packets before they traverse the substrate network. The encapsulation / decapsulation functions are implemented in the NVD. In one embodiment, the NVD is configured to intercept all network packets entering and leaving the host machine and perform network virtualization functions.
[0108] As indicated above, the NVD performs various virtualization functions, including VNICs and VCN VRs. The NVD may execute VNICs associated with compute instances hosted by one or more host machines connected to the VNICs. For example, as shown in FIG. 2, NVD 210 executes the functions of VNIC 276 associated with compute instance 268 hosted by host machine 202 connected to NVD 210. As another example, NVD 212 executes VNIC 280 associated with bare metal compute instance 272 hosted by host machine 206 and VNIC 284 associated with compute instance 274 hosted by host machine 208. The host machines may host compute instances that belong to different VCNs that belong to different users, and the NVDs connected to the host machines may execute VNICs (i.e., perform functions related to the VNICs) corresponding to the compute instances.
[0109] NVDs also execute VCN virtual routers corresponding to the VCNs of the compute instances. For example, in the embodiment shown in FIG. 2, NVD 210 executes VCN VR 277 corresponding to the VCN to which compute instance 268 belongs. NVD 212 executes one or more VCN VRs 283 corresponding to one or more VCNs to which compute instances hosted by host machines 206 and 208 belong. In one embodiment, a VCN VR corresponding to that VCN is executed by all NVDs connected to a host machine that hosts at least one compute instance belonging to that VCN. If a host machine hosts compute instances that belong to different VCNs, the NVDs connected to that host machine may execute VCN VRs corresponding to those different VCNs.
[0110] In addition to VNICs and VCN VRs, the NVD may run various software (e.g., daemons) and may include one or more hardware components that facilitate the various network virtualization functions performed by the NVD. For simplicity, these various components are grouped together as a “packet processing component” shown in FIG. 2 . For example, NVD 210 includes packet processing component 286, and NVD 212 includes packet processing component 288. For example, the packet processing component of the NVD may include a packet processor configured to interact with the NVD's ports and hardware interfaces, monitor all packets received by and transmitted using the NVD, and store network information. The network information may include, for example, network flow information and per-flow information (e.g., per-flow statistics) that identify the various network flows processed by the NVD. In one embodiment, the network flow information may be stored per VNIC. In addition to performing per-packet operations, the packet processor may implement a stateful NAT and an L4 firewall (FW). As another example, the packet processing component may include a replication agent configured to replicate information stored by the NVD to one or more different replication target stores. As yet another example, the packet processing component may include a logging agent configured to perform the logging functions of the NVD. The packet processing component may also include software for monitoring the performance and health of the NVD, and possibly software for monitoring the status and health of other components connected to the NVD.
[0111] FIG. 1 illustrates components of an exemplary virtual network or overlay network, including a VCN, subnets within the VCN, compute instances deployed to the subnets, VNICs associated with the compute instances, VRs for the VCN, and a set of gateways configured for the VCN. The overlay components illustrated in FIG. 1 may be executed or hosted by one or more of the physical components illustrated in FIG. 2. For example, compute instances within a VCN may be executed or hosted by one or more host machines illustrated in FIG. 2. For compute instances hosted by a host machine, the VNICs associated with the compute instances are typically executed by an NVD connected to the host machine (i.e., the VNIC functionality is provided by the NVD connected to the host machine). The VCN VR functionality for the VCN is performed by all NVDs connected to host machines hosting or running compute instances that are part of the VCN. The gateways associated with a VCN may be executed by one or more different types of NVDs. For example, some gateways may be executed by smart NICs, while other gateways may be executed by one or more host machines or other implementations of NVDs.
[0112] As previously mentioned, compute instances within a user's VCN may communicate with various endpoints, which can be in the same subnet as the source compute instance, or in a different subnet within the same VCN as the source compute instance, or the endpoints are outside the VCN of the source compute instance. These communications are facilitated using VNICs associated with the compute instances, VCN VRs, and gateways associated with the VCN.
[0113] For communication between two compute instances on the same subnet within 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 the source compute instance may be forwarded from the host machine hosting the source compute instance to an NVD connected to that host machine. In the NVD, the packet is processed using a packet processing pipeline, which may include execution of the VNIC associated with the source compute instance. Because the packet's destination endpoint is within the same subnet, execution of the VNIC associated with the source compute instance causes the packet to be forwarded to an NVD running the VNIC associated with the destination compute instance, which then processes the packet and forwards it to the destination compute instance. The VNICs associated with the source and destination compute instances may run on the same NVD (e.g., when the source and destination compute instances are both 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 NVDs to determine the next hop of a packet.
[0114] For packets traveling from a compute instance in a subnet to an endpoint in a different subnet within the same VCN, the packet originating from the source compute instance travels from the host machine hosting the source compute instance to the NVD connected to that host machine. In the NVD, the packet is processed using a packet processing pipeline, which may include running one or more VNICs and VRs associated with the VCN. For example, as part of the packet processing pipeline, the NVD executes or invokes a function corresponding to the VNIC associated with the source compute instance (also referred to as executing the VNIC). The function executed by the VNIC may include examining the VLAN tag on the packet. Because the packet's destination is outside the subnet, a VCN VR function is then invoked and executed by the NVD. The VCN VR then routes the packet to the NVD running 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 compute instance and the destination compute instance may run on the same NVD (e.g., when the source compute instance and the destination compute instance are both hosted by the same host machine) or on different NVDs (e.g., when the source compute instance and the destination compute instance are hosted by different host machines connected to different NVDs).
[0115] If the packet's destination is outside the VCN of the source compute instance, the packet originating from the source compute instance is propagated from the host machine hosting the source compute instance to the NVD connected to that host machine. The NVD runs the VNIC associated with the source compute instance. Because the packet's destination endpoint is outside the VCN, the packet is then processed by the VCN VR for that VCN. The NVD may invoke a VCN VR function to cause the packet to be forwarded to an NVD running the appropriate gateway associated with the VCN. For example, if the destination is an endpoint in a user's on-premises network, the packet may be forwarded by the VCN VR to an NVD running a DRG gateway configured for the VCN. The VCN VR may run on the same NVD as the NVD running the VNIC associated with the source compute instance or by a different NVD. The gateway may be run by the NVD, which can be a smart NIC, a host machine, or another NVD implementation. The packet is then processed by the gateway and forwarded to the next hop, which facilitates the packet's propagation to the intended destination endpoint. 2, a packet originating from compute instance 268 may be communicated from host machine 202 (using NIC 232) over link 220 to NVD 210. At NVD 210, VNIC 276 is invoked because it is the VNIC associated with source compute instance 268. VNIC 276 is configured to examine information encapsulated within the packet, determine a next hop for forwarding the packet in order to facilitate communication of the packet to its intended destination endpoint, and then forward the packet to the determined next hop.
[0116] Compute instances deployed in a VCN can communicate with various endpoints. These endpoints may include endpoints hosted by CSPI200 and endpoints outside of CSPI200. Endpoints hosted by CSPI200 may include instances in the same VCN or other VCNs, which may be the user's VCN or VCNs not belonging to the user. Communication between endpoints hosted by CSPI200 may occur via physical network 218. Compute instances may communicate with endpoints not hosted by CSPI200 or external to CSPI200. Examples of these endpoints include endpoints in the user's on-premises network or data center, or public endpoints accessible via a public network such as the Internet. Communication with endpoints external to CSPI200 may occur via a public network (e.g., the Internet) (not shown in FIG. 2) or a private network (not shown in FIG. 2) using various communication protocols.
[0117] The architecture of CSPI 200 shown in FIG. 2 is merely exemplary and is not intended to be limiting. Variations, substitutions, and modifications are possible in alternative embodiments. For example, in some implementations, CSPI 200 may include more or fewer systems or components than those shown in FIG. 2, may combine two or more systems, or may include a different configuration or arrangement of systems. The systems, subsystems, and other components shown in FIG. 2 may be implemented in software (e.g., code, instructions, programs) executed by one or more processing units (e.g., processors, cores) of the respective systems, using hardware, or a combination thereof. The software may be stored in a non-transitory storage medium (e.g., a memory device).
[0118] Cloud Bridge and Cloud Migration Services Architecture CSPI (e.g., CSPI 101 and 200 described with respect to FIGS. 1 and 2) can be configured to provide cloud integration services. At least a portion of the cloud integration services is provided using a cloud bridge service (e.g., Oracle Cloud Bridge (OCB)) for management and configuration of remote resources that interact with other cloud services provided by the CSPI. Cloud Bridge addresses key aspects of this integration, including automatic discovery and identity of remote resources, representation of remote resources as assets within the user's tenancy, secure network connectivity between remote resources and the CSPI, lifecycle management of agent technology running in the remote environment, and assistance with migration of existing user workloads from external environments to the CSPI. Cloud Bridge enables users to give remote resources (e.g., databases, compute nodes, etc.) a virtual presence within the CSPI for seamless interaction with other cloud services provided by the CSPI. To enable the virtual presence, Cloud Bridge provides the remote resources with a unique cloud identifier (e.g., CloudID, resource principal, etc.) and a remote network connection for interacting with the service. This allows Cloud Bridge to reside in a single location, enabling users to coordinate and manage CSPI agent functionality on remote resources. For users, Cloud Bridge provides a unified, cloud-centric experience across both cloud-native and remote resources while minimizing configuration within the remote environment. For CSPI service teams, Cloud Bridge simplifies environment integration by enabling services to interact with remote resources as if they were cloud resources, and by providing a standardized framework for deploying and managing remote agent capabilities. This allows CSPI service teams to focus on their core cloud experience without worrying about remote connectivity or software lifecycle management.
[0119] Cloud Bridge is managed and configured through a console (e.g., the CSPI console described with respect to Figures 1 and 2), application programming interfaces (APIs), and a software development kit (SDK). Cloud Bridge management and configuration focuses on three fundamental resource types: environments, agents, and assets. Users create an environment for each location where they want access to other cloud services provided by CSPI. The environment acts as a container for assets and defines the scope for managing default policies at that location.
[0120] Agents are part of virtual machines that users create from images provided by Cloud Bridge. Agents act as extensions of the Cloud Bridge service in remote environments and are monitored, updated, and operated by CSPI based on the associated environment's configuration. Agents provide basic Cloud Bridge services, such as remote asset discovery and inventory integration, and include a framework for running service-specific plugins within the environment. For example, the Oracle Cloud Migration service deploys a replication plugin that creates a virtual machine snapshot and uploads it to OCI for migration to OCI compute. Cloud Bridge allows users to select from a catalog of agent-based services and automatically deploys the associated functionality to their environment. Cloud Bridge monitors deployed agents and software versions and provides manually triggered or automated lifecycle management. Multiple agents may exist in the same environment for redundancy and performance reasons.
[0121] Assets are CSPI resources that represent remote resources discovered by agents, capture their properties in the remote environment, and provide CSPI properties (e.g., CloudID, resource principal, etc.) for use across other cloud services provided by CSPI. Users can manually add assets in an environment or trigger automatic discovery based on integration with infrastructure / systems management products such as Oracle Enterprise Manager and Microsoft Active Directory. CSPI applies default access policies based on asset type. For example, a database asset may default to allowing only SQLNet connections encrypted by SSL. Environments and discovered assets may be managed by an asset inventory exposed to users through a console. Users may choose to perform any action on an asset depending on the asset type and the service plugins available for the asset type. For example, a virtual machine asset type may support multiple actions, such as cloud migration using Oracle Cloud Migrations, exposure as a VNIC using a virtual network, or dispatching metrics to CSPI using observability, as described in detail herein. A database asset type may similarly support integration with various database services, such as the Data Safe service and the Database Migration service. Cloud Bridge can also integrate with various data management services, such as the Management Agent Cloud Service (MACS) agent, which provides an on-guest agent, and agent plug-in capabilities to collect additional metadata about assets. MAC agents can use the Cloud Bridge agent framework, making the integration and functionality seamless for users.
[0122] FIG. 4A is a high-level diagram of a distributed environment 400 illustrating a cloud bridge architecture for managing and configuring remote resources that interact with cloud services, according to one embodiment. As shown in the example depicted in FIG. 4A , distributed environment 400 includes a cloud infrastructure 402 (CSPI) physically hosted within one or more global regions 403 (i.e., data centers managed by a cloud service provider, such as Oracle) that provides high-performance computing and storage capacity (as physical or virtual hardware instances) within a flexible overlay virtual network securely accessible from users' on-premises networks (e.g., on-premises network 404 and / or on-premises network 406). CSPI 402 includes a console 408 that enables users and network administrators to configure, access, and manage remote resources and resources deployed within the cloud using CSPI resources. In one embodiment, console 408 provides a web-based user interface that can be used to access and manage CSPI 402 and various service functions, including cloud bridge and migration services. In some implementations, console 408 is a web-based application provided by the CSP.
[0123] CSPs may use CSPI402 to offer various services. In some cases, users of CSPI402 may act as service providers themselves and offer services using CSPI402's resources. Service providers may expose service endpoints characterized by identifying information (e.g., IP addresses, DNS names, and DNS ports). User resources (e.g., compute instances, on-premises resources, off-premises resources, etc.) can consume a particular service by accessing the service endpoint exposed by the service for that service. These service endpoints are generally endpoints that are publicly accessible by users via a public communication network such as the Internet using a public IP address associated with the endpoint. In one embodiment, a service provider may expose a service (e.g., Cloud Service A, Cloud Service B, Cloud Service C, Cloud Service D, Cloud Service E) through an endpoint for the service (sometimes referred to as a service endpoint) (e.g., CSA, CSB, CSC, CSD, CSE). Users of the service can then access the service using this service endpoint. In one implementation, a service endpoint provided for a service can be accessed by multiple users seeking to consume the service. In other implementations, a dedicated service endpoint may be provided to a user, allowing only that user to access the service using that dedicated service endpoint.
[0124] CSPI402 provides services and resources that users can subscribe to and use to build VCNs. In one embodiment, CSPI402 provides IaaS and iPaaS services to subscribing users. In this example, the user configures VCN410 for global region 403. The user may deploy various compute instances to VCN410, which may include virtual machines or bare metal instances. Example instances include applications, databases, load balancers, and the like. Multiple compute instances may be deployed in each subnet. In the embodiment shown in FIG. 4A, VCN410 includes a single subnet412, but it should be understood that VCN410 may be configured using any number of subnets. The compute instances within a subnet may be hosted by one or more host machines within CSPI402. The compute instances join the subnet through VNICs associated with the compute instances, as described in detail with respect to FIG. 1.
[0125] Compute instances deployed in a subnet, such as subnet 412 of VCN 410, can communicate with various endpoints. These endpoints may include endpoints hosted by CSPI 402 and endpoints outside of CSPI 402. Endpoints hosted by CSPI 402 may include endpoints on the same subnet as the particular compute instance, endpoints on a different subnet but in the same VCN, endpoints in a different VCN in the same region, or endpoints in a VCN in a different region. Compute instances in a subnet hosted by CSPI 402 may communicate with endpoints not hosted by CSPI 402 (i.e., outside of CSPI 402). These outside endpoints include endpoints in the user's on-premises network (e.g., on-premises network 404 and / or on-premises network 406), endpoints in networks hosted by other remote clouds, public endpoints accessible over a public network such as the Internet, and other endpoints.
[0126] The user's on-premises network 404 and / or on-premises network 406 may be the user's network or the user's data center built using the user's resources. While the user's external resources are all shown as on-premises in FIG. 4A , it should be understood that the resources may also be off-premises, such as part of a VCN within a CSPI of a different CSP. Access to the on-premises network 404 and / or on-premises network 406 is typically highly restricted. For a user who has both the user's on-premises network 404 and / or on-premises network 406 and one or more VCNs 410 deployed or hosted in the cloud by CSPI 402, the user may want to allow cloud services (e.g., cloud services A-E) to interact with the user's external resources (e.g., on-premises database 416, on-premises virtual machine 418, on-premises database 420, etc.). This allows the user to build an extended hybrid or multi-cloud environment that encompasses the user's VCN 104 and the user's external resources hosted by CSPI 101. A cloud bridge service enables this interaction. To enable such interaction, a communication channel 422 is established, with one endpoint of the channel being within on-premises network 404 and / or on-premises network 406 and the other endpoint being within CSPI 402 and connected to the user's VCN 410. Communication channel 422 can traverse a public communication network such as the Internet or a private communication network. Various communication protocols may be used, such as IPsec VPN technology over a public communication network such as the Internet, or Oracle's FastConnect technology, which uses a private network instead of a public network. The software or virtual machine within user's on-premises network 404 and / or on-premises network 406 that forms one endpoint of communication channel 422 is referred to as agent 424.On the CSPI 402 side, the endpoints (eg, DB1, DB2, VM1) may be host machines running gateways such as DRG.
[0127] The Cloud Bridge service consists of three main functions: agents, asset discovery, and asset inventory.
[0128] The agent functionality enables the cloud services provided by CSPI 402 to interact with a user's external resources (e.g., on-premises database 416, on-premises virtual machine 418, and on-premises database 420). The agent functionality is implemented using agents 424 and a corresponding cloud bridge control plane 425 (also known as an agent control plane or appliance control plane). Agents 424 are specialized software components used as a platform for deploying cloud service functions that interact with external resources. Each agent 424 has a corresponding agent identifier (e.g., a CSPI identifier used to identify an asset as a resource in CSPI 402), which is associated with an external site identifier (e.g., externalSiteId) of the external environment (e.g., on-premises network 404 and / or on-premises network 406) in which the agent 424 is deployed. The external site identifier is used to identify the external resources and the external environment in which the agent is deployed. The agent control plane 425 provides management and coordination of the entire cloud bridge architecture, such as agent registration and agent lifecycle management.
[0129] The asset discovery functionality enables learning about a user's resources in the external environment (e.g., on-premises network 404 and / or on-premises network 406) and creating / updating assets representing the resources in cloud bridge inventory 426. An asset is a resource in CSPI 402 that represents metadata for resources residing in the external environment, such as a vSphere VM, an EC2 instance, or a database. Each asset has an asset type that defines different types of assets, an asset identifier (e.g., a CSPI identifier used to identify the asset as a resource in CSPI 402), an associated external site identifier, and a source identifier used to identify the discovery plugin that discovered the resource associated with the asset. The asset discovery functionality is implemented using discovery plugins 427 and corresponding discovery control plane 428 integrated with agent 425. Discovery plugins 427 are software components deployed in the external environment that provide functionality such as asset discovery, metadata and metrics collection, and reporting of resources and metadata to inventory 426. The discovery control plane 428 is deployed in the overlay and includes one or more applications backed by a data store (e.g., an autonomous transaction processing (ATP) data store), and is responsible for handling requests related to asset discovery received from user-facing APIs, as well as communication and coordination of discovery plugin 427 tasks.
[0130] The asset inventory function allows for storing metadata about assets and relationships discovered through asset discovery or imported by a user. The asset inventory also exposes user-facing APIs for creating, retrieving, searching, and analyzing various assets. The asset inventory is implemented using inventory 426 and a corresponding inventory control plane 430. Inventory 426 is a region-specific CSPI 402 resource (e.g., data table or database) that supports standard CRUDL operations. Inventory control plane 430 is an application deployed in the overlay and backed by a data store (e.g., an ATP data store) that is responsible for handling asset inventory-related requests received from the user-facing APIs, as well as communication and coordination of inventory 426 and asset-related tasks. In one embodiment, the asset inventory function is limited to a single inventory per region. Advantageously, this helps eliminate duplication of assets within a tenancy. Preventing asset duplication helps prevent downstream services, such as migration and replication services, from copying the same VM data multiple times and creating multiple CSPI 402 resources for the same asset. This also provides a single global view of a user's assets across different external environments (e.g., multi-cloud services).
[0131] As shown in FIGS. 4B and 4C , agent 424 is deployed within a user's external environment (e.g., on-premises network 404 and / or on-premises network 406) as part of virtual appliance 432. Virtual appliance 432 is a virtual machine pre-configured with agent software, plug-ins, and management components. The key components of virtual appliance 432 are agent services subsystem 434, update services subsystem 436, and security services subsystem 438. Agent services subsystem 434 provides the core functionality of the agent and lifecycle management of plug-ins, such as discovery plug-in 427 and replication plug-in 440. This includes collecting and reporting plug-in status to agent control plane 425, generating and communicating agent metrics (e.g., CPU, memory, etc.) to CSPI monitoring, publishing local logs (e.g., of the appliance, agent, and its plug-ins) to CSPI logging, and running local console application functions (e.g., local console 445 used for agent registration).
[0132] The plug-in is a self-contained / standalone application that is integrated with the agent 424 as part of a virtual appliance 432 that a user creates in an external environment from an Open Virtualization Application (OVA) template. The OVA template is a virtual appliance in the Open Virtualization Format (OVF) used by virtualization applications such as VMware Workstation and Oracle VM Virtualbox. The OVA template can be used by a user to create multiple virtual machines (e.g., multiple VMs for agent functions in multiple external environments). In some embodiments, the OVA template is sealed (preventing user remote access) and does not allow the user to execute arbitrary code using the virtual appliance 432. The user may only interact with the OVA template via the local console 445 for registration; all other management operations are coordinated with the virtual appliance 432 from CSPI 402. The agent 424 provides the plug-in with environment / configuration information (e.g., CSPI 402 region, external site identifier, agent identifier, agent type, etc.) and the information the plug-in needs to obtain a resource principal session token for communication with CSPI 402. Agent 424 also provides monitoring capabilities (metrics and logging) and reports the status of plugins to agent control plane 425. Agent 424 itself is not publicly accessible from the internet; agent 424 and associated plugins initiate connections to CSPI 402's API endpoints (either direct or through a corporate proxy).
[0133] As described with respect to FIG. 4A , discovery plugin 427 learns about a user's resources in the external environment (e.g., on-premises network 404 and / or on-premises network 406) and facilitates creating / updating assets representing the resources in cloud bridge inventory 426. Replication plugin 440 is deployed in external environment 404 and is responsible for replicating (i.e., migrating) data from on-premises VMs to the user's CSPI 402 tenancy using an asset replication task. The asset replication task is the atomic unit of work by which replication plugin 440 imports a user's assets into CSPI 402's object storage. This approach lowers the barrier to entry for migration by not requiring users to establish an on-premises connection to CSPI 402 or to open ports for communication to CSPI 402 for each asset source (e.g., vCenter). Replication plugin 440 is published as a binary and then deployed to the corresponding appliance by the CSPI 402 service. Although only detection plug-in 427 and replication plug-in 440 are shown and described in this specification with respect to virtual appliance 432, it should be understood that other types of plug-ins may be integrated with agent 424 as part of virtual appliance 432 to facilitate the provision of one or more functions (e.g., cloud services).
[0134] For some features, agent 424 requires third-party libraries / packages that may not be distributed as part of the agent package and require consent and special actions by the user. For example, in the case of cloud migration scope, the Virtual Disk Development Kit (VDDK) is required to generate snapshots of VMware VM disks by replication plugin 440. The user-initiated agent dependency process involves the user downloading the third-party library / package from the relevant third-party site, accepting the terms of service, and uploading the library / package to a pre-configured CSPI 402 object storage bucket. In some cases, public documentation provided by the CSP provides the user with links and specific instructions on how the download / upload is performed, which may be performed once per version of the dependency. The user then logs into console 408, navigates to agent dependency settings, and creates a new agent dependency for the library / package, including providing the object location in object storage (e.g., namespace, bucket, object name), and selects the library / package type. This causes the agent control plane 425 to initiate a dependency signature verification workflow, which downloads and calculates the library / package's signature (checksum) and compares the library / package's signature with the whitelist signature in the database to identify and validate the library / package. Once the library / package is identified and validated, the user goes to the console 408, navigates to the external site settings, and adds the agent dependency identifier to the external site identifier. The agent 424 then retrieves this information from the agent control plane 425 and installs the dependency locally, making it available for plugin consumption.
[0135] The update service subsystem 436 updates the software and parameters of the agent service subsystem 434 and the virtual appliance 432. The update service subsystem 436 includes the updater 440, a software component that runs on the virtual appliance 432 and is responsible for keeping the virtual appliance 432 up to date. The components of the agent 424 are managed by Cloud Bridge engineers. The release of new code (e.g., a new agent security update) triggers the creation of a new bundle for a specific component of the agent 424 (e.g., the security service subsystem 438). The updater 440 maintains a list of currently used components and the version of the bundle each component uses. A bundle is a specific realization or instance of a component. The bundle description is stored in the agent control plane 425's database or embeddable key / value store, while the data portion is a blob stored in the agent control plane 425's object storage. The blob is a binary file containing executables, configurations, and other data required to update the component. The updater 440 periodically polls the agent control plane 425. If a new bundle is available, agent control plane 425 responds to the poll with an "update" command containing information about the new bundle to install. When updater 440 receives the "update" command, it downloads the blob, creates a rollback snapshot, prepares a new file system (e.g., a subvolume) using the updates based on the blob, stops agent 424 processing, and restarts agent 424 into the new file system.
[0136] The security services subsystem 438 implements security and compliance controls for the agent services subsystem 434 and the virtual appliance 432 using firewalls, antivirus scanning tools, auditing tools, and system configurations.
[0137] To facilitate understanding of the Cloud Bridge architecture, the following use cases are provided, however, it should be understood that these use cases are non-limiting and that other use cases are contemplated and may be implemented by the Cloud Bridge within CSPI.
[0138] Use Case 1: Private access to remote databases for database security cloud services.
[0139] 1. A user uses the console 408 to create an external environment, i.e., an on-premise network 404.
[0140] 2. The user downloads the OVA template of the virtual appliance 432 and deploys the agent 424 to the on-premise network 404.
[0141] 3. The user accesses the local console 445 of the agent 424 and registers the agent 424 with the cloud bridge.
[0142] 4. The user initiates discovery from the console 408 to discover resources in the on-premise network 404, including the on-premise database 416.
[0143] 5. Agent 424 collects host, database, and database object metadata and creates or updates database assets in inventory 426 using discovery plugins 427, discovery control plane 428, and inventory control plane 430.
[0144] 6. The user views the discovered database assets in inventory 426 via console 408, identifies the asset associated with on-premises database 416, and creates a database private endpoint (DB1) in VCN 410 to enable private network access to the asset associated with on-premises database 416 that the user wants to use with a database security cloud service (cloud service A) (e.g., Data Safe).
[0145] 7. The user creates a private endpoint (CSA) for the database security cloud service (Cloud Service A) in VCN 410 and configures the private endpoint to protect assets associated with on-premises database 416 based on CloudID or IP address, just as the user protects the cloud-native database in VCN 410.
[0146] 8. Optionally, the user configures the compute instance in VCN 410 to connect to on-premise database 416 via a private endpoint (DB1) and communication channel 422.
[0147] Use case 2: Private access to a remote virtual machine hosting a data repository.
[0148] 1. A user uses the console 408 to create an external environment, i.e., an on-premise network 404.
[0149] 2. The user downloads the OVA template of the virtual appliance 432 and deploys the agent 424 to the on-premise network 404.
[0150] 3. The user accesses the local console 445 of the agent 424 and registers the agent 424 with the cloud bridge.
[0151] 4. The user initiates discovery from the console 408 to discover resources in the on-premise network 404, including the on-premise virtual machine 418 running the self-hosted Bitbucket Server.
[0152] 5. Agent 424 collects host, database, and database object metadata and creates or updates database assets in inventory 426 using discovery plugins 427, discovery control plane 428, and inventory control plane 430.
[0153] 6. The user views the discovered VM assets in inventory 426 via console 408, identifies the asset associated with the on-premises virtual machine 418, and creates a VM private endpoint (VM1) in VCN 410 to enable private network access to the asset associated with the on-premises virtual machine 418 that the user wants to use with a VM cloud service (cloud service B) (e.g., CSPI DevOps services).
[0154] 7. User creates a private endpoint (CSB) for CSPI DevOps service (e.g. self-hosted Bitbucket Server) in VCN410, selects the newly created VM private endpoint (VM1) to configure the connection URL, and adds authentication information.
[0155] 8. User configures CSPI DevOps "Managed Build Stage" to use the Private Endpoint (CSB) and VM Private Endpoint (VM1) as part of the DevOps CI / CD pipeline.
[0156] 9. A user runs a pipeline that can access the data repository from a remote self-hosted Bitbucket Server via a private endpoint (CSB), a VM private endpoint (VM1), and communication channel 422.
[0157] In some embodiments, the cloud integration service facilitates the migration of workloads from external environments to other environments, such as CSPIs (e.g., CSPIs 101 and 200 described with respect to FIGS. 1 and 2 ) or other CSPIs. The workload migration service assists users with all aspects of cloud migration, whether migrating a multi-tier application, a specific data center, or a specific class of infrastructure. The cloud migration service (e.g., Oracle Cloud Migration (OCB)) interfaces with a cloud bridge service (e.g., Oracle Cloud Bridge (OCB)) for management and configuration of remote resources that interact with other cloud services provided by the CSPI. The cloud bridge handles key aspects of this integration, including automatic discovery and cloud identity of remote resources, representation of remote resources as assets within the user's tenancy, secure network connectivity between the remote resources and the CSPI, and lifecycle management of agent technology running within the remote environment.
[0158] In some embodiments, the cloud migration service provides an end-to-end, comprehensive self-service experience for migrating existing VMware virtual machine-based workloads from on-premises to CSPI. The cloud migration service enables users to identify virtual machine workloads hosted in environments external to CSPI, plan the migration, and automate the migration workflow. For example, the cloud migration service may provide the following tasks: · Automatically discover virtual machines outside of CSPI. Organizing virtual machines for migration. · Replicate virtual machine data to CSPI. · Plan for virtual machine redeployment. Reconfigure the virtual machine to automatically boot successfully as a CSPI compute instance. Launch a virtual machine as a CSPI compute instance using the replicated data.
[0159] A successful migration can involve using a framework to discover and survey existing assets, such as on-premises assets, and then plan the migration, replicate data, and initiate the target environment. The top-level container is used as a migration service resource to track all aspects of the migration from discovery to activation. From discovery to migration execution, the cloud migration service maintains a standardized asset inventory and provides a unified experience for migrating assets to any appropriate cloud service, regardless of their type. For example, VM instances in the cloud migration inventory can be migrated to Virtual Machine Interface (VMI), Bare Metal, or VMware over CSP. The cloud migration service can provide recommendations and cost estimates to maximize user benefits; for example, a CSP may recommend that instead of migrating a database server as a VM, the user should consider migrating the logical database to DBaaS.
[0160] The steps of an exemplary migration are shown in FIG. 5. As shown, the exemplary migration 500 includes managing migration assets (505), analyzing and migrating assets (510), and verifying the success of the migration (515). Managing migration assets 505 includes connecting to a source environment (520), deploying a virtual agent (525), and discovering assets in the source environment (530). The source environment represents an on-premises environment (external to CSPI), such as an on-premises data center in a VMware asset source deployment. To connect an external source environment to CSPI (520), a user configures the source environment using a console (a browser-based interface such as console 408 described with reference to FIGS. 4A-4C), a CSPI command line interface (CLI), or a REST API. For example, a user may open the console's navigation menu and select a service, such as Migration Services. In Migration Services, a user may select Remote Connection and then select Create Source Environment. The user may then enter a name for the source environment, select a partition created on the CSPI associated with the source environment (which provides a global logical namespace as a folder in a file system against which policies can be enforced), and complete the creation of the source environment. Once the source environment is created, the user may download an appropriate remote agent appliance, e.g., an OVA file, and install the agent appliance, as described in detail with respect to FIGS. 4A-4C. The agent appliance is then registered and validated for use in the source environment. To enable operation of the remote agent appliance, agent dependencies may be added to the source environment as third-party library dependencies on the agent appliance. For example, the agent dependencies may be added using VDDK, as described in detail with respect to FIGS. 4A-4C.
[0161] Asset discovery 530 enables identification and metadata collection of various assets, including VMs, from external environments and representation of the assets and associated metadata in an inventory asset, facilitating the migration process. Asset discovery 530 is performed using connectors and includes creating asset sources and discovery work requests and initiating and running one or more plug-ins in the on-premises environment, including, for example, a discovery plug-in for performing external asset discovery. The discovery plug-in searches for assets in the source environment using environment-specific connectors and APIs. The discovery plug-in is described herein as supporting VMware through a Cloud Bridge-based connector and agent deployed directly on the VM to be migrated. However, it should be understood that other connectors may be built and used to support other assets, clouds, and environments, such as Hyper-V or Enterprise Manager. Users may configure connectors for one-time use or for ongoing monitoring to extract cloud monitoring runtime metrics and track changes to external assets. In addition to metadata and metrics, external assets include their history and how they were discovered / imported. Metadata history is tracked so that users can monitor the evolution of assets over the course of a migration over time, allowing the cloud migration service to highlight changes that may require modifications to the migration plan.
[0162] Discovered assets are recorded and tracked in an inventory subsystem (e.g., cloud bridge inventory 426 described with respect to Figures 4A-4C). The inventory subsystem retrieves metadata information that tracks assets, including physical and runtime properties of virtual machines, such as operating system, hardware, and resource utilization. The inventory subsystem then stores the metadata information in a table or database as a collection of assets and associated metadata (i.e., inventory). The inventory subsystem is used to store information about assets discovered in the on-premises environment that can be migrated. These assets are added to the inventory subsystem by importing a CSV file using an API or by performing automatic discovery in the external environment via a discovery plugin.
[0163] After external assets are discovered and the required data is collected, asset analysis and migration 510 is performed to create a migration project (535), create one or more migration plans (540), and / or replicate migration assets (545). More specifically, after a user discovers their external assets, the user can create a migration project (535) to group interrelated and dependent assets for migration. Projects are independent of how they are configured; a user may want to migrate a specific tier of an application or infrastructure. The user can query the inventory for suggested groupings based on observed runtime dependencies or other metadata extracted from the source environment. Migration assets located in the inventory subsystem can then be added to the migration project. The migration project can be used to replicate all migration assets related to the migration. Migration assets within a project can be configured to reference replication policies that describe how assets are moved to the CSPI. Replication policies allow for manual or connector-based replication of full images or incremental asset snapshots on demand or on a schedule specified by the user. Users can also specify whether replicated data overwrites or extends previous snapshots to manage storage costs.
[0164] From a project, a user can manage grouped inventory assets. For example, a user may set a default replication policy or update external assets from discovery. Within a project, a user creates launch plans (540). A launch plan is a context containing a mapping of source assets to target resource types in CSPI, as well as the partitions, subnets, and launch dependencies that launch those source assets. A user may want to create multiple launch plans for a single migration project for various reasons. A user may want to create an initial launch with minimal sizing calculations to easily test functionality after migration, another plan later for performance testing, and yet another plan for dial-in right-sizing. Each of these may launch in a different environment to ensure isolation.
[0165] When a user creates a new launch plan, they can instruct the Cloud Migration Service to pre-populate target resource selections with recommendations based on inventory and metric metadata. For example, a user may want the Cloud Migration Service to select a target compute shape using minimum size, average utilization, or peak utilization. Users can override any target selection, exclude individual assets from the launch, or select an existing CSPI instance if the migration has already occurred out-of-band. When edited, the plan provides updated cost and other assessments of the CSPI deployment (such as the impact of limitations) and highlights possible compatibility or capacity issues. Users can launch, restart (terminate the existing one and restart using the latest one), and terminate from a launch plan.
[0166] Replication of migration assets 545 includes the creation of an asset in CSPI that replicates an asset within an external user environment, such as within an on-premises environment. In some embodiments, this replication is performed in part by a replication plugin that can manage the replication of external asset snapshots. This replication includes the management of one or more full image and / or incremental virtual machine snapshots. The user indirectly controls replication by defining replication policies. Each policy corresponds to a migration project and specifies the assets to be replicated to CSPI and the frequency of replication. Multiple workflows within the migration and replication control plane monitor replication policies, schedule replication tasks according to existing replication policies, and monitor the progress of each replication. With each replication run, a snapshot of the asset is taken and imported into CSPI. The user enables the replication plugin on the Cloud Bridge appliance by providing the credentials and metadata required by the Cloud Bridge appliance configuration. The installation process is handled by the Cloud Bridge appliance. Once the replication plugin is enabled, it registers with the replication service and begins polling for replication tasks using the replication service API.
[0167] Migration can be a long-term process and can include one or more iterations of test launches using various configurations. In some embodiments, these iterations can include successive updates of source data from the source environment before the final migration and activation of the migrated system within CSPI. For example, in embodiments in which a user migrates information from a source environment to CSPI, and specifically to the user's tenancy within CSPI, the user may repeatedly discover and / or capture on-premises assets, and a migration plan can be generated for some or all of the times the on-premises assets are discovered. For example, in embodiments in which a user modifies one or more on-premises assets, these changes can be captured and / or detected by repeated iterations of discovery of those assets. In such embodiments, a migration can be planned that can capture each of these versions of the user's assets. In some embodiments, only the final versions of the assets are migrated, and in some embodiments, the user can control which versions of the assets are replicated to CSPI.
[0168] In some embodiments, planning for the migration includes evaluating the capabilities of the CSPI compared to the capabilities of the on-premises environment and / or on-premises assets. This evaluation includes determining whether and to what extent the on-premises capabilities differ from and / or exceed the capabilities of the CSPI. Based on this determination, the plan for the migration of the assets may be modified.
[0169] In particular, for example, during the planning step, the capabilities of a user's on-premises VMs are identified and one or more VM configurations (recommended) within OCI are presented. This identification includes identifying attributes of each on-premises VM, including hardware, capabilities, and actual usage metrics. The attributes may include the number of CPUs, average CPU utilization, maximum CPU utilization, memory, average memory usage, maximum memory usage, number of VNICs, number of GPUs, and / or network bandwidth.
[0170] Based on this information, several suggested OCI VM shapes are presented, which may be generated and presented based in part on information relevant to the user, such as the user's preferences for optimal pricing or optimal performance.
[0171] The attributes of the on-premises VM are compared with the identified attributes of the OCI VM shape, and a difference score is generated that characterizes the differences between the attributes of the OCI VM shape and the attributes of the on-premises VM. If the difference score indicates that the differences between the attributes of the OCI VM shape and the on-premises VM are too large, an incompatibility error is generated.
[0172] The VM shapes selected by the user are combined to form a migration plan, which can be a terraform representation of the migration plan.
[0173] After the migration planning is complete, a migration replication step may be performed. In some embodiments, the replication step is performed once, while in other embodiments, the replication step may be performed repeatedly as on-premises assets change and / or are modified. In some embodiments, the replication step may include creating a snapshot of one or more assets to be replicated and storing the snapshot. In some embodiments, the snapshot may be stored in a golden volume group (GVG). A copy of the snapshot stored in the GVG may be created, modified, and then used in creating an executable stack, such as a terraform stack. In some embodiments, a user may be provided with an executable stack and modify the executable stack before running it, thereby replicating assets to the CSPI, and in particular, to the user's tenancy within the CSPI.
[0174] Validating the success of the migration (515) includes launching the target assets into the CSPI instance (550), validating the instance creation within the CSPI (555), and marking the migration project as complete (560). Launching the target assets into the CSPI instance (550) includes the cloud migration service launching compute instances to run hydration agents during data replication. Target assets may be launched into the CSPI instance using a resource manager, such as Oracle Resource Manager (ORM). Hydration agents are pooled together based on the location of the replication. Hydration agents are automatically started to load balance the replication process based on the object pool. These agents are then automatically terminated after they become idle and there are no more pending replication jobs. During the replication workflow, volume snapshots of the VMs are stored in object storage. The snapshot data is deleted from object storage after the hydration agent writes the data to the block volume. During the replication workflow, a temporary VCN is created to provide the hydration agents with connectivity to the object storage. This VCN is terminated after all hydration agents are no longer active. A set of block volumes resides in the user's tenancy for the entire life of the migration asset. A golden volume, also known as a volume group, is created for each boot and data volume attached to the source asset, such as a VM. The golden volumes are kept synchronized with snapshots created in the source environment. As part of each replication update, a new set of volumes is created and used to launch compute instances into CSPI. Launching a compute instance involves launching an asset, such as a VM, including its partition, subnet, and launch dependencies. The VM is then replicated to the OCI instance. The user can then mark the project as complete.This action prevents the migration module from attempting to detect further changes to the source environment or from proposing new recommendations. After the project is marked as complete, the cloud migration service disconnects the production environment from the migration workflow and archives the migrated inventory.
[0175] An exemplary embodiment of an architecture 600 that may be implemented for migration is shown in FIG. 6. Architecture 600 includes an external user environment 602 and a CSPI 604. External user environment 602 includes any environment that is distinct from CSPI 604. In some embodiments, external user environment 602 may include an on-premises environment and / or a CSPI that is separate from CSPI 602. CSPI 604 and external user environment 602 are communicatively coupled via a public network 606. Public network 606 may be a wired and / or wireless communication network and may include, for example, the public Internet.
[0176] The user environment 602 includes a virtual appliance 610 (as described in detail with respect to FIGS. 4A-4C ), which may include a replication plug-in 612. The replication plug-in 608 is an application developed by a cloud migration service and deployed to the user's virtual appliance 610 by a cloud bridge service. Installation, registration, and lifecycle management of the replication plug-in 612 may be performed by the cloud bridge service. After the replication plug-in 612 starts up, it registers with the replication control plane 615 and repeatedly polls the replication control plane 615 for replication tasks. Each task describes a single asset to be replicated (e.g., a VMware VM), metadata for the corresponding asset source 616 (e.g., a vCenter), and a destination in object storage 618 (e.g., an object storage bucket for uploading a disk snapshot). The asset source's credentials are retrieved directly from the CSPI vault or data storage by the replication plug-in 608 using the metadata; the replication control plane 615 does not have access to these credentials. The credentials are kept only in memory and are re-acquired when the replication plug-in 608 restarts.
[0177] While a task is running, the replication plug-in 608 periodically updates the task status and progress, which are then aggregated by the replication workflow and propagated to the user interface. Progress is reported to the user interface as part of the overall migration iteration progress. As described with respect to FIG. 5, the replication control plane 615 schedules replication tasks according to the replication policies specified by the customer during migration configuration. The policies specify which customer assets should be migrated, how the customer assets are mapped to CSPI assets, and the frequency of migration. A separate replication task may be created for each asset in a single iteration of the migration. This allows for maximum replication concurrency when multiple Cloud Bridge appliances are connected to the same asset source and can run replication tasks for the same migration in parallel.
[0178] Given the iterative nature of replication, the replication plug-in 608 performs incremental snapshots whenever possible. Specifically, if the asset source allows the replication plug-in 608 to calculate and access changes to the asset disk since the most recently imported snapshot, only these changes, along with corresponding metadata, are imported by the plug-in into CSPI 604 and then used by the replication server 620 to create the latest golden volume group (the volume group corresponding to the most recently imported snapshot of the customer's asset's as-is disk). This optimization results in significant performance and cost improvements. It should be noted that the replication plug-in 608 is an optional part of the replication component / workflow. In some cases, for data centers where migration and replication services have direct access to assets (e.g., AWS Elastic Block Store direct API) and can import disk snapshots directly into CSPI 604, the replication plug-in 608 is not required.
[0179] CSPI 604 includes a user tenancy 622 and a service tenancy 624. User tenancy 622 includes object storage 618, replication server 620, and block storage 625. Object storage 618 is an internet-scale storage platform that provides reliable, cost-effective data durability for retaining assets during replication. In some cases, object storage 618 can store large amounts of unstructured data. This unstructured data can be any content type, including analytical data and rich content such as images and videos. For example, an asset analytics API may be provided to users to help them aggregate asset metadata in object storage 618 to gain insight into their external environment (e.g., an on-premises environment). Replication server 620, in some embodiments, is a virtual machine that can read one or more asset snapshots and write those one or more asset snapshots to one or more volumes. In some embodiments, replication server 620 can effectively save one or more snapshots to one or more desired locations. In some embodiments, the location or locations to which one or more assets are written can be volumes corresponding to one or more attributes or all or part of each of the assets. In some embodiments, after any modifications, these volumes can be used to launch one or more assets in CSPI 604 that are identical to the source asset. Block storage 625 is structured storage and / or storage for structured data and is used to hold migrated assets after replication. In some embodiments, block storage can, for example, store data in one or more equal-sized blocks. These blocks can be stored in the underlying physical storage in a manner optimized for fast access and retrieval.
[0180] Service tenancy 624 includes an appliance control plane 630, a migration and replication control plane 632, a replication control plane 615, an inventory control plane 634, and a discovery control plane 640. Appliance control plane 630 includes customer-facing APIs deployed in the overlay that provide management and coordination of the entire cloud bridge architecture, such as agent registration and agent lifecycle management, as described with respect to FIGS. 4A-4C. Migration and replication control plane 632 is the main endpoint for all tasks related to migration planning, migration execution, and replication. More specifically, migration and replication control plane 632 includes customer-facing APIs deployed in the overlay that are responsible for managing migration resources, scheduling and triggering asset migrations, and coordinating asset replication. Replication control plane 615 includes customer-facing APIs deployed in the overlay that are responsible for replicating one or more source assets. Inventory control plane 634 includes customer-facing APIs deployed in the overlay that are responsible for managing assets and their metadata in the inventory. The discovery control plane 640 includes a customer-facing API deployed in the overlay that is responsible for configuring discovery and coordinating discovery plugins.
[0181] Reproduction A user may have one or more local resources and / or resources in one environment, and the user desires to migrate those resources to another environment, and in particular, to CSPI. This migration may include, for example, migrating one or more resources from an on-premises environment to CSPI, migrating one or more resources from another CSPI to CSPI, migrating one or more resources from one part of CSPI to another part of CSPI, e.g., from one tenancy within CSPI to another tenancy within CSPI, etc. These local resources may include, for example, one or more VMs, databases, directories, etc. Thus, in some embodiments, migrating one or more resources to CSPI may include migrating one or more VMs, databases, directories, libraries, and / or the like to CSPI. This migration may include, for example, replicating these local resources within CSPI.
[0182] Traditionally, the user experience for migrating to a tenancy in and / or within a CSPI can be complex and time-consuming. Currently, user migrations can be provided through a patchwork approach. In such an approach, for example, users at large customers with large amounts of local resources to be migrated may be provided with dedicated migration assistance. However, such personalized assistance does not scale. As a result, users with smaller migration needs may use a combination of third-party products and consultants to migrate their workloads to CSPI.
[0183] Migration challenges apply to replication as well. For example, replication may be handled in a patchwork manner. Furthermore, because the services being replicated may change in some embodiments, determining which instances to replicate in a timely manner can be difficult. For example, information in a database being replicated or replicated may be updated, and similarly, VMs being replicated or replicated may also be updated and / or changed. In some embodiments, replication may be performed with an end time. In such embodiments, any changes made after the end time are not captured by the replication. Therefore, using such an end time does not result in ideal replication.
[0184] Embodiments disclosed herein relate to systems, methods, and media replication that may be part of, for example, a migration process. The migration may include collecting information about one or more local resources, which may include, for example, one or more VMs, databases, libraries, directories, and / or the like. In some embodiments, collecting information may include generating one or more snapshots of the local resources and / or information related to the capabilities of the environment containing the local resources. These capabilities may include, for example, hardware capabilities and / or availability, such as the number of central processing units (CPUs), the number of graphical processing units (GPUs), and / or memory-related information including the amount, type, and / or capabilities of memory. In some embodiments, the collected information may include, for example, information related to network capabilities, such as network speed, bandwidth, etc.
[0185] In some embodiments, this environment is not within the CSPI, and can be, for example, an on-premise environment, or in the cloud but external to the CSPI, in another CSPI, etc. In some embodiments, resources can be migrated from one location within the CSPI to another location within the CSPI, for example, from one tenancy within the CSPI to another tenancy within the CSPI, etc.
[0186] In some embodiments, the collected information may be collected by a replication plug-in 612 running on the virtual appliance 610. Thus, in some embodiments, the snapshot may be generated by a replication plug-in 612 running on the virtual appliance 610. In some embodiments, the virtual appliance 610 may be a virtual machine running in an environment including local resources, or in other words, in an initial environment. In some embodiments, the initial environment may be, for example, the external user environment 602.
[0187] The snapshots may be stored in object storage, which in some embodiments may be part of CSPI. In some embodiments, the object storage may include memory provided as a service by CSPI, which may store any data in any format. In some embodiments, the object storage may include unstructured memory. In some embodiments, the object storage may be accessible by replication plug-in 612 and / or by virtual appliance 610.
[0188] The snapshot may be read from object storage by a replication server 620, which may be a VM in and / or running on a VM in the tenancy 622 of a user of CSPI 604. In some embodiments, before the replication server 620 reads the snapshot from object storage, the replication server 620 may be provisioned in the environment where the local resources are being replicated, in CSPI 604 where the local resources are being replicated, and / or in the tenancy 622 of the user where the local resources are being replicated. In some embodiments, local resources, such as VMs, may be replicated into the environment where the replication server 620 is provisioned after the replication server 620 has been successfully provisioned into the environment.
[0189] The replication server 620 can create one or more volumes from the snapshots, and these volumes can be stored in block storage. The block storage can be part of CSPI 604 and can include memory provided as a service by CSPI 604. In some embodiments, the memory of the block storage can include structured memory that can, in some embodiments, replicate and / or emulate the structure of one or more physical disks. In some embodiments, the block storage is accessible from within CSPI 604 but not from outside CSPI 604. Thus, in some embodiments, neither the replication plug-in 612 nor the virtual appliance 610 can store snapshots in block storage.
[0190] In some embodiments, when creating a golden volume group, also referred to herein as a volume group, replication server 620 may create one or more volumes in block storage for each local resource being migrated and / or replicated. Thus, in some embodiments, one or more volumes may be created in block storage for each of one or more VMs, databases, libraries, directories, and / or the like that are migrated to CSPI 604.
[0191] In some embodiments, these volumes may include one or more boot volumes and / or one or more data volumes. In some embodiments, volumes created for local resources may be associated with each other in a volume group. Thus, in embodiments in which a VM is being migrated, replication server 620 may create at least one boot volume in block storage for the VM and at least one data volume in block storage, and may associate the at least one boot volume and the at least one data volume. In some embodiments, an identifier may be assigned to each of the volumes created in block storage, which may include an address of the volume. The address of the volume may identify a location where the volume is stored. In some embodiments, the identifier and / or address may be unique to the volume with which it is associated. In some embodiments, this may include, for example, providing an identifier and / or address for the boot volume stored in block storage and an identifier and / or address for the data volume stored in block storage.
[0192] In some embodiments, volumes stored in volume groups in block storage are not changed and / or modified, but rather provide a constant source of the state of local resources that are replicated at the time of snapshot generation.
[0193] A copy of the boot volume is generated based on the boot volume in the data volume in the block storage. This copy of the boot volume may be generated by replication server 620. In some embodiments, an identifier and / or address is provided for the copy of the boot volume. In some embodiments, based on information collected from the local environment related to the capabilities of the local environment, the copy of the boot volume is modified based on the capabilities of the user's tenancy 622 in CSPI 604. In some embodiments, this modification may include determining the capabilities of the user's tenancy. These capabilities may include, for example, computing and / or processing power, memory capacity, and / or network capacity. The capabilities of the user's tenancy 622 in CSPI 604 may be compared to information identifying the capabilities of the local environment including the local resources corresponding to the copied boot volume. Based on the difference between the capabilities of the local environment including the copied boot volume and the capabilities of the user's tenancy 622. In some embodiments, this modification may include modifying the copy of the boot volume so that a VM created in the user's tenancy 622 by execution of the copied boot volume is compatible with the user's tenancy 622 of CSPI 604.
[0194] In some embodiments, migrating a virtual machine to CSPI 604 may involve some OS-level boot volume modification to ensure that the migrated instance will boot. More particularly, in some embodiments, the OS-level boot volume modification ensures that the migrated instance will boot successfully on a hypervisor in CSPI 604's user's tenancy 622.
[0195] In some embodiments, these changes may include automatically applying desired configuration changes to the boot volume. These changes may include, for example, installing one or more kernel modules if they are not present, which may include, for example, one or more virtio kernel modules. In some embodiments, these changes may include installing one or more storage connectivity updates and / or kernel parameters for serial console access. In some embodiments, these changes may include, for example, configuring storage area network (SAN) policies, enabling remote desktop (RDP) connections, and / or configuring a network.
[0196] In some embodiments, the modified boot volume may be created in the same partition where the replicated VM is started based on the modified boot volume. Thus, in some embodiments, the modified boot volume may be created by replication server 620. In some embodiments, the modified boot volume may be associated with replication server 620 until the replication server instance is terminated upon completion of replication and / or migration.
[0197] In some embodiments, after the boot volume is modified, a Resource Manager Service ("RMS") stack may be generated. In some embodiments, the RMS stack may include any boot and / or data volumes for replicating local resources, and in particular, replicating VMs from the local environment to the user's tenancy 622 in CSPI 604. In some embodiments, the RMS stack, when executed, may replicate local resources, and in particular, VMs corresponding to the RMS stack. In some embodiments, the RMS stack may be a terraform configuration or may be a terraform stack.
[0198] In some embodiments, the RMS stack and / or the terraform stack may be generated by replication server 620. In some embodiments, the RMS stack and / or the terraform stack may be generated by replication server 620 based on snapshots captured by replication plugin 612, and in particular based on modified copies of boot volumes. In some embodiments, the terraform stack may include identifiers and / or addresses of volumes corresponding to the terraform stack. Thus, in some embodiments, the terraform stack may include identifiers and / or addresses of boot volumes embodied in the terraform stack, and / or in some embodiments, the terraform stack may include identifiers and / or addresses of data volumes embodied in the terraform stack.
[0199] The terraform stack can be provided to a user, and more particularly, to a replication server 620 in the user's tenancy 622 in CSPI 604. In some embodiments, the terraform stack can be modified by the user before the terraform stack is executed. In some embodiments, the user can modify the terraform stack. This modification can include, for example, customizing features of the terraform stack to conform to one or more user needs. These modifications can, in some embodiments, be made directly in the terraform stack, including in modified copies of boot volumes and / or portions of the terraform stack corresponding to data volumes. In some embodiments, the user can execute a terraform stack to replicate local resources that are migrated to the user's tenancy 622, and more particularly, to replicate VMs that are migrated to the user's tenancy 622.
[0200] In some embodiments, the above process may be repeated iteratively. In such embodiments, the first time, a first snapshot, also referred to as an initial snapshot of local resources, is generated by replication plug-in 612. The initial snapshot may be generated from local resources, such as a VM, under a first condition. Thus, in some embodiments, the snapshot may be of a VM (VM1) in an initial environment in an initial configuration. In some embodiments, this initial environment is outside of CSPI 604, or in other words, not within CSPI 604.
[0201] This initial snapshot may be stored in an object store by replication plug-in 612. The initial snapshot may be read from object storage by replication server 620 and written to block storage by replication server 620, thereby creating a volume group that may include multiple volumes corresponding to the initial snapshot. In some embodiments, each of these volumes may be assigned a unique identifier and / or address. In some embodiments, these volumes may include at least one boot volume and at least one data volume for each local resource being replicated, and in particular, for each VM being replicated. Thus, in some embodiments, creating a volume group that includes the initial snapshot of a VM residing in the initial environment includes creating a boot volume, creating a data volume associated with the boot volume, and assigning an identifier to each of the boot and data volumes. These volumes may be grouped into volume groups that may be associated with the local resource being replicated, and in particular, with the VM being replicated.
[0202] Replication server 620 can retrieve the volume group of the local resource to be replicated, identify the boot volume, and generate a copy of the boot volume. The copy of the boot volume can be stored by replication server 620 in block storage. Replication server 620, in some embodiments, can generate an RMS stack for the copy of the boot volume. In some embodiments, the RMS stack can be a terraform stack. In some embodiments, execution of the RMS stack, and more particularly, the terraform stack in an environment, such as within CSPI 604 and / or within a user's tenancy 622 within CSPI 604, causes replication of VM1 in that environment.
[0203] In some embodiments, generating the terraform stack may include determining compatibility differences between VM1 and CSPI604, and in some embodiments, differences between VM1 and a user's tenancy 622 in CSPI604. In some embodiments, the compatibility differences may be differences between the capabilities of the initial environment and the capabilities of CSPI604 and / or the capabilities of a user's tenancy 622 within CSPI604. In some embodiments, these compatibility differences may be between hardware requirements of VM1 and CSPI604 and / or between VM1 and a user's tenancy 622 within CSPI604. In some embodiments, the replicated boot volume may be modified so that the replicated VM1, or in particular, the VM1 replicated within CSPI604 and / or within a user's tenancy 622 of CSPI604, is compatible with CSPI604 and / or with a user's tenancy 622 within CSPI604.
[0204] In some embodiments, the determination of the differences between VM1 and CSPI 604, or more particularly, the differences between VM1 and CSPI 604's user tenancy 622, can be based on information retrieved related to the capabilities of the environment containing the local resources. In some embodiments, the replication server 620 can compare the capabilities of the initial environment with the capabilities of the user tenancy 622.
[0205] The copy of the boot volume may be modified based on differences between the initial environment and the environment of CSPI 604, and particularly the environment of user's tenancy 622 within the user's tenancy. In some embodiments, modifying the copy of the boot volume may include determining a first attribute of the initial environment, or particularly a first attribute of the external customer environment 602, determining a second attribute of CSPI 604, and particularly a second attribute of user's tenancy 622 of CSPI 604, determining a difference between the first attribute and the second attribute, and modifying the boot volume to compensate for the difference between the first attribute and the second attribute. In some embodiments, the first attribute characterizes hardware of the initial environment and / or the second attribute characterizes hardware of CSPI 604 and / or user's tenancy 622 within CSPI 604.
[0206] After the terraform stack is generated based on the modified copy of the boot volume, the terraform stack may be provided to the user. In some embodiments, providing the terraform stack to the user may include making the terraform stack accessible to a replication server 620 in CSPI 604, and particularly to a replication server 620 in the user's tenancy 622 in CSPI 604. In some embodiments, making the terraform stack accessible to a replication server 620 may include storing the terraform stack in CSPI 604, in the user's tenancy 622 in CSPI 604, and / or in a location or memory accessible by the replication server 620.
[0207] In some embodiments, the terraform stack may be executed by a user, and in particular by replication server 620, to replicate VM1 within an environment that includes replication server 620. In some embodiments, this replication may include replicating VM1 within CSPI 604 and / or within a user's tenancy 622 within CSPI 604.
[0208] In some embodiments, after the generation of the initial snapshot, one or more subsequent snapshots may be generated, in some embodiments by the replication plug-in 612 in the virtual appliance 610. In some embodiments, each of the one or more subsequent snapshots may be generated at a different time after the generation of the initial snapshot. In some embodiments, one or more of these subsequent snapshots may capture a subsequent configuration of local resources, and in particular, of the VM. In some embodiments, the snapshots may occur at regular intervals after the initial snapshot, or the one or more subsequent snapshots may be captured in response to the occurrence of a trigger event, such as, for example, in response to a change in the configuration of local resources, and more particularly, in response to a change in the configuration of the VM. In some embodiments, the subsequent snapshot may be generated after the replication of VM1. In some embodiments, capturing the one or more subsequent snapshots may include capturing a subsequent snapshot of the VM (VM2) in a second, subsequent configuration.
[0209] Subsequent snapshots, and in some embodiments, the second snapshot, can be stored in object storage by replication plug-in 612 and may be retrieved from object storage and stored in block storage by replication server 620. In some embodiments, subsequent snapshots may be stored as one or more volume groups.
[0210] Subsequent snapshots can be compared to previous snapshots and a difference file can be generated Subsequent snapshots can be compared to previous snapshots by replication server 620 and, in some embodiments, a difference file can be generated by replication server 620.
[0211] In some embodiments, the difference file may characterize the differences between a previous snapshot and a subsequent snapshot. In some embodiments, the previous snapshot may be an initial snapshot, and thus the difference file may characterize the differences between the initial snapshot and a subsequent snapshot. In some embodiments, the difference file may be generated by a comparison between the initial snapshot and any subsequently generated snapshot. Thus, in some embodiments, the difference file may characterize the differences between, for example, the initial snapshot and a second snapshot, between the initial snapshot and a third snapshot, between the initial snapshot and a fourth snapshot, or between the initial snapshot and any other subsequent snapshot. In some embodiments, each of these difference files may be saved and / or stored, and in some embodiments, only the most recently generated difference file is saved and / or stored.
[0212] Thus, in some embodiments, multiple subsequent snapshots may be generated, including generating additional subsequent snapshots after generating the second snapshot. In some embodiments, a difference file corresponding to each of these additional subsequent snapshots may be generated. In some embodiments, each of these difference files characterizes the overall differences between an initial configuration of a local resource, such as VM1, and a subsequent configuration. Thus, in such embodiments, the third snapshot and the corresponding difference file corresponding to the third configuration characterize the overall differences between the third configuration and the initial configuration. Alternatively, in some embodiments, the combination of the previous difference file with the current difference file collectively characterizes the differences between the initial configuration of a local resource, such as VM1, and a subsequent configuration. Thus, in such embodiments, the third snapshot and the difference file corresponding to the third configuration, combined with the difference file corresponding to the second snapshot and the second configuration, characterize the differences between the initial configuration of a local resource, such as VM1, and a subsequent configuration. In other words, in some embodiments, the difference file can be a single file that characterizes the differences between the initial snapshot of the VM and a subsequent snapshot of the VM, while in other embodiments, the difference file can be multiple files that together characterize the differences between the initial snapshot of the VM and a subsequent snapshot of the VM.
[0213] A difference stack may be generated based on the difference file. In some embodiments, the difference stack may be a Terraform configuration, referred to herein as a difference Terraform stack. In some embodiments, execution of a difference stack, including, for example, execution of a difference Terraform stack, causes corresponding previously replicated local resources, such as a previously replicated VM, to be updated to correspond to the subsequent configuration captured by the subsequent snapshot used in generating the difference file. In some embodiments in which VM1 has previously been replicated, execution of the difference stack, and specifically, execution of the difference Terraform stack, causes previously replicated VM1 to be updated to replicate VM1. Thus, the capture of each subsequent snapshot may result in the generation of a corresponding difference file, and the execution of each of these difference files causes the previously replicated VM instance to be updated to a VM instance corresponding to the VM instance captured by the snapshot associated with the difference file being executed.
[0214] In some embodiments, subsequent difference stacks for subsequent snapshots can be provided to the user and / or can be provided to a replication server 620 within the replication environment, or in other words, within CSPI 604 and / or within the user's tenancy 622 within CSPI 604. The subsequent difference stacks can be executed by the user within the replication environment, or in other words, within CSPI 604 and / or within the user's tenancy 622 within CSPI 604, to replicate VM2. In some embodiments, the subsequent difference stacks can be executed by a replication server 620 within the replication environment, or in other words, within CSPI 604 and / or within the user's tenancy 622 within CSPI 604, to replicate VM2.
[0215] Referring now to FIG. 7 , a schematic diagram of one embodiment of a replication process using architecture 600 is shown. As shown, FIG. 7 illustrates a user environment 602. The user environment is external to CSPI 604. The user environment includes a virtual appliance 610 that may include a replication plug-in 612. In some embodiments, as previously described, the replication plug-in 612 may be a VM running on the virtual appliance 610 within the user environment 602. In some embodiments, the replication plug-in 612 may be provisioned into the user environment 602 by a cloud bridge service 704, which may be provided as one of many services 702 that may be provided within and / or in conjunction with CSPI 604.
[0216] Replication plugin 612 can be an application deployed to virtual appliance 610 by cloud bridge service 704. In some embodiments, plugin installation, registration, and lifecycle management of replication plugin 612 can be performed by cloud bridge service 704.
[0217] After the replication plug-in 612 starts, it registers with the replication control plane 615 and repeatedly polls the CP for replication tasks. In some embodiments, each task describes a single asset to be replicated (e.g., a VMware VM), metadata for the corresponding asset source 616 (e.g., a vCenter), and a destination (e.g., an object storage bucket for uploading a disk snapshot). Credentials for the asset source can be retrieved directly from the vault 706 by the replication plug-in 612 using the metadata. In some embodiments, these credentials are not accessed by the replication control plane 615. In some embodiments, the credentials are kept only in memory and are re-obtained when the replication plug-in 612 restarts.
[0218] In some embodiments, while a task is running, the replication plug-in 912 periodically updates the task state and progress using the replication control plane 615, which are then aggregated and propagated to the UI. Progress is reported to the UI as part of the overall migration iteration progress.
[0219] In some embodiments, replication task scheduling may be performed by the replication control plane 615 according to a replication policy specified by the customer during migration configuration. The policy, in some embodiments, may specify which customer assets should be migrated, how the customer's assets are mapped to assets, and the frequency of migration. A separate replication task may be created for each asset in a single iteration of the migration. In some embodiments, this may maximize replication concurrency when multiple virtual appliances 610 are connected to the same asset source and can run replication tasks for the same migration in parallel.
[0220] Given the iterative nature of replication, in some embodiments, replication plug-in 612 can perform incremental snapshots. Specifically, if the asset source, or in other words, the external user environment 602, allows replication plug-in 612 to calculate and access VM disk changes since the most recently imported snapshot, in some embodiments, only these changes are imported by replication plug-in 612 along with the corresponding metadata.
[0221] 7 further shows a replication server 620 within the tenancy 622 of a user of CSPI 604. Replication server 620 can be a short-lived VM that reads snapshots of the user's VMs from object storage 618 and writes them to appropriately configured volume groups in block storage 625. Replication server 620 can run in the user's tenancy 622 in a dedicated partition and subnet, without a public IP in some embodiments, and in some embodiments can access services 702 through a service gateway.
[0222] As shown in Figure 7, an API request for replication of a local resource is received from a user and forwarded to a replication control plane 615 via a load balancer located in a service tenancy 624. The replication control plane 615 communicates with a service 702 via a service gateway and communicates with a replication plug-in 612. The replication plug-in 612 may further communicate with VM data center management software. The replication plug-in 612 generates a snapshot and stores the snapshot in object storage, and the replication server 620 reads the snapshot from the object storage 618 and writes it to block storage 625.
[0223] 8, a swimlane diagram is shown illustrating one embodiment of a process 800 for generating and storing snapshots of local resources. In some embodiments, process 800 may be performed as part of migrating and / or replicating local resources. More particularly, in some embodiments, process 800 may be performed as part of creating a volume group. In some embodiments, creating a volume group may include generating a snapshot of a VM using a replication plug-in and storing the snapshot of the VM in object storage.
[0224] Process 800 may be performed by all or a portion of architecture 600 shown in Figure 6 and / or Figure 7. Process 800 begins at step 802, where replication plug-in 612 obtains and / or receives replication tasks from migration and replication control plane 615. In some embodiments, this step may include replication plug-in 612 querying migration and replication control plane 615 for any replication tasks and then receiving the replication tasks from migration and replication control plane 615. In some embodiments, this step may include migration and replication control plane 615 pushing the replication tasks to replication plug-in 612.
[0225] In step 804, the replication plug-in 612 obtains authentication information from the vault 706. In some embodiments, these authentication information may be utilized by the replication plug-in 612 to access the asset source 616 to create a snapshot.
[0226] In block 806, the replication plug-in 612 accesses the asset source 616 using the authentication information from step 804 to generate a snapshot of the local resources specified in the replication task, and in particular, a snapshot of the VMs specified in the replication task. The local resources can be in an initial configuration or a subsequent configuration. As used herein, an initial configuration is the configuration of the local resource at the time of generation of the first snapshot of the local resource, and a subsequent configuration is any configuration that differs from the initial configuration and occurs after generation of the first snapshot.
[0227] The replication plug-in 612 uploads the snapshot to object storage in step 808. In step 810, the replication plug-in 612 reports the status of the replication task to the migration and replication control plane 615.
[0228] 9, a swimlane diagram illustrates one embodiment of a process 900 for replicating local resources based on a snapshot. Process 900 may be performed by all or a portion of architecture 600 shown in FIG. 6 and / or FIG. 7. Process 900 begins at step 902, where a volume group in block storage 625 for the snapshot is discovered and / or created. In some embodiments, this step may include creating and / or allocating memory for storing the contents of the snapshot that are written to block storage 625. In some embodiments, migration and replication control plane 615 may interact with block storage 625 to discover and / or create memory and / or volumes allocated to contain the contents of the snapshot that are written to block storage 625.
[0229] At step 904, a replication server 620 is provisioned in CSPI 604, and in particular in the user's tenancy 622 within CSPI 604 where local resources are replicated. In some embodiments, the replication server 620 may be provisioned in the user's tenancy 622 by the migration and replication control plane 615.
[0230] In step 906, the migration and replication control plane 615 connects the volume created in step 902 to a replication server 620. In some embodiments, connecting the volume to a replication server 620 provides the replication server 620 with access to the data in the volume. In some embodiments, connecting the volume to a replication server 620 in this manner provides the replication server 620 with access to the volume created in step 902 and / or the memory allocated in step 902.
[0231] In step 908, the replication server 620 requests a task, and more particularly a replication task, from the migration and replication control plane 615. In some embodiments, in response to this request, the migration and replication control plane 615 provides the replication server with a task to write the snapshot contained in object storage 618 to block storage 625, and more particularly to the attached volume. This writing of the snapshot to block storage 625, and more particularly to the attached volume, is also referred to herein as hydrating the volume.
[0232] In step 910, the replication server 620 hydrates the volume. This step includes reading the snapshot from object storage 625 and writing the snapshot to the attached volume. In some embodiments, this step may include writing all or a portion of the snapshot to one or more boot volumes and / or writing all or a portion of the snapshot to one or more volume groups. In some embodiments, in the case of a VM, hydrating the volume may include writing all or a portion of the snapshot to one or more boot volumes and / or one or more volume groups. In some embodiments, these volumes may be stored in block storage 625. In step 912, the replication server 620 is notified that the volume hydration is complete, and in step 914, the replication server reports to the migration and replication control plane 615 that the task of hydrating the volume is complete. In step 916, the volume is detached, thereby terminating access to the data in the volume by the replication server 620.
[0233] In step 918, migration and replication control plane 615 instructs block storage 625 to clone all or a portion of the volume group created in step 902. In some embodiments, this step may include replicating at least a portion of the volume group, which may include identifying the volume group and replicating a boot volume from the volume group.
[0234] In some embodiments, migration and replication control plane 615 instructs block storage 625 to clone the boot volume of the volume group created in step 902. In step 920, after all or a portion of the volume group has been cloned, migration and replication control plane 615 connects all or a portion of the cloned volume group to replication server 620, thereby providing replication server 620 access to the cloned volume group. In some embodiments, this step includes migration and replication control plane 615 connecting the cloned boot volume to replication server 620.
[0235] In step 922, the replication server 620 requests a task, and more particularly, a replication task, from the migration and replication control plane 615. In response to this request, the migration and replication control plane 615 provides the replication server 620 with a task, and more particularly, a task to modify all or part of the cloned volume group. In some embodiments, the migration and replication control plane 615 provides the replication server 620 with a task to modify the cloned boot volume.
[0236] In step 924, replication server 620 modifies the connected cloned volume. In some embodiments, this step may include modifying the connected boot volume. In some embodiments, modifying the connected boot volume may include determining a first attribute of the initial environment, determining a second attribute in CSPI 604, and particularly a second attribute of the user's tenancy 622, determining a difference between the first attribute and the second attribute, and modifying the boot volume to compensate for the difference between the first attribute and the second attribute. In some embodiments, the first attribute characterizes the hardware of the initial environment, and the second attribute characterizes the hardware of the user's tenancy 622 in CSPI 604.
[0237] In some embodiments, the modified cloned volumes can be used to generate an RMS stack, which can be a terraform stack. In some embodiments, identifiers and / or addresses associated with volume groups and / or portions of volume groups can be included in the RMS stack, and particularly, can be included in a terraform stack. In some embodiments, the RMS stack, and particularly, the terraform stack, can be provided to a user. The RMS stack can be executed by a user within the user's tenancy 622 and / or within CSPI 604 to replicate local resources corresponding to the CSPI. In some embodiments, a user can modify the RMS stack before executing it. In some embodiments, replication server 620 can execute terraform stacks within CSPI 604 and / or within the user's tenancy 622.
[0238] At block 926, after the modification of the cloned boot volume is complete, the replication server 620 reports the completion of the modification of the cloned boot volume to the migration and replication control plane 615. At block 928, the cloned boot volume is detached from the replication server 620 by the migration and replication control plane 615. In some embodiments, the migration and replication control plane 615 instructs the replication server 620 to end the process 900 at step 930.
[0239] 10 , a flowchart illustrating one embodiment of a process 1000 for iterative replication of local resources is shown. Process 1000 may be performed by all or a portion of architecture 600 shown in FIG. 6 and / or FIG. 7. Process 1000 begins at step 1002, where a replication server 620 is provisioned in a user's tenancy 622. In some embodiments, the replication server 620 may be provisioned in the user's tenancy 622 by the migration and replication control plane 615.
[0240] In step 1004, a volume group is created that corresponds to a snapshot of a virtual machine VM (VM1) in its initial configuration in the initial environment. In some embodiments, this step may include generating the snapshot using a replication plug-in 612 and storing the snapshot in object storage 618. The volume group may be created by the migration and replication control plane 615, and the volumes of the volume group may be attached to a replication server 620. The replication server may hydrate the volume group by reading information from object storage 618 and writing the information to the volume group in block storage 625. Upon completion of the volume group creation, the volumes may be detached from the replication server 620.
[0241] In step 1006, at least a portion of the volume group is replicated and / or modified. In some embodiments, this step may include creating a copy of at least a portion of the volume group and connecting all or a portion of the cloned volume group to a replication server 620. Based on information related to the initial environment and the user's tenancy 622, the replication server 620 may modify the clone of at least a portion of the volume group to improve compatibility between the local resources being replicated and the user's tenancy 622 to which the local resources are replicated.
[0242] At block 1008, an RMS stack is generated based on at least the replicated / modified portion of the volume group. In some embodiments, this block may include generating a terraform stack corresponding to one or more boot volumes and / or one or more data volumes of the volume group. The RMS stack, in some embodiments, may be generated by the replication server 620 and / or by the migration and replication control plane 615. In some embodiments, execution of the RMS stack causes the creation of replicated local resources in the environment in which the RMS stack is executed.
[0243] The RMS stack may be provided, and in some embodiments is provided to a user, as shown in step 1010. In step 1012, the RMS stack may be executed. In some embodiments, the RMS stack may be executed within CSPI 604 and / or within the user's tenancy 622. The RMS stack may be executed by the user and / or by replication server 620. In some embodiments, the RMS stack may be modified by the user before execution of the RMS stack.
[0244] In step 1014, a subsequent snapshot of the VM (VM2) in the subsequent configuration is generated. In some embodiments, this step may include generating the subsequent snapshot using replication plug-in 612 and storing the subsequent snapshot in object storage 618. Replication server 620 may read the subsequent snapshot from object storage 618 and write the subsequent snapshot to block storage 625, as described above. In some embodiments, this step may include updating a data volume and / or creating a new data volume for the updated snapshot.
[0245] At step 1016, a difference file is generated that characterizes the differences between VM1 and VM2. This difference file may be generated by comparing stored information associated with an initial snapshot of VM1 and stored information associated with a subsequent snapshot of VM2 to determine the differences between VM1 and VM2. The difference file may be generated by replication server 620 in some embodiments and may be stored in block storage 625.
[0246] At step 1018, a differential RMS stack is generated based on the differential file. In some embodiments, similar to the description above regarding generating an RMS stack, generating the differential RMS stack may include modifying the differential file to achieve compatibility between VM2 and the user's tenancy 622. The differential RMS stack, in some embodiments, may be in terraform format and may be a differential terraform stack. The differential RMS stack, in some embodiments, may be generated by replication server 620 and stored in block storage 625.
[0247] The differential RMS stack may be provided, as shown in step 1020, and in some embodiments, is provided to a user. In step 1022, the differential RMS stack may be executed. In some embodiments, the differential RMS stack may be executed within CSPI 604 and / or within the user's tenancy 622. The differential RMS stack may be executed by the user and / or by replication server 620. In some embodiments, the differential RMS stack may be modified by the user before execution of the differential RMS stack. In some embodiments, execution of the differential RMS stack replicates VM2 within the environment in which the differential RMS stack is executed. In some embodiments, execution of the differential terraform stack causes the previously replicated VM1 to be updated to replicate VM2.
[0248] Referring now to FIG. 11 , a flowchart illustrating one embodiment of a process 1100 for iterative replication of local resources from one cloud environment to another is shown. In some embodiments, the replication of process 1100 may be performed when resources are being replicated from a first cloud environment, such as an initial tenancy in an initial CSPI, to a second tenancy of a user in a second CSPI. In some embodiments, the initial tenancy may be located in a cloud environment separate and / or different from the CSPI. Process 1100 may be performed by all or part of architecture 600 shown in FIG. 6 and / or FIG. 7 . Process 1100 begins at step 1102, where a replication server 620 is provisioned in a user's tenancy 622. The user's tenancy 622 may be the initial tenancy, which may be in the first CSPI. In some embodiments, the replication server 620 may be provisioned in the user's tenancy 622 by the migration and replication control plane 615.
[0249] In step 1104, a volume group is created that corresponds to a snapshot of a virtual machine VM (VM1) in the initial cloud environment and in its initial configuration. In some embodiments, this step may include generating the snapshot using a replication plug-in 612 and storing the snapshot in object storage 618. The volume group may be created by the migration and replication control plane 615, and the volumes of the volume group may be attached to a replication server 620. The replication server may hydrate the volume group by reading information from object storage 618 and writing the information to the volume group in block storage 625. Upon completion of the volume group creation, the volumes may be detached from the replication server 620.
[0250] In step 1106, at least a portion of the volume group is replicated and / or modified. In some embodiments, this step may include creating a copy of at least a portion of the volume group and connecting all or a portion of the cloned volume group to a replication server 620. Based on information related to the initial cloud environment and the user's tenancy 622, the replication server 620 may modify the clone of at least a portion of the volume group to improve compatibility between the local resources being replicated and the user's tenancy 622 to which the local resources are replicated.
[0251] At block 1108, an RMS stack is generated based on at least the replicated / modified portion of the volume group. In some embodiments, this block may include generating a terraform stack corresponding to one or more boot volumes and / or one or more data volumes of the volume group. The RMS stack, in some embodiments, may be generated by the replication server 620 and / or by the migration and replication control plane 615. In some embodiments, execution of the RMS stack causes the creation of replicated local resources in the environment in which the RMS stack is executed.
[0252] The RMS stack may be provisioned, and in some embodiments, provided to a user, as shown in step 1110. In step 1112, the RMS stack may be executed. In some embodiments, the RMS stack may be executed within CSPI 604 and / or within the user's tenancy 622. The RMS stack may be executed by the user and / or by replication server 620. In some embodiments, the RMS stack may be modified by the user before execution of the RMS stack.
[0253] In step 1114, a subsequent snapshot of the VM (VM2) in the subsequent configuration is generated. In some embodiments, this step may include generating the subsequent snapshot using replication plug-in 612 and storing the subsequent snapshot in object storage 618. Replication server 620 may read the subsequent snapshot from object storage 618 and write the subsequent snapshot to block storage 625, as described above. In some embodiments, this step may include updating a data volume and / or creating a new data volume for the updated snapshot.
[0254] At step 1116, a difference file is generated that characterizes the differences between VM1 and VM2. This difference file may be generated by comparing stored information associated with an initial snapshot of VM1 and stored information associated with a subsequent snapshot of VM2 to determine the differences between VM1 and VM2. The difference file may be generated by replication server 620 and stored in block storage 625 in some embodiments.
[0255] At step 1118, a differential RMS stack is generated based on the differential file. In some embodiments, similar to the description above regarding generating an RMS stack, generating the differential RMS stack may include modifying the differential file to achieve compatibility between VM2 and the user's tenancy 622. The differential RMS stack, in some embodiments, may be in terraform format and may be a differential terraform stack. The differential RMS stack, in some embodiments, may be generated by replication server 620 and stored in block storage 625.
[0256] The differential RMS stack may be provided, as shown in step 1120, and in some embodiments, is provided to a user. In step 1122, the differential RMS stack may be executed. In some embodiments, the differential RMS stack may be executed within CSPI 604 and / or within the user's tenancy 622. The differential RMS stack may be executed by the user and / or by replication server 620. In some embodiments, the differential RMS stack may be modified by the user before execution of the differential RMS stack. In some embodiments, execution of the differential RMS stack replicates VM2 within the environment in which the differential RMS stack is executed. In some embodiments, execution of the differential terraform stack causes the previously replicated VM1 to be updated to replicate VM2.
[0257] Exemplary System As mentioned above, infrastructure as a service (IaaS) is a specific type of cloud computing. IaaS can be configured to provide virtualized computing resources over a public network (e.g., the Internet). In the IaaS model, a cloud computing provider can host infrastructure components (e.g., servers, storage devices, network nodes (e.g., hardware), deployment software, platform virtualization (e.g., hypervisor layer), etc.). In some cases, an IaaS provider may also offer various services incidental to those infrastructure components (example services include billing software, monitoring software, logging software, load balancing software, clustering software, etc.). Accordingly, these services can be policy-driven, allowing IaaS users to implement policies to drive load balancing and maintain application availability and performance.
[0258] In some cases, IaaS users may access resources and services over a wide area network (WAN), such as the Internet, and can use the cloud provider's services to install the remaining elements of their application stack. For example, a user may log in to an IaaS platform to create virtual machines (VMs), install an operating system (OS) on each VM, deploy middleware such as a database, create storage buckets for workloads and backups, and even install enterprise software on the VMs. The user can then use the provider's services to perform a variety of functions, including balancing network traffic, troubleshooting application issues, monitoring performance, managing disaster recovery, etc.
[0259] In most cases, the cloud computing model requires the participation of a cloud provider. A cloud provider may be, but need not be, a third-party service that specializes in providing (e.g., offering, renting, selling) IaaS. An entity may choose to deploy a private cloud and become its own provider of infrastructure services.
[0260] In some examples, IaaS deployment is the process of connecting a new application or a new version of an application to a prepared application server or the like. This process may include the process of preparing the server (e.g., installing libraries, daemons, etc.). This process is often managed by the cloud provider below the hypervisor layer (e.g., server, storage, network hardware, and virtualization). Thus, the user may be responsible for handling the deployment of the OS, middleware, and / or application (e.g., on top of self-service virtual machines (e.g., that can be spun up on demand)).
[0261] In some examples, IaaS provisioning may also refer to obtaining computers or virtual hosts for use and installing needed libraries or services on those computers or virtual hosts. In most cases, deployment does not include provisioning, which may need to be performed first.
[0262] In some cases, IaaS provisioning presents two distinct challenges. First, there is the initial challenge of provisioning an initial set of infrastructure before anything can be run. Second, there is the challenge of evolving the existing infrastructure (e.g., adding new services, modifying services, removing services, etc.) after everything has been provisioned. In some cases, these two challenges may be addressed by allowing the configuration of the infrastructure to be defined declaratively. In other words, the infrastructure (e.g., which components are needed and how those components interact) may be defined by one or more configuration files. In this way, the entire topology of the infrastructure (e.g., which resources depend on which resources and how each of those resources works together) may be described declaratively. In some cases, after the topology is defined, workflows may be generated to create and / or manage the various components described in the configuration files.
[0263] In some examples, the infrastructure may include many interconnected elements. For example, there may be one or more virtual private clouds (VPCs) (e.g., configurable and / or shared, possibly on-demand pools of computing resources), also known as a core network. In some examples, there may also be one or more inbound / outbound traffic group rules, as well as one or more virtual machines (VMs), provisioned to define how the network's inbound and / or outbound traffic is configured. Other infrastructure elements, such as load balancers, databases, etc., may also be provisioned. The infrastructure can evolve over time as more infrastructure elements are desired and / or added.
[0264] In some cases, continuous deployment techniques may be employed to enable deployment of infrastructure code across various virtual computing environments. Additionally, the described techniques may enable infrastructure management within these environments. In some examples, a service team may write code that is desired to be deployed to one or more, but often many, different production environments (e.g., across various geographic locations, sometimes even across the world). However, in some examples, the infrastructure onto which the code will be deployed must first be set up. In some cases, provisioning can be done manually, and provisioning tools may be utilized to provision the resources and / or deployment tools may be utilized to deploy the code after the infrastructure has been provisioned.
[0265] 11 is a block diagram 1100 illustrating an example pattern of an IaaS architecture according to at least one embodiment. A service operator 1102 may be communicatively coupled to a secure host tenancy 1104, which may include a virtual cloud network (VCN) 1106 and a secure host subnet 1108. In some examples, the service operator 1102 may employ one or more client computing devices, which may be portable handheld devices (e.g., iPhones, mobile phones, iPads, computing tablets, personal digital assistants (PDAs)) or wearable devices (e.g., Google Glass head-mounted displays) that are Internet, email, short message service (SMS), Blackberry, or other communication protocol enabled, running software such as Microsoft Windows Mobile, and / or various mobile operating systems such as iOS, Windows Phone, Android, BlackBerry 8, Palm OS, etc. Alternatively, the client computing devices may be general-purpose personal computers, including, by way of example, personal and / or laptop computers running various versions of the Microsoft Windows, Apple Macintosh, and / or Linux operating systems. The client computing devices may be workstation computers running any of a variety of commercially available UNIX or UNIX-like operating systems, including, but not limited to, various GNU / Linux operating systems, such as Google Chrome OS.Alternatively or additionally, the client computing device may be any other electronic device, such as a thin client computer, an Internet-enabled gaming system (e.g., a Microsoft Xbox gaming console with or without a Kinect® gesture input device), and / or a personal messaging device, that can communicate over a network accessible to VCN 1106 and / or the Internet.
[0266] VCN 1106 may include a local peering gateway (LPG) 1110, which may be communicatively coupled to a secure shell (SSH) VCN 1112 via an LPG 1110 included in SSH VCN 1112. SSH VCN 1112 may include an SSH subnet 1114, which may be communicatively coupled to a control plane VCN 1116 via an LPG 1110 included in control plane VCN 1116. SSH VCN 1112 may also be communicatively coupled to a data plane VCN 1118 via LPG 1110. The control plane VCN 1116 and the data plane VCN 1118 may be included in a service tenancy 1119, which may be owned and / or operated by the IaaS provider.
[0267] The control plane VCN 1116 may include a control plane demilitarized zone (DMZ) tier 1120 that serves as a perimeter network (e.g., a portion of an enterprise network between the enterprise intranet and an external network). Servers based in the DMZ may have limited responsibility and help keep breaches contained. Additionally, the DMZ tier 1120 may include one or more load balancer (LB) subnets 1122, a control plane app tier 1124 that may include an app subnet 1126, and a control plane data tier 1128 that may include a database (DB) subnet 1130 (e.g., a front-end DB subnet and / or a back-end DB subnet). The LB subnet 1122 included in the control plane DMZ tier 1120 can be communicatively coupled to an app subnet 1126 and an Internet gateway 1134 included in the control plane app tier 1124, which may be included in the control plane VCN 1116, and the app subnet 1126 can be communicatively coupled to a DB subnet 1130 included in the control plane data tier 1128, as well as a service gateway 1136 and a network address translation (NAT) gateway 1138. The control plane VCN 1116 can include the service gateway 1136 and the NAT gateway 1138.
[0268] The control plane VCN 1116 can include a data plane mirror app layer 1140, which can include an app subnet 1126. The app subnet 1126 included in the data plane mirror app layer 1140 can include a virtual network interface controller (VNIC) 1142, which can run a compute instance 1144. The compute instance 1144 can communicatively couple the app subnet 1126 of the data plane mirror app layer 1140 to the app subnet 1126, which can be included in the data plane app layer 1146.
[0269] The data plane VCN 1118 may include a data plane app layer 1146, a data plane DMZ layer 1148, and a data plane data layer 1150. The data plane DMZ layer 1148 may include a LB subnet 1122, which may be communicatively coupled to an app subnet 1126 of the data plane app layer 1146 and an Internet gateway 1134 of the data plane VCN 1118. The app subnet 1126 may be communicatively coupled to a service gateway 1136 of the data plane VCN 1118 and a NAT gateway 1138 of the data plane VCN 1118. The data plane data layer 1150 may also include a DB subnet 1130, which may be communicatively coupled to the app subnet 1126 of the data plane app layer 1146.
[0270] The internet gateways 1134 of the control plane VCN 1116 and of the data plane VCN 1118 may be communicatively coupled to a metadata management service 1152, which may be communicatively coupled to the public internet 1154. The public internet 1154 may be communicatively coupled to NAT gateways 1138 of the control plane VCN 1116 and of the data plane VCN 1118. The service gateways 1136 of the control plane VCN 1116 and of the data plane VCN 1118 may be communicatively coupled to cloud services 1156.
[0271] In some examples, a service gateway 1136 in the control plane VCN 1116 or in the data plane VCN 1118 can make application programming interface (API) calls to a cloud service 1156 without traversing the public internet 1154. The API calls from the service gateway 1136 to the cloud service 1156 can be one-way: the service gateway 1136 can make the API call to the cloud service 1156, and the cloud service 1156 can send the requested data to the service gateway 1136. However, the cloud service 1156 need not initiate the API call to the service gateway 1136.
[0272] In some examples, secure host tenancy 1104 can be directly connected to service tenancy 1119 or may be otherwise separate. Secure host subnet 1108 can communicate with SSH subnet 1114 through LPG 1110, which can enable bidirectional communication on otherwise separate systems. Connecting secure host subnet 1108 to SSH subnet 1114 may give secure host subnet 1108 access to other entities within service tenancy 1119.
[0273] The control plane VCN 1116 may enable users of the service tenancy 1119 to configure or otherwise provision desired resources. The desired resources provisioned in the control plane VCN 1116 may be deployed or otherwise used in the data plane VCN 1118. In some examples, the control plane VCN 1116 may be separate from the data plane VCN 1118, and the data plane mirror app layer 1140 of the control plane VCN 1116 may communicate with the data plane app layer 1146 of the data plane VCN 1118 via a VNIC 1142, which may be included in the data plane mirror app layer 1140 and the data plane app layer 1146.
[0274] In some examples, a user or users of the system may make a request, for example, a create, read, update, or delete (CRUD) operation, via the public Internet 1154, which may communicate the request to a metadata management service 1152. The metadata management service 1152 may communicate the request to the control plane VCN 1116 via an Internet gateway 1134. The request may be received by a LB subnet 1122 included in the control plane DMZ tier 1120. The LB subnet 1122 may determine that the request is valid, and in response to this determination, the LB subnet 1122 may send the request to an app subnet 1126 included in the control plane app tier 1124. If the validity of the request is confirmed and the request requires a call to the public Internet 1154, the call to the public Internet 1154 may be sent to a NAT gateway 1138, which may make the call to the public Internet 1154. Metadata that may be desirable to store with the request may be stored within the DB subnet 1130.
[0275] In some examples, the data plane mirror app layer 1140 can facilitate direct communication between the control plane VCN 1116 and the data plane VCN 1118. For example, it may be desirable for changes, updates, or other appropriate modifications to the configuration to be applied to resources included in the data plane VCN 1118. Via the VNIC 1142, the control plane VCN 1116 communicates directly with the resources included in the data plane VCN 1118, thereby enabling the control plane VCN 1116 to perform changes, updates, or other appropriate modifications to the configuration of the resources.
[0276] In some embodiments, the control plane VCN 1116 and the data plane VCN 1118 may be included in the service tenancy 1119. In this case, a user or users of the system may not own or operate either the control plane VCN 1116 or the data plane VCN 1118. Instead, an IaaS provider may own or operate the control plane VCN 1116 and the data plane VCN 1118, which may both be included in the service tenancy 1119. This embodiment may enable network isolation that can prevent a user or users from interacting with other users' resources or with other users' resources. This embodiment may also allow a user or users of the system to store databases privately without having to rely on the public internet 1154 for storage, which may not have a desirable level of threat protection.
[0277] In another embodiment, the LB subnet 1122 included in the control plane VCN 1116 may be configured to receive signals from the service gateway 1136. In this embodiment, the control plane VCN 1116 and the data plane VCN 1118 may be configured to be called by users of the IaaS provider without calling the public Internet 1154. Users of the IaaS provider may desire this embodiment because the databases they use may be stored in a service tenancy 1119 that may be controlled by the IaaS provider and isolated from the public Internet 1154.
[0278] 12 is a block diagram 1200 illustrating another exemplary pattern of an IaaS architecture, according to at least one embodiment. A service operator 1202 (e.g., service operator 1102 in FIG. 11 ) may be communicatively coupled to a secure host tenancy 1204 (e.g., secure host tenancy 1104 in FIG. 11 ), which may include a virtual cloud network (VCN) 1206 (e.g., VCN 1106 in FIG. 11 ) and a secure host subnet 1208 (e.g., secure host subnet 1108 in FIG. 11 ). VCN 1206 may include a local peering gateway (LPG) 1210 (e.g., LPG 1110 in FIG. 11 ), which may be communicatively coupled to a secure shell (SSH) VCN 1212 (e.g., SSH VCN 1112 in FIG. 11 ) via an LPG 1110 included in an SSH VCN 1212. SSH VCN 1212 can include SSH subnet 1214 (e.g., SSH subnet 1114 in FIG. 11 ), and SSH VCN 1212 can be communicatively coupled to control plane VCN 1216 (e.g., control plane VCN 1116 in FIG. 11 ) via LPG 1210 included in control plane VCN 1216. Control plane VCN 1216 can be included in service tenancy 1219 (e.g., service tenancy 1119 in FIG. 11 ), and data plane VCN 1218 (e.g., data plane VCN 1118 in FIG. 11 ) can be included in user tenancy 1221, which can be owned or operated by a user or users of the system.
[0279] The control plane VCN 1216 may include a control plane DMZ layer 1220 (e.g., the control plane DMZ layer 1120 of FIG. 11 ) that may include a LB subnet 1222 (e.g., the LB subnet 1122 of FIG. 11 ), a control plane app layer 1224 (e.g., the control plane app layer 1124 of FIG. 11 ) that may include an app subnet 1226 (e.g., the app subnet 1126 of FIG. 11 ), and a control plane data layer 1228 (e.g., the control plane data layer 1128 of FIG. 11 ) that may include a database (DB) subnet 1230 (e.g., similar to the database (DB) subnet 1130 of FIG. 11 ). LB subnet 1222 included in control plane DMZ tier 1220 can be communicatively coupled to app subnet 1226 included in control plane app tier 1224, which may be included in control plane VCN 1216, and to Internet gateway 1234 (e.g., Internet gateway 1134 in FIG. 11 ), and app subnet 1226 can be communicatively coupled to DB subnet 1230 included in control plane data tier 1228, as well as to service gateway 1236 (e.g., service gateway 1136 in FIG. 11 ) and network address translation (NAT) gateway 1238 (e.g., NAT gateway 1138 in FIG. 11 ). Control plane VCN 1216 can include service gateway 1236 and NAT gateway 1238.
[0280] Control plane VCN 1216 can include a data plane mirror app layer 1240 (e.g., data plane mirror app layer 1140 of FIG. 11 ), which can include an app subnet 1226. App subnet 1226 included in data plane mirror app layer 1240 can include a virtual network interface controller (VNIC) 1242 (e.g., VNIC 1142) that can run compute instance 1244 (e.g., similar to compute instance 1144 of FIG. 11 ). Compute instance 1244 can facilitate communication between app subnet 1226 of data plane mirror app layer 1240 and app subnet 1226 that can be included in data plane app layer 1246 (e.g., data plane app layer 1146 of FIG. 11 ) via VNIC 1242 included in data plane mirror app layer 1240 and VNIC 1242 included in data plane app layer 1246.
[0281] An internet gateway 1234 included in the control plane VCN 1216 may be communicatively coupled to a metadata management service 1252 (e.g., metadata management service 1152 of FIG. 11 ), which may be communicatively coupled to a public internet 1254 (e.g., public internet 1154 of FIG. 11 ). The public internet 1254 may be communicatively coupled to a NAT gateway 1238 included in the control plane VCN 1216. A service gateway 1236 included in the control plane VCN 1216 may be communicatively coupled to a cloud service 1256 (e.g., cloud service 1156 of FIG. 11 ).
[0282] In some examples, data plane VCN 1218 may be included in user tenancy 1221. In this case, the IaaS provider may provide a control plane VCN 1216 for each user, and the IaaS provider may configure a unique compute instance 1244 for each user that is included in service tenancy 1219. Each compute instance 1244 may enable communication between the control plane VCN 1216 included in service tenancy 1219 and the data plane VCN 1218 included in user tenancy 1221. The compute instance 1244 may enable resources provisioned in the control plane VCN 1216 included in service tenancy 1219 to be deployed or otherwise used in the data plane VCN 1218 included in user tenancy 1221.
[0283] In another example, a user of the IaaS provider may have a database that resides in the user's tenancy 1221. In this example, control plane VCN 1216 may include a data plane mirror app tier 1240, which may include app subnet 1226. The data plane mirror app tier 1240 may reside in data plane VCN 1218, but the data plane mirror app tier 1240 may not reside in data plane VCN 1218. That is, while the data plane mirror app tier 1240 may have access to the user's tenancy 1221, the data plane mirror app tier 1240 may not reside in data plane VCN 1218 and may not be owned or operated by the IaaS provider's user. The data plane mirror app tier 1240 may be configured to make calls to the data plane VCN 1218, but may not be configured to make calls to any entities included in the control plane VCN 1216. A user may desire to deploy or otherwise use resources in the data plane VCN 1218 that have been provisioned in the control plane VCN 1216, and the data plane mirror app layer 1240 can facilitate the desired deployment or other use of the user's resources.
[0284] In some embodiments, a user of the IaaS provider can apply filters to the data plane VCN 1218. In this embodiment, the user can determine which data plane VCNs 1218 are accessible, and the user may restrict access from the data plane VCN 1218 to the public internet 1254. The IaaS provider may not be able to apply filters or otherwise control the access of the data plane VCN 1218 to any external networks or databases. Applying filters and controls by the user to the data plane VCN 1218 included in the user's tenancy 1221 can help to isolate the data plane VCN 1218 from other users and from the public internet 1254.
[0285] In some embodiments, cloud services 1256 may be called by service gateway 1236 to access services that may not reside on public internet 1254, control plane VCN 1216, or data plane VCN 1218. The connection between cloud services 1256 and control plane VCN 1216 or data plane VCN 1218 may not be up and running or continuous. Cloud services 1256 may reside on different networks owned or operated by the IaaS provider. Cloud services 1256 may be configured to receive calls from service gateway 1236 and may not be configured to receive calls from public internet 1254. Some cloud services 1256 may be isolated from other cloud services 1256, and control plane VCN 1216 may be isolated from cloud services 1256 that may not be in the same region as control plane VCN 1216. For example, control plane VCN 1216 may be located in "Region 1," and cloud service "Deployment 11" may be located in Region 1 and Region 2. If a call to deployment 11 is made by service gateway 1236 included in control plane VCN 1216 located in Region 1, the call may be sent to deployment 11 in Region 1. In this example, control plane VCN 1216, or deployment 11 in Region 1, may not be communicatively coupled to or otherwise in communication with deployment 11 in Region 2.
[0286] 13 is a block diagram 1300 illustrating another example pattern of an IaaS architecture, according to at least one embodiment. A service operator 1302 (e.g., service operator 1102 in FIG. 11 ) may be communicatively coupled to a secure host tenancy 1304 (e.g., secure host tenancy 1104 in FIG. 11 ), which may include a virtual cloud network (VCN) 1306 (e.g., VCN 1106 in FIG. 11 ) and a secure host subnet 1308 (e.g., secure host subnet 1108 in FIG. 11 ). VCN 1306 may include an LPG 1310 (e.g., LPG 1110 in FIG. 11 ), which may be communicatively coupled to an SSH VCN 1312 (e.g., SSH VCN 1112 in FIG. 11 ) via an LPG 1310 included in SSH VCN 1312. SSH VCN 1312 can include SSH subnet 1314 (e.g., SSH subnet 1114 in FIG. 11 ), and SSH VCN 1312 can be communicatively coupled to control plane VCN 1316 (e.g., control plane VCN 1116 in FIG. 11 ) via LPG 1310 included in control plane VCN 1316, and to data plane VCN 1318 (e.g., data plane 1118 in FIG. 11 ) via LPG 1310 included in data plane VCN 1318. Control plane VCN 1316 and data plane VCN 1318 can be included in service tenancy 1319 (e.g., service tenancy 1119 in FIG. 11 ).
[0287] The control plane VCN 1316 may include a control plane DMZ tier 1320 (e.g., the control plane DMZ tier 1120 of FIG. 11 ) that may include a load balancer (LB) subnet 1322 (e.g., the LB subnet 1122 of FIG. 11 ), a control plane app tier 1324 (e.g., the control plane app tier 1124 of FIG. 11 ) that may include an app subnet 1326 (e.g., similar to the app subnet 1126 of FIG. 11 ), and a control plane data tier 1328 (e.g., the control plane data tier 1128 of FIG. 11 ) that may include a DB subnet 1330. LB subnet 1322 included in control plane DMZ tier 1320 can be communicatively coupled to app subnet 1326 included in control plane app tier 1324, which may be included in control plane VCN 1316, and to an Internet gateway 1334 (e.g., Internet gateway 1134 in FIG. 11 ), and app subnet 1326 can be communicatively coupled to DB subnet 1330 included in control plane data tier 1328, as well as to service gateway 1336 (e.g., service gateway in FIG. 11 ) and network address translation (NAT) gateway 1338 (e.g., NAT gateway 1138 in FIG. 11 ). Control plane VCN 1316 can include service gateway 1336 and NAT gateway 1338.
[0288] Data plane VCN 1318 may include a data plane app layer 1346 (e.g., data plane app layer 1146 in FIG. 11 ), a data plane DMZ layer 1348 (e.g., data plane DMZ layer 1148 in FIG. 11 ), and a data plane data layer 1350 (e.g., data plane data layer 1150 in FIG. 11 ). Data plane DMZ layer 1348 may include a trusted app subnet 1360 and an untrusted app subnet 1362 of data plane app layer 1346 and an LB subnet 1322 that may be communicatively coupled to an Internet gateway 1334 included in data plane VCN 1318. Trusted app subnet 1360 may be communicatively coupled to a service gateway 1336 included in data plane VCN 1318, a NAT gateway 1338 included in data plane VCN 1318, and a DB subnet 1330 included in data plane data layer 1350. The untrusted app subnet 1362 may be communicatively coupled to a service gateway 1336 included in the data plane VCN 1318 and to a DB subnet 1330 included in the data plane data layer 1350. The data plane data layer 1350 may include a DB subnet 1330 that may be communicatively coupled to a service gateway 1336 included in the data plane VCN 1318.
[0289] The untrusted app subnet 1362 may include one or more primary VNICs 1364(1)-(N), which may be communicatively coupled to tenant virtual machines (VMs) 1366(1)-(N). Each tenant VM 1366(1)-(N) may be communicatively coupled to a respective app subnet 1367(1)-(N), which may be included in a respective container egress VCN 1368(1)-(N), which may be included in a respective user's tenancy 1370(1)-(N). Each secondary VNIC 1372(1)-(N) may facilitate communication between the untrusted app subnet 1362 included in the data plane VCN 1318 and the app subnet included in the container egress VCN 1368(1)-(N). Each container egress VCN 1368(1)-(N) may include a NAT gateway 1338, which may be communicatively coupled to the public internet 1354 (e.g., public internet 1154 in FIG. 11 ).
[0290] An internet gateway 1334 included in the control plane VCN 1316 and included in the data plane VCN 1318 may be communicatively coupled to a metadata management service 1352 (e.g., metadata management system 1152 of FIG. 11 ), which may be communicatively coupled to the public internet 1354. The public internet 1354 may be communicatively coupled to a NAT gateway 1338 included in the control plane VCN 1316 and included in the data plane VCN 1318. A service gateway 1336 included in the control plane VCN 1316 and included in the data plane VCN 1318 may be communicatively coupled to cloud services 1356.
[0291] In some embodiments, data plane VCN 1318 may be integrated with a user's tenancy 1370. This integration may be useful or desirable for an IaaS provider's user in some cases, such as when they may want support when executing code. A user may provide code for execution that may be destructive, may communicate with other users' resources, or may otherwise cause undesirable effects. In response, the IaaS provider may determine whether to execute the code provided to the IaaS provider by the user.
[0292] In some examples, a user of an IaaS provider may grant temporary network access to the IaaS provider and request functionality connected to the data plane app layer 1346. Code to perform this functionality may run in VMs 1366(1)-(N), and this code may not be configured to run elsewhere on the data plane VCN 1318. Each VM 1366(1)-(N) may be connected to one user's tenancy 1370. Each container 1371(1)-(N) contained in a VM 1366(1)-(N) may be configured to run code. In this case, double isolation may exist (e.g., containers 1371(1)-(N) running code may be contained in at least VMs 1366(1)-(N) that are included in untrusted app subnet 1362), which may help prevent incorrect or otherwise unwanted code from damaging the IaaS provider's network or damaging a different user's network. Containers 1371(1)-(N) may be communicatively coupled to a user's tenancy 1370 and may be configured to send or receive data to or from the user's tenancy 1370. Containers 1371(1)-(N) may not be configured to send or receive data to or from any other entities in data plane VCN 1318. Upon completion of code execution, the IaaS provider may kill or otherwise destroy containers 1371(1)-(N).
[0293] In some embodiments, trusted app subnet 1360 may execute code that may be owned or operated by the IaaS provider. In this embodiment, trusted app subnet 1360 may be communicatively coupled to DB subnet 1330 and may be configured to perform CRUD operations within DB subnet 1330. Untrusted app subnet 1362 may be communicatively coupled to DB subnet 1330, but in this embodiment, the untrusted app subnet may be configured to perform read operations within DB subnet 1330. Containers 1371(1)-(N) that can execute code from users, which may be included in each user's VMs 1366(1)-(N), may not be communicatively coupled to DB subnet 1330.
[0294] In other embodiments, the control plane VCN 1316 and the data plane VCN 1318 may not be directly communicatively coupled. In this embodiment, there may not be direct communication between the control plane VCN 1316 and the data plane VCN 1318. However, communication can occur indirectly through at least one method. The LPG 1310 may be established by an IaaS provider and can facilitate communication between the control plane VCN 1316 and the data plane VCN 1318. In another example, the control plane VCN 1316 or the data plane VCN 1318 can make a call to a cloud service 1356 via the service gateway 1336. For example, a call from the control plane VCN 1316 to the cloud service 1356 can include a request for a service that can communicate with the data plane VCN 1318.
[0295] 14 is a block diagram 1400 illustrating another example pattern of an IaaS architecture, according to at least one embodiment. A service operator 1402 (e.g., service operator 1102 in FIG. 11 ) may be communicatively coupled to a secure host tenancy 1404 (e.g., secure host tenancy 1104 in FIG. 11 ), which may include a virtual cloud network (VCN) 1406 (e.g., VCN 1106 in FIG. 11 ) and a secure host subnet 1408 (e.g., secure host subnet 1108 in FIG. 11 ). VCN 1406 may include an LPG 1410 (e.g., LPG 1110 in FIG. 11 ), which may be communicatively coupled to an SSH VCN 1412 (e.g., SSH VCN 1112 in FIG. 11 ) via an LPG 1410 included in SSH VCN 1412. SSH VCN 1412 can include SSH subnet 1414 (e.g., SSH subnet 1114 in FIG. 11 ), and SSH VCN 1412 can be communicatively coupled to control plane VCN 1416 (e.g., control plane VCN 1116 in FIG. 11 ) via LPG 1410 included in control plane VCN 1416, and to data plane VCN 1418 (e.g., data plane 1118 in FIG. 11 ) via LPG 1410 included in data plane VCN 1418. Control plane VCN 1416 and data plane VCN 1418 can be included in service tenancy 1419 (e.g., service tenancy 1119 in FIG. 11 ).
[0296] The control plane VCN 1416 may include a control plane DMZ layer 1420 (e.g., control plane DMZ layer 1120 in FIG. 11 ) that may include a LB subnet 1422 (e.g., LB subnet 1122 in FIG. 11 ), a control plane app layer 1424 (e.g., control plane app layer 1124 in FIG. 11 ) that may include an app subnet 1426 (e.g., app subnet 1126 in FIG. 11 ), and a control plane data layer 1428 (e.g., control plane data layer 1128 in FIG. 11 ) that may include a DB subnet 1430 (e.g., DB subnet 1330 in FIG. 13 ). LB subnet 1422 included in control plane DMZ tier 1420 can be communicatively coupled to app subnet 1426 included in control plane app tier 1424, which may be included in control plane VCN 1416, and to an Internet gateway 1434 (e.g., Internet gateway 1134 in FIG. 11 ), and app subnet 1426 can be communicatively coupled to DB subnet 1430 included in control plane data tier 1428, as well as to service gateway 1436 (e.g., service gateway in FIG. 11 ) and network address translation (NAT) gateway 1438 (e.g., NAT gateway 1138 in FIG. 11 ). Control plane VCN 1416 can include service gateway 1436 and NAT gateway 1438.
[0297] Data plane VCN 1418 may include a data plane app layer 1446 (e.g., data plane app layer 1146 in FIG. 11 ), a data plane DMZ layer 1448 (e.g., data plane DMZ layer 1148 in FIG. 11 ), and a data plane data layer 1450 (e.g., data plane data layer 1150 in FIG. 11 ). Data plane DMZ layer 1448 may include trusted app subnet 1460 (e.g., trusted app subnet 1360 in FIG. 13 ) and untrusted app subnet 1462 (e.g., untrusted app subnet 1362 in FIG. 13 ) of data plane app layer 1446, as well as LB subnet 1422, which may be communicatively coupled to an Internet gateway 1434 included in data plane VCN 1418. Trusted app subnet 1460 may be communicatively coupled to service gateway 1436 included in data plane VCN 1418, NAT gateway 1438 included in data plane VCN 1418, and DB subnet 1430 included in data plane data layer 1450. Untrusted app subnet 1462 may be communicatively coupled to service gateway 1436 included in data plane VCN 1418 and DB subnet 1430 included in data plane data layer 1450. Data plane data layer 1450 may include DB subnet 1430, which may be communicatively coupled to service gateway 1436 included in data plane VCN 1418.
[0298] The untrusted app subnet 1462 may include primary VNICs 1464(1)-(N), which may be communicatively coupled to tenant virtual machines (VMs) 1466(1)-(N) residing in the untrusted app subnet 1462. Each tenant VM 1466(1)-(N) may execute code in a respective container 1467(1)-(N) and may be communicatively coupled to an app subnet 1426, which may be included in a data plane app layer 1446, which may be included in a container egress VCN 1468. Each secondary VNIC 1472(1)-(N) may facilitate communication between the untrusted app subnet 1462, which is included in the data plane VCN 1418, and the app subnet included in the container egress VCN 1468. The container egress VCN may include a NAT gateway 1438, which may be communicatively coupled to the public internet 1454 (e.g., public internet 1154 in FIG. 11 ).
[0299] An internet gateway 1434 included in the control plane VCN 1416 and included in the data plane VCN 1418 may be communicatively coupled to a metadata management service 1452 (e.g., metadata management system 1152 of FIG. 11 ), which may be communicatively coupled to the public internet 1454. The public internet 1454 may be communicatively coupled to a NAT gateway 1438 included in the control plane VCN 1416 and included in the data plane VCN 1418. A service gateway 1436 included in the control plane VCN 1416 and included in the data plane VCN 1418 may be communicatively coupled to cloud services 1456.
[0300] In some examples, the pattern illustrated by the architecture of block diagram 1400 in FIG. 14 may be considered an exception to the pattern illustrated by the architecture of block diagram 1300 in FIG. 13 and may be desirable for users of an IaaS provider when the IaaS provider cannot communicate directly with the users (e.g., in a disconnected region). Each container 1467(1)-(N) contained in a VM 1466(1)-(N) for each user may be accessed by the user in real time. The containers 1467(1)-(N) may be configured to make calls to each secondary VNIC 1472(1)-(N) contained in the app subnet 1426 of the data plane app layer 1446, which may be included in a container egress VCN 1468. The secondary VNICs 1472(1)-(N) may send the calls to a NAT gateway 1438, which may send the calls to the public Internet 1454. In this example, containers 1467(1)-(N) that may be accessed in real time by users may be isolated from control plane VCN 1416 and may be isolated from other entities included in data plane VCN 1418. Containers 1467(1)-(N) may be isolated from other user resources.
[0301] In another example, a user may use container 1467(1)-(N) to invoke cloud service 1456. In this example, the user may execute code in container 1467(1)-(N) that requests a service from cloud service 1456. Container 1467(1)-(N) may send the request to secondary VNICs 1472(1)-(N), which may send the request to a NAT gateway, which may send the request to public Internet 1454. Public Internet 1454 may send the request via Internet gateway 1434 to LB subnet 1422, which is included in control plane VCN 1416. In response to determining that the request is valid, LB subnet 1426 may send the request to app subnet 1426, which may send the request via service gateway 1436 to cloud service 1456.
[0302] It should be understood that the IaaS architectures 1100, 1200, 1300, 1400 depicted in the figures may include components other than those depicted. Additionally, the depicted embodiments are merely some examples of cloud infrastructure systems that may incorporate embodiments of the present disclosure. In some other embodiments, the IaaS systems may include more or fewer components than those depicted in the figures, may combine two or more components, or may have a different configuration or arrangement of components.
[0303] In one embodiment, the IaaS system described herein may include the offering of a suite of application, middleware, and database services that are delivered to users in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. An example of such an IaaS system is Oracle Cloud Infrastructure (OCI), offered by the present assignee.
[0304] 15 illustrates an exemplary computer system 1500 upon which various embodiments may be implemented. System 1500 may be used to implement any of the computer systems described above. As shown, computer system 1500 includes a processing unit 1504 that communicates with multiple peripheral subsystems via a bus subsystem 1502. These peripheral subsystems may include a processing acceleration unit 1506, an I / O subsystem 1508, a storage subsystem 1518, and a communication subsystem 1524. Storage subsystem 1518 includes a tangible computer-readable storage medium 1522 and a system memory 1510.
[0305] Bus subsystem 1502 provides a mechanism for allowing the various components and subsystems of computer system 1500 to communicate with each other as intended. While bus subsystem 1502 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 1502 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, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus, which may be implemented as a mezzanine bus manufactured to the IEEE P1386.1 standard.
[0306] Processing unit 1504, which may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers), controls the operation of computer system 1500. One or more processors may be included in processing unit 1504. These processors may include single-core or multi-core processors. In one embodiment, processing unit 1504 may be implemented as one or more independent processing units 1532 and / or 1534, with a single-core or multi-core processor included in each processing unit. In other embodiments, processing unit 1504 may be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.
[0307] In various embodiments, processing unit 1504 may execute various programs according to program code and may maintain multiple simultaneously executing programs or processes. At any particular time, some or all of the program code being executed may reside on processor 1504 and / or on storage subsystem 1518. With appropriate programming, processor 1504 may provide the various functions described above. Computer system 1500 may further include a processing acceleration unit 1506, which may include a digital signal processor (DSP), a special purpose processor, and / or the like.
[0308] The I / O subsystem 1508 may include user interface input devices and user interface output devices. User interface input devices may include a keyboard, a pointing device such as a mouse or trackball, a touchpad or touchscreen integrated into a display, a scroll wheel, a click wheel, a dial, buttons, switches, a keypad, a voice input device with a voice command recognition system, a microphone, and other types of input devices. User interface input devices may include, for example, a motion detection device and / or gesture recognition device, such as a Microsoft Kinect® motion sensor, which allows a user to control and interact with an input device, such as a Microsoft Xbox® 360 game controller, through a natural user interface using gestures and spoken commands. User interface input devices may also include an eye gesture recognition device, such as a Google Glass® blink detector, which detects a user's eye activity (e.g., "blinking" when taking a photo and / or selecting a menu) and translates the eye gesture as input to an input device (e.g., Google Glass®). Additionally, the user interface input devices may include a voice recognition detection device that allows a user to interact with a voice recognition system (e.g., Siri® Navigator) via voice commands.
[0309] User interface input devices may include, but are not limited to, three-dimensional (3D) mice, joysticks or pointing sticks, gamepads, and graphic tablets, as well as audio / visual devices such as speakers, digital cameras, digital video cameras, portable media players, webcams, image scanners, fingerprint scanners, barcode reader 3D scanners, 3D printers, laser range finders, and eye-tracking devices. Additionally, user interface input devices may include medical imaging input devices such as, for example, computed tomography, magnetic resonance imaging, position emission tomography, and medical ultrasound devices. User interface input devices may also include audio input devices such as, for example, MIDI keyboards, digital musical instruments, and the like.
[0310] User interface output devices may include non-visual displays such as a display subsystem, indicator lights, or audio output devices. The display subsystem may be a flat-panel device, such as a flat-panel device using a cathode ray tube (CRT), a liquid crystal display (LCD), or a plasma display, a projection device, a touch screen, or 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 1500 to a user or to another computer. For example, user interface output devices may include, but are not limited to, various display devices that visually convey textual, graphical, and audio / video information, such as monitors, printers, speakers, headphones, navigation systems, plotters, audio output devices, and modems.
[0311] Computer system 1500 may include a storage subsystem 1518 that provides a tangible, non-transitory, computer-readable storage medium for storing software and data structures that provide the functionality of embodiments described in this disclosure. The software may include programs, code modules, instructions, scripts, etc. that, when executed by one or more cores or processors of processing unit 1504, provide the aforementioned functionality. Storage subsystem 1518 may also provide a repository for storing data used in accordance with the present disclosure.
[0312] 15, storage subsystem 1518 may include various components, including system memory 1510, computer-readable storage medium 1522, and computer-readable storage medium reader 1520. System memory 1510 may store program instructions readable and executable by processing unit 1504. System memory 1510 may also store data used during execution of the instructions and / or data generated during execution of the program instructions. Various types of programs may be loaded into system memory 1510, including, but not limited to, client applications, web browsers, middle-tier applications, relational database management systems (RDBMS), virtual machines, containers, etc.
[0313] System memory 1510 may also store operating system 1516. Examples of operating system 1516 may include various versions of Microsoft Windows®, Apple Macintosh®, and / or Linux operating systems, various commercially available UNIX® or UNIX-like operating systems (including, but not limited to, various GNU / Linux operating systems, Google Chrome® OS, etc.), and / or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® OS, and Palm® OS operating systems. In particular implementations in which computer system 1500 runs one or more virtual machines, the virtual machines along with their guest operating systems (GOS) may be loaded into system memory 1510 and executed by one or more processors or cores of processing unit 1504.
[0314] The system memory 1510 may be provided in different configurations depending on the type of computer system 1500. For example, the system memory 1510 may be volatile memory (such as random access memory (RAM)) and / or non-volatile memory (such as read-only memory (ROM) or flash memory). Various types of RAM configurations may be provided, including static random access memory (SRAM), dynamic random access memory (DRAM), etc. In some implementations, the system memory 1510 may include a basic input / output system (BIOS), which contains the basic routines that help to transfer information between elements within the computer system 1500, such as during start-up.
[0315] Computer-readable storage medium 1522 may represent storage media in addition to remote, local, fixed, and / or removable storage devices for temporarily and / or more permanently containing and storing computer-readable information for use by computer system 1500, including instructions executable by processing unit 1504 of computer system 1500.
[0316] Computer-readable storage medium 1522 may include any suitable medium known or used in the art, including storage and communication media, such as, but not limited to, volatile and nonvolatile, removable and non-removable media, implemented in any method or technology for storing and / or transmitting information. Computer-readable storage medium 1522 may 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 cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or other tangible computer-readable medium.
[0317] By way of example, computer-readable storage medium 1522 may include a hard disk drive that reads from or writes to non-removable, non-volatile magnetic media, a magnetic disk drive that reads from or writes to removable, non-volatile magnetic disks, and an optical disk drive that reads from or writes to removable, non-volatile optical disks, such as CD-ROMs, DVDs, and Blu-ray disks or other optical media. Computer-readable storage medium 1522 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 tapes, etc. The computer-readable storage media 1522 may include solid-state drives (SSDs) based on non-volatile memory such as flash memory-based SSDs, enterprise flash drives, semiconductor ROM, volatile memory-based SSDs such as semiconductor RAM, dynamic RAM, static RAM, DRAM-based SSDs, magneto-resistive RAM (MRAM) SSDs, and hybrid SSDs that use a combination of DRAM and flash memory-based SSDs. Disk drives and associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1500.
[0318] Machine-readable instructions executable by one or more processors or cores of processing unit 1504 may be stored on a non-transitory computer-readable storage medium. A non-transitory computer-readable storage medium may include physically tangible memory or storage devices, including volatile and / or non-volatile memory storage devices. Examples of non-transitory computer-readable storage media include magnetic storage media (e.g., disks or tapes), optical storage media (e.g., DVDs, CDs), various types of RAM, ROM, or flash memory, hard drives, floppy drives, removable memory drives (e.g., USB drives), or other types of storage devices.
[0319] The communications subsystem 1524 provides an interface to other computer systems and networks. The communications subsystem 1524 serves as an interface for receiving data from and transmitting data to other systems in the computer system 1500. For example, the communications subsystem 1524 may enable the computer system 1500 to connect to one or more devices via the Internet. In some embodiments, the communications subsystem 1524 may include radio frequency (RF) transceiver components for accessing wireless voice and / or data networks (e.g., using cellular technology, advanced data network technologies such as 3G, 4G, or EDGE (enhanced data rates for global evolution), WiFi (using the IEEE 802.11 family of standards, or other mobile communications technologies, or any combination thereof), global positioning system (GPS) receiver components, and / or other components. In some embodiments, the communications subsystem 1524 may provide a wired network connection (e.g., Ethernet) in addition to or instead of a wireless interface.
[0320] In some embodiments, the communications subsystem 1524 may receive incoming communications in the form of structured and / or unstructured data feeds 1526, event streams 1528, event updates 1530, etc., on behalf of one or more users who may use the computer system 1500.
[0321] By way of example, the communications subsystem 1524 may be configured to receive data feeds 1526 in real time from users of social networks and / or other communications 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 sources.
[0322] Additionally, the communications subsystem 1524 may be configured to receive data in the form of a continuous data stream, which may include an event stream 1528 of real-time events and / or event updates 1530 that may have no explicit end, be continuous in nature, or be unbounded. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measurement tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, etc.
[0323] The communications subsystem 1524 may be configured to output structured and / or unstructured data feeds 1526, event streams 1528, event updates 1530, etc. to one or more databases that can communicate with one or more streaming data source computers coupled to the computer system 1500.
[0324] The computer system 1500 can be one of a variety of types, including a handheld portable device (e.g., an iPhone® mobile 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 ticket machine, a server rack, or any other data processing system.
[0325] Due to the ever-changing nature of computers and networks, the description of computer system 1500 shown in the figure is intended to be a specific example only. Many other configurations are possible, including more or fewer components than the system shown in the figure. For example, customized hardware may be used, and / or particular elements may be implemented in hardware, firmware, software (including applets), or a combination thereof. Furthermore, connections to other computing devices, such as network input / output devices, may be employed. Based on the disclosure and teachings provided herein, those skilled in the art will appreciate other ways and / or manners for implementing the various embodiments.
[0326] While specific embodiments have been described, various modifications, variations, alternative constructions, and equivalents are encompassed within the scope of the present disclosure. The embodiments are not limited to operation in one particular data processing environment, but can freely operate in multiple data processing environments. Furthermore, while the embodiments have been described using a particular sequence 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 sequence of transactions and steps described. Various features and aspects of the above-described embodiments may be used individually or together.
[0327] Furthermore, while embodiments have been described using particular combinations of hardware and software, it should be recognized that other combinations of hardware and software are within the scope of the present disclosure. Embodiments may be implemented exclusively in hardware, exclusively in software, or using a combination thereof. Various processes described herein may be performed on the same processor or on different processors in any combination. Thus, when a component or service is described as being configured to perform an operation, such configuration may be realized, for example, by designing electronic circuitry to perform the operation, by programming a programmable electronic circuit (such as a microprocessor) to perform the operation, or by any combination thereof. Processes may communicate using various 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.
[0328] Accordingly, the specification and drawings should be regarded in an illustrative, rather than a limiting sense. However, it will be apparent that additions, subtractions, deletions, and other modifications and changes may be made to the specification and drawings without departing from the broader spirit and scope as set forth in the claims. Accordingly, while particular disclosed embodiments have been described, they are not intended to be limiting. Various modifications and equivalents are within the scope of the appended claims.
[0329] The use of the terms "a," "an," and "the" and similar referents in the context of describing the disclosed embodiments (particularly in the context of the appended claims) should 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" should be construed as open-ended (i.e., meaning "including, but not limited to"), unless otherwise noted. The term "connected" should be construed as partially or fully contained within, connected to, or joined together, even if there is something intervening. The recitation of ranges of values herein is merely intended to serve as a shorthand method of individually referring to each separate value included in the range, unless otherwise indicated herein, and each separate value is incorporated herein 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. Any and all examples provided herein, or the use of exemplary language (e.g., "etc.") are intended merely to better clarify the embodiments and do not impose limitations on the scope of the disclosure unless specifically claimed. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the disclosure.
[0330] Disjunctive language, such as the phrase "at least one of X, Y, or Z," is generally intended to be understood within the context as being used to state that an item, condition, etc. may be either X, Y, or Z, or any combination thereof (e.g., X, Y, and / or Z), unless expressly stated otherwise. Thus, such disjunctive language is generally not intended to, and should not, imply that an embodiment requires that at least one of X, at least one of Y, or at least one of Z, respectively, be present.
[0331] Preferred embodiments of the present disclosure are described herein, including the best mode known for carrying out the disclosure. Variations of such preferred embodiments may become apparent to those skilled in the art upon reading the foregoing description. Those skilled in the art will be able to adopt such variations as appropriate, and the present disclosure may be practiced other 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 of the embodiments is encompassed by the present disclosure, unless otherwise indicated herein.
[0332] All references, including publications, patent applications, and patents, cited in this specification are hereby incorporated by reference to the same extent as if each reference was individually indicated to be incorporated by reference and were set forth in its entirety herein.
[0333] While the foregoing specification has described aspects of the present disclosure with reference to specific embodiments thereof, those skilled in the art will recognize that the disclosure is not limited thereto. Various features and aspects of the foregoing disclosure may be used individually or together. Moreover, the embodiments may be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. Accordingly, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. 1. A method comprising: creating a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial environment, the VM being designated for replication within a cloud service provider infrastructure (CSPI); generating a terraform stack based on the initial snapshot, wherein execution of the terraform stack in an environment causes replication of VM1 in the environment, the method further comprising: providing the terraform stack to a user; creating a subsequent snapshot of the VM (VM2) in a subsequent configuration; generating a difference file characterizing the differences between the initial snapshot and the subsequent snapshot stored in the volume group; generating a differential terraform stack based on the differential file, wherein execution of the differential terraform stack causes a previously replicated VM1 to be updated to replicate VM2, the method further comprising: providing the differential terraform stack to the user.
2. The method of claim 1 , wherein the VM is not located in the CSPI.
3. The method of claim 1 , wherein the initial environment is an on-premise environment.
4. The method of claim 1 , wherein the VMs of the initial environment are located in a different cloud environment than the CSPI.
5. The method of claim 1 , further comprising executing the stack in a user's tenancy within the CSPI and replicating VM1.
6. The method of claim 5 , further comprising executing the difference stack in the user's tenancy to clone VM2.
7. The method of claim 6 , wherein the subsequent snapshot is created after cloning VM1.
8. generating additional subsequent snapshots; 8. The method of claim 7, further comprising: generating a difference file corresponding to each of the subsequent snapshots.
9. further comprising replicating at least a portion of the volume group, wherein replicating at least a portion of the volume group comprises: identifying the volume group; and replicating a boot volume from the volume group.
10. Generating the terraform stack determining compatibility differences between VM1 and the CSPI; 10. The method of claim 9, further comprising: modifying the replicated boot volume so that the replicated VM1 is compatible with the CSPI.
11. Modifying the boot volume so that the replicated VM1 is compatible with the CSPI includes: determining a first attribute of the initial environment; determining a second attribute of the CSPI; determining a difference between the first attribute and the second attribute; and modifying the boot volume to compensate for the difference between the first attribute and the second attribute.
12. The method of claim 11 , wherein the first attribute characterizes hardware of the initial environment and the second attribute characterizes hardware of a user's tenancy within the CSPI.
13. 11. The method of claim 10, wherein the terraform stack is modifiable by the user prior to executing the terraform stack.
14. 10. The method of claim 1, further comprising provisioning a replication server from a migration control plane to a user's tenancy in the CSPI, wherein the VM is then replicated to the user's tenancy.
15. The method of claim 14 , wherein the initial environment includes a replication plug-in.
16. Creating the volume group includes: generating the snapshot of the VM using the replication plug-in; and storing the snapshot of the VM in object storage.
17. 17. The method of claim 16, wherein creating the volume group includes the replication server writing a copy of the snapshot of the VM to block storage to create the volume group.
18. The method of claim 1 , wherein the difference file comprises a single file, the single file characterizing the differences between the initial snapshot of the VM and the subsequent snapshot of the VM.
19. The method of claim 1 , wherein the difference file comprises a plurality of files, the plurality of files together characterizing differences between the initial snapshot of the VM and the subsequent snapshot of the VM.
20. Creating the volume group including the initial snapshot of a virtual machine (VM) residing in an initial environment includes: Creating a boot volume creating a data volume associated with the boot volume; and assigning an identifier to each of the boot volume and the data volume, the identifier being included in the terraform stack.
21. a memory containing a volume database; a processor, the processor comprising: and configuring the processor to create a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial configuration, the VM being a virtual machine (VM) residing in an initial environment, the VM being designated for replication within a cloud service provider infrastructure (CSPI), the processor further comprising: and configured to generate a terraform stack based on the initial snapshot, wherein execution of the terraform stack in an environment causes replication of VM1 in the environment, and the processor further: Provide the terraform stack to the user, Creating a subsequent snapshot of the VM (VM2) in a subsequent configuration; generating a difference file characterizing the differences between the initial snapshot and the subsequent snapshot stored in the volume group; and configured to generate a differential terraform stack based on the differential file, wherein execution of the differential terraform stack causes a previously replicated VM1 to be updated to replicate VM2, and the processor further: a system configured to provide the differential terraform stack to the user;
22. A non-transitory computer-readable storage medium storing a plurality of instructions executable by one or more processors, the plurality of instructions, when executed by the one or more processors, causing the one or more processors to: creating a volume group containing an initial snapshot of a virtual machine (VM) (VM1) in an initial configuration, the VM being a virtual machine (VM) residing in an initial environment, the VM being designated for replication within a cloud service provider infrastructure (CSPI); and causing the one or more processors to further: generating a terraform stack based on the initial snapshot, wherein execution of the terraform stack in an environment causes replication of VM1 in the environment; and causing the one or more processors to further: Have the user provide the terraform stack, generating a subsequent snapshot of the VM (VM2) in a subsequent configuration; generating a difference file characterizing the differences between the initial snapshot and the subsequent snapshot stored in the volume group; generating a differential terraform stack based on the differential file, execution of the differential terraform stack causing a previously replicated VM1 to be updated to replicate VM2; and causing the one or more processors to further: a non-transitory computer-readable storage medium for providing the differential terraform stack to the user;