Technology for migrating services from a virtual bootstrap environment
Patent Information
- Application Number
- JP2024547148
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-03
- Filing Date
- 2023-02-06
- Publication Date
- 2026-02-12
AI Technical Summary
The construction of regional data centers is hindered by the need for manual operations, which are time-consuming and prone to errors, especially when bootstrapping services into new regions.
The use of a virtual bootstrap environment (ViBE) and Cloud Infrastructure Orchestration Services (CIOS) to automate the provisioning and deployment of services, allowing for intelligent and automatic building of new regions.
This approach significantly reduces the time required to build a data center, minimizes the risk of manual configuration errors, and enables more efficient execution of region construction.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Patent Application No. 18 / 105,766, entitled "TECHNIQUES FOR MIGRATING SERVICES FROM A VIRTUAL BOOTSTRAP ENVIRONMENT," filed February 3, 2023, U.S. Provisional Patent Application No. 63 / 315,017, entitled "TECHNIQUES FOR MIGRATING SERVICES FROM A VIRTUAL BOOTSTRAP ENVIRONMENT," filed February 28, 2022, U.S. Provisional Patent Application No. 63 / 308,003, entitled "TECHNIQUES FOR BOOTSTRAPPING A REGION BUILD," filed February 8, 2022, and U.S. Provisional Patent Application No. 63 / 312,814, entitled "TECHNIQUES FOR IMPLEMENTING VIRTUAL DATA CENTERS," filed February 22, 2022, the entire contents of each of which are incorporated herein by reference.
[0002] Technical Field FIELD OF THE DISCLOSURE This disclosure relates to the construction of regional data centers. More particularly, this disclosure describes techniques for migrating services from a virtual bootstrap environment to a data center infrastructure during the construction of a regional data center. Summary of the Invention [Problem to be solved by the invention]
[0003] background A cloud infrastructure provider may provide cloud computing infrastructure and related services in many geographic areas around the world. To provide this infrastructure, the cloud infrastructure provider may operate one or more data centers corresponding to a local geographic area. These data centers may be included as part of a "region," which is a logical abstraction of the geographic area and computing resources of the one or more data centers. Building a new region may include provisioning computing resources, configuring infrastructure, and deploying code to these resources. Conventional techniques for building regions involve significant manual operations. Bootstrapping existing services into a new region can be difficult because the services may depend on the functionality of other existing services and / or resources in the region. Relying on manual operations to bootstrap services and / or build a region may not scale well because it incurs significant time costs and introduces risks associated with manual configuration errors.
[0004] overview Embodiments of the present disclosure relate to creating a bootstrap environment to support the construction of a region. The region construction process may include bootstrapping (e.g., provisioning and / or deployment) of resources (e.g., infrastructure components, artifacts, etc.) for any suitable number of services in a region (e.g., a geographic location associated with one or more data centers). The bootstrap environment may be a virtual environment (e.g., a virtual cloud network) in an existing region. Thus, a virtual bootstrap environment (ViBE) may be constructed and configured in an existing region prior to the region construction process. The deployment of services (e.g., core services) into the ViBE may support bootstrapping of operations to a target region (e.g., a region constructed in the region construction process). Services in the ViBE may be used to provision computing resources (e.g., bare metal computing hosts, virtual machines, storage, etc.) in the target region. Services in the ViBE may also be used to deploy services, including instances of services in the ViBE, to the target region. Using cloud infrastructure orchestration services in conjunction with the ViBE, new regions may be constructed intelligently and automatically. [Means for solving the problem]
[0005] One embodiment is directed to a computer-implemented method performed by a distributed computing system (e.g., a cloud computing system) of a cloud service provider. The method may include generating a virtual cloud network in a host regional datacenter and implementing a ViBE in the virtual cloud network. The ViBE may include a plurality of services. The method may also include deploying an instance of the plurality of services in the ViBE to a target regional datacenter. The instance may be configured to perform the same service function as the service in the ViBE. The method may also include receiving an indication from the deployed instance that the deployment of the instance was successful. Because a deployed service may not have all of the resources associated with a corresponding service in the ViBE (e.g., data resources created by a service in the ViBE), in some embodiments, the indication may be a capability indicating successful partial deployment of the service. The capability may be issued to a capability service in the ViBE. The method may also include identifying resources (e.g., DNS records) associated with the instance deployed to the target regional datacenter. The resources may then be used by the distributed computing system to update a second service in ViBE (e.g., to update DNS in ViBE), and in some embodiments, the resources may be used to update instances of the service deployed in the target region datacenter.
[0006] Another embodiment is directed to a computing device storing one or more processors and instructions that, when executed by the one or more processors, cause the computing device to perform the methods disclosed herein.
[0007] Yet another embodiment is directed to a non-transitory computer-readable medium storing computer-executable instructions that, when executed by one or more processors of a computing cluster, cause the computing cluster to perform the methods disclosed herein.
[0008] To easily identify the discussion of any particular element or operation, the most significant digit or digits of a reference number refer to the figure number in which that element is first introduced. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram of an environment in which a Cloud Infrastructure Orchestration Service (CIOS) may operate to dynamically provide bootstrap services in a region, according to at least one embodiment. [Diagram 2] FIG. 1 is a block diagram illustrating an environment and method for building a Virtual Bootstrap Environment (ViBE) according to at least one embodiment. [Diagram 3] 1 is a block diagram illustrating an environment and method for bootstrapping a service to a target region using ViBE, according to at least one embodiment. [Figure 4] FIG. 1 is a block diagram of an environment in which a cloud infrastructure orchestration service (CIOS) may utilize a resource hunter to discover resources during region construction, according to at least one embodiment. [Diagram 5] FIG. 1 is a block diagram illustrating an example flow for performing operations for provisioning and deployment of services to a new regional data center and importing resources prior to updating DNS records for deployed services according to at least one embodiment. [Figure 6] FIG. 2 illustrates an example method for migrating services from a ViBE to a target region according to at least one embodiment. [Figure 7]FIG. 1 is a block diagram illustrating one pattern for implementing a cloud infrastructure system as a service in accordance with at least one embodiment. [Figure 8] FIG. 2 is a block diagram illustrating another pattern for implementing a cloud infrastructure system as a service in accordance with at least one embodiment. [Figure 9] FIG. 2 is a block diagram illustrating another pattern for implementing a cloud infrastructure system as a service in accordance with at least one embodiment. [Figure 10] FIG. 2 is a block diagram illustrating another pattern for implementing a cloud infrastructure system as a service in accordance with at least one embodiment. [Figure 11] FIG. 1 is a block diagram illustrating an exemplary computer system according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Detailed Description Example Data Center Construction (Region Construction) Infrastructure In recent years, the adoption of cloud services has been growing rapidly. Currently, various types of cloud services are offered by various different cloud service providers (CSPs). The term cloud service is generally used to describe a service or functionality that is made available on demand (e.g., through a subscription model) to a user or customer by a CSP through the use of systems and infrastructure (cloud infrastructure) that the CSP provides. Typically, the servers and systems that make up the CSP's infrastructure and that are used to provide cloud services to customers are separate from the customer's own on-premise servers and systems. This allows customers to use cloud services offered by CSPs without having to purchase separate hardware and software resources for the services. Cloud services are designed to provide easy, scalable, and on-demand access to applications and computing resources to subscribing customers, without the customer having to invest in procuring the infrastructure used to provide the services or functionality. Cloud services can be offered in various different types or models, such as software as a service (SaaS), platform as a service (PaaS), infrastructure as a service (IaaS), etc. A customer can subscribe to one or more cloud services offered by a CSP. A customer can be any entity, such as an individual, an organization, or a business.
[0011] As mentioned above, a CSP is responsible for providing the infrastructure and resources used to provide cloud services to its subscribing customers. The resources provided by a CSP may include both hardware and software resources. These resources may include, for example, compute resources (e.g., virtual machines, containers, applications, processors), memory resources (e.g., databases, data stores), networking resources (e.g., routers, host machines, load balancers), identities, and other resources. In one embodiment, the resources provided by a CSP to provide a set of cloud services are organized as a datacenter. A datacenter may be configured to provide a particular set of cloud services. A CSP is responsible for populating the datacenter with the infrastructure and resources used to provide the particular set of cloud services. A CSP may build one or more datacenters.
[0012] Datacenters offered by a CSP may be hosted in different regions. A region is a local geographic area and may be identified by a region name. Regions are generally independent from each other and may be separated by large distances, for example across countries or continents. Regions are grouped into realms. Examples of CSP regions include US West, US East, Australia East, Australia Southeast, etc.
[0013] A region may include one or more data centers, which are located within a geographic area corresponding to the region. As an example, the data centers in a region may be located in cities within the region. For example, for a particular CSP, the data center for the US West region may be located in San Jose, California, the data center for the US East region may be located in Ashburn, Virginia, the data center for the Australia East region may be located in Sydney, Australia, the data center for the Australia Southeast region may be located in Melbourne, Australia, etc.
[0014] Data centers within a region may be organized as one or more availability domains that are used for high availability and disaster recovery. An availability domain may contain one or more data centers within a region. Availability domains within a region are isolated from each other, fault tolerant, and designed to make it highly unlikely that data centers in multiple availability domains will fail simultaneously. For example, availability domains within a region may be structured to make it less likely that a failure in one availability domain within a region will affect the availability of data centers in other availability domains in the same region.
[0015] When a customer or subscriber registers or signs up for one or more services offered by a CSP, the CSP creates a tenancy for the customer. A tenancy is like an account created for a customer. In one embodiment, the tenancy for a customer exists in a single realm and has access to all regions that belong to that realm. And the customer's users can access the services for which the customer has registered under this tenancy.
[0016] As mentioned above, a CSP provides cloud services to its customers by building or deploying data centers. As a CSP's customer base expands, the CSP typically builds new data centers in new regions or expands the capacity of existing data centers to accommodate and serve the growing demands of customers and to better serve the customers. Data centers are preferably built in close geographic proximity to the locations of the customers served by the data center. The geographical proximity between a data center and the customers served by the data center helps in more efficient use of resources and providing faster and more reliable services to the customers. Thus, a CSP typically builds a new data center in a new region in a geographic area that is geographically close to the customers served by the data center. For example, if the customer base is expanding in Germany, the CSP may build one or more data centers in a new region in Germany.
[0017] Building a datacenter(s) in a region may also be referred to as building a region. The term "region build" is used to refer to building one or more datacenters in a region. Building a datacenter in a region includes provisioning or creating a new set of resources required or used to provide the set of services that the datacenter is configured to provide. The end result of the region build process is the creation of a datacenter in the region that is capable of providing the set of services intended for the datacenter and includes a set of resources used to provide this set of services.
[0018] Building a new datacenter in a region is a very complex task that requires extensive coordination between various bootstrapping activities. At a high level, this involves performing and coordinating various tasks such as identifying the set of services to be provided by the datacenter, identifying the various resources required to provide the set of services, creating, provisioning, and deploying the identified resources, and properly describing the resources to enable their intended use. Each of these tasks has further subtasks that require coordination, which further increases the complexity. Due to this complexity, currently, building a datacenter in a region involves multiple manual initiation or control tasks that require careful manual coordination. As a result, the task of building a new region (building one or more datacenters in a region) is time-consuming. Building a datacenter can take many months, for example. Also, the process is highly error-prone and may require multiple iterations before the desired configuration of the datacenter is achieved, further lengthening the time required to build the datacenter. These constraints and issues severely limit the ability of CSPs to scale computing resources in a timely manner to meet growing customer needs.
[0019] This disclosure describes techniques for reducing the construction time, thereby reducing the waste of computing resources and reducing the risks associated with constructing one or more data centers in a region. Whereas previously it took weeks and months to construct a data center in a region, by using the techniques described herein, a new data center can be constructed in a region in a relatively much shorter time with less risk of error than traditional approaches.
[0020] Disclosed herein is a cloud infrastructure orchestration service (CIOS) configured to bootstrap (e.g., provision and deploy) services to a new datacenter based on a predefined configuration file that identifies resources (e.g., infrastructure components and software to be deployed) for implementing a given change to the datacenter. The CIOS can identify dependencies between resources, execution targets, phases, and flocks by parsing and analyzing the configuration file (e.g., flock configuration). The CIOS may generate specific data structures from the analysis and may use these data structures to drive operations and manage the order in which services are bootstrapped to regions. The CIOS may utilize these data structures to identify when a service can be bootstrapped, when the bootstrap is blocked, and / or when a bootstrap operation associated with a previously blocked service can be resumed. Advantageously, the CIOS can identify circular dependencies in the data structures and perform operations to eliminate / resolve these circular dependencies prior to the execution of the task. Using these techniques, the CIOS significantly reduces the risk of executing a task before the resources on which the task depends are available.
[0021] Using the techniques disclosed herein, CIOS may perform datacenter modifications through parallel processing optimizations while preventing tasks from starting until functionality on which they depend is available in the region. In this manner, CIOS allows for more efficient execution of region construction, significantly reducing the time required to build datacenters and the wasted computing resource usage seen with traditional approaches.
[0022] Some definitions A "region" is a logical abstraction that corresponds to a geographic location. A region may include any suitable number of one or more execution targets. In some embodiments, an execution target may correspond to a data center.
[0023] An "execution target" represents the smallest unit of change for executing a release. A "release" represents a statement of intent to orchestrate a particular change to a service (e.g., deploying version 8, "adding internal DNS records", etc.). For most services, an execution target represents an "instance" of the service. A single service can be bootstrapped onto one or more execution targets each. An execution target can be associated with a set of devices (e.g., a data center).
[0024] "Bootstrapping" is intended to refer to the collective tasks associated with the provisioning and deployment of any suitable number of resources (e.g., infrastructure components, artifacts, etc.) that correspond to a single service.
[0025] A "service" represents a functionality provided by a set of resources. The set of resources for a service includes any suitable combination of cloud provider hosted infrastructure, platform, or software (e.g., applications) that can be configured to provide the functionality of the service. A service may be made available to users over the Internet.
[0026] "Artifact" refers to an infrastructure component or code that is deployed to a Kubernetes engine cluster, which may include software (e.g., applications), configuration information for the infrastructure component (e.g., configuration files), etc.
[0027] A "flock config" refers to a configuration file (or a set of configuration files) that describes a set of all resources (e.g., infrastructure components and artifacts) associated with a single service. A flock config may contain declarative statements that specify one or more aspects that correspond to a desired state of the service's resources.
[0028] A "service state" represents a point-in-time snapshot of all resources (e.g., infrastructure resources, artifacts, etc.) associated with a service. A service state indicates the status corresponding to provisioning and / or deployment tasks associated with the service resources.
[0029] IaaS provisioning (or "provisioning") refers to obtaining a computer or virtual host for use, and even installing the necessary libraries or services on it. The expression "provisioning a device" refers to the evolution of a device to a state where it can be used by an end user for a specific purpose. A device that has gone through the provisioning process may also be referred to as a "provisioned device". Preparing a provisioned device (installing libraries and daemons) may be part of provisioning, but this is different from deploying a new application or a new version of an application to a prepared device. In most cases, deployment does not include provisioning, which may need to be performed first. A prepared device may also be referred to as an "infrastructure component".
[0030] IaaS deployment (or "deployment") refers to the process of provisioning and / or installing a new application or a new version of an application onto a provisioned infrastructure component. Once the infrastructure component has been provisioned (e.g., acquired, allocated, prepared, etc.), additional software may be deployed (e.g., provided and installed onto the infrastructure component). After provisioning and deployment are complete, the infrastructure component may be referred to as a "resource." Examples of resources include, but are not limited to, virtual machines, databases, object storage, block storage, load balancers, etc.
[0031] A "capability" identifies a unit of functionality associated with a service, which may be some or all of the functionality provided by the service. As an example, a capability may be published that indicates that a resource is available for authorization / authentication processing (e.g., a subset of the functionality provided by the resource). As another example, a capability may be published that indicates that all functionality of a service is available. Capabilities can be used to identify functionality on which a resource or service depends and / or the functionality of the resource or service that is available.
[0032] A "virtual bootstrap environment" (ViBE) represents a virtual cloud network that is provisioned in an overlay of an existing region (e.g., a "host region"). The provisioned ViBE is connected to the new region using a communication channel (e.g., IPSec Tunnel VPN). Certain essential core services (or "seed" services) can be provisioned in the ViBE, such as a deployment orchestrator, public key infrastructure (PKI) services, etc. These services can provide the capabilities required to bring hardware online, establish a chain of trust to the new region, and deploy other services in the new region. The use of a virtual bootstrap environment can prevent circular dependencies between bootstrap resources by utilizing resources in the host region. Services can be staged and tested in the ViBE before the physical region (e.g., the target region) is available.
[0033] "Cloud Infrastructure Orchestration Service" (CIOS) may refer to a system configured to manage the provisioning and deployment operations of any suitable number of services as part of a region construction.
[0034] A multi-flock orchestrator (MFO) may be a computing component (e.g., a service) that coordinates events between components of the CIOS to provision and deploy services to a target region (e.g., a new region). The MFO tracks events related to each service in the region build and takes action in response to the events.
[0035] A "host region" refers to a region that hosts a Virtual Bootstrap Environment (ViBE). A host region may be used to bootstrap a ViBE.
[0036] "Target region" refers to the region being constructed. "Publishing a capability" refers to "publishing" as used in "publisher-subscriber" computing design, or providing an indication that a particular capability is available (or unavailable). Capabilities provide an indication that a resource / service's functionality is available by "publishing" (e.g., collected by a capability service, provided to a capability service, pushed, pulled, etc.). In some embodiments, capabilities may be published / transmitted by an event, notification, data transmission, function call, API call, etc. An event (or other notification / data transmission, etc.) indicating availability of a particular capability can be broadcast / addressed (e.g., published) to a capability service.
[0037] A "capabilities service" may be a flock that is configured to model dependencies between different flocks. Capabilities services may be provided within a cloud infrastructure orchestration service and may define the capabilities, services, and / or features that are made available in a region.
[0038] A "Real-time Regional Data Distributor" (RRDD) can be a service or system configured to manage regional data that can be injected into a flock configuration to dynamically create new regional execution targets.
[0039] In some examples, techniques are described herein for implementing a cloud infrastructure orchestration service (CIOS). Such techniques can be configured to manage the bootstrapping (e.g., software provisioning and deployment) of infrastructure components in a cloud environment (e.g., a region), as briefly described above. In some cases, the CIOS can include computing components (e.g., CIOS central and CIOS regional (both of which are described in more detail below)) that can be configured to manage the bootstrapping tasks (provisioning and deployment) for a given service as well as a multi-flock orchestrator (also described in more detail below) that is configured to initiate / manage region construction (e.g., bootstrapping operations corresponding to multiple services).
[0040] CIOS enables region builds and global infrastructure provisioning and code deployment with minimal manual effort by service teams (e.g., beyond initial approval and / or physical shipping of hardware, as the case may be). High level responsibilities of CIOS include, but are not limited to, coordinating region builds, providing users with a current view of the resources it manages (e.g., within regions, across regions, globally, etc.), and managing the bootstrap operations to bootstrap resources within regions.
[0041] The CIOS may provide view reconciliation that can reconcile a view of a desired state (e.g., desired configuration) of a resource with the current / actual state (e.g., current configuration) of the resource. In some cases, view reconciliation may include obtaining state data that identifies the actual operating resources and their respective current configurations and / or states. Reconciliation may be performed at various levels of granularity, such as at the service level.
[0042] The CIOS can perform plan generation in which differences between desired and current states of resources are identified. Part of plan generation can include identifying actions that need to be performed to move resources from their current state to the desired state. In some examples, the CIOS can present the generated plan to a user for approval. In these examples, the CIOS can allow the user to accept or reject the plan based on user input from the user. This allows the user to spend less time reasoning about the plan, and since the plan is machine generated, it is more accurate. Most of the plans are too detailed for human consumption, but the CIOS can provide this data through an advanced user interface (UI).
[0043] In some instances, the CIOS can handle change control execution by executing approved plans. Once an execution plan has been created and approved, engineers may not need to participate in change control unless the CIOS initiates a rollback. The CIOS can handle rollbacks to previous service versions (e.g., if it detects degradation of service health during execution) by generating a plan to revert the service to a previous (e.g., pre-release) state.
[0044] CIOS can measure service health by monitoring alerts and running integration tests. CIOS can help teams quickly prescribe and later execute rollback behavior in case of service degradation. CIOS can generate and display plans as well as track approvals. CIOS can combine provisioning and deployment capabilities in a single system that coordinates these tasks across region construction. CIOS also supports discovery of flocks (e.g., service resources such as flock configurations corresponding to any suitable number of services), artifacts, resources, and dependencies. CIOS can discover dependencies between execution tasks at any level (e.g., resource level, execution target level, phase level, service level, etc.) by static analysis (e.g., including parsing and processing the contents) of one or more configuration files. Using these dependencies, CIOS can generate various data structures from these dependencies that can be used to drive task execution (e.g., tasks related to provisioning infrastructure resources and deployment of artifacts across regions).
[0045] FIG. 1 is a block diagram of an environment 100 in which a cloud infrastructure orchestration service (CIOS) 102 may operate to dynamically provide bootstrap services in a region, according to at least one embodiment. CIOS 102 may include components such as, but not limited to, a real-time regional data distributor (RRDD) 104, a multi-flock orchestrator (MFO) 106, a CIOS central 108, a CIOS regional 110, and a capability service 112. The specific functions of CIOS central 108 and CIOS regional 110 are provided in more detail in U.S. patent application Ser. No. 17 / 016,754, entitled "Techniques for Deploying Infrastructure Resources with a Declarative Provisioning Tool," the entire contents of which are incorporated herein by reference. In some embodiments, any suitable combination of the components of CIOS 102 may be provided as a service. In some embodiments, any portion of CIOS 102 may be deployed to a region (e.g., a data center represented by host region 103). In some embodiments, CIOS 102 may include any suitable number of cloud services (not shown in FIG. 1), as discussed in more detail below with respect to U.S. patent application Ser. No. 17 / 016,754 and FIGS. 2 and 3.
[0046] The real-time regional data distributor (RRDD) 104 may be configured to maintain and provide regional data that identifies realms, regions, execution targets, and availability domains. In some cases, the regional data may be in any suitable form (e.g., JSON format, data object / container, XML, etc.). The regional data maintained by the RRDD 104 may include any suitable number of data subsets that may be individually referenceable by a corresponding identifier. As an example, an identifier "all_regions" may be associated with a data structure (e.g., a list, structure, object, etc.) that includes metadata for all defined regions. As another example, an identifier such as "realm" may be associated with a data structure that identifies metadata for a number of realms and a set of regions corresponding to each realm. In general, the regional data may maintain any suitable attributes of one or more realms, regions, availability domains (ADs), execution targets (ETs), etc. (identifiers, DNS suffixes, state (e.g., state of the region), etc.). The RRDD 104 may be configured to manage a regional state as part of the regional data. The regional state may include any suitable information indicative of a state of bootstrap within the region. By way of example, some exemplary region states may include "initial," "constructing," "creating," "suspended," or "decommissioned." The "initial" state may indicate a region that has not yet been bootstrapped. The "constructing" state may indicate that bootstrap of one or more blocks in the region has begun. The "creating" state may indicate that bootstrap is complete and the region is ready for validation. The "suspended" state may indicate that CIOS Central 108 or CIOS Regional 110 has suspended internal interactions with the regional stack, possibly due to operational issues. The "decommissioned" state may indicate that the region has been decommissioned and may be unavailable and / or unable to be reconnected.
[0047] CIOS central 108 may be configured to provide any suitable number of user interfaces through which a user (e.g., user 109) may interact with CIOS 102. As an example, a user may modify region data through a user interface provided by CIOS central 108. CIOS central 108 may additionally provide a variety of interfaces that allow a user to review changes made to flock configurations and / or artifacts, generate and review plans, approve / reject plans, and review status regarding plan execution (e.g., corresponding to infrastructure provisioning, deployment, tasks involving region construction, and / or a desired state of any suitable number of resources managed by CIOS 102). CIOS central 108 may implement a control plane that is configured to manage any suitable number of CIOS regional 110 instances. CIOS central 108 may provide one or more user interfaces that allow user 109 to review and / or modify region data through presentation of the region data. CIOS central 108 may be configurable to invoke RRDD 104 functions through any suitable number of interfaces. In general, the CIOS central 108 may be configured to manage region data directly or indirectly (e.g., via the RRDD 104). The CIOS central 108 may be configured to inject the region data into a flock configuration as a variable upon compilation of the flock configuration.
[0048] Each instance of CIOS regional 110 may correspond to a component or module configured to perform the bootstrapping tasks associated with a single service of the region. CIOS regional 110 may receive desired state data from CIOS central 108. In some embodiments, the desired state data may include a flock configuration that declares (e.g., by declarative statements) a desired state of resources associated with the service. CIOS central 108 may maintain current state data that indicates any suitable aspect of the current state of resources associated with the service. In some embodiments, CIOS regional 110 may identify one or more resources as requiring modification by comparison of the desired state data and the current state data. For example, CIOS regional 110 may determine that provisioning of one or more infrastructure components, deployment of one or more artifacts, or any suitable modification of the resources of the service is required to bring the state of the resources into line with the desired state. When CIOS regional 110 performs the bootstrapping operation, it may publish data indicating various capabilities of the resources that have been made available. A "capability" identifies a unit of functionality associated with a service. This unit may be some or all of the functionality provided by the service. As an example, a capability may be published indicating that a resource is available for authorization / authentication processing (e.g., a subset of the functionality provided by the resource). As another example, a capability may be published indicating that all functionality of a service is available. Capabilities may be used to identify functionality on which a resource or service depends and / or the functionality of the resource or service that is available.
[0049] The capability service 112 is configured to maintain capability data that indicates: 1) capabilities of various services that are currently available; 2) whether any resources / services are waiting for a particular capability; 3) specific resources and / or services waiting for a given capability; or any suitable combination thereof. The capability service 112 may provide an interface by which the capability data may be requested. The capability service 112 may provide one or more interfaces (e.g., application programming interfaces) that enable the capability service 112 to send the capability data to the MFO 106 and / or CIOS regional 110 (e.g., each instance of the CIOS regional 110). In some embodiments, any suitable component or module of the MFO 106 and / or CIOS regional 110 may be configured to request the capability data from the capability service 112.
[0050] In some embodiments, a multi-flock orchestrator (MFO) 106 may be configured to drive region construction attempts. In some embodiments, the MFO 106 may manage information representing the flock / flock configuration version and / or artifact version utilized to bootstrap a given service in the region (or configure a change unit for the target region). In some embodiments, the MFO 106 may be configured to monitor (or be notified of) changes to the region data managed by the real-time regional data distributor 104. In some embodiments, region construction may be triggered by the MFO 106 upon receiving an indication that the region data has changed. In some embodiments, the MFO 106 may collect various flock configurations and artifacts used in region construction. Some or all of the flock configurations may be configured to be region agnostic; that is, the flock configuration may not explicitly identify the region to which the flock is bootstrapped. In some embodiments, the MFO 106 may initiate a data injection process in which the collected flock configurations are recompiled (e.g., by the CIOS central 108). During recompilation, execution of an action (e.g., by CIOS Central 108) injects the configuration file with region data maintained by the real-time regional data distributor 104. The flock configuration can reference the region data through variables / parameters without requiring hard-coded identification of the region data. This data injection allows the flock configuration to be dynamically modified at run time without hard-coding the region data, making it more difficult to change.
[0051] The multi-flock orchestrator 106 can perform static flock analysis, which analyzes the flock configuration to identify dependencies between resources, execution targets, phases, and flocks, and in particular, to identify circular dependencies that need to be eliminated. In some embodiments, the MFO 106 can generate any suitable number of data structures based on the identified dependencies. These data structures (e.g., directed acyclic graphs, linked lists, etc.) can be utilized by the cloud infrastructure orchestration service 102 to drive operations to perform region construction. As an example, these data structures can collectively specify the order in which services are bootstrapped within a region. An example of such a data structure is discussed separately below with respect to the construction dependency graph 338 of FIG. 3. If circular dependencies (e.g., service A requires service B and vice versa) exist and are identified by the static flock analysis and / or graph, the MFO can be configured to notify any suitable service team that a corresponding change in the flock configuration is required to correct these circular dependencies. The MFO 106 can be configured to manage the order in which services are bootstrapped into regions by traversing one or more data structures. The MFO 106 can identify capabilities available within a given region at any given time (e.g., using data obtained from the capabilities service 112). The MFO 106 can use this data to identify when the CIOS regional 110 can bootstrap a service, when bootstrap is blocked, and / or when a bootstrap operation associated with a previously blocked service can be resumed. Based on this passage, the MFO 106 can perform various releases in which the MFO 106 sends instructions to the CIOS central 108 to perform bootstrap operations corresponding to any suitable number of block configurations.In some examples, the MFO 106 may be configured to identify one or more flock configurations as requiring multiple releases due to circular dependencies found in the graph. As a result, the MFO 106 may resolve the circular dependencies identified in the graph by sending multiple sets of instructions to the CIOS central 108 for a given flock configuration.
[0052] In some embodiments, a user may request the construction of a new region (e.g., target region 114). This may include bootstrapping resources corresponding to various services. In some embodiments, target region 114 may not be reachable (and / or secure) at the time the region construction request is initiated. Rather than deferring bootstrapping until the target region 114 is available and configured to perform the bootstrapping operation, CIOS 102 may initiate region construction using a virtual bootstrap environment 116. The virtual bootstrap environment (ViBE) 116 may be an overlay network hosted by host region 103 (an existing region that has previously been configured with a core set of services, is reachable and secure). MFO 106 may utilize the resources of host region 103 to bootstrap resources into ViBE 116 (commonly referred to as "constructing a ViBE"). As an example, MFO 106, through CIOS Central 108, can provide instructions to an instance of CIOS Regional 110 in a host region (e.g., host region 103) to bootstrap another instance of CIOS Regional in ViBE 116. Once the CIOS Regional in ViBE is available to perform processing, bootstrapping of services to target region 114 can continue in ViBE 116. Previously bootstrapped services in ViBE 116 can be migrated to target region 114 when target region 114 is available to perform the bootstrap operation. By utilizing these techniques, CIOS 102 can greatly increase the speed of region construction by greatly reducing the need for any manual input and / or provision of configuration.
[0053] 2 is a block diagram illustrating an environment 200 and method for constructing a virtual bootstrap environment (ViBE) 202 (an example of ViBE 116 of FIG. 1) according to at least one embodiment. ViBE 202 represents a virtual cloud network that is provisioned in an overlay of an existing region (e.g., hosted region 204, which is an example of hosted region 103 of FIG. 1 and, in one embodiment, a hosted region service enclave). ViBE 202 represents an environment in which services may be staged to a target region (e.g., a region under construction, such as target region 114 of FIG. 1) before the target region is available.
[0054] To bootstrap a new region (e.g., target region 114 in FIG. 1), a core set of services can be bootstrapped. These core set of services exist in the host region 204, but do not exist in ViBE (nor in the target region). These essential core services provide the functionality required for provisioning devices, establishing a chain of trust to the new region, and deploying other services (e.g., flocks) to the region. ViBE 202 can be a tenancy deployed in the host region 204. This can be thought of as a virtual region.
[0055] When a target region is available for bootstrapping operations, ViBE 202 can connect to the target region so that services in the ViBE can interact with services and / or infrastructure components of the target region. This allows for deployment of generation-level services instead of self-contained seed services as in traditional systems and requires connectivity to the target region over the Internet. Traditionally, seed services are deployed as part of a collection of containers and used to bootstrap dependencies required to build the region. Using the existing regional infrastructure / tools, resources can be bootstrapped (e.g., provisioned and deployed) to ViBE 202 and connected to the service enclaves of the region (e.g., host region 204) for hardware provisioning and service deployment until the target region is self-sufficient and can communicate directly. Utilization of ViBE 202 allows for the establishment of dependencies and services required to enable infrastructure provisioning / preparation and software deployment while utilizing the host region's resources breaks circular dependencies for core services.
[0056] A multi-flock orchestrator (MFO) 206 may be configured to perform operations to build (e.g., configure) ViBE 202. MFO 206 may obtain applicable flock configurations corresponding to various resources to be bootstrapped into a new region (in this case, the ViBE region of ViBE 202). As an example, MFO 206 may obtain a flock configuration (e.g., a "ViBE flock configuration") that identifies aspects of bootstrap capability service 208 and worker 210. As another example, MFO 206 may obtain another flock configuration corresponding to bootstrap of domain name service (DNS) 212 into ViBE 202.
[0057] In step 1, MFO 206 may issue instructions to CIOS central 214 (e.g., an example of CIOS central 108 and CIOS central 214 of FIGS. 1 and 2, respectively). For example, MFO 206 may send a request (e.g., including a ViBE flock configuration) to bootstrap capability services 208 and workers 210 that do not yet exist in ViBE 202 at this point. In some embodiments, CIOS central 214 may have access to all flock configurations. Thus, in some examples, MFO 206 may send an identifier for the ViBE flock configuration rather than the file itself, and CIOS central 214 may independently retrieve the identifier from storage (e.g., DB 308 or flock DB 312 of FIG. 3).
[0058] In step 2, CIOS central 214 may provide, via a corresponding request, the ViBE flock configuration to CIOS regional 216. In step 3, CIOS regional 216 may analyze the ViBE flock configuration to identify and perform specific infrastructure provisioning and deployment operations.
[0059] In some embodiments, CIOS regional 216 may utilize additional corresponding services for provisioning and deployment. For example, in step 4, CIOS regional 216 may instruct deployment orchestrator 218 (e.g., an example of the host region's 204 core services or other writing, building, and deployment application software) to execute instructions that bootstrap capability service 208 and worker 210 in ViBE 202.
[0060] In step 5, a capability may be sent to capability service 208 (e.g., from CIOS regional 216, deployment orchestrator 218, via worker 210) indicating that resources corresponding to the ViBE block are available. Capability service 208 may persist this data. In some embodiments, capability service 208 adds this information to a list that maintains capabilities available in ViBE. As an example, the capability provided to capability service 208 in step 5 may indicate that capability service 208 and worker 210 are available for processing.
[0061] In step 6, the MFO 206 may, based on receiving or obtaining data (an identifier corresponding to a capability) from the capability service 208, identify that the capability indicates that the capability service 208 and worker 210 are available.
[0062] In step 7, as a result of receiving / obtaining the data in step 6, MFO 206 may instruct CIOS Central 214 to bootstrap a DNS service (e.g., DNS 212) into ViBE 202. These instructions may identify or include a particular block configuration that corresponds to the DNS service.
[0063] In step 8, CIOS central 214 may instruct CIOS regional 216 to deploy DNS 212 to ViBE 202. In some embodiments, CIOS central 214 provides a DNS flocking configuration for DNS 212.
[0064] In step 9, a worker 210 deployed on ViBE 202 may be assigned the task of deploying DNS 212 by CIOS regional 216. Worker 210 may execute a declarative infrastructure provisioner as described above in connection with FIGURE 3 to identify a set of operations that need to be performed for the deployment of DNS 212 (e.g., by comparing the flock configuration (desired state) against the current state of the (non-existent) resources associated with the flock).
[0065] At step 10, deployment orchestrator 218 may instruct worker 210 to deploy DNS 212 according to the actions identified at step 9. As shown, worker 210 proceeds to execute the actions of deploying DNS 212 to ViBE 202 at step 11. At step 12, worker 210 notifies capability service 208 that DNS 212 is available on ViBE 202. MFO 206 may then identify the ViBE flock configuration and resources associated with the DNS flock configuration as available and proceed to bootstrap any suitable number of additional resources into ViBE.
[0066] After steps 1-12 are completed, the process for building ViBE 202 is complete and ViBE 202 may be considered built.
[0067] FIG. 3 is a block diagram illustrating an environment 300 and method for bootstrapping a service to a target region using ViBE, according to at least one embodiment.
[0068] In step 1, user 302 may modify region data using any suitable user interface provided by CIOS central 304 (an example of CIOS central 108 and CIOS central 214 in FIGS. 1 and 2, respectively). As an example, user 302 may create a new region into which a number of services are bootstrapped.
[0069] In step 2, CIOS central 304 may perform an operation to send the changes to RRDD 306 (an example of RRDD 104 in FIG. 1). In step 3, RRDD 306 may store the received region data in database 308, which is a data store configured to store region data including any suitable identifiers, attributes, states, etc., such as region, AD, realm, ET, etc. In some embodiments, updater 307 may be utilized to store the region data in database 308 or any suitable data store that may make such updates accessible (e.g., by a service team). In some embodiments, updater 307 may be configured to notify updates to database 308 (e.g., by any suitable electronic notification).
[0070] In step 4, the MFO 310 (an example of the MFOs 106 and 206 in FIGS. 1 and 2, respectively) may detect changes in the region data. In some embodiments, the MFO 310 may be configured to poll the RRDD 306 for changes in the region data. In some embodiments, the RRDD 306 may be configured to publish or notify the MFO 310 of the region changes.
[0071] In step 5, detecting a change in region data may trigger MFO 310 to retrieve a version set (e.g., a version set associated with a particular identifier, such as a "golden version set" identifier) that identifies the specific version of each flock (e.g., service) and each artifact corresponding to that flock that is to be bootstrapped into the new region. The version set may be retrieved from DB 312. As a flock evolves and changes, the versions of each corresponding setting and artifact used to build the region may also change. These changes may be persisted in flock DB 312 so that MFO 310 may identify the version of the flock setting and artifact to use to build the region (e.g., ViBE region, target region / non-ViBE region, etc.). Flock settings (e.g., all versions of a flock setting) and / or artifacts (e.g., all versions of an artifact) may be stored in DB 308, DB 312, or any suitable data store that CIOS Central 304 and / or MFO 310 may have access to.
[0072] In step 6, the MFO 310 may request that the CIOS Central 304 recompile each of the flock settings associated with the version set with the current region data. In some embodiments, this request may indicate the version of each flock setting and / or the artifacts that correspond to those flock settings.
[0073] In step 7, the CIOS Central 304 may obtain the current regional data from the DB 308 (e.g., directly or via the real-time regional data distributor 306) and retrieve any suitable flock settings and artifacts according to the version requested by the MFO 310.
[0074] In step 8, CIOS central 304 may inject the current region data into the flock configuration by recompiling the flock configuration with the region data obtained in step 7. CIOS central 304 may return the compiled flock configuration to MFO 310. In some embodiments, CIOS central 304 may only indicate that compilation has occurred, and MFO 310 may access the recompiled flock configuration via RRDD 306.
[0075] In step 9, the MFO 310 may perform a static analysis of the recompiled flock configuration. As part of the static analysis, the MFO 310 may identify dependencies between flocks by analyzing the flock configuration (e.g., using a library associated with a declarative infrastructure provisioner (e.g., Terraform, etc.)). From this analysis and the identified dependencies, the MFO 310 may generate a construction dependency graph 338. The construction dependency graph 338 may be a directed acyclic graph that identifies the order in which flocks are bootstrapped into new regions (and / or changes indicated in the flock configuration are applied). Each node in the graph may correspond to the bootstrapping of any suitable portion of a particular flock. A specific bootstrap order may be identified based at least in part on the dependencies. In some embodiments, the dependencies may be expressed as attributes of the nodes and / or specified by the edges of the graph connecting the nodes. The MFO 310 may drive the region construction operation by traversing the graph (e.g., starting from a start node).
[0076] In some embodiments, MFO 310 may utilize a cycle detection algorithm to detect the presence or absence of a cycle (e.g., service A depends on service B, and vice versa). MFO 310 may identify orphan capability dependencies. For example, MFO 310 may identify orphan nodes in construction dependency graph 338 that are not connected to other nodes. MFO 310 may identify capabilities that have been issued improperly (e.g., when a capability is issued prematurely and the corresponding functionality is not yet actually available). MFO 310 may detect from the graph that there are one or more instances that issue the same capability. In some embodiments, any suitable number of these errors may be detected, and MFO 310 (or another suitable component, such as CIOS Central 304) may be configured to notify or present this information to a user (e.g., via electronic notification, a user interface, etc.). In some embodiments, MFO 310 may be configured to resolve circular dependencies by force-deleting / recreating resources and may again instruct CIOS Central 304 to perform bootstrap operations for those resources and / or corresponding block configurations.
[0077] The initiating node may correspond to bootstrapping the ViBE flock, and the second node may correspond to bootstrapping the DNS. Steps 10-15 correspond to deployment of the ViBE flock (by deployment orchestrator 317, which is an example of deployment orchestrator 218 of FIG. 2) to ViBE 316 (e.g., an example of ViBE 116 and 202 of FIGS. 1 and 2, respectively). That is, steps 10-15 of FIG. 3 generally correspond to steps 1-6 of FIG. 2. Upon being notified that capabilities exist corresponding to deployment of the ViBE flock (e.g., indicating that capability service 318 and worker 320, which correspond to capability service 208 and worker 210 of FIG. 2, are available), MFO 310 resumes traversing build dependency graph 338 and identifies the next operation to perform.
[0078] As an example, MFO 310 may continue traversing construction dependency graph 338 and identify a DNS block to be deployed. By performing steps 16-21, MFO 310 may deploy DNS 322 (an example of DNS 212 in FIG. 2). These operations may generally correspond to steps 7-12 in FIG. 2.
[0079] At step 21, a capability may be stored indicating that DNS 322 is available. Upon detection of this capability, MFO 310 may resume traversing build dependency graph 338. During this traversal, MFO 310 may identify any suitable portion of an instance of CIOS regional (e.g., an instance of CIOS regional 314) to be deployed to ViBE 316. In some embodiments, steps 16-21 may be substantially repeated with respect to the deployment of CIOS regional (ViBE) 326 (CIOS regional 314, an instance of CIOS regional 110 in FIG. 1) and worker 328 to ViBE 316. Additionally, a capability that CIOS regional (ViBE) 326 is available may be sent to capability service 318.
[0080] Upon detecting that CIOS Regional (ViBE) 326 is available, MFO 310 may resume traversing build dependency graph 338. During this traversal, MFO 310 may identify a deployment orchestrator (e.g., deployment orchestrator 330, which is an example of deployment orchestrator 317) to be deployed to ViBE 316. In some embodiments, steps 16-21 may be substantially repeated for the deployment of deployment orchestrator 330. Additionally, information may be sent to capability service 318 identifying capabilities indicating that deployment orchestrator 330 is available.
[0081] After deployment orchestrator 330 is deployed, ViBE 316 may be considered available for processing subsequent requests. Upon detecting that deployment orchestrator 330 is available, MFO 310 may direct the routing of subsequent bootstrap requests to ViBE components rather than utilizing the host region components (host region 332 components). Thus, MFO 310 may continue traversing build dependency graph 338 at each node directing flock deployment to ViBE 316 via CIOS Central 304. CIOS Central 304 may request CIOS Regional (ViBE) 326 to deploy resources according to the flock configuration.
[0082] At some point in this process, the target region 334 may become available. An indication that the target region is available may be discernible from region data for the target region 334 provided by the user 302 (e.g., as an update to the region data). The availability of the target region 334 may depend on the establishment of a network connection between the target region 334 and an external network (e.g., the Internet). The network connection may be supported over a public network (e.g., the Internet), but may provide one or more encrypted tunnels (e.g., IPSec tunnels, such as tunnel 336) from ViBE 316 to the target region 334 through the use of software security tools (e.g., IPSec). As used herein, “IPSec” refers to a suite of protocols for authenticating and encrypting network traffic on networks that use the Internet Protocol (IP), and may include one or more available implementations of the suite of protocols (e.g., Openswan, Libreswan, strongSwan, etc.). The network may connect ViBE 316 to a service enclave in the target region 334.
[0083] Prior to the establishment of the IPSec tunnel, the initial network connection to the target region 334 may be sufficient connectivity (e.g., an out-of-band VPN tunnel) to allow bootstrapping of networking services until IPSec gateways are deployed to assets (e.g., bare metal assets) in the target region 334. To bootstrap the network resources of the target region 334, the deployment orchestrator 330 may deploy IPSec gateways at the assets in the target region 334. The deployment orchestrator 330 may then deploy VPN hosts in the target region 334 that are configured to terminate IPSec tunnels from ViBE 316. Once the services in ViBE 316 (e.g., deployment orchestrator 330, Service A, etc.) can establish IPSec connections with VPN hosts in the target region 334, the bootstrap operation from ViBE 316 to the target region 334 may begin.
[0084] In some embodiments, the bootstrap operation may begin with services in ViBE 316 that support hosting instances of core services deployed from ViBE 316 by provisioning resources in the target region 334. For example, the host provisioning service may allocate computing resources for VMs by provisioning a hypervisor on infrastructure (e.g., bare metal hosts) in the target region 334. When the host provisioning service completes the allocation of physical resources in the target region 334, it may publish information indicating a capability indicating that the physical resources in the target region 334 have been allocated. This capability may be published (e.g., by worker 328) to capability service 318 via CIOS regional (ViBE) 326.
[0085] Once the hardware allocation for the target region 334 has been established and posted to the capability service 318, CIOS regional (ViBE) 326 can orchestrate the deployment of instances of core services from ViBE 316 to the target region 334. This deployment may be similar to the process described above with respect to building ViBE 316, but using ViBE components (e.g., CIOS regional (ViBE) 326, worker 328, deployment orchestrator 330) instead of the service enclave components of the host region 332. The deployment operations may generally correspond to steps 16-21 described above.
[0086] When a service is deployed from ViBE 316 to target region 334, the DNS record associated with the service may correspond to an instance of the service in ViBE 316. The DNS record associated with the service may be updated later to complete the deployment of the service to target region 334. In other words, the instance of the service in ViBE 316 may continue to receive traffic (e.g., requests) to the service until the DNS record is updated. The service may be partially deployed to target region 334 and may publish information (e.g., to capability service 318) indicating a capability that the service is partially deployed. For example, a service running in ViBE 316 may be deployed to target region 334 along with corresponding compute instances, load balancers, and associated applications and other software, but may need to wait for database data to migrate to target region 334 before completing the deployment. The DNS record (e.g., managed by DNS 322) may still be associated with the service in ViBE 316. Once the data migration of the service is complete, the DNS record may be updated to point to the operational service deployed to target region 334. Thereafter, while a deployed service in target region 334 receives traffic (eg, requests) for that service, an instance of the service in ViBE 316 may not receive traffic for that service.
[0087] Migrating services from ViBE to the target region As described above, a CSP can offer cloud services to its customers in new regions by building or deploying datacenters. A region may correspond to a general geographic area and may be preferably close to new customers or customers with expanding service needs (e.g., customers with increasing demands for scaling up cloud services, expanding cloud services to new geographic areas, etc.). To support the building of new regions, a CIOS (e.g., CIOS 102 of FIG. 1) may be used to create a ViBE (e.g., ViBE 316 of FIG. 3) in a specified host region (e.g., one or more datacenters in the host region).
[0088] A ViBE may be created prior to or in parallel with the build of a new regional datacenter. For example, a ViBE may be created prior to (e.g., days, weeks, etc.) the completion of a new datacenter because the build and provisioning of physical components (e.g., bare metal hosts, racks, networking switches, etc.) may take months. An operator may support the deployment of services to a new datacenter by deploying core services into a ViBE once the new datacenter's physical infrastructure is ready to host cloud services. By creating a ViBE prior to (or in parallel with) the build of a regional datacenter, the core services to be deployed may be assessed for deployment readiness (e.g., test generation, resolve dependencies, etc.).
[0089] Provisioning of infrastructure and deployment of services from ViBE to the target region may include a "scale-out" process in which services in ViBE (e.g., CIOS Regional (ViBE) 326, deployment orchestrator 330, etc.) deploy instances of ViBE core services to the target region. In the scale-out process, the core services are deployed to the target region in the same way that the services were deployed in ViBE.
[0090] A service may create new resources (e.g., new data, new artifacts) while running in ViBE. Because these resources were created independently of the deployment of the service using CIOS, CIOS may not be aware of the new resources upon deployment of the service to the target region (e.g., the flock configuration for deployment to the target region may not have information about resources created in ViBE by the service). Discovery and migration of ViBE resources to the target region may be required to complete the scale-out process. A service deployed to the target region may not be able to provide services upon request until the resources are in the target region. The initial scale-out of a service to the target region may not update DNS records for the target service to prevent traffic from being sent to the service until the resources, such as the service's data in the target region, are fully migrated. CIOS may then identify the DNS records for the target region service as resources and update the DNS records in DNS (e.g., ViBE DNS, target region DNS). Once the DNS records are updated to point to the service in the target region, the service migration and scale-out process is complete.
[0091] FIG. 4 is a block diagram of an environment 400 in which a cloud infrastructure orchestration service (CIOS) may utilize resource hunters to discover resources during region construction, according to at least one embodiment. The environment 400 may be an example of the environment 100 of FIG. 1. The cloud infrastructure orchestration service (CIOS) 402 may be an example of the CIOS 102 of FIG. 1. The real-time regional data distributor (RRDD) 404 may be an example of the real-time regional data distributor 104 and / or 306 of each of FIGS. 1 and 3. The multi-flock orchestrator (MFO) 406 may be an example of the multi-flock orchestrator 104, 206, and / or 310 of each of FIGS. 1-3. The CIOS central 408 may be an example of the CIOS central 108, 214, and / or 304 of each of FIGS. 1-3. CIOS regional 410 may be an example of CIOS regional 110, 216, and / or 314, respectively, of Figures 1-3. Capability service 412 may be an example of capability service 112, 208, and / or 318, respectively, of Figures 1-3. Target region 414 may be an example of target region 114 and / or 334, respectively, of Figures 1 and 3. Virtual bootstrap environment 416 may be an example of virtual bootstrap environment 114, 202, and / or 316, respectively, of Figures 1-3. The components of CIOS 402 (including RRDD 404, MFO 406, CIOS central 408, CIOS regional 410, and capability service 412) may each perform the respective functions described above in Figures 1-3 in conjunction with the corresponding components in Figures 1-3.
[0092] Environment 400 may include a resource hunter service (RHS) 420. RHS 420 may be configured to attempt resource discovery at any suitable time. As an example, any suitable number of resources may exist in any suitable region prior to region construction of that region or another region. As an example, resources 422 may include any suitable number of resources (e.g., infrastructure resources, artifacts, configuration files, etc.) that exist in host region 403 (an example of host region 103, 204, and / or 332, respectively, in FIGS. 1-3). Resource 424 may exist in ViBE 416 and / or resource 426 may exist in the target region. Any suitable combination of resources 422-426 may be created at any suitable time before, during, or after execution of a region construction process for bootstrapping any suitable number of services in ViBE 416 and / or target region 414.
[0093] RHS 420 may be configured to receive flock configuration information from MFO 406 (and / or any suitable components of CIOS 402 and / or any services bootstrapped in host region 403, ViBE 416, and / or target region 414). In some embodiments, MFO 406 may provide an identifier for the flock, and RHS 420 may be configured to access a corresponding flock configuration file associated with the flock. Alternatively, MFO 406 may provide the flock configuration to RHS 420. Exemplary flock configurations are discussed in more detail below in conjunction with FIG. 5.
[0094] The RHS 420 may identify resource discovery data in the flock configuration. "Resource discovery data" refers to any suitable data (e.g., a set of parameters) by which a conventionally existing resource (e.g., one or more of resources 422-426) may be identified. The RHS 420 may perform operations to identify any suitable number of resources 422-426 utilizing the set of parameters of the resource discovery data. For example, the RHS 420 may search (e.g., in a region specified by the resource discovery data) for a particular resource associated with attributes that match the set of parameters provided in the resource discovery data. If one or more matching resources are discovered, the RHS 420 may provide identifiers of the matching resources directly to the MFO 406 and / or store the identifiers in a record that the MFO 406 may access.
[0095] The MFO 406 may include a state manager 428. The state manager 428 may be configured to implement a state machine that transitions between states to drive a path. As an example, a single flock may require multiple releases (e.g., multiple command submissions to the CIOS Central 408, multiple releases corresponding to one or more flock configurations associated with a single service, etc.). The state manager 428 may be configured to coordinate operations performed on a single release. This may include monitoring messages from the CIOS Central 408 and / or the resource hunter service 420. In some embodiments, the state manager 428 may be configured to monitor one or more capabilities submitted by the capability service 412.
[0096] FIG. 5 is a block diagram illustrating an example flow for performing operations for provisioning and deployment of services to a new regional data center and importing resources prior to updating DNS records for deployed services according to at least one embodiment.
[0097] FIG. 5 is a block diagram illustrating an environment 500 and an example method for performing operations for provisioning and deploying a service to a new regional data center and importing resources before updating another service with the resources, according to at least one embodiment. The operations described herein with respect to FIG. 5 may be considered an extension of the method described above with respect to FIG. 3. For example, MFO 510 (an example of MFO 310 of FIG. 3) may deploy a service (e.g., service 502) to a target region 534 by instructing CIOS Central 504 to bootstrap the service to the target region in the same manner as the service (e.g., deployment orchestrator 530, an example of deployment orchestrator 330 of FIG. 3) was deployed to ViBE. Also, one or more of the operations described herein with respect to FIG. 5 may be similar to the operations described above with respect to FIG. 4. For example, environment 500 may include a resource hunter service (RHS) 511, which may be similar to RHS 420 of FIG. 4.
[0098] The operations described with respect to FIG. 5 (as well as any other method or process described herein) may be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, these operations refer to computer-executable instructions that are stored on one or more computer-readable storage media and that, when executed by one or more processors, perform the described operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform particular functions or implement particular data types. The described order of operations is not intended to be construed as limiting in any way, and any number of the described operations can be omitted or combined in any order and / or in parallel to achieve the process.
[0099] As used herein, migration of services in a Virtual Bootstrap Environment (ViBE) may be referred to as a "scale out" process, and may include operations that are typically referred to as "migration" in the context of distributed computing environments (e.g., database migration, application data migration, etc.). Environment 500 may include a host region 532 in which ViBE 516 is implemented. Environment 500 may also include a target region 534 to which services hosted in ViBE 516 may be scaled out. Host region 532 and target region 534 may be examples of host region 332 and target region 334, respectively, of FIG. 3.
[0100] Prior to initiation of the scale-out process from ViBE 516, a network connection may be established between ViBE 516 in host region 532 and target region 534. The network connection may include one or more tunnels 536 (an example of tunnel 336 in FIG. 3). Tunnel 536 may be an encrypted tunnel (e.g., an IPSec tunnel). The network connection may form one or more virtual private network (VPN) connections between the network hosting ViBE 516 (e.g., a virtual cloud network (VCN) of host region 532) and a service enclave of target region 534 (e.g., a VCN of target region 534).
[0101] Execution of steps 1-8 may deploy service A 502 to target region 534. Operations of steps 1, 2, 3, and 8 may roughly correspond to steps 7, 8, 9, and 12 of FIG. 2. Steps 4 and 5 include operations related to provisioning infrastructure resources in target region 534, while steps 6-8 may be similar to repeating steps 10 and 11 of FIG. 2 to deploy the service to target region 534.
[0102] The steps described below include infrastructure provisioning (e.g., steps 4 and 5) as part of a method of provisioning infrastructure resources using CIOS as a preliminary part of deploying a service (e.g., a service according to a flock configuration using a declarative provisioning tool). In some embodiments, provisioning of infrastructure resources (e.g., infrastructure resources 503) may be performed as a separate operation under the direction of CIOS Central 504 and MFO 510. For example, a host provisioning service (e.g., host provisioning service 506) may be deployed in ViBE 516 and be able to support deployment of a service to a target region 534 by provisioning infrastructure resources in the target region 534 before a deployment orchestration service (e.g., deployment orchestrator 530) is fully deployed in ViBE 516. In this case, based on capabilities provided to capability service 518, MFO 510 may initiate provisioning of infrastructure resources in target region 534 using host provisioning service 506 without deployment of the service.
[0103] In step 1, MFO 510 may instruct CIOS Central 504 to deploy Service A 502 to target region 534. Service A 502 may require provisioning of infrastructure resources 503 in target region 534. For example, Service A 502 may be executed by one or more compute instances executing on one or more VMs in the target region. The instructions to deploy Service A 502 may identify or include resources (e.g., infrastructure resources 503) for provisioning in target region 534. The provisioning of resources may include configuration of one or more hosts (e.g., one or more virtual machines (VMs)) in the computing environment of target region 534. The instructions to deploy Service 502 may also identify or include a flock configuration corresponding to Service A 502.
[0104] Service A 502 may be an instance of Service A 509 deployed in ViBE 516. Because a distributed virtual private network (VPN) can be formed between ViBE 156 and the service enclaves in target region 534 by connecting ViBE 516 and target region 534 by tunnel 536, the deployment of Service A 503 may result in a duplicate service stack available in the distributed VPN. To avoid conflicts and ensure that traffic is handled by only one instance of the service, the DNS record for the service (e.g., DNS managed by DNS 522) may initially point to Service A 509 in ViBE. The DNS record may be created as part of the deployment of Service A 509 to ViBE (e.g., deployment using MFO 510 and CIOS Central 504). If Service A 502 is deployed to target region 534, the DNS record associated with Service A may not be updated.
[0105] In step 2, CIOS Central 504 may instruct CIOS Regional (ViBE) 526 to provision infrastructure resources 503 and deploy Service A 502 to the target region 534. In some embodiments, CIOS Central 504 provides a flocking configuration for Service A 502.
[0106] In step 3, a worker 528 may be assigned by CIOS Regional (ViBE) 526 to the task of provisioning infrastructure resources 503 and deploying Service A 502. Worker 528 may run a declarative provisioner to identify a set of operations that need to be performed for deployment of Service A 502 (e.g., by comparing the flock configuration against the current state of the resources associated with the flock).
[0107] In step 4, worker 528 may instruct host provisioning service 506 to provision infrastructure resources 503 in target region 534 (which may be done by host provisioning service 506 in step 5) according to the actions identified in step 3. In steps 6 and 7, worker 528 may instruct compute control plane 508 and deployment orchestrator 530 to launch an instance and deploy service A 502 to the launched instance, respectively. Compute control plane 508 and deployment orchestrator 530 may perform the instructed launch and deployment tasks in step 8.
[0108] In step 9, worker 528 may post one or more capabilities to capability service 518 that service A 502 is available. This capability may indicate that the service is "partially" deployed. For example, this capability may be a value such as "servicea_partial_scaleout". As described above, service A 502 may be successfully deployed to infrastructure resources 503 in target region 534, but may not have the resources (e.g., service data, data resources, etc.) required to handle the service traffic. For example, service A 509 in ViBE 516 may create, update, store, or otherwise generate and / or manipulate data in ViBE 516. This data may include resources 540. In some embodiments, service A 540 may use services (e.g., data storage services 544) in the service enclave of host region 532 to persist data associated with the operation of service A 509. This data may include service data 546. The data in Resources 540 and Service Data 546 may be generated by Service A 509 after deployment to ViBE 516. Because the data is generated after deployment, MFO 510 and other components of CIOS (e.g., CIOS Central 504, CIOS Regional (ViBE) 526, etc.) may not be aware of the resources as part of the configuration (e.g., flock configuration) for deploying an instance of Service A 502 to a target region.
[0109] The MFO 510 may obtain the issued partial scale-out capability. In step 510, the MFO 510 may provide an identifier of the service A 502 that indicated the partial scale-out (e.g., an identifier of the block corresponding to the service A 502) to the RHS 511. The RHS 511 may identify resource discovery data in the block configuration corresponding to the service A 502 and use the resource discovery data to identify a resource (e.g., resource 540). The RHS 511 may provide the resource (or resource identifier) to the MFO 510.
[0110] In step 11, MFO 510 can use the resources (or resource identifiers) provided by RHS 511 to set up another path for deploying the flock corresponding to Service A 502 (e.g., another path for deployment and / or updates of Service A 502). This second path can include operations similar to steps 1-3 and can instruct a worker (e.g., worker 528) to perform operations to deploy updates to Service A 502 in conjunction with one or more services of ViBE 516. The updates can include updating services in ViBE (e.g., DNS 522) or services in target region 534 (e.g., DNS scaled out to target region 534).
[0111] For example, if the resource is a DNS record, in step 12, CIOS Central 504 may instruct CIOS Regional (ViBE) 526 to deploy Service A 502 according to the updated cluster configuration using the discovered DNS record.
[0112] In step 13, a worker 528 may be assigned the task of updating the DNS record by CIOS Regional (ViBE) 526. The worker 528 may run a declarative provisioner to identify a set of operations that need to be performed for the deployment of Service A 502 (e.g., by comparing the flock configuration against the current state of the resources associated with the flock). The declarative provisioner may only create instructions to update the DNS record (rather than redeploying all resources of Service A 502) because the updated DNS record may be the only difference from the current state of the deployed flock corresponding to Service A 502. The worker 528 may update DNS 522 with the new DNS record. As a result of the DNS record update, DNS 522 may identify Service A 502 as the destination for Service A traffic in the VPN between ViBE 516 and the target region 534.
[0113] In some embodiments, the resources identified by RHS 511 may include data (e.g., resources 540) created by Service A 509. MFO 510, CIOS Central 504, and CIOS Regional (ViBE) 526 may deploy resources 540 from ViBE 516 to target region 542 by performing operations similar to steps 1-3 and 11-13. In this manner, Service A 502 may be provided with resources 542, which may include the data of resources 540.
[0114] Prior to performing the CIOS pass that updates the DNS records, resources may be migrated to the target region 534. As part of a database migration process or other data transfer process that operates independently of the operation of CIOS (shown in FIG. 5 as step 15), resources associated with services in ViBE 516 and contained in the host region 532 but outside of ViBE 516 (e.g., resources in a service enclave in the host region 532) may be migrated to the target region 534. In some examples, the resources migrated to the target region 534 may include secrets (e.g., credentials, passwords, keys, tokens, etc.) used for authentication and / or authorization. To improve security, the secrets migrated to the target region 534 may be re-encrypted using a new parent key associated with the target region 534. The migrated secrets may then be rotated (e.g., changed) within the target region 534 to prevent any secrets persisting in the host region 532 from becoming available in the target region 534.
[0115] Of course, the above description of operations for scaling out service A 502 to target region 534 applies equally to any services hosted in ViBE 516. Additionally, services hosted in ViBE 516 are deployed to target region 534 using CIOS, and resources associated with these deployed services that were not initially deployed by CIOS are discovered by RHS (e.g., RHS 511), and service traffic is switched from being routed to the service in ViBE to being routed to the service in the target region by updating the corresponding DNS records (which may occur after all resources required for the service have been migrated from ViBE, the service enclave in host region 532, and / or elsewhere).
[0116] 6 illustrates an example method 600 for migration of resources of a service in a Virtual Bootstrap Environment (ViBE) according to at least one embodiment. Method 600 may be performed by one or more components of a distributed computing system (e.g., a cloud computing system), including one or more components of cloud infrastructure orchestration service 102 of FIG. 1. A computer-readable storage medium may include computer-readable instructions that, when executed by one or more processors of the distributed computing system, cause the distributed computing system to perform method 600. The operations of method 600 may be performed in any suitable order, and method 600 may include more or less operations than those illustrated in FIG. 6.
[0117] Some or all of method 600 (or any other process and / or method described herein, or variations and / or combinations thereof) may be adapted to be executed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors by hardware or a combination thereof. The code may be stored in a computer-readable storage medium, e.g., in the form of a computer program including a plurality of instructions executable by one or more processors. The computer-readable storage medium may be non-transitory.
[0118] The method 600 may begin at block 602 when a virtual cloud network (VCN) may be created in a data center of a host region. The VCN may be a Virtual Bootstrap Environment (ViBE) VCN.
[0119] At block 604, a virtual bootstrap environment (ViBE) (e.g., ViBE 516 of FIG. 5) may be implemented in the VCN. As described above, the ViBE may be configured to stage one or more services for deployment to a target region. The ViBE may host multiple services (e.g., Service A 509 of FIG. 5).
[0120] In block 606, an instance of one of the services in ViBE may be deployed to a target region datacenter (e.g., a datacenter in target region 534 in FIG. 5). The initial deployment of the service may be by a multi-flock orchestrator (MFO) (e.g., MFO 106 in FIG. 1) in CIOS (e.g., CIOS 102 in FIG. 1). The MFO may utilize one or more services in ViBE (e.g., CIOS Regional (ViBE) 526, deployment orchestrator 530, etc.) to deploy an instance of the service to the target region datacenter.
[0121] At block 608, an indication of successful deployment of the service may be received from the deployed instance. The indication may be a capability published to a capability service (e.g., capability service 518 of FIG. 5). In some embodiments, the capability may indicate successful partial deployment of the instance of the service.
[0122] In block 610, a resource associated with the service may be identified. A resource hunter service (e.g., RHS 511 in FIG. 5) may identify the resource. In some embodiments, the resource may be a DNS record of an instance in the target region data center.
[0123] At block 612, a second service of the plurality of services may be updated with the resource. In some embodiments, the second service is ViBE's DNS. In some embodiments, the service deployed in the target region may be updated with the resource.
[0124] Exemplary Architecture for Providing Infrastructure as a Service (IaaS) As mentioned above, Infrastructure as a Service (IaaS) is a particular 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 can also provide various services (e.g., billing, monitoring, logging, load balancing, clustering, etc.) that are associated with these infrastructure components. Thus, since these services can be policy-driven, an IaaS user can maintain application availability and performance by implementing policies that drive load balancing.
[0125] In some cases, IaaS customers can access resources and services over a wide area network (WAN) such as the Internet and use the cloud provider's services to install other elements of the application stack. For example, a user can log into an IaaS platform to create virtual machines (VMs), install operating systems (OS) on each VM, deploy middleware such as databases, create storage buckets for workloads and backups, and even install enterprise software on the VMs. The customer 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.
[0126] In most cases, the cloud computing model may require the participation of a cloud provider, which may be, but need not be, a third-party service dedicated to providing IaaS (e.g., providing, renting, selling). An entity may also choose to deploy a private cloud and become its own provider of infrastructure services.
[0127] In some examples, IaaS deployment is the process of putting a new application or a new version of an application onto a prepared application server, etc. It may also include the process of preparing the server (e.g., installing libraries, daemons, etc.). This is often managed below the hypervisor layer (e.g., server, storage, network hardware, and virtualization) by the cloud provider. Thus, the customer may be responsible for handling (e.g., on self-service virtual machines (which can be spun up on demand)), middleware, and / or application deployment, etc.
[0128] In some instances, IaaS provisioning may refer to obtaining a computer or virtual host to use and even installing the necessary libraries or services on them. In most cases, deployment does not include provisioning, which may need to be performed first.
[0129] Sometimes there are two different challenges in IaaS provisioning. First, there is the initial challenge of provisioning an initial set of infrastructure before anything works. Second, there is the challenge of evolving the existing infrastructure after all the provisioning (e.g. adding new services, modifying services, removing services, etc.). Sometimes these two challenges can be addressed by allowing the configuration of the infrastructure to be defined declaratively. In other words, the infrastructure (e.g. the components required and how they interact) can be specified by one or more configuration files. Thus, the overall topology of the infrastructure (e.g. which resources depend on which resources and how they work together) can be described declaratively. Sometimes, once the topology is specified, workflows can be generated to create and / or manage the various components described in the configuration files.
[0130] In some examples, the infrastructure may have many interconnected elements. For example, there may be one or more virtual private clouds (VPCs) (e.g., potential on-demand pools of configurable and / or shared computing resources), also known as a core network. Also, in some examples, there may be one or more inbound / outbound traffic group rules provisioned to define how the network inbound and / or outbound traffic is configured and one or more virtual machines (VMs). Other infrastructure elements such as load balancers, databases, etc. may also be provisioned. If there is a desire and / or addition of more infrastructure elements, the infrastructure may evolve piecemeal.
[0131] In some cases, the employment of continuous deployment techniques may enable deployment of infrastructure code across various virtual computing environments. The described techniques may also enable infrastructure management within these environments. In some instances, a service team may write code that is desirable to deploy to one or more (but often many) different production environments (e.g., across various geographic locations, possibly even across the globe). In some instances, however, the infrastructure into which the code will be deployed may first need to be configured. In some cases, provisioning may be performed manually, provisioning tools may be used to provision resources, and / or deployment tools may be used to deploy code after infrastructure provisioning.
[0132] 7 is a block diagram 700 illustrating an example pattern of an IaaS architecture according to at least one embodiment. A service operator 702 may be communicatively coupled to a secure host tenancy 704, which may include a virtual cloud network (VCN) 706 and a secure host subnet 708. In some examples, the service operator 702 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, etc.) running software such as Microsoft Windows Mobile and / or a variety of mobile operating systems such as iOS, Windows Phone, Android, BlackBerry 8, Palm OS, etc., and capable of using the Internet, email, short message service (SMS), BlackBerry, or other communications protocols. Alternatively, the client computing devices may be general purpose personal computers, examples of which include 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, capable of communicating over a network that can access the VCN 706 and / or the Internet.
[0133] The VCN 706 may include a local peering gateway (LPG) 710 that may be communicatively coupled to a secure shell (SSH) VCN 712 via an LPG 710 that is included in the SSH VCN 712. The SSH VCN 712 may include an SSH subnet 714, and the SSH VCN 712 may be communicatively coupled to a control plane VCN 716 via an LPG 710 that is included in the control plane VCN 716. The SSH VCN 712 may also be communicatively coupled to a data plane VCN 718 via the LPG 710. The control plane VCN 716 and the data plane VCN 718 may be included in a service tenancy 719, which may be owned and / or operated by the IaaS provider.
[0134] The control plane VCN 716 may include a control plane demilitarized zone (DMZ) tier 720 that operates as a perimeter network (e.g., a portion of an enterprise network between an enterprise intranet and an external network). DMZ-based servers may help limit liability and limit intrusions. The DMZ tier 720 may also include one or more load balancer (LB) subnets 722, a control plane app tier 724 that may include an app subnet 726, and a control plane data tier 728 that may include a database (DB) subnet 730 (e.g., a front-end DB subnet and / or a back-end DB subnet). The LB subnet 722 included in the control plane DMZ tier 720 may be communicatively coupled to the app subnet 726 included in the control plane app tier 724 and an Internet gateway 734 that may be included in the control plane VCN 716, and the app subnet 726 may be communicatively coupled to the DB subnet 730, a service gateway 736, and a network address translation (NAT) gateway 738 included in the control plane data tier 728. The control plane VCN 716 may include a service gateway 736 and a NAT gateway 738 .
[0135] The control plane VCN 716 can include a data plane mirrored app layer 740, which can include an app subnet 726. The app subnet 726 included in the data plane mirrored app layer 740 can include a virtual network interface controller (VNIC) 742, which can run a compute instance 744. The compute instance 744 can communicatively couple the app subnet 726 of the data plane mirrored app layer 740 to the app subnet 726, which can be included in the data plane app layer 746.
[0136] The data plane VCN 718 can include a data plane app layer 746, a data plane DMZ layer 748, and a data plane data layer 750. The data plane DMZ layer 748 can include a LB subnet 722, which can be communicatively coupled to an app subnet 726 of the data plane app layer 746 and an Internet gateway 734 of the data plane VCN 718. The app subnet 726 can be communicatively coupled to a service gateway 736 of the data plane VCN 718 and a NAT gateway 738 of the data plane VCN 718. Additionally, the data plane data layer 750 can include a DB subnet 730, which can be communicatively coupled to the app subnet 726 of the data plane app layer 746.
[0137] The internet gateways 734 of the control plane VCNs 716 and data plane VCNs 718 may be communicatively coupled to a metadata management service 752, which may be communicatively coupled to the public internet 754. The public internet 754 may be communicatively coupled to a NAT gateway 738 of the control plane VCNs 716 and data plane VCNs 718. The service gateways 736 of the control plane VCNs 716 and data plane VCNs 718 may be communicatively coupled to cloud services 756.
[0138] In some examples, the service gateways 736 of the control plane VCN 716 and the data plane VCN 718 can make application programming interface (API) calls to the cloud services 756 without going through the public Internet 754. The API calls from the service gateways 736 to the cloud services 756 can be unidirectional. The service gateways 736 can make API calls to the cloud services 756, and the cloud services 756 can send the requested data to the service gateways 736. However, the cloud services 756 do not have to initiate the API calls to the service gateways 736.
[0139] In some examples, the secure host tenancy 704 may be directly connected to an otherwise isolated service tenancy 719. The secure host subnet 708 may communicate with the SSH subnet 714 through the LPG 710, which may allow bidirectional communication through an otherwise isolated system. By connecting the secure host subnet 708 to the SSH subnet 714, the secure host subnet 708 may be accessible to other entities in the service tenancy 719.
[0140] The control plane VCN 716 may enable configuration or provisioning of desired resources by users of the service tenancy 719. The desired resources provisioned in the control plane VCN 716 may be deployed or used in the data plane VCN 718. In some examples, the control plane VCN 716 may be isolated from the data plane VCN 718, and the data plane mirror app layer 740 of the control plane VCN 716 may communicate with the data plane app layer 746 of the data plane VCN 718 via a VNIC 742 that may be included in the data plane mirror app layer 740 and the data plane app layer 746.
[0141] In some examples, a user or customer of the system may make a request, e.g., a create, read, update, or delete (CRUD) operation, through the public Internet 754, which may send the request to the metadata management service 752. The metadata management service 752 may send the request to the control plane VCN 716 through the Internet Gateway 734. The request may be received by the LB Subnet 722 included in the control plane DMZ layer 720. The LB Subnet 722 may determine that the request is valid, and in response to this determination, the LB Subnet 722 may send the request to the app subnet 726 included in the control plane app layer 724. If the request is validated and a call to the public Internet 754 is required, the call to the public Internet 754 may be sent to the NAT Gateway 738, which may make the call to the public Internet 754. Memory that may be desirable to store due to the request may be stored in the DB Subnet 730.
[0142] In some examples, the data plane mirror app layer 740 may facilitate direct communication between the control plane VCN 716 and the data plane VCN 718. For example, a configuration change, update, or other suitable modification may be desired to be applied to resources included in the data plane VCN 718. The control plane VCN 716 can perform the configuration change, update, or other suitable modification of the resources by communicating directly with the resources included in the data plane VCN 718 via the VNIC 742.
[0143] In some embodiments, the control plane VCN 716 and the data plane VCN 718 may be included in the service tenancy 719. In this case, the user or customer of the system may not own or operate either the control plane VCN 716 or the data plane VCN 718. Alternatively, the IaaS provider may own or operate both the control plane VCN 716 and the data plane VCN 718, and both may be included in the service tenancy 719. This embodiment may allow for network isolation that may prevent users or customers from interacting with the resources of other users or customers. This embodiment may also allow for private storage of databases by users or customers of the system without having to rely on the public Internet 754, which may not have the desired level of threat prevention for storage.
[0144] In another embodiment, the LB subnet 722 included in the control plane VCN 716 can be configured to receive signals from the service gateway 736. In this embodiment, the control plane VCN 716 and the data plane VCN 718 can be configured to be called by the IaaS provider's customers without calling the public Internet 754. The IaaS provider's customers may desire this embodiment because databases they use can be stored in a service tenancy 719 that is controlled by the IaaS provider and can be isolated from the public Internet 754.
[0145] 8 is a block diagram 800 illustrating another example pattern of an IaaS architecture according to at least one embodiment. A service operator 802 (e.g., service operator 702 of FIG. 7) may be communicatively coupled to a secure host tenancy 804 (e.g., secure host tenancy 704 of FIG. 7), which may include a virtual cloud network (VCN) 806 (e.g., VCN 706 of FIG. 7) and a secure host subnet 808 (e.g., secure host subnet 708 of FIG. 7). The VCN 806 may include a local peering gateway (LPG) 810, which may be communicatively coupled to a secure shell (SSH) VCN 812 via an LPG 810 (e.g., LPG 710 of FIG. 7) included in the SSH VCN 812 (e.g., SSH VCN 712 of FIG. 7). SSH VCN 812 can include an SSH subnet 814 (e.g., SSH subnet 714 in FIG. 7), and SSH VCN 812 can be communicatively coupled to a control plane VCN 816 via an LPG 810 that is included in a control plane VCN 816 (e.g., control plane VCN 716 in FIG. 7). The control plane VCN 816 can be included in a service tenancy 819 (e.g., service tenancy 719 in FIG. 7), and data plane VCN 818 (e.g., data plane VCN 718 in FIG. 7) can be included in a customer tenancy 821, which can be owned or operated by a user or customer of the system.
[0146] The control plane VCN 816 may include a control plane DMZ tier 820 (e.g., control plane DMZ tier 720 of FIG. 7 ) that may include a LB subnet 822 (e.g., LB subnet 722 of FIG. 7 ), a control plane app tier 824 (e.g., control plane app tier 724 of FIG. 7 ) that may include an app subnet 826 (e.g., app subnet 726 of FIG. 7 ), and a control plane data tier 828 (e.g., control plane data tier 728 of FIG. 7 ) that may include a DB subnet 830 (e.g., similar to database (DB) subnet 730 of FIG. 7 ). The LB subnet 822 included in the control plane DMZ tier 820 may be communicatively coupled to an app subnet 826 included in the control plane app tier 824 and an Internet gateway 834 (e.g., Internet gateway 734 in FIG. 7 ) that may be included in the control plane VCN 816, and the app subnet 826 may be communicatively coupled to a DB subnet 830, a service gateway 836 (e.g., service gateway in FIG. 7 ), and a network address translation (NAT) gateway 838 (e.g., NAT gateway 738 in FIG. 7 ) included in the control plane data tier 828. The control plane VCN 816 may include the service gateway 836 and the NAT gateway 838.
[0147] The control plane VCN 816 may include a data plane mirror app layer 840 (e.g., data plane mirror app layer 740 of FIG. 7 ), which may include an app subnet 826. The app subnet 826 included in the data plane mirror app layer 840 may include a virtual network interface controller (VNIC) 842 (e.g., the VNIC of 742) on which a compute instance 844 (e.g., similar to the compute instance 744 of FIG. 7 ) may run. The compute instance 844 may facilitate communication between the app subnet 826 of the data plane mirror app layer 840 and the app subnet 826 included in the data plane app layer 846 via the VNIC 842 included in the data plane mirror app layer 840 and the VNIC 842 included in the data plane app layer 846 (e.g., data plane app layer 746 of FIG. 7 ).
[0148] An Internet gateway 834 included in the control plane VCN 816 may be communicatively coupled to a metadata management service 852 (e.g., metadata management service 752 of FIG. 7), which may be communicatively coupled to a public Internet 854 (e.g., public Internet 754 of FIG. 7). The public Internet 854 may be communicatively coupled to a NAT gateway 838 included in the control plane VCN 816. A service gateway 836 included in the control plane VCN 816 may be communicatively coupled to cloud services 856 (e.g., cloud services 756 of FIG. 7).
[0149] In some examples, the data plane VCN 818 may be included in the customer tenancy 821. In this case, the IaaS provider may provide a control plane VCN 816 for each customer, and the IaaS provider may configure a unique compute instance 844 for each customer in the service tenancy 819. Each compute instance 844 may enable communication between the control plane VCN 816 in the service tenancy 819 and the data plane VCN 818 in the customer tenancy 821. The compute instance 844 may enable deployment or use of resources provisioned in the control plane VCN 816 in the service tenancy 819 in the data plane VCN 818 in the customer tenancy 821.
[0150] In another example, a customer of the IaaS provider may have a database that resides in customer tenancy 821. In this example, control plane VCN 816 may include a data plane mirror app tier 840 that may include app subnet 826. Data plane mirror app tier 840 may reside in data plane VCN 818, but may not reside in data plane VCN 818. That is, data plane mirror app tier 840 may be accessible to customer tenancy 821, but may not reside in data plane VCN 818, and may not be owned or operated by the IaaS provider customer. Data plane mirror app tier 840 may be configured to make calls to data plane VCN 818, but may not be configured to make calls to any entities included in control plane VCN 816. A customer may desire deployment or use of resources in data plane VCN 818 that are provisioned in control plane VCN 816, and data plane mirror app tier 840 may facilitate the deployment or other use of the resources desired by the customer.
[0151] In some embodiments, the IaaS provider's customer can apply filters to the data plane VCN 818. In this embodiment, the customer can determine what the data plane VCN 818 can access, and the customer can limit access from the data plane VCN 818 to the public Internet 854. The IaaS provider may not be able to apply filters or control the access of the data plane VCN 818 to any external networks or databases. The application of filters and controls by the customer to the data plane VCN 818 contained in the customer tenancy 821 can help isolate the data plane VCN 818 from other customers and the public Internet 854.
[0152] In some embodiments, the cloud services 856 can access services that may not be in the public internet 854, the control plane VCN 816, or the data plane VCN 818 by making calls through the service gateway 836. The connection between the cloud services 856 and the control plane VCN 816 or the data plane VCN 818 may not be live or continuous. The cloud services 856 may be on different networks owned or operated by the IaaS provider. The cloud services 856 may be configured to receive calls from the service gateway 836 or may be configured not to receive calls from the public internet 854. Some cloud services 856 may be isolated from other cloud services 856, and the control plane VCN 816 may be isolated from cloud services 856 that may not be in the same region as the control plane VCN 816. For example, the control plane VCN 816 may be located in "Region 1" and the cloud service "Deployment 7" may be located in Region 1 and Region 2. If a call to deployment 7 is made by a service gateway 836 included in a control plane VCN 816 located in region 1, the call may be sent to deployment 7 in region 1. In this example, control plane VCN 816 or deployment 7 in region 1 may not be communicatively coupled to or in communication with deployment 7 in region 2.
[0153] 9 is a block diagram 900 illustrating another example pattern of an IaaS architecture according to at least one embodiment. A service operator 902 (e.g., service operator 702 of FIG. 7) may be communicatively coupled to a secure host tenancy 904 (e.g., secure host tenancy 704 of FIG. 7), which may include a virtual cloud network (VCN) 906 (e.g., VCN 706 of FIG. 7) and a secure host subnet 908 (e.g., secure host subnet 708 of FIG. 7). The VCN 906 may include an LPG 910, which may be communicatively coupled to an SSH VCN 912 via an LPG 910 (e.g., LPG 710 of FIG. 7) included in the SSH VCN 912 (e.g., SSH VCN 712 of FIG. 7). SSH VCN 912 can include an SSH subnet 914 (e.g., SSH subnet 714 in FIG. 7), and SSH VCN 912 can be communicatively coupled to a control plane VCN 916 via an LPG 910 included in the control plane VCN 916 (e.g., control plane VCN 716 in FIG. 7) and to a data plane VCN 918 via an LPG 910 included in the data plane VCN 918 (e.g., data plane VCN 718 in FIG. 7). The control plane VCN 916 and the data plane VCN 918 can be included in a service tenancy 919 (e.g., service tenancy 719 in FIG. 7).
[0154] The control plane VCN 916 may include a control plane DMZ tier 920 (e.g., control plane DMZ tier 720 of FIG. 7 ) that may include a load balancer (LB) subnet 922 (e.g., LB subnet 722 of FIG. 7 ), a control plane app tier 924 (e.g., control plane app tier 724 of FIG. 7 ) that may include an app subnet 926 (e.g., similar to app subnet 726 of FIG. 7 ), and a control plane data tier 928 (e.g., control plane data tier 728 of FIG. 7 ) that may include a DB subnet 930. The LB subnet 922 included in the control plane DMZ tier 920 may be communicatively coupled to an app subnet 926 included in the control plane app tier 924 and an Internet gateway 934 (e.g., Internet gateway 734 in FIG. 7 ) that may be included in the control plane VCN 916, and the app subnet 926 may be communicatively coupled to a DB subnet 930, a service gateway 936 (e.g., service gateway in FIG. 7 ), and a network address translation (NAT) gateway 938 (e.g., NAT gateway 738 in FIG. 7 ) included in the control plane data tier 928. The control plane VCN 916 may include the service gateway 936 and the NAT gateway 938.
[0155] The data plane VCN 918 may include a data plane app layer 946 (e.g., data plane app layer 746 of FIG. 7), a data plane DMZ layer 948 (e.g., data plane DMZ layer 748 of FIG. 7), and a data plane data layer 950 (e.g., data plane data layer 750 of FIG. 7). The data plane DMZ layer 948 may include a LB subnetwork 922 that may be communicatively coupled to a trusted app subnetwork 960 and a non-trusted app subnetwork 962 of the data plane app layer 946 and an Internet gateway 934 included in the data plane VCN 918. The trusted app subnetwork 960 may be communicatively coupled to a service gateway 936 included in the data plane VCN 918, a NAT gateway 938 included in the data plane VCN 918, and a DB subnetwork 930 included in the data plane data layer 950. The non-trusted app subnetwork 962 may be communicatively coupled to a service gateway 936 included in the data plane VCN 918 and a DB subnetwork 930 included in the data plane data layer 950. The data plane data layer 950 may include a DB subnet 930 that may be communicatively coupled to a service gateway 936 included in the data plane VCN 918.
[0156] The untrusted app subnet 962 may include one or more primary VNICs 964(1)-964(N), which may be communicatively coupled to tenant virtual machines (VMs) 966(1)-966(N). Each tenant VM 966(1)-966(N) may be communicatively coupled to a respective app subnet 967(1)-967(N), which may be included in a respective container egress VCN 968(1)-968(N), which may be included in a respective customer tenancy 970(1)-970(N). Each secondary VNIC 972(1)-972(N) may facilitate communication between the untrusted app subnet 962 included in the data plane VCN 918 and the app subnets included in the container egress VCNs 968(1)-968(N). Each container egress VCN 968(1)-968(N) can include a NAT gateway 938 that can be communicatively coupled to the public Internet 954 (e.g., the public Internet 754 in FIG. 7).
[0157] An internet gateway 934 included in the control plane VCN 916 and the data plane VCN 918 may be communicatively coupled to a metadata management service 952 (e.g., metadata management system 752 of FIG. 7 ), which may be communicatively coupled to the public internet 954. The public internet 954 may be communicatively coupled to a NAT gateway 938 included in the control plane VCN 916 and the data plane VCN 918. A service gateway 936 included in the control plane VCN 916 and the data plane VCN 918 may be communicatively coupled to cloud services 956.
[0158] In some embodiments, data plane VCN 918 may be integrated with customer tenancies 970. This integration may be useful or desirable for an IaaS provider's customers, such as when they may want support for running code. A customer may provide code to run, which may be disruptive, may communicate with other customer resources, or may have undesirable effects. In response, the IaaS provider may determine whether to run the code provided to it by the customer.
[0159] In some examples, a customer of an IaaS provider may request a capability granted to the data plane app layer 946, granting temporary network access to the IaaS provider. The code executing this capability may be configured to run in VMs 966(1)-966(N) and may not be configured to run anywhere else on the data plane VCN 918. Each VM 966(1)-966(N) may be connected to one customer tenancy 970. Each container 971(1)-971(N) included in VMs 966(1)-966(N) may be configured to execute code. In this case, there may be double isolation (e.g., containers 971(1)-971(N) executing code may be included in VMs 966(1)-966(N) included in at least the untrusted app subnet 962), which may help prevent erroneous or unwanted code from damaging the IaaS provider's network or a different customer's network. Containers 971(1)-971(N) may be communicatively coupled to customer tenancy 970 and may be configured to send or receive data from customer tenancy 970. Containers 971(1)-971(N) may not be configured to send or receive data from any other entities in data plane VCN 918. Upon completion of code execution, the IaaS provider may disable and discard containers 971(1)-971(N).
[0160] In some embodiments, the trusted app subnet 960 may execute code that may be owned or operated by the IaaS provider. In this embodiment, the trusted app subnet 960 may be communicatively coupled to the DB subnet 930 and may be configured to perform CRUD operations on the DB subnet 930. The non-trusted app subnet 962 may be communicatively coupled to the DB subnet 930, but in this embodiment, may be configured to perform read operations on the DB subnet 930. Containers 971(1)-971(N) may be included in each customer's VMs 966(1)-966(N) and may execute code from the customer, but may not be communicatively coupled to the DB subnet 930.
[0161] In other embodiments, the control plane VCN 916 and the data plane VCN 918 may not be directly communicatively coupled. In this embodiment, there may not be direct communication between the control plane VCN 916 and the data plane VCN 918. However, communication may occur indirectly in at least one manner. An LPG 910 may be established by an IaaS provider that may facilitate communication between the control plane VCN 916 and the data plane VCN 918. In another example, the control plane VCN 916 or the data plane VCN 918 may make a call to a cloud service 956 via a service gateway 936. For example, a call from the control plane VCN 916 to the cloud service 956 may include a request for a service that may communicate with the data plane VCN 918.
[0162] 10 is a block diagram 1000 illustrating another example pattern of an IaaS architecture, according to at least one embodiment. A service operator 1002 (e.g., service operator 702 of FIG. 7 ) may be communicatively coupled to a secure host tenancy 1004 (e.g., secure host tenancy 704 of FIG. 7 ), which may include a virtual cloud network (VCN) 1006 (e.g., VCN 706 of FIG. 7 ) and a secure host subnet 1008 (e.g., secure host subnet 708 of FIG. 7 ). The VCN 1006 may include an LPG 1010, which may be communicatively coupled to an SSH VCN 1012 via an LPG 1010 (e.g., LPG 710 of FIG. 7 ) included in the SSH VCN 1012 (e.g., SSH VCN 712 of FIG. 7 ). SSH VCN 1012 may include an SSH subnet 1014 (e.g., SSH subnet 714 in FIG. 7), and SSH VCN 1012 may be communicatively coupled to a control plane VCN 1016 via an LPG 1010 included in the control plane VCN 1016 (e.g., control plane VCN 716 in FIG. 7) and to a data plane VCN 1018 via an LPG 1010 included in the data plane VCN 1018 (e.g., data plane VCN 718 in FIG. 7). The control plane VCN 1016 and the data plane VCN 1018 may be included in a service tenancy 1019 (e.g., service tenancy 719 in FIG. 7).
[0163] The control plane VCN 1016 may include a control plane DMZ layer 1020 (e.g., control plane DMZ layer 720 of FIG. 7 ) that may include a LB subnet 1022 (e.g., LB subnet 722 of FIG. 7 ), a control plane app layer 1024 (e.g., control plane app layer 724 of FIG. 7 ) that may include an app subnet 1026 (e.g., app subnet 726 of FIG. 7 ), and a control plane data layer 1028 (e.g., control plane data layer 728 of FIG. 7 ) that may include a DB subnet 1030 (e.g., DB subnet 930 of FIG. 9 ). The LB subnet 1022 included in the control plane DMZ tier 1020 may be communicatively coupled to an app subnet 1026 included in the control plane app tier 1024 and an Internet gateway 1034 (e.g., Internet gateway 734 in FIG. 7 ) that may be included in the control plane VCN 1016, and the app subnet 1026 may be communicatively coupled to a DB subnet 1030, a service gateway 1036 (e.g., service gateway in FIG. 7 ), and a network address translation (NAT) gateway 1038 (e.g., NAT gateway 738 in FIG. 7 ) included in the control plane data tier 1028. The control plane VCN 1016 may include the service gateway 1036 and the NAT gateway 1038.
[0164] The data plane VCN 1018 can include a data plane app layer 1046 (e.g., data plane app layer 746 of FIG. 7), a data plane DMZ layer 1048 (e.g., data plane DMZ layer 748 of FIG. 7), and a data plane data layer 1050 (e.g., data plane data layer 750 of FIG. 7). The data plane DMZ layer 1048 can include a trusted app subnet 1060 (e.g., trusted app subnet 960 of FIG. 9) and a non-trusted app subnet 1062 (e.g., non-trusted app subnet 962 of FIG. 9) of the data plane app layer 1046 and a LB subnet 1022 that can be communicatively coupled to an Internet gateway 1034 included in the data plane VCN 1018. The trusted app subnet 1060 may be communicatively coupled to a service gateway 1036 included in the data plane VCN 1018, a NAT gateway 1038 included in the data plane VCN 1018, and a DB subnet 1030 included in the data plane data layer 1050. The untrusted app subnet 1062 may be communicatively coupled to a service gateway 1036 included in the data plane VCN 1018 and a DB subnet 1030 included in the data plane data layer 1050. The data plane data layer 1050 may include a DB subnet 1030 that may be communicatively coupled to a service gateway 1036 included in the data plane VCN 1018.
[0165] The untrusted app subnet 1062 may include primary VNICs 1064(1)-1064(N) that may be communicatively coupled to tenant virtual machines (VMs) 1066(1)-1066(N) that reside within the untrusted app subnet 1062. Each tenant VM 1066(1)-1066(N) may execute code in a respective container 1067(1)-1067(N) and may be communicatively coupled to an app subnet 1026 that may be included in a data plane app layer 1046 that may be included in a container egress VCN 1068. Each secondary VNIC 1072(1)-1072(N) may facilitate communication between the untrusted app subnet 1062 included in the data plane VCN 1018 and the app subnet included in the container egress VCN 1068. The container egress VCN may include a NAT gateway 1038 that may be communicatively coupled to the public Internet 1054 (e.g., public Internet 754 of FIG. 7).
[0166] An Internet gateway 1034 included in the control plane VCN 1016 and the data plane VCN 1018 may be communicatively coupled to a metadata management service 1052 (e.g., metadata management system 752 of FIG. 7 ), which may be communicatively coupled to the public Internet 1054. The public Internet 1054 may be communicatively coupled to a NAT gateway 1038 included in the control plane VCN 1016 and the data plane VCN 1018. A service gateway 1036 included in the control plane VCN 1016 and the data plane VCN 1018 may be communicatively coupled to cloud services 1056.
[0167] In some examples, the pattern illustrated by the architecture of block diagram 1000 of FIG. 10 may be an exception to the pattern illustrated by the architecture of block diagram 900 of FIG. 9 and may be desirable for customers of an IaaS provider when the IaaS provider cannot communicate directly with the customer (e.g., in a non-connected region). Each of the containers 1067(1)-1067(N) contained in a VM 1066(1)-1066(N) for each customer may be accessible in real time by the customer. The containers 1067(1)-1067(N) may be configured to make calls to each of the secondary VNICs 1072(1)-1072(N) contained in the app subnet 1026 of the data plane app tier 1046 that may be contained in the container egress VCN 1068. The secondary VNICs 1072(1)-1072(N) may send the calls to a NAT gateway 1038, which may send the calls to the public Internet 1054. In this example, containers 1067(1)-1067(N) that are accessible in real time by a customer may be isolated from the control plane VCN 1016 and may be isolated from other entities included in the data plane VCN 1018. Containers 1067(1)-1067(N) may also be isolated from resources of other customers.
[0168] In another example, a customer can use containers 1067(1)-1067(N) to invoke cloud service 1056. In this example, the customer can execute code in containers 1067(1)-1067(N) that requests a service from cloud service 1056. Containers 1067(1)-1067(N) can send the request to secondary VNICs 1072(1)-1072(N), which can send the request to a NAT gateway, which can send the request to public internet 1054. Public internet 1054 can send the request to LB subnet 1022 included in control plane VCN 1016 via internet gateway 1034. In response to determining that the request is valid, the LB subnet can send the request to the app subnet 1026, which can send the request to the cloud service 1056 via the service gateway 1036.
[0169] It should be understood that the IaaS architectures 700, 800, 900, 1000 depicted in the figures may have components other than those depicted. Additionally, the depicted embodiments are merely some examples of cloud infrastructure systems that may incorporate an embodiment of the present disclosure. In some other embodiments, an IaaS system may have more or fewer components than depicted, may combine two or more components, or may have a different configuration or arrangement of components.
[0170] In one embodiment, the IaaS system described herein may include a self-service, subscription-based, elastically scalable, reliable, highly available and secure suite of application, middleware and database services delivered to customers. Oracle Cloud Infrastructure (OCI), offered by the Assignee, is one example of such an IaaS system.
[0171] 11 illustrates an exemplary computer system 1100 upon which various embodiments may be implemented. System 1100 may be used to implement any of the computer systems described above. As shown, computer system 1100 includes a processing unit 1104 that communicates with a number of peripheral subsystems via a bus subsystem 1102. The peripheral subsystems may include a processing acceleration unit 1106, an I / O subsystem 1108, a storage subsystem 1118, and a communication subsystem 1124. The storage subsystem 1118 includes a tangible computer readable storage medium 1122 and a system memory 1110.
[0172] Bus subsystem 1102 provides a mechanism for allowing the various components and subsystems of computer system 1100 to communicate with each other as desired. Although bus subsystem 1102 is shown diagrammatically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 1102 may be any of a number of 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, which may be implemented as a mezzanine bus manufactured in accordance with the IEEE P1386.1 standard, a MicroChannel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0173] The processing unit 1104, which may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers), controls the operation of the computer system 1100. One or more processors may be included in the processing unit 1104. These processors may include single-core or multi-core processors. In some embodiments, the processing unit 1104 may be implemented as one or more independent processing units 1132 and / or 1134, each including a single-core or multi-core processor. In other embodiments, the processing unit 1104 may be implemented as a quad-core processing unit formed by incorporating two dual-core processors on a single chip.
[0174] In various embodiments, the processing unit 1104 may execute various programs in response to program code as well as maintain multiple simultaneously executing programs or processes. At any given time, some or all of the program code being executed may reside on the processor 1104 and / or on the storage subsystem 1118. With suitable programming, the processor 1104 may provide the various functions discussed above. The computer system 1100 may also include a processing acceleration unit 1106, which may include a digital signal processor (DSP), a special purpose processor, and / or the like.
[0175] The I / O subsystem 1108 may include user interface input devices and user interface output devices. User interface input devices may include pointing devices such as keyboards, mice or trackballs, touch pads or touch screens integrated into displays, scroll wheels, click wheels, dials, buttons, switches, keypads, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may include motion sensing and / or gesture recognition devices such as Microsoft Kinect® motion sensors that enable user control and interaction with input devices such as Microsoft Xbox® 360 game controllers through a natural user interface using gestures and voice commands. User interface input devices may also include eye gesture recognition devices such as the Google Glass® blink detector that detects a user's eye activity (e.g., "blinking" during filming and / or menu selection) and translates eye gestures as input to an input device (e.g., Google Glass®). The user interface input devices may also include a voice recognition sensing device that allows a user to interact with a voice recognition system (eg, the Siri® navigator) via voice commands.
[0176] User interface input devices may also include, but are not limited to, three-dimensional (3D) mice, joysticks or pointing sticks, game pads 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 readers 3D scanners, 3D printers, laser range finders, and eye-tracking devices. User interface input devices may also include medical imaging input devices such as computed tomography, magnetic resonance imaging, position emission tomography, and medical ultrasound devices. User interface input devices may also include audio input devices such as MIDI keyboards, digital musical instruments, and the like.
[0177] 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 one using a cathode ray tube (CRT), a liquid crystal display (LCD) or a plasma display, a projection device, a touch screen, etc. 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 1100 to a user or to another computer. For example, user interface output devices may include, but are not limited to, a variety of display devices that visually convey text, graphics, and audio / video information, such as monitors, printers, speakers, headphones, automobile navigation systems, plotters, audio output devices, and modems.
[0178] Computer system 1100 may also include a storage subsystem 1118 that provides a tangible, non-transitory computer-readable storage medium for storing software and data constructs that provide functionality of embodiments described in this disclosure. The software may include programs, code, instructions, scripts, etc. that, when executed by one or more cores or processors of processing unit 1104, provide the functionality described above. Storage subsystem 1118 may also provide a repository for storing data used in accordance with the present disclosure.
[0179] As shown in the example of FIG. 11, the storage subsystem 1118 can include various components including a system memory 1110, a computer readable storage medium 1122, and a computer readable storage medium reader 1120. The system memory 1110 can store program instructions that can be loaded and executed by the processing unit 1104. The system memory 1110 can also store data used during execution of the instructions and / or data generated during execution of the program instructions. A variety of different types of programs can be loaded into the system memory 1110, including, but not limited to, client applications, web browsers, mid-tier applications, relational database management systems (RDBMS), virtual machines, containers, and the like.
[0180] The system memory 1110 may also store an operating system 1116. Examples of operating systems 1116 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 certain embodiments in which the computer system 1100 runs one or more virtual machines, the virtual machines, along with their guest operating systems (GOS), may be loaded into the system memory 1110 and executed by one or more processors or cores of the processing unit 1104.
[0181] The system memory 1110 may have a variety of configurations depending on the type of computer system 1100. For example, the system memory 1110 may be volatile memory (such as random access memory (RAM)) and / or non-volatile memory (such as read-only memory (ROM), flash memory, etc.). Also, different types of RAM configurations may be provided, including static random access memory (SRAM), dynamic random access memory (DRAM), and others. In some implementations, the system memory 1110 may include a basic input / output system (BIOS) containing the basic routines that help to transfer information between elements within the computer system 1100, such as during start-up.
[0182] Computer-readable storage medium 1122 may represent remote, local, fixed, and / or removable storage devices, as well as storage media for temporarily and / or permanently containing and storing computer-readable information used by computer system 1100 (including instructions executable by processing unit 1104 of computer system 1100).
[0183] The computer readable storage medium 1122 may include any suitable medium known or used in the art (including storage media and communication media), including, but not limited to, volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing and / or transmitting information. This 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 cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or other tangible computer readable media.
[0184] As an example, the computer readable storage medium 1122 may include hard disk drives that read and write to non-removable non-volatile magnetic media, magnetic disk drives that read and write to removable non-volatile magnetic disks, and optical disk drives that read and write to removable non-volatile optical disks such as CD ROMs, DVDs, Blu-Ray® disks, or other optical media. The computer readable storage medium 1122 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, and the like. The computer readable storage medium 1122 may also include flash memory-based SSDs, enterprise flash drives, solid-state drives (SSDs) based on non-volatile memory such as solid-state ROMs, SSDs based on volatile memory such as solid-state RAMs, dynamic RAMs, static RAMs, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs using a combination of DRAM and flash memory-based SSDs. The disk drives and their associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, programs, and other data for the computer system 1100.
[0185] Machine-readable instructions executable by one or more processors or cores of the processing unit 1104 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 memory storage devices and / or non-volatile 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.
[0186] The communications subsystem 1124 provides an interface to other computer systems and networks. The communications subsystem 1124 serves as an interface for transmitting and receiving data between the computer system 1100 and other systems. For example, the communications subsystem 1124 may enable the computer system 1100 to connect to one or more devices via the Internet. In some embodiments, the communications subsystem 1124 may include a wireless voice and / or data network (e.g., using cellular technology, 3G, 4G, or Enhanced Data Rates for Global Evolution (EDGE), WiFi (advanced data network technology such as the IEEE 802.11 family of standards, or other mobile communications technology, or any combination thereof), a global positioning system (GPS) receiver component, and / or a radio frequency (RF) transceiver component for accessing other components. In some embodiments, the communications subsystem 1124 may provide a wired network connection (e.g., Ethernet) in addition to or as an alternative to a wireless interface.
[0187] Also, in some embodiments, the communications subsystem 1124 can receive incoming communications in the form of structured and / or unstructured data feeds 1126, event streams 1128, event updates 1130, etc., on behalf of one or more users who may be using the computer system 1100.
[0188] As an example, the communications subsystem 1124 may be configured to receive data feeds 1126 in real time from users of other communications services, such as social networks and / or web feeds such as Twitter® feeds, Facebook® updates, RSS (Rich Site Summary) feeds, and / or real-time updates from one or more third party sources.
[0189] The communications subsystem 1124 may also be configured to receive data in the form of a continuous data stream, which may include an event stream 1128 of real-time events and / or event updates 1130, which may be continuous and may be effectively infinite with no apparent end. Examples of applications that generate continuous data 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, and the like.
[0190] The communications subsystem 1124 may also be configured to output structured and / or unstructured data feeds 1126, event streams 1128, event updates 1130, etc. to one or more databases that may communicate with one or more streaming data source computers coupled to the computer system 1100.
[0191] The computer system 1100 can be one of a variety of types, including a portable handheld device (such as an iPhone® mobile phone, an iPad® computing tablet, a PDA, etc.), a wearable device (such as a Google Glass® head mounted display), a PC, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.
[0192] Due to the ever-changing nature of computers and networks, the description of the illustrated computer system 1100 is intended as an example only. Many other configurations are possible, whether they include more or fewer components than the illustrated system. For example, customized hardware may also be used, and / or particular elements may be implemented in hardware, firmware, software (including applets), or a combination. Additionally, connections to other computing devices, such as network input / output devices, may be employed. Based on the disclosure and teachings provided herein, one of ordinary skill in the art will recognize other ways and / or methods of implementing the various embodiments.
[0193] Although specific embodiments have been described above, various modifications, variations, alternative configurations, and equivalents are within the scope of the present disclosure. The embodiments are not limited to operating in a particular data processing environment, but may freely operate in multiple data processing environments. Additionally, while the embodiments have been described using a specific sequence of transactions and steps, it will 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.
[0194] Furthermore, while embodiments have been described using a particular combination of hardware and software, it will be appreciated that other combinations of hardware and software are within the scope of the present disclosure. The embodiments may be implemented solely in hardware, solely in software, or by using a combination thereof. The various processes described herein may be implemented on the same processor or on different processors in any combination. Thus, where an element is described as being configured to perform an operation, such configuration may be achieved, for example, by designing an electronic circuit to perform the operation, by programming a programmable electronic circuit (such as a microprocessor) to perform the operation, or by any combination thereof. The processes may communicate using a variety of techniques, including, but not limited to, conventional techniques for inter-process communication. Also, different pairs of processes may use different techniques, or the same pair of processes may use different techniques at different times. The embodiments may be implemented using a computer program product that includes computer programs / instructions that, when executed by a processor, cause the processor to perform any of the methods described in the present disclosure.
[0195] Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive. However, it is apparent that additions, differences, deletions, and other modifications and changes may be made without departing from the broad spirit and scope of the appended claims. Thus, although specific embodiments of the present disclosure have been described, they are not intended to be limiting. Various modifications and equivalents are intended to be within the scope of the following claims.
[0196] 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 claims below) shall 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" shall be construed as open-ended terms (i.e., meaning "including, but not limited to"), unless otherwise noted. The term "connected" shall be construed as partly or wholly contained in, attached to, or integrally connected to, 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 falling within the range, unless otherwise indicated herein, and each separate value is incorporated herein as if it were a separate recitation herein. All methods described herein may be performed in any suitable order, unless otherwise indicated herein or clearly contradicted by context. The use of any and all examples or exemplary language (e.g., "such as") herein is intended to facilitate understanding of the embodiments only and does not limit the scope of the disclosure unless otherwise asserted. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the disclosure.
[0197] Unless otherwise noted, disjunctive language, such as the phrase "at least one of X, Y, or Z," is intended to be understood in the context in which it is commonly used to indicate that an item, term, etc. can be either X, Y, Z, or any combination thereof (e.g., X, Y, and / or Z). Thus, such disjunctive language is generally not intended to, and should not, imply that an embodiment requires the presence of at least one of X, at least one of Y, or at least one of Z, respectively.
[0198] Preferred embodiments of the present disclosure are described herein, including the best mode known for carrying out the present disclosure. Modifications of these preferred embodiments may become apparent to those skilled in the art upon reading the above description. Such modifications may be adopted by those skilled in the art as necessary, and the present disclosure may be practiced differently from the specific descriptions 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, unless otherwise indicated herein, this disclosure includes any combination of the above-described elements in all possible variations thereof.
[0199] All references cited in this specification, including publications, patent applications, and patents, are herein incorporated by reference to the same extent as if each reference was individually and specifically indicated to be incorporated by reference in its entirety.
[0200] Although aspects of the disclosure are described in the above specification with reference to specific embodiments, those skilled in the art will recognize that the disclosure is not limited thereto. Various features and aspects of the disclosure described above 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 broad spirit and scope of the specification. Accordingly, the specification and drawings are to be regarded as illustrative, and not limiting.
Claims
1. 1. A method comprising: A distributed computing system of a cloud service provider generates a virtual cloud network in a data center of a host region; the distributed computing system implementing a virtual bootstrap environment in the virtual cloud network; The virtual bootstrap environment includes a plurality of services, and the method further comprises: the distributed computing system deploying an instance of one of the plurality of services of the virtual bootstrap environment to a target region data center; receiving an indication from the instance of the service in the target region data center that the instance was successfully deployed; identifying a resource associated with the instance of the service in response to the indication; the distributed computing system updating a second service of the plurality of services with the resource.
2. The method of claim 1 , further comprising the distributed computing system updating the instances of the service deployed to the target region data center.
3. 10. The method of claim 1, wherein the distributed computing system further comprises, prior to identifying the resource, migrating a data resource from the virtual bootstrap environment to the target region data center, the data resource being associated with the instance of the service deployed to the target region data center.
4. The method of any one of claims 1 to 3, wherein deploying the instance uses a virtual private network connection between the data center of the host region and the target region data center.
5. The method of any one of claims 1 to 3, wherein the resource is a domain name service record.
6. The method of any one of claims 1 to 3, wherein the indication comprises a capability published to a capability service of the plurality of services, the capability indicating a successful partial deployment.
7. 7. The method of claim 6, further comprising receiving, in response to the update of the second service, a second capability from the instance deployed to the target region data center, the second capability indicating a successful complete deployment.
8. 1. A computing system comprising: one or more processors; and one or more memories storing computer-executable instructions that, when executed by the one or more processors, cause the computing system to perform at least: generating a virtual cloud network in a data center in the host region; Implementing a virtual bootstrap environment in the virtual cloud network, the virtual bootstrap environment including a plurality of services; deploying an instance of one of the plurality of services of the virtual bootstrap environment to a target region data center; receiving an indication from the instance of the service at the target region data center that the instance was successfully deployed; In response to the indication, identifying resources associated with the instance of the service; A computing system that causes a second service of the plurality of services to be updated with the resource.
9. 10. The computing system of claim 8, wherein the one or more memories store additional instructions that, when executed by the one or more processors, cause the computing system to further update the instances of the service deployed in the target region datacenter.
10. 9. The computing system of claim 8, wherein the one or more memories store additional instructions that, when executed by the one or more processors, cause the computing system to further migrate data resources from the virtual bootstrap environment to the target region datacenter prior to identifying the resources, the data resources being associated with the instances of the service deployed to the target region datacenter.
11. The computing system of any one of claims 8 to 10, wherein deploying the instance uses a virtual private network connection between the data center of the host region and the target region data center.
12. The computing system of any one of claims 8 to 10, wherein the resource is a domain name service record.
13. The computing system of any one of claims 8 to 10, wherein the indication includes a capability published to a capability service of the plurality of services, the capability indicating a successful partial deployment.
14. 14. The computing system of claim 13, wherein the one or more memories store additional instructions that, when executed by the one or more processors, cause the computing system to further receive, in response to the update of the second service, a second capability from the instance deployed to the target region datacenter, the second capability indicating a successful full deployment.
15. A computer program comprising computer-executable instructions that, when executed by one or more processors, cause a computing system to perform at least: generating a virtual cloud network in a data center in the host region; Implementing a virtual bootstrap environment in the virtual cloud network, the virtual bootstrap environment including a plurality of services; deploying an instance of one of the plurality of services of the virtual bootstrap environment to a target region data center; receiving an indication from the instance of the service at the target region data center that the instance was successfully deployed; In response to the indication, identifying resources associated with the instance of the service; A computer program product that causes a second service of the plurality of services to be updated with the resource.
16. 16. The computer program product of claim 15, further comprising instructions that, when executed by the one or more processors, cause the computing system to further update the instances of the service deployed in the target region datacenter.
17. 16. The computer program product of claim 15, storing instructions that, when executed by the one or more processors, cause the computing system to further migrate data resources from the virtual bootstrap environment to the target region datacenter prior to identifying the resources, the data resources being associated with the instances of the service deployed to the target region datacenter.
18. The computer program product of any one of claims 15 to 17, wherein deploying the instance uses a virtual private network connection between the data center of the host region and the target region data center.
19. The computer program product of any one of claims 15 to 17, wherein the resource is a domain name service record.
20. The computer program product of any one of claims 15 to 17, wherein the indicators include capabilities published to a capability service of the plurality of services, the capabilities indicating successful partial deployment.