Label-based cross-regional segment management
By configuring VPC-WAN and using segment identifiers in the cloud provider network, the problem of isolated segments across regions or networks is solved, logical isolation and dynamic path selection of traffic are realized, and network security and management are improved. efficiency.
Patent Information
- Application Number
- CN202280087288.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-24
- Filing Date
- 2022-11-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-11-17
AI Technical Summary
It is difficult for existing cloud-based networks to implement isolation sections across regions or network divisions, making traffic isolation difficult or impossible and affecting network security and management efficiency.
By configuring a virtual private cloud-based global wide area network (VPC-WAN) in the cloud provider network, using network policy data to define isolation zones, and adding zone identifiers in gateway nodes to achieve cross-region zone isolation, combined with Packet header metadata and dynamically optimized path selection algorithms.
It achieves logical isolation of cross-regional sections, ensures traffic isolation between different sections, improves network security and management efficiency, and can dynamically select the best path based on a variety of factors.
Smart Images

Figure CN118592014A_ABST
Abstract
Description
[0001] Incorporation by Reference
[0002] The following applications are incorporated herein by reference and become a part of this specification:
[0003] Background Art
[0004] Computing devices may utilize communication networks to exchange data. Companies and organizations operate computer networks that interconnect several computing devices to support operations or provide services to third parties. Computing devices may be located in a single geographic location or in multiple different geographic locations (e.g., interconnected by private or public communication networks). Specifically, a data center or data processing center (generally referred to herein as a "data center") may include several interconnected computing systems for providing computing resources to users of the data center. A data center may be a private data center operated on behalf of an organization or a public data center operated on behalf of or for the benefit of the general public.
[0005] The advent of virtualization technology for commodity hardware has provided benefits with respect to managing large-scale computing resources for many clients with diverse needs, thereby allowing multiple clients to efficiently and securely share various computing resources. For example, virtualization technology can allow a single physical virtualization host to be shared among multiple users by providing each user with one or more "guest" virtual machines hosted by the single virtualization host. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Embodiments of various inventive features will now be described with reference to the following drawings. Throughout the drawings, reference numerals may be reused to indicate the corresponding relationship between the elements referred to. The drawings are provided to illustrate the example embodiments described herein and are not intended to limit the scope of the present disclosure.
[0007] Figure 1 is a block diagram depicting an illustrative network environment in which cross-region segment management and routing may be implemented according to some embodiments.
[0008] Figure 2 is a block diagram depicting an illustrative cloud-based virtual private wide area network including multiple regions, segments, and attached isolated networks according to some embodiments.
[0009] Figure 3 is a block diagram of illustrative data flows and interactions for configuring and managing segments according to some embodiments.
[0010] Figure 4 is a flow diagram of an illustrative routine that may be performed to configure and manage networks and segments according to some embodiments.
[0011] Figure 5is a block diagram of an illustrative cloud-based virtual private wide area network in which multiple segments have been provisioned, according to some embodiments.
[0012] Figure 6 is a diagram of an illustrative user interface for viewing and interacting with a representation of a cloud-based virtual private wide area network with segments, attachments, and shared routes, according to some embodiments.
[0013] Figure 7 is a block diagram of illustrative data flows and interactions between gateway nodes and endpoints during policy-based routing of traffic within a virtual cross-region segment, according to some embodiments.
[0014] Figure 8 is a block diagram of illustrative data flows and interactions between gateway nodes during signaling of segment-specific routing data, according to some embodiments.
[0015] Fig. 9 is a flow chart of an illustrative routine that a gateway node may perform to select a best path from among multiple paths to a destination, according to some embodiments.
[0016] Fig.10 is a block diagram of illustrative data flows and interactions during routing of traffic within, to, or through a region having multiple availability zones, according to some embodiments.
[0017] Fig.11 is a block diagram of an illustrative gateway node configured to implement features of some embodiments. DETAILED DESCRIPTION
[0018] Generally described, the present disclosure relates to managing network segments across geographic regions and / or other types of network divisions in a cloud-based network environment. Beneficially, this enables a cloud-based network provider's geographically dispersed network infrastructure to serve as the core of a distributed network for multiple clients, where those clients can define broad but isolated segments to which other networks (virtual private clouds, virtual private networks, etc.) can be attached. The various segments can remain logically isolated from each other even if implemented across some or all of the same region as other segments of the same client and / or other clients—and using the same physical and / or virtual routing components therewith.
[0019] Some conventional cloud-based network providers provide clients with access to a shared geographically dispersed network infrastructure. For example, virtualized computing instances, distributed storage systems, virtual private clouds ("VPCs"), and the like may be hosted within a shared network infrastructure. As another example, clients may connect their on-premises networks to a shared network infrastructure of a cloud-based network provider via a direct physical link (e.g., "direct connection"), via a software-defined wide area network ("SD-WAN"), via a virtual private network ("VPN") tunnel, and the like. Within a shared network infrastructure, networking and interconnectivity-related features may be provided to meet the requirements of implementing applications using services hosted in the infrastructure. For example, routers or other gateways in different distinct geographic regions or other physical and / or logical divisions of a network architecture may be peered so that they share routing data and provide end-to-end routing throughout the shared network infrastructure in a manner that is transparent to the client. However, because the network is physically and / or logically separated into regions or other divisions, it is difficult or impossible to provide cross-regional isolated segmentation of traffic using conventional routers and configurations.
[0020] Some aspects of the present disclosure address some or all of the above-identified problems by providing systems and methods for implementing isolated segments across regions or other network divisions. A virtual private cloud-based global wide area network (also referred to as a "VPC global WAN" or simply "VPC-WAN" for brevity) can be configured within a shared network infrastructure of a cloud-based network provider (also referred to as a "cloud provider network"). The VPC-WAN can be considered "private" because it is separated from any other traffic and / or clients (including but not limited to other VPC-WANs) that share the same cloud provider network. Therefore, the VPC-WAN can also be more generally referred to as a "private wide area network", or as an example of a "private network". The VPC-WAN can be considered "virtual" and "cloud-based" because it is implemented on top of the shared network infrastructure of a cloud-based network provider, rather than on a separate infrastructure at a client.
[0021] The VPC-WAN can be configured using network policy data that defines various aspects. For example, the network policy data can define the areas covered by the VPC-WAN, the segments that can span multiple areas within the VPC-WAN but still remain isolated or substantially isolated from each other, the way in which isolated networks (VPC, VPN, SD-WAN, direct connection to resident client networks, etc.) will be attached to segments, etc. Therefore, the VPC-WAN can span multiple areas of the cloud provider network and may include any number of isolated networks, which can be hosted in the physical data center of the cloud provider network (e.g., VPC), or can be physically located outside the cloud provider's data center (e.g., resident client networks or third-party networks that communicate with the cloud provider network through VPN, SD-WAN, direct connection, etc.). This allows client traffic originating from one endpoint to be transmitted to another endpoint of the VPC-WAN, regardless of whether one or both endpoints are within or outside the physical data center of the cloud provider network. In addition, the client can segment the traffic of the VPC-WAN by defining the segments in the network policy data using one or more rules for the attachment of isolated networks to segments. For example, a rule for a particular segment may specify that attachments associated with a particular tag will automatically be associated with the segment. In some embodiments, other rules, attributes, etc. may be specified in the policy data. For example, rules may be defined requiring authorization to attach an isolated network to a given segment, rules maintaining isolation of all attachments to a given segment, rules regarding resources to be shared between otherwise isolated attachments or segments, etc.
[0022] Additional aspects of the present disclosure relate to methods for signaling segment-specific routing data between gateways in different regions or other network partitions. These methods facilitate the formation of cross-region segments from a set of region-specific segments while ensuring that traffic in one such cross-region segment remains isolated from traffic in another cross-region segment, even if the two segments share some or all of the same regions, gateways, etc. When a routing table or other routing data is generated within a region of a region-specific segment, and in the case where that region-specific segment will become part of a cross-region segment, the routes in the region-specific routing table can be signaled to other regions associated with the region-specific segment identifier. Other gateways in other regions can obtain the routing table data and add it to their own segment-specific routing tables. In this way, a gateway can build a routing data table for all regions of a given segment. Using a segment identifier allows a router to maintain different routing tables for different segments. Therefore, within a given region, a single gateway (e.g., a router or a system of routers) can route traffic for multiple segments in the region while also maintaining isolation between segments by not sharing routes across segments (unless otherwise permitted or specified).
[0023] Another aspect of the present disclosure relates to using packet header metadata to implement policy-based routing. At layer 3 of the open systems interconnection ("OSI") model, some networks use a packet header to perform routing operations, and the packet header includes a 5-tuple of metadata: a source address, such as the Internet Protocol ("IP") address of the sender of the packet; a destination address, such as the IP address of the intended destination of the packet; a source port, such as the sender's Transmission Control Protocol ("TCP") or User Datagram Protocol ("UDP") port from which the packet originates; a destination port, such as the TCP or UDP port of the intended destination of the packet; and a protocol to be used. In some embodiments, in order to facilitate routing traffic across regions in a given segment while maintaining isolation between different segments, additional metadata may be added to the packet header to indicate the segment of the source of the packet. For example, a layer 3 packet header may be extended to a 6-tuple of metadata for routing, wherein the additional metadata item is a segment identifier. The additional metadata item may be added to the header by a gateway or the sender of the packet (e.g., by a host device from which the packet originates, by a virtual machine instance or hypervisor executed on the host device, etc.). The policy may be implemented at the gateway so that when a packet is received, the gateway may evaluate the zone identifier and determine which routing data (e.g., a zone-specific routing table) to use to route the packet. In this way, a single gateway or system of gateways within a given zone may be able to resolve the zone to which a packet belongs and route traffic for multiple zones that include the zone, while also maintaining isolation between the zones by using the zone-specific routing information.
[0024] Additional aspects of the present disclosure relate to using metadata and / or metrics to select a specific path to a specific destination among all available paths to the destination. In some embodiments, when the gateway is selecting a path to update the routing table, the gateway may use dynamic optimization to select the best path between any two points based on a variety of factors such as the number of hops, the physical distance between each hop, the network latency between each hop, the packet loss between each hop, the jitter between each hop, the link utilization between each hop, etc.
[0025] Various aspects of the present disclosure will now be described with respect to certain examples and embodiments, which are intended to illustrate rather than limit the present disclosure. Although various aspects of some embodiments described in the present disclosure will focus on specific examples of network areas, divisions, segments, metadata, gateways, and signaling protocols for illustrative purposes, the examples are merely illustrative and are not intended to be limiting. In some embodiments, the techniques described herein may be applied to additional or alternative network areas, divisions, segments, metadata, gateways, signaling protocols, etc. Any feature used in any embodiment described herein may be used in any combination with any other feature without limitation.
[0026] With reference to the exemplary embodiments, Figure 1 An example computing environment in which features of the present disclosure may be implemented is shown. As shown, the computing environment includes a cloud provider network substrate 100 (also referred to herein as a "cloud provider network," "provider network," "cloud provider system," or simply "cloud" for convenience), any number of customer premises networks 150 (also referred to herein as "premises networks" for convenience) located outside the cloud provider network 100, and any number of third-party networks 160 located outside the cloud provider network 100. The cloud provider network 100, the premises networks 150, and the third-party networks 160 may communicate with each other via a communication network 180 (such as an intranet or the Internet).
[0027] The cloud provider network 100 is a pool of network-accessible computing resources (such as computing, storage and networking resources, applications and services) that may be virtualized or bare metal. The cloud provider network 100 may provide convenient on-demand network access to a shared pool of configurable computing resources that may be programmatically provisioned and released in response to client commands. These resources may be dynamically provisioned and reconfigured to accommodate variable loads. Thus, cloud computing may be considered to be both applications delivered as services over publicly accessible networks (e.g., the Internet, cellular communications networks) and the hardware and software in the cloud provider data centers that provide those services.
[0028] The cloud provider network 100 may provide an on-demand, scalable computing platform to users over a network, allowing users, for example, to have scalable "virtual computing devices" at will through their use of computing servers 122 (which provide computing instances by using one or both of a central processing unit ("CPU") and a graphics processing unit ("GPU"), optionally with local storage) and block storage servers 124 (which provide virtualized persistent block storage for a specified computing instance). These virtual computing devices have the attributes of a personal computing device, including hardware (processors of various types, local memory, random access memory ("RAM"), hard disk and / or solid state drive ("SSD") storage), a choice of operating system, networking capabilities, and pre-loaded application software. Each virtual computing device may also virtualize its console input and output (e.g., keyboard, display, and mouse). This virtualization allows users to connect to their virtual computing devices using computer applications (such as browsers, application programming interfaces, software development kits, etc.) to configure and use their virtual computing devices just as they would do with a personal computing device. Unlike personal computing devices that have a fixed number of hardware resources available to the user, the hardware associated with a virtual computing device can be scaled up or down according to the resources required by the user. An application programming interface ("API") refers to an interface and / or communication protocol between a client and a server such that if a client makes a request in a predefined format, the client should receive a response in a specific format or initiate a defined action. In the context of a cloud provider network, an API provides a gateway for clients to access the cloud infrastructure by allowing the client to obtain data from the cloud provider network or cause an action within the cloud provider network, thereby enabling the development of applications that interact with resources and services hosted in the cloud provider network. The API can also enable different services of the cloud provider network to exchange data with each other. Users may choose to deploy their virtual computing systems to provide network-based services for their own use and / or for use by their clients or clients.
[0029] The cloud provider network 100 may implement various computing resources or services, which may include virtual computing services, data processing services (e.g., map-reduce, data streaming, and / or other large-scale data processing techniques), data storage services (e.g., object storage services, block-based storage services, or data warehouse storage services), and / or any other type of network-based services (which may include various other types of storage, processing, analysis, communication, event handling, visualization, and security services not illustrated). The resources required to support the operation of such services (e.g., computing and storage resources) may be provided in an account associated with the cloud provider, as distinct from resources that may be provisioned in a user account requested by a user of the cloud provider network.
[0030] The cloud provider network 100 can be formed into several regions, where a region is a separate geographic region where a cloud provider clusters data centers. In some embodiments, each region can be implemented as or otherwise considered as an autonomous system ("AS") based on a region. Each region may include two or more availability zones connected to each other via a private high-speed network (e.g., a fiber optic communication connection). An availability zone ("AZ") refers to an isolated fault domain that includes one or more data center facilities with power, networking, and cooling separated from those in another availability zone. Preferably, the availability zones within a region are positioned far enough away from each other so that the same natural disaster does not cause more than one availability zone to be offline at the same time. Clients can connect to the availability zones of the cloud provider network via a publicly accessible network (e.g., the Internet, a cellular communication network). A switching center ("TC") is the main backbone location that links clients to the cloud provider network and can be co-located at other network provider facilities (e.g., an Internet service provider, a telecommunications provider). In order to achieve redundancy, two TCs can be operated in each region.
[0031] Cloud provider network 100 may include a physical network (e.g., sheet metal boxes, cables, rack hardware) called an underlay. The underlay may be considered the network fabric that contains the physical hardware that runs the provider network's services, and may include networking devices such as routers, switches, network address translators ("NATs"), etc., and the physical connections between the devices. The underlay may be isolated from the rest of cloud provider network 100, e.g., it may not be possible to route from an underlay network address to an address in a production network running the cloud provider's services, or to a client network hosting client resources.
[0032] The cloud provider network 100 may also include an overlay network of virtualized computing resources running on the bottom layer. In at least some embodiments, the hypervisor or other device or process on the network bottom layer may use encapsulation protocol technology to encapsulate and route network packets (e.g., client IP packets) between client resource instances on different hosts within the provider network through the network bottom layer. Encapsulation protocol technology may be used on the network bottom layer to route encapsulated packets (also referred to as network bottom layer packets) between endpoints on the network bottom layer via an overlay network path or route. Encapsulation protocol technology may be viewed as providing a virtual network topology overlaid on the network bottom layer. Therefore, network packets may be routed along the bottom layer network according to the construction (e.g., VPC, security group) in the overlay network. A mapping service may coordinate the routing of these network packets. A mapping service may be a regional distributed lookup service that maps a combination of an overlay IP and a network identifier to a bottom layer IP so that a distributed bottom layer computing device may find where to send packets.
[0033] For illustration, each physical host (e.g., computing server 122, block storage server 124, object storage server 126, control server 112, etc.) may have an IP address in the underlying network. Hardware virtualization technology may enable multiple operating systems to run simultaneously on a host computer, for example as virtual machines (VMs) on a computing server. A hypervisor or virtual machine monitor (VMM) on the host allocates the hardware resources of the host between the various VMs on the host and monitors the execution of the VMs. Each VM may be provided with one or more IP addresses in the overlay network, and the VMM on the host may know the IP address of the VM on the host. The VMM (and / or other devices or processes on the network bottom layer) may use encapsulation protocol technology to encapsulate network packets (e.g., client IP packets) and route the network packets between virtualized resources on different hosts within the cloud provider network 100 through the network bottom layer. Encapsulation protocol technology may be used on the network bottom layer to route encapsulated packets between endpoints on the network bottom layer via an overlay network path or route. Encapsulation protocol technology may be viewed as providing a virtual network topology overlaid on the network bottom layer. The encapsulation protocol technology may include a mapping service that maintains a mapping directory that maps IP overlay addresses (e.g., public IP addresses) to underlying IP addresses (private IP addresses), which can be accessed by various processes on the cloud provider network for routing packets between endpoints.
[0034] In various embodiments, the traffic and operations of the underlying cloud provider network can be generally divided into two categories: control plane traffic carried by a logical control plane and data plane operations carried by a logical data plane. The data plane represents the movement of user data through a distributed computing system, while the control plane represents the movement of control signals through a distributed computing system. The control plane typically includes one or more control plane components 102 distributed across and implemented by one or more control servers 112. Control plane traffic typically includes management operations, such as establishing isolated virtual networks for various clients, monitoring resource usage and health, identifying specific hosts or servers where requested computing instances will be launched, configuring additional hardware as needed, etc. The data plane typically includes one or more data plane components 104 distributed across and implemented by one or more data plane servers. The data plane includes client resources (e.g., computing instances, containers, block storage volumes, databases or file storage devices, etc., as described in more detail below) implemented on the cloud provider network 100. Data plane traffic typically includes non-management operations, such as passing data to and from client resources.
[0035] Some control plane components 102 (e.g., first-level control plane components, such as a control plane for virtualized computing services) are typically implemented on a separate set of servers from the data plane components 104, while other control plane components 102 (e.g., second-level control plane components, such as analytics services) may share virtualized servers with the data plane components 104. The resources of the control plane may be provisioned in an account (or accounts) of the cloud provider, while the resources of the data plane may be provisioned in corresponding user accounts.
[0036] Control plane traffic and data plane traffic may be sent over separate / different networks. In some embodiments, control plane traffic and data plane traffic may be supported by different protocols. In some embodiments, messages (e.g., packets) sent over a provider network include a flag to indicate whether the traffic is control plane traffic or data plane traffic. In some embodiments, the payload of the traffic may be inspected to determine its type (e.g., control plane or data plane). Other techniques for distinguishing traffic types are possible.
[0037] As shown, the data plane component 104 may include one or more computing servers 122, which may be bare metal (e.g., a single tenant) or may be virtualized by a hypervisor to run multiple VMs (sometimes referred to as "instances") of one or more clients. These computing servers 122 may support the virtualized computing services of the cloud provider network 100. The cloud provider network 100 may provide virtual computing instances with different computing and / or memory resources. In one embodiment, each of the virtual computing instances may correspond to one of several instance types. An instance type may be characterized by its hardware type, computing resources (e.g., the number, type, and configuration of central processing units (CPUs) or CPU cores), memory resources (e.g., the capacity, type, and configuration of local memory), storage resources (e.g., the capacity, type, and configuration of locally accessible storage devices), network resources (e.g., the characteristics of its network interface and / or network capabilities), and / or other suitable descriptive characteristics. Using the instance type selection functionality, an instance type may be selected for the client, for example (at least in part) based on input from the client. For example, a client may select an instance type from a predefined set of instance types. As another example, a client may specify desired resources for an instance type and / or requirements for a workload that the instance will run, and the instance type selection functionality may select an instance type based on such specifications.
[0038] The data plane may also include one or more block storage servers 124, which may include persistent storage devices for volumes storing client data and software for managing these volumes. These block storage servers may support the managed block storage service of the cloud provider network 100. The block storage servers 124 include one or more servers on which data is stored as blocks. A block is a sequence of bytes or bits, typically containing some complete number of records, with a maximum length of the block size. Blocked data is typically stored in a data buffer and read or written as a whole block at a time. In general, a volume may correspond to a logical collection of data, such as a data set maintained on behalf of a user. A user volume may be viewed as an individual hard drive ranging in size, for example, from 1GB to 1 terabyte TB (or larger), consisting of one or more blocks stored on a block storage server. Although viewed as an individual hard drive, it should be understood that a volume may be stored as one or more virtualized devices implemented on one or more underlying physical host devices. A volume may be partitioned a small number of times (e.g., up to 16 times), with each partition hosted by a different host. The data of a volume may be replicated between multiple devices within the provider network to provide multiple copies of the volume (where such copies may collectively represent a volume on a computing system). Replicas of volumes in a distributed computing system can be beneficially provided with automatic failover and recovery, for example, by allowing a user to access a primary replica of the volume or a secondary replica of the volume that is synchronized to the primary replica at a block level, so that the failure of the primary replica or the secondary replica does not inhibit access to the information of the volume. The role of the primary replica can be to facilitate reads and writes (sometimes referred to as "input and output operations" or simply "I / O operations") on the volume and propagate any writes to the secondary replica (preferably synchronously propagated in the I / O path, but asynchronous replication can also be used). The secondary replica can be updated synchronously with the primary replica and provide a seamless transition during a failover operation, where the secondary replica assumes the role of the primary replica and the previous primary replica is designated as a secondary replica or a new replacement secondary replica is configured. The computing instance can virtualize its I / O as a volume through a client. The client represents instructions that enable the computing instance to connect to a remote data volume (e.g., a data volume stored on a physically separate computing device accessed through a network) and perform I / O operations at the remote data volume. The client can be implemented on an offload card of a server that includes a processing unit (e.g., a CPU or GPU) of the computing instance.
[0039] The data plane may also include one or more object storage servers 126, which represent another type of storage device within the cloud provider network 100. The object storage server 126 includes one or more servers on which data is stored as objects within a resource called a bucket, and can be used to support the managed object storage service of the cloud provider network 100. Each object typically includes stored data, variable metadata that implements the object storage server about the various capabilities of analyzing the stored objects, and a globally unique identifier or key that can be used to retrieve the object. Each bucket is associated with a given user account. Clients can store any desired number of objects in their buckets, can write, read and delete objects in their buckets, and can control access to their buckets and objects contained therein. In addition, in an embodiment with several different object storage servers distributed across different regions in the regions described above, a user can select a region (or multiple regions) in which the bucket is stored, for example, to optimize for latency. Clients can use buckets to store multiple types of objects, including machine images that can be used to start VMs and snapshots that can be used to restore volumes.
[0040] In some embodiments, the data plane may include one or more gateway nodes 140 configured to implement aspects of the present disclosure for routing data packets from a source to a destination through the cloud provider network 100. The gateway node 140 may be implemented on a device (e.g., a router, a server, etc.) or a collection of devices separate from the storage servers and computing servers of the data plane 104. In some embodiments, the gateway node 140 may share one or more virtualized servers with the storage servers or computing servers. In some embodiments, the gateway node 140 or certain modules or components thereof may be part of the control plane, such that they are control plane components 102.
[0041] Some clients may desire to use the resources and services of the cloud provider network 100, but prefer to provision these resources and services within their own network (e.g., on the client's premises) for various reasons (e.g., latency of communication with the client device, legal compliance, security, or other reasons). A small portion of the cloud provider network—referred to herein as a "provider substructure extension" or PSE—may be provisioned within the client's network. Clients may access their PSEs through the cloud provider network 100 or their own network, and may create and manage resources in the PSE using the same APIs that they would use to create and manage resources in a cloud provider network 100 region.
[0042] The PSE may be pre-configured with an appropriate combination of hardware and software and / or firmware elements, for example, by a provider network operator, to support various types of computing-related resources, and to do so in a manner that reflects the experience of using the cloud provider network 100. For example, one or more PSE servers may be configured in the client network by a cloud provider. As described above, the cloud provider network 100 may provide a collection of predefined instance types, each of which has a different type and number of underlying hardware resources. Each instance type may also be provided in various sizes. In order to enable clients to continue to use the same instance types and sizes used in their PSEs as they do in the cloud provider network 100 region, the PSE servers may be heterogeneous servers. Heterogeneous servers may support multiple instance sizes of the same type at the same time, and may also be reconfigured to host any instance type supported by its underlying hardware resources. The reconfiguration of heterogeneous servers may be performed instantly using the available capacity of the PSE server, which means that other VMs are still running and consuming other capacity of the PSE server. This may improve the utilization of resources within the PSE by allowing better packaging of instances running on physical hosts, and also provide a seamless experience of instance usage across the cloud provider network 100 and the PSE.
[0043] In the manner described above, the PSE forms an edge location, which is that it provides resources and services of the cloud provider network outside the traditional cloud provider data center and closer to the client device. The edge location as referred to herein can be structured in several ways. In some implementations, the edge location can be an extension of the cloud provider network bottom layer, and the extension includes a limited number of capacities provided by the cloud provider but outside the traditional availability zone (for example, in a small data center of the cloud provider or in other facilities located near the client workload and far away from any availability zone). Such edge locations can be referred to as local areas (due to being more local or closer to a group of users than traditional availability zones). The local area can be connected to a publicly accessible network such as the Internet in various ways (for example, directly, through another network or through a private connection to the region). Although the local area usually has a limited capacity than the region, in some cases, the far area can have a considerable capacity, such as thousands of racks or more.
[0044] In some implementations, an edge location may be an extension of a cloud provider network substrate formed by one or more servers located on-premises in a client or partner facility, where such servers communicate with a nearby availability zone or region of the cloud provider network over a network (e.g., a publicly accessible network such as the Internet). This type of underlying extension located outside of a cloud provider network data center may be referred to as an "outpost" of the cloud provider network. Some outposts may be integrated into a communications network, for example, as a multi-edge cloud with a physical infrastructure spread across telecommunication data centers, telecommunication aggregation sites, and / or telecommunication base stations within a telecommunication network. In the on-premises example, the limited capacity of the outpost may be available only to the client that owns the on-premises (and any other accounts allowed by the client). In the telecommunication example, the limited capacity of the outpost may be shared between several applications (e.g., games, virtual reality applications, healthcare applications) that send data to users of the telecommunication network.
[0045] Edge locations may include data plane capacity that is at least partially controlled by the control plane of a nearby availability zone. Thus, an availability zone group may include a "parent" availability zone and any "child" edge locations that are subordinate to the parent availability zone (e.g., at least partially controlled by its control plane). Certain limited control plane functionality (e.g., features that require low-latency communication with customer resources and / or features that enable the edge location to continue to function when disconnected from the parent availability zone) may also exist in some edge locations. Thus, in the above examples, an edge location refers to an extension of at least data plane capacity located at the edge of a cloud provider network, close to client devices and / or workloads.
[0046] Figure 2 An example of a VPC-WAN 200 implemented at least in part using the hardware and services of a cloud provider network 100 is illustrated. The example VPC-WAN 200 covers multiple regions of the cloud provider network 100: a West region 202, a Central region 204, and an East region 206. As described herein, each region may be implemented as an autonomous system located in a different geographic location than each other region. For example, the hardware components of each region may be located in physically separate data centers in a region of the world that is geographically different than the hardware components of each of the other regions.
[0047] To facilitate cross-region communications, each region may include one or more gateway nodes. A gateway node may act as a router for forwarding packet traffic originating from within a corresponding region to another region where the packet destination may be located or may be closer to the destination from a networking perspective. A gateway node may also act as a router for forwarding packet traffic originating from outside the corresponding region (e.g., traffic originating from another region) to a destination within the region or to another region.
[0048] In the illustrated example, the western region 202 is shown as having a gateway node 140A, the central region 204 is shown as having a gateway node 140B, and the eastern region 206 is shown as having a gateway node 140C. However, the example is for illustrative purposes only and is not intended to be limiting, necessary, or exhaustive. In some embodiments, the VPC-WAN 200 may have additional, fewer, and / or alternative regions. In some embodiments, a given region may have two or more gateway nodes (e.g., one or more gateway nodes in each availability zone of the region). In some embodiments, a region may have different numbers of gateway nodes and / or AZs.
[0049] VPC-WAN 200 has been segmented into different zones: development zone 210, test zone 212, and production zone 214. Although the zones each cover the same region, they are still isolated from each other. Conventionally, because the zones cross regional boundaries and cover the same region, it would be difficult or impossible to maintain isolation of zone traffic without also using separate routers or other gateways for each zone. Advantageously, by marking packets with a zone identifier as described in more detail below and using separate routing data for each zone, a single gateway node can maintain isolation of zone-specific traffic for multiple zones within a zone, and the zone traffic can remain isolated from other traffic from other zones even if it crosses zones.
[0050] Segments may be used to isolate portions of VPC-WAN 200 from each other, and / or to facilitate ease of communication between different portions of VPC-WAN 200, even across regions. Segment construction may be particularly useful when incorporating an isolated network into a VPC-WAN. The process of incorporating an isolated network into a VPC-WAN may be referred to as "attaching" an isolated network, and the attached isolated network may be referred to as an "attachment."
[0051] The isolated network may be implemented within the cloud provider network 100 (e.g., within one or more regions), or may be implemented external to the cloud provider network 100 (e.g., at the on-premises client network 150 or the third-party network 160). For example, a client managing the VPC-WAN 200 may implement a VPC 230 within the west region 202. As another example, a second client may implement a VPC 232 within the central region 204, and may be permitted to attach the VPC 232 to a segment of the first client's VPC-WAN 200 (e.g., the development segment 210). As another example, the client may attach the on-premises network 150 via a VPN 234 (shown as attached to the development segment 210), a direct connection 236 (shown as attached to the test segment 212), and / or an SD-WAN 238 (shown as attached to the production segment 214). As another example, the second client may attach the third-party network 150 via a VPN 234, a direct connection 236, or an SD-WAN 238.
[0052] Figure 3 Example data flows and interactions between control server 112 and other components of cloud provider network 100 for provisioning a VPC-WAN, defining segments of the VPC-WAN, and attaching isolated networks to the VPC-WAN are illustrated.
[0053] At [A], the control server 112 may receive or otherwise obtain policy data 300 for configuring the VPC-WAN. The policy data 300 may include metadata describing properties of the VPC-WAN to be configured. For example, the policy data 300 may include details about the areas of the cloud provider network to be covered by the VPC-WAN, gateway node configuration information, segments to be defined within the VPC-WAN, routing behavior for the segments, and / or attachment policies that define how attachments will be mapped to the segments. In some embodiments, the policy data 300 may be obtained in a standardized format, such as a JavaScript Object Notation ("JSON") document, an Extensible Markup Language ("XML") document, YAML Not a Markup Language ("YAML") data, etc.
[0054] Table 1 below provides an example of policy data 300 represented as a JSON document. Some parts of the example document are represented by placeholders " <data>" for the value of an entire section or an individual key within a section.
[0055]
[0056]
[0057] Table 1
[0058] At [B], the control server 112 may evaluate the policy data 300 to determine the actions required to configure the VPC-WAN. Using the example policy data 300 in Table 1, the control server 112 may evaluate the "core-network-configuration" section, the "segments" section, the "segment-actions" section, the "attachment-policies" section, or some subset thereof as defined within the policy data 300 and as required to configure the VPC-WAN.
[0059] The "core-network-configuration" section may define a high-level definition of the core network (eg, the portion of the VPC-WAN that is within the cloud provider network). For example, it may specify one or more regions in which to operate and regional routing settings.
[0060] The "segments" section defines the segments to be implemented. Each segment can be implemented as a completely separate routing domain. This section can be used to provide descriptions for each segment of the VPC-WAN, change default values, provide explicit zone action filters and route filters, etc. The names defined for each segment can be used in other sections, such as the "segment-actions" section and the "attachment-policies" section. In some embodiments, default values that may be overridden and other configuration settings that may be set for a given segment include: an optional definition of "edge-locations" for a segment, in the event that the segment is restricted to fewer than all available edge locations (e.g., regions) defined by the "core-network-configuration" section; an optional "isolate-attachments" setting that specifies whether attachments on the same segment can communicate with each other (e.g., sandbox segments, such as development segments where VPCs should be prohibited from communicating with each other); a "require-attachment-acceptance" setting that specifies whether isolated networks are automatically approved or require acceptance in order to be attached to a segment; a "deny-filter" setting that will prune routes from the listed segments after the routes have been shared, resulting in prohibiting two segments from sharing routes with each other; and / or an "allow-filter" setting that will only allow routes from the listed segments.
[0061] The "segment-actions" section can define routing behavior between segments. In some embodiments, attachments can communicate only with other attachments in the same segment by default, thereby ensuring complete isolation of the segments. The "segment-actions" section can be used to create connectivity. In some embodiments, segment actions can include a "share" action that enables attachments from two different segments to contact each other. For example, if a segment is set to "isolate-attachments" (for example, in the "segments" section described above), the attachment may not be able to communicate with any other attachment on the same segment or with any other segment through the segment (by default, segments are isolated from each other). The "share" action creates routes between attachments in the segments listed for the action. This can be used, for example, to set up a shared resource segment that can be reached from one or more other segments. In some embodiments, segment actions can include a "create-route" action for creating static routes in a segment.
[0062] The "attachment-policies" section can be used to define how attachments are mapped to segments. For example, an isolated network can be attached to a segment by specifying the specificity of the isolated network (such as an identifier). This process can be used to manually manage attachments. In some embodiments, instead of manually associating a segment with each attachment, the attachment can be tagged with a defined tag to associate the attachment with the corresponding segment. The "attachment-policies" section may include one or more rules, each of which may include one or more conditions for automatically determining when to take an action related to attaching a specific isolated network to a specific segment. Some types of conditions may include "type", "operator", "value" and / or "key" for evaluating the rule. For example, a rule may be a string matching rule that specifies that any attachment with a tag (e.g., "environment") with a specific key that satisfies a conditional operator (e.g., "equals" and "production") on a value will be automatically attached to the corresponding segment (e.g., a "production" segment). Additional examples of actions may include whether acceptance from a selected entity (e.g., an administrator of the VPC-WAN) is required for attachment.
[0063] The example policies, rules, and actions shown in Table 1 and described herein are illustrative only and are not intended to be limiting, required, or exhaustive. In some embodiments, additional and / or alternative policies, rules, and actions may be implemented.
[0064] At [C], the control server 112 may configure the VPC-WAN based on the evaluation policy data 300. To configure the VPC-WAN, the control server 112 may allocate one or more gateway nodes in each region covered by the VPC-WAN. Within individual regions, the control server 112 may generate region-specific segment identifiers for use by gateway nodes to distinguish packets in various segments that may cover the respective regions. For example, within region 202, there are three segments 210, 212, and 214. A separate segment identifier may be generated for each of the segments, and the gateway node 140A may be configured with separate routing data (e.g., a separate routing table) for each of the segment identifiers. In some embodiments, multiple gateway nodes 140 may be configured in this manner, such as when a region consists of multiple AZs as described herein.
[0065] Across regions, control server 112 may implement policies within gateway nodes so that they may determine the appropriate routing data to use and therefore route packets for a particular segment. Policy-based routing may rely on metadata within a packet header that indicates a segment identifier for the segment from which that packet was sent, as described in more detail below. Additional policies may be implemented based on policy data 300, such as applying routing filters (e.g., based on deny-filter and / or allow-filter data), static route sharing, etc.
[0066] In some embodiments, the policy data 300 may specify a specific isolated network to be attached to a specific segment, as an alternative to - or in addition to - a dynamic tag-based attachment that will be evaluated later. Based on such assignments, the control server 112 may configure the attachment (e.g., by adding routes to the segment routing table, configuring security settings, etc.).
[0067] Once the VPC-WAN has been configured using policy data 300, clients can begin attaching isolated networks to segments and transferring data across the networks. Illustratively, data can originate from within or outside the cloud provider network and / or can be directed to a destination located within or outside the cloud provider network. For example, a premises network 150 can transfer data to a different premises network 150 or to an in-cloud VPC 230, or vice versa, via the VPC-WAN.
[0068] At [D], the control server 112 may receive attachment data 302 regarding an attachment operation to be performed. In some embodiments, a user affiliated with a client or a third-party entity (e.g., an administrator) may initiate the attachment of an isolated network to the VPC-WAN through an application programming interface ("API"), a graphical user interface ("GUI"), or through some other interface. For example, the client may configure the VPC 232 and add a tag to the VPC 232 such that an attachment policy of the policy data 300 is triggered.
[0069] At [E], control server 112 may evaluate data related to the attach operation to be performed (e.g., data identifying the isolated network, tags associated with the isolated network, etc.) with respect to policy data 300 to determine how the attach is to be configured. Control server 112 may then configure the attach at [F]. For example, routing data for the attach may be added to a segment-specific routing table of gateway node 140A.
[0070] Figure 4 is a flow diagram of an example routine 400 that the control server 112 may perform to manage the attachment of an isolated network to a segment of a VPC-WAN according to some embodiments. Advantageously, the routine 400 utilizes tags associated with isolated networks and segments in order to provide dynamic attachment that can change when the underlying attachment policy changes (e.g., when there is a change in the attachment rules) and / or when the tags associated with the isolated network change.
[0071] The routine 400 begins at block 402. In some embodiments, the routine 400 may begin in response to an event, such as initiating an operation of the control server 112, receiving data regarding initiating an attachment, or in response to some other event.
[0072] At block 404, the control server 112 or some other module or component may evaluate attachment metadata associated with the attachment operation. The attachment metadata may be associated with the isolated network to be attached to the VPC-WAN. For example, the attachment metadata may include a unique identifier of the isolated network, a tag, other data, or some combination thereof.
[0073] At block 406, control server 112 or some other module or component may identify the segment to which the isolated network is to be attached based on tag data associated with the isolated network. For example, control server 112 may evaluate policy data 300 and identify attachment rules that tag data and / or other attachment metadata satisfy.
[0074] At decision block 408, the control server 112 or some other module or component may determine whether the attachment needs to be accepted before the attachment is completed. In some embodiments, the determination may be based on segment metadata specified by the policy data 300. For example, in the policy data shown in Table 1, the segment named "dev" is associated with the attribute "'require-attachment-acceptance':false". In this case, if the attachment that is the subject of the current iteration of the routine 400 is to be made with respect to the development segment 210, then acceptance may not be required and the routine 400 may proceed to block 414. Otherwise, if acceptance is required, the routine 400 may proceed to decision block 410, where an entity (e.g., an administrator) that manages the client of the VPC-WAN is prompted to accept the attachment.
[0075] At block 414, the control server 112 or some other module or component may configure an attachment to the associated segment based on the policy data 300. Providing the attachment may involve incorporating a route to a destination within the isolated network into the routing data associated with the segment.
[0076] At decision block 416, the control server 112 or some other module or component may determine whether the tag association of the isolated network has changed. For example, a user may reconfigure the isolated network or otherwise change the tag with which the isolated network is associated. Such a configuration change may affect the attachment of the isolated network, such as by changing the segment to which the isolated network is attached or changing the properties of the connection itself. If the tag has changed, the routine 400 may return to block 404. Otherwise, if the tag has not changed, the routine 400 may terminate.
[0077] Returning to block 404, the control server 112 may evaluate the attachment metadata, and at block 406, the control server may identify the segment based on the tag data associated with the attachment. At decision block 408, the control server 112 may determine whether an acceptance is required for the changed attachment configuration, and at decision block 410, the control server may determine whether acceptance data has been received indicating that the attachment has been accepted. In some embodiments, if the attachment has not been accepted, the routine 400 may proceed to block 412, where the isolated network remains attached to its current segment, rather than being detached and effectively removed from the VPC-WAN.
[0078] Figure 5 Another example VPC-WAN 500 implemented at least in part using hardware and services of a cloud provider network is illustrated. VPC-WAN 500 is implemented as a "global" WAN that covers multiple regions of a cloud provider network 100 and uses the cloud provider network 100 infrastructure to transfer data between customer premises networks 150 and / or third-party networks 160 without having to use other computing or storage resources of the cloud provider network 100. For example, this VPC-WAN may not have connectivity to any VPC hosted within the cloud provider network 100. Instead, it uses the cloud provider network 100 as a transport between customer premises networks 150 and for Internet access.
[0079] Example VPC-WAN 500 covers multiple regions of cloud provider network 100: first region 502, second region 504, third region 506, and fourth region 508. The regions may correspond to different geographic areas, such as different neighborhoods, cities, counties, states, provinces, countries, and / or continents. In addition, VPC-WAN 500 includes four segments: sales segment 510, engineering segment 512, Internet of Things ("IoT") segment 514, and Internet segment 516.
[0080] There are several isolated networks attached to the segments of VPC-WAN 500, including: VPN 530 and VPN 532 attached to sales segment 510 and providing tunnels to / from different customer premises networks; SD-WAN 534 attached to engineering segment 512 and IoT segment 514 and providing access to one or more customer premises networks; and VPN 536 attached to IoT segment 514 and providing access to one or more customer premises networks. Table 2 below includes an example of policy data that can be used to define and implement a VPC-WAN such as VPC-WAN 500.
[0081]
[0082]
[0083] Table 2
[0084] In this example, due to the first "share" action that results in shared routing between the segments, computing resources in the on-premises network mapped to VPN 530 or 532 and attached to the sales segment 510 are granted access to the Internet. IoT segment 514 is under security review, so attachments within IoT segment 514 cannot contact each other (e.g., SD-WAN 534 cannot communicate with VPN 536 through IoT segment 514). However, SD-WAN 534 may have been deployed to the on-premises engineering network and parts of the on-premises IoT network. Engineers may need direct access to the on-premises IoT network, which is achieved using a mix of VPN 536 and SD-WAN 534 in this example. In some cases, SD-WAN 534 will take direct routing between on-premises sites. In other cases, such as when traffic will cross the on-premises engineering network and the on-premises IoT network, SD-WAN 534 may use VPC-WAN 500 as a transport.
[0085] To reduce the workload, the policy data uses the "Assign-to" tag to define which segment a new attachment should be mapped to. For example, any time an attachment includes the tag "Assign-to:sales", the attachment will automatically be mapped to the sales segment 510. Because no value is provided for the "require-attachment-acceptance" attribute, the default value will be used, requiring all attachments to be approved.
[0086] Figure 6 An example user interface 600 that can be used to present a graphical view of a VPC-WAN is illustrated. In some embodiments, the user interface 600 can be generated as markup language instructions or graphics of network resources, such as Hypertext Markup Language ("HTML") of a web page.
[0087] As shown, the VPC-WAN can be presented as a diagram, where display objects (such as nodes 610, 612, 614, and 616) represent respective segments of the VPC-WAN. Attachments are illustrated using display objects (such as node groups 620 and 622 for segment nodes 610 and 614, respectively).
[0088] Paths between segments are illustrated by edges 630 and 632, indicating that the segment represented by node 614 has available paths to and / or from the segments represented by nodes 610 and / or 612. For example, the segment represented by node 614 may be used to provide shared services to other segments. Node 616 does not have an edge to another node representing another segment, thereby indicating that there is no shared path between the segment represented by node 616 and any other segment.
[0089] In some embodiments, a user can apply one or more filters to the user interface 600. For example, the filter control 602 can allow selection of various filters, such as filtering by specific content regarding source and / or destination attachments, sections, and the like.
[0090] Figure 7 Example data flows and interactions between gateway nodes for routing packets within a segment and across regions according to some embodiments are illustrated.
[0091] As shown, compute node 700 may be located within an isolated network, such as VPC 230, within a region, such as west region 202, and attached to a segment, such as development segment 210. Compute node 700 may initiate transmission of packet 710 to a destination within development segment 210 but outside west region 202.
[0092] In some embodiments, a packet 710 transmitted by a computing node 700 to a gateway node 140A within a region 202 may include metadata indicating the segment within which the packet is being communicated or metadata from which the segment may be determined. For example, to facilitate intra-segment cross-region routing of a packet 710, a computing node 700 or a component thereof (e.g., a VM or hypervisor) may include a segment identifier 732 in routing metadata 720 of the packet 710. As another example, the packet 710 may include metadata items in addition to the segment identifier, and a policy that maps the metadata items to a particular segment and / or a routing table for routing the packet 710 may be implemented in the gateway node 140A.
[0093] In some embodiments, routing metadata 720 may be a packet header, or included in a packet header. For example, some conventional layer 3 networks use a packet header that includes a 5-tuple of routing metadata: source address, source port, destination address, destination port, and protocol. Routing metadata 720 may be enhanced with an additional metadata item: segment identifier. Thus, a packet header for packet 710 may include a 6-tuple of routing metadata 720: source address 722, source port 724, destination address 726, destination portion 728, protocol 730, and segment identifier 732.
[0094] The packet 710 may be received by a gateway node 140A of the region where the packet originates (or where the packet initially enters the cloud provider network 100). The gateway node 140A may maintain multiple routing tables so that routing data for certain segments may be maintained and used separately from routing data for other segments. For example, if the gateway node 140A is configured to route packets for two segments, the gateway node 140A may maintain at least a first routing table 750A for the first segment and at least a second routing table 750B for the second segment. Different routing tables for different segments may include different segment-specific routing data and may therefore be different from each other. For example, a route specific to the first segment may not be included in the routing table 750B for the second segment (unless the segments are configured to share routes across segments, as described elsewhere herein).
[0095] The gateway node 140A may be configured to evaluate the routing metadata 720 in the packet 710, and determine the routing table to be used for routing the packet. For example, the policy may specify that the gateway node 140A will determine which routing table to use based on the source and / or destination of the packet, and obtain routing data from the determined routing table. In the illustrated example, the gateway node 140A may select the route of the gateway node 140B in different areas (central area 204) from the routing table 750A. In some embodiments, the routing table 750A may include or be associated with the segment identifier of the segment. The gateway node 140A may include a segment identifier in the routing metadata 720, and the segment identifier is shown as the segment identifier 732 in the illustrated example.
[0096] In some embodiments, the packet 710, when received by the gateway node 140A, may have included metadata representing the segment identifier 732, even when received from a source within or attached to the region in which the gateway node 140A is operating. The gateway node 140A may be configured to evaluate the routing metadata 720 in the packet 710, determine the segment identifier 732 included in the routing metadata, and select a routing table 750A or other routing data set to be used to route the packet in the segment with which the segment identifier 732 is associated. In the illustrated example, the gateway node 140A may select a route to a gateway node 140B in a different region (the central region 204).
[0097] The gateway node 140B may be configured to evaluate the routing metadata 720 in the packet 710 and determine a segment identifier 732 included in the routing metadata. Based on the routing policy that the gateway node 140B is configured to apply, the gateway node 140B may select a routing table 760A to use based on the segment identifier 732. In the illustrated example, the gateway node 140B may select a route to a node in a customer premises network accessible via the VPN 234.
[0098] In some embodiments, the segment identifier 732 included in the packet header routing metadata 720 can be a region-specific segment identifier. For example, the cross-region segment 210 can be composed of a set of region-specific segments. Each region-specific segment can have its own segment identifier. By applying routing policies at gateway nodes 140A and 140B, individual region-specific segments can form the basis of cross-region segments and can be completely transparent to users in some cases. In these embodiments, a gateway node receiving a packet from a different region can modify the routing metadata to include the segment identifier of the corresponding region-specific segment in the region of the gateway node. For example, the gateway node 140B can replace the routing metadata in the original header of the packet 710 by including its own region-specific segment identifier as the segment identifier 740.
[0099] Although the illustrated examples include different routing tables for different segments, the examples are illustrative only and are not intended to be limiting. In some embodiments, all routing data used by a given gateway node 140 may be maintained in a single routing table, and routes may be marked with segment identifiers of the segments for which they can be used. In some embodiments, the VPC-WAN may include only a single segment. In such cases, each of the one or more routing tables maintained by the gateway node 140 may be used for a single segment. Optionally, the segment identifier for a single segment may still be included in the routing metadata 720. In this way, the infrastructure and processing of multiple segments may be extended for use in situations where only a single segment is used.
[0100] Routing data may be exchanged between gateway nodes in different regions. For example, a path that includes more than one gateway node may be needed to pass traffic between isolated networks, such as in scenarios where traffic must be transmitted across continental borders, national borders, state borders, or regional borders. For such traffic, pairs of gateway nodes may be programmatically associated with each other. This association may be referred to as a "peer attachment" or more simply as a "peer," and the associated gateway nodes may be referred to as "peers" of each other. In order to enable cross-region routing of traffic associated with a particular segment, routing data may be associated with an identifier of the segment from the source region so that other regions may be configured to associate traffic from that source region with the correct routing table.
[0101] Figure 8 An example is illustrated in which dynamic routing involving the use of an exchange protocol, such as the Border Gateway Protocol ("BGP"), to exchange routing data may be implemented for a pair of peer gateway nodes. A pair of gateway nodes 140A and 140B may be configured or established, for example, in response to a programmatic request by one or more clients of a cloud provider network. Illustratively, gateway node 140A may be established in a first geographic region 800 of cloud provider network 100, and gateway node 140B may be established in a different geographic region 802 of cloud provider network 100.
[0102] Gateway nodes 140A and 140B may programmatically peer with each other and with one or more isolated networks in response to a programmatic attachment request (e.g., submitted by a client on whose behalf the gateway node and the isolated network are configured). A given attachment utilizing a gateway node may be a peer attachment associating two gateway nodes, or may belong to one of several isolated network attachment categories, such as: a direct connect attachment, in which an isolated network at a client's premises is connected to a cloud provider network via a dedicated physical link and is associated with a gateway node; a VPN attachment, in which an isolated network at a client's premises is connected to a cloud provider network via one or more VPN tunnels and is associated with a gateway node; an SD-WAN attachment, in which a client's premises SD-WAN appliance is connected to a cloud provider network and is associated with a gateway node; an isolated virtual network attachment, in which an isolated virtual network of a virtualized computing service (e.g., a VPC) is associated with a gateway node; etc.
[0103] exist Figure 8 In the illustrated example, both isolated network 810 (e.g., a VPC hosted within region 800 of cloud provider network 100) and isolated network 812 (e.g., a client-premises network accessed using a VPN tunnel) can be programmatically attached to gateway node 140A. In addition, both isolated network 820 (e.g., a separate VPC hosted within region 802 of cloud provider network 100) and isolated network 822 (a direct connection to a client-premises network) can be programmatically attached to gateway node 140B. Peer attachments can be established between gateway nodes 140A and 140B. Illustratively, each of these five attachments can be established in response to one or more programmatic requests from a client.
[0104] Dynamic routing data (e.g., according to a version or variant of BGP) may be exchanged between gateways 140A and 140B. In scenarios where multiple paths are available for transmitting data packets between isolated networks, the routing data may enable a better path to be dynamically selected for application data packets at a virtual router. This type of routing may be referred to as dynamic routing. In some embodiments, where dynamic routing is implemented, any of several different factors may be considered at a virtual router when selecting a next hop or path for a packet, such as bandwidth availability, latency, historical congestion patterns, and / or agreements with intermediary or transit network providers.
[0105] In addition to enabling the transfer of dynamic routing data, in at least some embodiments, the client may (e.g., through an API, GUI, policy data document, etc.) provide a set of one or more dynamic routing protocol configuration settings for transfer. Such settings may indicate various preferences of the client regarding various aspects of routing data transfer. One such setting may, for example, include filtering rules to be used to determine whether a route to a particular destination will be transferred from one gateway node to another gateway node. Another setting may indicate the corresponding priority to be assigned to individual attributes in a plurality of routing-related attributes to select the next hop to the destination, such as: (a) a local preference attribute, (b) a local prefix origin attribute, (c) an autonomous system path length attribute, (d) a multi-exit discriminator attribute, or (e) a router identifier attribute. The local preference may indicate the corresponding preference that the gateway node will use for different available paths, using, for example, a numerical value propagated in a routing update from a BGP neighbor of the gateway node in the same autonomous region. The client may use the local preference to influence the preferred exit point among multiple exit points of the autonomous system. In one embodiment, the route with the highest local preference (among the available alternative routes) may be selected by the gateway node for the packet. In some embodiments, the local prefix origin attribute may be used at the gateway node to prefer paths in isolated virtual networks directly attached to the gateway node when alternative paths involving other gateway nodes are also available. In embodiments where the AS path length attribute is used, the gateway node may select the path with the shortest AS path length (among the available alternative paths). In some embodiments, a multi-exit discriminator ("MED") may be obtained at the gateway node from BGP neighbors in different ASs, and when alternative paths with different MEDs are available, the gateway mode may select the path with the lowest MED. In some embodiments, a digital router identifier may be assigned to each gateway node and to client-owned hardware routers, SD-WAN appliances, etc.; among the alternative paths involving the delivery of the corresponding router, if in one embodiment, none of the other attributes considered result in a preference, the path of the router with the lowest router identifier may be selected. In some embodiments, the client-specified settings may indicate a specific variant and / or version of BGP to be used (e.g., iBGP, eBGP, MP-BGP, etc.) and / or a classless inter-domain routing ("CIDR") block from which addresses are to be assigned to the BGP processing engine associated with the gateway node. In some embodiments, other parameters governing the delivery of routing data may be specified by the client (eg, via an API, GUI, policy data document, etc.).
[0106] In some embodiments, to enable dynamic routing data delivery, a BGP processing engine may be established or instantiated for each of the corresponding gateway nodes. In the depicted embodiment, one or more BGP sessions may be initiated between the two processing engines to exchange dynamic routing data, which enables network packets to be forwarded by each of the gateway nodes through the other gateway node to the isolated network. The delivery of routing data from one BGP processing engine to another BGP processing engine with respect to various sets of destination endpoints may be referred to as "advertising" routing data.
[0107] Gateway nodes 140A and 140B may each maintain at least one routing table associated with the peer attachment between the gateway nodes. In some embodiments, each gateway node may maintain at least one routing table for each segment spanning the peer attachment (e.g., a segment spanning both geographic regions 800 and 802). For example, a first segment may span region 800 and region 802, and may include four isolated network attachments: isolated networks 810 and 812 in region 800, and isolated networks 820 and 822 in region 802. A second segment may also span regions 800 and 802, and may include different isolated network attachments (not shown).
[0108] In order to facilitate policy-based routing that maintains the desired degree of isolation between the segments, the gateway node 140A may maintain at least one routing table for the first segment—routing table 830—and at least one separate routing table for the second segment—routing table 832 (shown in dashed lines). Similarly, the gateway node 140B may maintain at least one routing table for the first segment—routing table 840—and at least one separate routing table for the second segment—routing table 842 (shown in dashed lines). The entries in a given routing table may indicate the next hop for each group of destination endpoints, referred to as a destination prefix. In some embodiments, individual routing data items may be specified in CIDR format.
[0109] With reference to a specific illustrative example, isolated network 810 includes a first set of network endpoints, where IP version 4 ("IPv4") addresses are within the range ABCD / 16 (expressed in CIDR notation). Isolated network 812 includes a second network endpoint, where the IPv4 address is within the range AFCD / 16. Isolated network 820 includes a third set of network endpoints, where the IPv4 address is within the range AGCD / 16. Isolated network 822 includes a fourth set of network endpoints, where the IPv4 address is within the range KLMN / 16. In order to enable traffic to flow through peer attachments between gateway nodes, gateway node 140A (or a component thereof, such as a BGP processing engine) transmits announcements of ADCD / 16 and AFCD / 16 to gateway node 140B (or a component thereof, such as a BGP processing engine). In the depicted embodiment, gateway node 140B transmits announcements of AGCD / 16 and KLMN / 16 to gateway node 140A. Thus, routing table 830 is populated with an entry showing gateway node 140B as a next hop or destination prefix for destinations within the range of AGCD / 16 and another entry showing gateway node 140B as a next hop for destinations within the range of KLMN / 16. Routing table 840 is populated with an entry indicating gateway node 140A as the next hop based on the advertisements of ABCD / 16 and AFCD / 16 received from gateway node 140A.
[0110] As shown, routing tables 830 and 840 also include next hop entries for isolated networks directly attached to corresponding gateway nodes. In some embodiments, some or all of isolated networks 810, 812, 820, 822 may include their own gateway nodes and / or BGP processing engines. For example, the announcement of an endpoint in isolated network 822 may be transmitted to gateway node 140B from another BGP processing engine configured within isolated network 822.
[0111] Referring to one specific non-limiting example, when the first segment is provisioned (e.g., based on policy data as described in more detail above), a routing table 830 may be established in gateway node 140A. Routing table 830 may be tagged with a region-specific segment identifier for the first segment in region 800. Routes for any isolated networks 810 and 812 attached to the first segment in region 800 may be added to routing table 830, and routing table 830 may be announced. The announcement of routing table 830 tagged with the region-specific segment identifier for the first segment in region 800 may trigger the establishment of a policy within gateway node 140A to use routing table 830 to route any packets that include the region-specific identifier for the first segment in region 800 in routing metadata. Similarly, routing table 840 may be established in gateway node 140B, tagged with the region-specific segment identifier for the first segment in region 802. Routes for isolated networks 820 and 822 attached to the segments in region 802 may be added, routing table 840 may be announced, and a policy may be established within gateway 140B to use routing table 840 to route packets that include a region-specific identifier for the first segment in region 802 in the routing metadata.
[0112] When the routes from routing table 830 are advertised to other gateway nodes (including gateway node 140B) of the segment, the other gateway nodes may determine the routing table corresponding to the segment marked with the advertised routing data, and add those routes to the routing table as appropriate. For example, gateway node 140B may determine that the segment marked with the advertised routing data is the first segment for which routing table 840 is maintained. Gateway node 140B may add the advertised routes to routing table 840 as appropriate (e.g., based on a selection algorithm), and may also establish a policy within gateway node 140B to use routing table 840 to route any packets received from gateway 140A that include a region-specific identifier for the first segment in region 800 in the routing metadata.
[0113] Dynamic routing data (e.g., BGP advertisements) passed between gateway nodes may be used to pass network packets from one isolated network to another isolated network. For example, if a packet originating in isolated network 810 is directed to an address within the range of isolated network 822, the packet may include routing metadata indicating a segment identifier of a first segment including isolated network 810. Gateway node 140A may determine to use routing table 830 instead of routing table 832 to route the packet based on the segment identifier, and may transmit the packet to gateway node 140B. Gateway node 140B may determine to use routing table 840 instead of routing table 842 to route the packet based on the segment identifier, and may forward the packet to isolated network 822.
[0114] In the illustrated example, the third region—region 804 having gateway node 140C—is also part of the first segment. Therefore, gateway nodes 140A and 140B may advertise routes for the first segment to gateway node 140C, and gateway node 140C may advertise routes for the first segment to gateway nodes 140A and 140B. This implementation may be referred to as a "full-mesh" approach.
[0115] In some embodiments, a gateway node in one region may not necessarily advertise every route in its routing table for the region to gateway nodes in other regions. Instead, some routes may be maintained as "local only" or "community" routes. For example, some routes may be marked with metadata or otherwise indicated as local routes based on a request from an administrator of the network (e.g., via an API), based on rules in policy data used to configure a segment, or based on some other data. When a gateway node is ready to advertise routing data, local routes may be filtered out. However, the routes may be used within the region to route data to / from various endpoints. In some embodiments, an entire isolated network (e.g., VPN, VPC, etc.) may be considered a "local only" or "community" attachment to a segment. For example, an administrator of the network may define a segment as a local region segment through rules in an API and / or policy data. Therefore, all routes to endpoints in the attachment may be marked with metadata indicating that they are local routes.
[0116] Although only four isolated networks and three regions are shown, and each region is shown as having one gateway node, the examples are merely illustrative and are not intended to be limiting, required, or exhaustive. In some embodiments, additional or fewer isolated networks, regions, segments, and / or gateway nodes may be used.
[0117] Fig. 9 900 is a flow chart of an example routine 900 that a gateway node 140 may perform to manage the selection of a path and the generation of routing data according to some embodiments. Advantageously, the routine 900 utilizes optimization data (including dynamic metrics) to select the best path to a destination in a more dynamic and optimized manner than using conventional methods (such as the BGP best path selection algorithm) alone. For example, because cloud network providers use multiple paths between regions (up to and including the entire network between regions) to provide cross-regional networks, there are multiple possible paths between any two regions, and conventional metrics may not be necessary to select the best path from a latency and / or cost perspective. By combining metrics such as the number of hops, the physical distance between each hop, the network latency between each hop, the packet loss between each hop, the jitter between each hop, the link utilization between each hop, etc., the selected path may perform better than otherwise.
[0118] The routine 900 begins at block 902. In some embodiments, the routine 900 may begin in response to an event, such as establishment of a dynamically routed data exchange session at a gateway node 140.
[0119] At block 904, a gateway node 140 (or some other module or component) may obtain routing data. The routing data may be provided by one or more sources, such as a client (e.g., a client managing a VPC-WAN and / or a segment thereof), one or more other gateway nodes, some other source of routing data, or any combination thereof. Illustratively, at least a portion of the routing data may be received in conjunction with an advertisement by another gateway node 140 (e.g., a gateway node in a different region than the region in which the gateway node performing the current iteration of routing 900 is located).
[0120] At box 906, the gateway node 140 (or some other module or component) may obtain optimization data. In some embodiments, the optimization data may include: the number of jumps associated with the path, the physical distance between each jump associated with the path, the network delay between each jump associated with the path, the degree of packet loss between each jump associated with the path, the degree of jitter between each jump associated with the path, the degree of link utilization between each jump associated with the path, other optimization data, or any combination thereof. The optimization data may be obtained from one or more sources, any one, all, or none of which may be located outside the gateway node 140 of the current iteration of the execution routine 900. For example, the physical distance between each jump may be determined and maintained by a separate management system and provided to the gateway node as optimization data for path selection. As another example, the degree of delay, packet loss, or jitter between two jumps may be determined by the device participating in the jump (e.g., including the gateway node 140), and may be reported to the source, destination, router, or management system.
[0121] At box 908, the gateway node 140 (or some other module or component) can use the optimization data to select the best path to each destination from among multiple available paths to each destination. In some embodiments, using the optimization data to select the best path can be performed using a modified version of the BGP best path selection algorithm, or can be performed using a custom algorithm. For example, certain attributes evaluated during the BGP best path selection algorithm (e.g., weight, local preference, local prefix origin, AS path length, MED, router identifier) can be preceded by, preceded by, or replaced by one or more metrics or other attributes of the optimization data (e.g., number of hops, physical distance between each hop, network delay between each hop, packet loss between each hop, jitter between each hop, link utilization between each hop, etc.).
[0122] At box 910, the gateway node 140 (or some other module or component) may signal the selected path to other gateway nodes 140, or otherwise exchange routing data with other gateway nodes 140 (e.g., as part of a dynamic routing data exchange session). By signaling the selected path to other gateway nodes 140, the best path selection process is performed in a distributed manner. For example, each gateway node may obtain optimization data, perform the best path selection locally, and notify all other peers. The entire VPC-WAN can use this distributed routing system to find the best path. Due to the distributed nature of this system, it can be highly available without any single point of failure.
[0123] In some conventional systems, cross-region traffic can be routed point-to-point through a specific pair of gateway nodes selected by the client. However, traffic can traverse multiple regions before reaching its destination. In addition, although some conventional systems require traffic to have at least one endpoint within the cloud provider network, the VPC-WAN 200 as described herein can have two endpoints outside the cloud provider network 100 (e.g., in different client premises networks 150, third-party networks 160, some combination thereof, etc.). In such implementations, a distributed system of gateway nodes that implements optimized best path selection can affect how client premises traffic is sent to the cloud provider network 100 and which is the best entry point for the traffic. For example, in the case of a direct connection attachment to a client premises network, traffic can be sent by direct connection by default. However, if there are multiple attachments to the client premises network, optimizing the best path selection can result in the best path from different attachments, different client premises networks, etc.
[0124] Referring to the illustrative example, there may be traffic between two different regions of the VPC-WAN, and from a networking and / or geographical perspective, the distance to route the traffic through either region to a specific destination in a third region may be approximately the same. Optimized best path selection performed using a distributed system and optimized data may select the best path under the observed network conditions. As another illustrative example, if something interrupts the connection between two regions that were originally in a full-mesh configuration, one region may no longer have a route to / through the other region, but may still have a route for each other region. Optimized best path selection performed using a distributed system and optimized data may select the best path to the best other region to use as an intermediary. As another illustrative example, there may be a heavily used section of the physical network infrastructure between the two regions that causes congestion. Optimized best path selection performed using a distributed system and optimized data may select the best path from one of the two regions through an intermediary to the other region in the two regions, rather than using a direct path.
[0125] The routine 900 may terminate at block 910 .
[0126] Fig.10 A region 1002 is illustrated having two availability zones 1020, 1022. Each availability zone may have one or more gateway nodes. For example, availability zone 1020 may include gateway node 140A, and availability zone 1022 may include gateway node 140B. To achieve redundancy, the gateway nodes in each availability zone in the region may include the same routing data.
[0127] When traffic from another region, such as region 1000, is to pass through region 1002 on the way to an endpoint in an attachment to region 1002, such as isolated network 1030, multiple communication sessions may be established: one communication session in each of availability zones 1020, 1022. The source region 1000 may use equal cost multi-path ("ECMP") routing to balance the load to isolated network 1030 across two availability zones. In addition, and separate from the load balancing aspect, multiple redundant availability zones are also used to ensure the availability of computing resources of region 1002. If one of the availability zones, such as availability zone 1020, becomes unavailable, traffic may still be able to reach isolated network 1030 through another availability zone 1022, as indicated using dashed lines.
[0128] Similarly, because gateway nodes in the regions of a particular segment exchange routing data (e.g., using the protocols described above), a complete outage in one region may not prevent traffic from being routed to destinations in the isolated network. For example, if all availability zones of region 1002 are inaccessible, traffic may be routed to a different region (such as region 1004) and / or to isolated network 1030 via any other intermediary regions, isolated networks, etc. 1006 as needed.
[0129] Fig.11 Various components of an example gateway node 140 configured to implement various functionalities described herein are illustrated.Gateway node 140 may be a physical host computing device, such as compute server 122, on which a gateway is implemented.
[0130] In some embodiments, as shown, the gateway node 140 may include: one or more computer processors 1102, such as a physical central processing unit ("CPU"); one or more network interfaces 1104, such as a network interface card ("NIC"); one or more computer-readable media drives 1106, such as a high-density disk ("HDD"), a solid-state drive ("SSD"), a flash drive, and / or other persistent, non-transitory computer-readable media; and one or more computer-readable memories 1108, such as random access memory ("RAM") and / or other volatile, non-transitory computer-readable media.
[0131] The computer readable memory 1108 may include computer program instructions executed by one or more computer processors 1102 and / or data used by one or more computer processes 1102 to implement one or more embodiments. For example, the computer readable memory 1108 may store routing instructions 1110 for routing packets based on routing metadata and data in one or more routing tables 1114. As another example, the computer readable memory 1108 includes dynamic routing data exchange instructions 1112 for exchanging routing data with other gateway nodes.
[0132] Some inventive aspects of the present disclosure are set forth in the following clauses:
[0133] Clause 1: A system comprising:
[0134] a plurality of gateway nodes, wherein individual gateway nodes of the plurality of gateway nodes are configured to route network traffic associated with corresponding region-based autonomous systems of a plurality of region-based autonomous systems of a provider network; and
[0135] A control server comprising one or more processors and executable instructions, wherein the control server is programmed to at least:
[0136] obtaining policy data for a virtual private cloud-based wide area network, wherein the policy data specifies that the virtual private cloud-based wide area network is to be implemented using at least a first region-based autonomous system and a second region-based autonomous system of the provider network;
[0137] establishing a first segment of the virtual private cloud-based wide area network using at least a first gateway node in the first region-based autonomous system and a second gateway node in the second region-based autonomous system, wherein at least one routing policy for the first segment is established based on the policy data, wherein at least a first portion of traffic in the first segment is to be isolated from at least a second portion of traffic in a second segment of the virtual private cloud-based wide area network, and wherein both the first portion of traffic and the second portion of traffic traverse the first region-based autonomous system and the second region-based autonomous system;
[0138] determining, based on a tag associated with a first isolated network of the provider network, to enable communication between the first isolated network and a second isolated network through the first segment, wherein the policy data specifies that an isolated network associated with the tag will be able to communicate through the first segment, and wherein the first isolated network comprises one of: a virtual private cloud, a virtual private network, a software defined wide area network, or a direct connection to a customer premises network; and
[0139] Communication between the first isolated network and the second isolated network is achieved through the first segment.
[0140] Clause 2: A system as described in clause 1, wherein the routing policy of the first segment involves at least one of: preventing communication between isolated networks of the first segment, restricting the first segment to a subset of the multiple area-based autonomous systems, or applying a filter to routes of the provider network that are accessible from within the first segment.
[0141] Clause 3: The system of clause 1, wherein the control server is further programmed to at least:
[0142] determining, based on the policy data, that enabling communication of the first isolated virtual network through the first segment requires acceptance by an administrator of the virtual private cloud-based wide area network; and
[0143] Acceptance data is received indicating acceptance by the administrator, wherein the control server determines to enable communication of the first isolated virtual network through the first segment in response to receiving the approval data.
[0144] Clause 4: A system as described in Clause 1, wherein the first gateway node is configured to use a first routing table associated with the first segment to route packets associated with the first segment, and wherein the first gateway node is configured to use a second routing table different from the first routing table to route packets associated with the second segment.
[0145] Clause 5: A computer-implemented method comprising:
[0146] Under the control of a computing system of a cloud provider network, the computing system comprising a memory and one or more computer processors configured to execute specific instructions:
[0147] obtaining policy data associated with a private network implemented at least in part within the cloud provider network;
[0148] establishing a first segment within the private network using at least a first gateway node in a first geographic region of a plurality of geographic regions of the cloud provider network based on the policy data, wherein at least a first portion of traffic associated with the first segment is isolated from at least a second portion of traffic associated with a second segment of the private network;
[0149] obtaining attachment metadata indicating that an isolated network of the cloud provider network is associated with the first segment; and
[0150] The isolated network is enabled to communicate through the first segment, wherein the policy data specifies that the isolated network associated with the attachment metadata is to be enabled to communicate through the first segment.
[0151] Clause 6: A computer-implemented method as described in Clause 5, wherein establishing the first segment includes configuring a second gateway node in a second geographic area of the multiple geographic areas based on the policy data to isolate at least a third portion of the traffic associated with the first segment from at least a fourth portion of the traffic associated with a different segment of the private network.
[0152] Clause 7: The computer-implemented method of clause 5, further comprising:
[0153] determining that the policy data indicates acceptance is required to enable the isolated network to communicate through the first segment; and
[0154] Acceptance data is received indicating approval to enable the isolated network to communicate through the first segment, wherein the isolated network enables communication through the first segment in response to receiving the acceptance data.
[0155] Clause 8: The computer-implemented method of clause 5, further comprising:
[0156] determining based on the policy data that isolated networks that enable communication through the first segment are prohibited from communicating with each other through the first segment; and
[0157] The isolated network is prevented from communicating with a second isolated network associated with the first segment.
[0158] Clause 9: The computer-implemented method of clause 8, further comprising:
[0159] enabling communications between the isolated network and a shared resource segment based on the policy data; and
[0160] Communications are enabled between the second isolated network and the shared resource section based on the policy data.
[0161] Clause 10: The computer-implemented method of Clause 5, further comprising determining, based on the policy data, a subset of the plurality of geographic areas in which the first segment is to be established, wherein the subset of the plurality of geographic areas includes less than all of the plurality of geographic areas.
[0162] Clause 11: The computer-implemented method of Clause 10, further comprising: determining, based on the policy data, a second subset of the plurality of geographic regions in which the second segment is to be established, wherein the second subset of the plurality of geographic regions is different than the subset of the plurality of geographic regions.
[0163] Clause 12: The computer-implemented method of Clause 5, further comprising: determining, based on the policy data, to deny sharing of routes from the second segment with the first segment.
[0164] Clause 13: The computer-implemented method of Clause 5, further comprising: determining, based on the policy data, to permit sharing of routes from the second segment with the first segment.
[0165] Clause 14: The computer-implemented method of clause 8, further comprising: generating a graphical user interface, the graphical user interface comprising:
[0166] a first display object representing the first section;
[0167] a second display object representing the second section;
[0168] a third display object representing an attachment of the isolated network to the first section; and
[0169] A fourth display object represents a path shared between the first section and the second section.
[0170] Clause 15: A system comprising:
[0171] a computer-readable memory storing executable instructions; and
[0172] one or more processors in communication with the computer-readable memory and programmed with the executable instructions to at least:
[0173] obtaining policy data associated with a private network implemented at least in part within a cloud provider network;
[0174] establishing a first segment within the private network based on the policy data using at least a first gateway node in a first geographic region and a second gateway node in a second geographic region of a plurality of geographic regions of the cloud provider network, wherein at least a first portion of traffic associated with the first segment is to be isolated from at least a second portion of traffic associated with a second segment of the private network;
[0175] obtaining data indicating that an isolated network of the cloud provider network is associated with a tag; and
[0176] The isolated network is enabled to communicate through the first segment, wherein the policy data specifies that the isolated network associated with the tag is to be enabled to communicate through the first segment.
[0177] Clause 16: The system of clause 15, wherein the one or more processors are programmed with further executable instructions to:
[0178] determining that the policy data indicates that acceptance is required to enable the isolated network to communicate through the first segment; and
[0179] Acceptance data is received indicating approval to enable the isolated network to communicate through the first segment, wherein the isolated network is enabled to communicate through the first segment in response to receiving the acceptance data.
[0180] Clause 17: The system of clause 15, wherein the one or more processors are programmed with further executable instructions to:
[0181] determining based on the policy data that isolated networks capable of communicating through the first segment are prohibited from communicating with each other through the first segment; and
[0182] The isolated network is prevented from communicating with a second isolated network associated with the first segment.
[0183] Clause 18: The system of clause 17, wherein the one or more processors are programmed with further executable instructions to:
[0184] enabling communication between the isolated network and the shared resource segment based on the policy data; and
[0185] Communication between the second isolated network and the shared resource segment is enabled based on the policy data.
[0186] Clause 19: The system of clause 15, wherein the one or more processors are programmed with further executable instructions to:
[0187] determining, based on the policy data, a first subset of the plurality of geographic areas in which the first segment is to be established, wherein the first subset of the plurality of geographic areas includes less than all of the plurality of geographic areas; and
[0188] A second subset of the plurality of geographic areas in which the second segment is to be established is determined based on the policy data, wherein the second subset of the plurality of geographic areas is different than the first subset of the plurality of geographic areas.
[0189] Clause 20: The system of clause 15, wherein the one or more processors are programmed with further executable instructions to: determine, based on the policy data, to deny sharing of routes from the second segment with the first segment.
[0190] Clause 21: A system comprising:
[0191] a first gateway node associated with a first geographic region of a provider network on which a virtual private cloud-based wide area network is implemented, and wherein the first gateway node is configured to use a first routing table to route traffic associated with a first segment of the virtual private cloud-based wide area network and to use a second routing table to route traffic associated with a second segment of the virtual private cloud-based wide area network; and
[0192] a second gateway node associated with a second geographic region of the provider network, wherein the second gateway node is configured to route traffic associated with the first segment using a third routing table and to route traffic associated with the second segment using a fourth routing table;
[0193] The first gateway node is further configured as follows:
[0194] sending first routing data representing at least a portion of the route identified in the first routing table to the second gateway node;
[0195] updating the first routing table based on second routing data received from the second gateway node representing at least a portion of the routes identified in the third routing table;
[0196] receiving a packet associated with routing metadata indicating at least a first source address in the first geographic area, a first destination address in the second geographic area, and an identifier for the first segment; and
[0197] routing the packet to the second gateway node using the first routing table based at least in part on the identifier of the first segment;
[0198] The second gateway node is further configured as follows:
[0199] Sending the second routing data to the first gateway node;
[0200] updating the third routing table based on the first routing data received from the first gateway node;
[0201] receiving the packet from the first gateway node; and
[0202] The packet is routed to the destination address using the third routing table based at least in part on the identifier of the first segment.
[0203] Clause 22: The system of clause 21, wherein the second gateway node is further configured to modify the routing metadata associated with the packet to generate modified routing metadata, wherein the modified routing metadata represents a second identifier associated with the first segment.
[0204] Clause 23: A system as described in Clause 21, wherein the first gateway node is further configured to select a path to the destination address from a plurality of paths to the destination address, wherein the path is selected based on at least one of: a number of hops associated with the path, a physical distance between each hop associated with the path, a network delay between each hop associated with the path, a degree of packet loss between each hop associated with the path, a degree of jitter between each hop associated with the path, or a degree of link utilization between each hop associated with the path.
[0205] Clause 24: The system as described in Clause 21 further includes: a third gateway node, the third gateway node being associated with the first geographic region, wherein the third gateway node is configured to use a fifth routing table to route traffic associated with the first segment and to use a sixth routing table to route traffic associated with the second segment, wherein the first gateway node is located in a first availability zone of the first geographic region, and wherein the third gateway node is located in a second availability zone of the first geographic region.
[0206] Clause 25: A computer-implemented method comprising:
[0207] Under control of a first gateway node associated with a first geographic region of a provider network:
[0208] receiving a packet including first routing metadata representing a destination address and a first segment identifier, wherein the first segment identifier is associated with a first segment of a plurality of segments of a private wide area network implemented on the provider network;
[0209] determining, based at least in part on the first segment identifier, to route the packet using a first routing table in a plurality of routing tables maintained by the first gateway node, wherein the first routing table is associated with the first segment, and wherein a second routing table in the plurality of routing tables is associated with a second segment in the plurality of segments; and
[0210] The packet is transmitted based at least in part on first routing data from the first routing table, wherein the first routing data is associated with the destination address.
[0211] Clause 26: The computer-implemented method of Clause 25, wherein transmitting the packet comprises transmitting the packet to a second gateway node associated with a second geographic region of the provider network.
[0212] Clause 27: The computer-implemented method of Clause 25, wherein transmitting the packet comprises transmitting the packet to a second gateway node associated with an isolated network in the first geographic area.
[0213] Clause 28: A computer-implemented method as described in Clause 25, further comprising: modifying the first routing metadata to generate second routing metadata, wherein the second routing metadata includes a second segment identifier associated with the first segment, wherein the second segment identifier is a region-specific segment identifier associated with the first geographic area.
[0214] Clause 29: The computer-implemented method of clause 25, further comprising:
[0215] receiving a second packet including second routing metadata representing a second destination address and a second segment identifier associated with the first segment;
[0216] determining, based at least in part on the second segment identifier, to route the second packet based on the first routing table; and
[0217] The second packet is transmitted based at least in part on second routing data from the first routing table, wherein the second routing data is associated with the second destination address.
[0218] Clause 30: The computer-implemented method of clause 25, further comprising:
[0219] receiving a second packet including second routing metadata representing a second destination address and a second segment identifier associated with the second segment;
[0220] determining, based at least in part on the second segment identifier, to route the second packet based on the second routing table; and
[0221] The second packet is transmitted based at least in part on second routing data from the second routing table, wherein the second routing data is associated with the second destination address.
[0222] Clause 31: The computer-implemented method of clause 25, further comprising: sending second routing data representing at least a portion of the routes identified in the first routing table to one or more other areas of the provider network, wherein the one or more other areas are associated with the first segment.
[0223] Clause 32: A computer-implemented method as described in Clause 25, further comprising: updating the first routing table based on second routing data received from a second gateway node in a second region of the provider network that represents at least a portion of the routes in a third routing table maintained by the second gateway node, wherein the third routing table is associated with the first segment.
[0224] Clause 33: A computer-implemented method as described in clause 32, wherein updating the first routing table includes selecting a path to the destination address from a plurality of paths to the destination address, wherein the path is selected based on at least one of: a number of hops associated with the path, a physical distance between each hop associated with the path, a network delay between each hop associated with the path, a degree of packet loss between each hop associated with the path, a degree of jitter between each hop associated with the path, or a degree of link utilization between each hop associated with the path.
[0225] Clause 34: A computer-implemented method as described in Clause 25, wherein transmitting the packet based at least in part on the first routing data includes transmitting the packet to a second gateway node in a first availability zone of a plurality of availability zones in a second region of the provider network, wherein a second packet is transmitted to a third gateway node in a second availability zone of the plurality of availability zones based at least in part on the second routing data.
[0226] Clause 35: A system comprising:
[0227] a computer-readable memory storing executable instructions; and
[0228] one or more processors in communication with the computer-readable memory and programmed with the executable instructions to at least:
[0229] receiving a packet including first routing metadata representing a destination address and a first segment identifier, wherein the first segment identifier is associated with a first segment of a plurality of segments of a private wide area network implemented within a shared network infrastructure;
[0230] determining, based at least in part on the first segment identifier, to route the packet using a first routing table in a plurality of routing tables maintained by the first gateway node, wherein the first routing table is associated with the first segment, and wherein a second routing table in the plurality of routing tables is associated with a second segment in the plurality of segments; and
[0231] The packet is transmitted based at least in part on first routing data from the first routing table, wherein the first routing data is associated with the destination address.
[0232] Clause 36: The system of clause 35, wherein to transmit the packet, the one or more processors are programmed with further executable instructions to transmit the packet to a second gateway node associated with a second geographic region of the provider network.
[0233] Clause 37: The system of clause 35, wherein to transmit the packet, the one or more processors are programmed with further executable instructions to transmit the packet to a second gateway node associated with an isolated virtual network in the first geographic region.
[0234] Clause 38: A system as described in clause 35, wherein the one or more processors are programmed via additional executable instructions to modify the first routing metadata to generate second routing metadata, wherein the second routing metadata includes a second segment identifier associated with the first segment, wherein the second segment identifier is a region-specific segment identifier associated with the first geographic area.
[0235] Clause 39: The system of clause 35, wherein the one or more processors are programmed with further executable instructions to:
[0236] sending second routing data representing at least a portion of the routes identified in the first routing table to one or more other areas of the provider network, wherein the one or more other areas are associated with the first segment; and
[0237] The first routing table is updated based on third routing data received from a second gateway node in a second region of the provider network that represents at least a portion of routes in a third routing table maintained by the second gateway node, wherein the third routing table is associated with the first segment.
[0238] Clause 40: A system as described in clause 39, wherein the one or more processors are programmed via additional executable instructions to select a path to the destination address from a plurality of paths to the destination address, wherein the path is selected based on at least one of: a number of hops associated with the path, a physical distance between each hop associated with the path, a network delay between each hop associated with the path, a level of packet loss between each hop associated with the path, a level of jitter between each hop associated with the path, or a level of link utilization between each hop associated with the path.
[0239] All methods and tasks described herein can be performed by a computer system and fully automated. In some cases, a computer system may include multiple different computers or computing devices (e.g., physical servers, workstations, storage arrays, cloud computing resources, etc.) that communicate and interoperate through a network to perform the functions described. Each such computing device typically includes a processor (or multiple processors) that executes program instructions or modules stored in a memory or other non-temporary computer-readable storage medium or device (e.g., solid-state storage device, disk drive, etc.). The various functions disclosed herein may be embodied in such program instructions, or may be implemented in a dedicated circuit (e.g., ASIC or FPGA) of a computer system. In the case where a computer system includes multiple computing devices, these devices may be, but need not be, in the same position. The results of the disclosed methods and tasks may be stored persistently by converting a physical storage device such as a solid-state memory chip or disk into different states. In some embodiments, the computer system may be a cloud-based computing system, and the processing resources of the cloud-based computing system are shared by multiple different business entities or other users.
[0240] Depending on the implementation, certain actions, events, or functions of any process or algorithm described herein may be performed in a different order, may be added, combined, or omitted entirely (e.g., not all described operations or events are required to practice the algorithm). In addition, in some embodiments, operations or events may be performed simultaneously rather than sequentially, such as through multithreading, interrupt handling, or multiple processors or processor cores or on other parallel architectures.
[0241] The various exemplary logic blocks, modules, routines, and algorithmic steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware or a combination of electronic hardware and computer software. In order to clearly illustrate this interchangeability, various exemplary components, blocks, modules, and steps have been generally described above in accordance with their functionality. Whether such functionality is implemented as hardware or software running on hardware depends on the specific application and design constraints imposed on the entire system. For each specific application, the described functionality can be implemented in different ways, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
[0242] In addition, the various exemplary logic blocks and modules described in conjunction with the embodiments disclosed herein may be implemented or executed by a machine designed to perform the functions described herein, such as a processor device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic component, a discrete hardware component, or any combination thereof. The processor device may be a microprocessor, but in an alternative, the processor device may be a controller, a microcontroller or a state machine, a combination thereof, or the like. The processor device may include an electronic circuit configured to process computer executable instructions. In another embodiment, the processor device includes an FPGA or other programmable device that performs logic operations without processing computer executable instructions. The processor device may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors together with a DSP core, or any other such configuration. Although this article is primarily described with respect to digital technology, the processor device may also primarily include analog components. For example, some or all of the algorithms described herein may be implemented in analog circuits or mixed analog and digital circuits. The computing environment may include any type of computer system including, but not limited to, a microprocessor-based computer system, a mainframe computer, a digital signal processor, a portable computing device, a device controller, or a computing engine within an appliance, to name a few examples.
[0243] The elements of the methods, processes, routines or algorithms described in conjunction with the embodiments disclosed herein may be directly embodied in hardware, software modules executed by a processor device, or a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of non-temporary computer-readable storage medium. An exemplary storage medium may be coupled to a processor device so that the processor device may read information from the storage medium and write information to the storage medium. In an alternative, the storage medium may be integrated with the processor device. The processor device and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor device and the storage medium may reside in a user terminal as discrete components.
[0244] Unless specifically stated otherwise, or otherwise understood within the context as used, conditional language used herein (such as, among other things, "can," "might," "could," "may," "for example," etc.) is generally intended to convey that certain embodiments include and other embodiments do not include certain features, elements, or steps. Thus, such conditional language is generally not intended to imply that one or more embodiments require features, elements, and / or steps in any way, or that one or more embodiments must include features, elements, and / or steps for determining whether to include or perform these features, elements, and / or steps in any particular embodiment with or without other input or prompting. The terms "include," "comprise," "have," and the like are synonymous and are used inclusively in an open manner and do not exclude additional elements, features, actions, operations, and the like. In addition, the term "or" is used in its inclusive sense (and not in an exclusive sense) such that when used, for example, to connect a list of elements, the term "or" means one, some, or all of the elements in the list.
[0245] Unless specifically stated otherwise, disjunctive language, such as the phrase "at least one of X, Y, or Z," is understood in context as generally used to present that an item, term, etc. can be X, Y, or 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 certain embodiments require the presence of at least one of X, at least one of Y, or at least one of Z, respectively.
[0246] Unless expressly provided otherwise, articles such as 'a' or 'an' are generally understood to include one or more of the described items. Thus, phrases such as "a device configured to..." are intended to include one or more of the recited devices. Such one or more of the described devices may also be collectively configured to perform the stated statements. For example, "a processor configured to perform statements A, B, and C" may include a first processor configured to perform statement A working in conjunction with a second processor configured to perform statements B and C.
[0247] Although the above detailed description has been shown, described and pointed out as novel features applied to various embodiments, it is understood that various omissions, substitutions and changes in the form and details of the illustrated devices or algorithms can be made without departing from the spirit of the present disclosure. As can be appreciated, certain embodiments described herein may be embodied in a form that does not provide all of the features and benefits set forth herein, because some features can be used or practiced separately from other features. The scope of certain embodiments disclosed herein is indicated by the appended claims rather than by the preceding description. All changes that fall within the meaning and scope of the equivalents of the claims will be included within the scope of the claims.< / data>
Claims
1. A system comprising: a computer readable memory storing executable instructions; as well as one or more processors in communication with the computer-readable memory and programmed with the executable instructions to at least: obtaining policy data associated with a private network implemented at least in part within a cloud provider network; establishing a first segment within the private network based on the policy data using at least a first gateway node in a first geographic region and a second gateway node in a second geographic region of a plurality of geographic regions of the cloud provider network, wherein at least a first portion of traffic associated with the first segment is to be isolated from at least a second portion of traffic associated with a second segment of the private network; obtaining data indicating that an isolated network of the cloud provider network is associated with a tag; and The isolated network is enabled to communicate through the first segment, wherein the policy data specifies that the isolated network associated with the tag is to be enabled to communicate through the first segment.
2. A system as described in claim 1, wherein, in order to establish the first segment, the one or more processors are further programmed by the executable instructions to: configure a second gateway node in a second geographic area of the multiple geographic areas based on the policy data to isolate at least a third portion of the traffic associated with the first segment from at least a fourth portion of the traffic associated with a different segment of the private network.
3. The system of claim 1, wherein the one or more processors are programmed with further executable instructions to: determining that the policy data indicates that acceptance is required to enable the isolated network to communicate through the first segment; and Acceptance data is received indicating approval to enable the isolated network to communicate through the first segment, wherein the isolated network is enabled to communicate through the first segment in response to receiving the acceptance data.
4. The system of claim 1, wherein the one or more processors are programmed with further executable instructions to: determining based on the policy data that isolated networks capable of communicating through the first segment are prohibited from communicating with each other through the first segment; and The isolated network is prevented from communicating with a second isolated network associated with the first segment.
5. The system of claim 4, wherein the one or more processors are programmed by further executable instructions to: enabling communication between the isolated network and the shared resource segment based on the policy data; and Communications between the second isolated network and the shared resource section are enabled based on the policy data.
6. The system of claim 1, wherein the one or more processors are programmed with further executable instructions to: determining, based on the policy data, a first subset of the plurality of geographic areas in which the first segment is to be established, wherein the first subset of the plurality of geographic areas includes less than all of the plurality of geographic areas; and A second subset of the plurality of geographic areas in which the second segment is to be established is determined based on the policy data, wherein the second subset of the plurality of geographic areas is different than the first subset of the plurality of geographic areas.
7. The system of claim 1, wherein the one or more processors are programmed with further executable instructions to determine, based on the policy data, to deny sharing of routes from the second segment with the first segment.
8. A computer-implemented method comprising: Under control of a first gateway node associated with a first geographic region of a provider network: receiving a packet including first routing metadata representing a destination address and a first segment identifier, wherein the first segment identifier is associated with a first segment of a plurality of segments of a private wide area network implemented on the provider network; determining, based at least in part on the first segment identifier, to route the packet using a first routing table in a plurality of routing tables maintained by the first gateway node, wherein the first routing table is associated with the first segment, and wherein a second routing table in the plurality of routing tables is associated with a second segment in the plurality of segments; as well as The packet is transmitted based at least in part on first routing data from the first routing table, wherein the first routing data is associated with the destination address.
9. The computer-implemented method of claim 8, wherein transmitting the packet comprises transmitting the packet to one of: a second gateway node associated with a second geographic region of the provider network or a second gateway node associated with an isolated virtual network in the first geographic region.
10. The computer-implemented method of claim 8, further comprising: The first routing metadata is modified to generate second routing metadata, wherein the second routing metadata includes a second segment identifier associated with the first segment, wherein the second segment identifier is a region-specific segment identifier associated with the first geographic region.
11. The computer-implemented method of claim 8, further comprising: receiving a second packet including second routing metadata representing a second destination address and a second segment identifier associated with the first segment; determining, based at least in part on the second segment identifier, to route the second packet based on the first routing table; as well as The second packet is transmitted based at least in part on second routing data from the first routing table, wherein the second routing data is associated with the second destination address.
12. The computer-implemented method of claim 8, further comprising: receiving a second packet including second routing metadata representing a second destination address and a second segment identifier associated with the second segment; determining, based at least in part on the second segment identifier, to route the second packet based on the second routing table; as well as The second packet is transmitted based at least in part on second routing data from the second routing table, wherein the second routing data is associated with the second destination address.
13. The computer-implemented method of claim 8, further comprising: Second routing data representing at least a portion of the routes identified in the first routing table is sent to one or more other areas of the provider network, wherein the one or more other areas are associated with the first zone.
14. The computer-implemented method of claim 8, further comprising: The first routing table is updated based on second routing data received from a second gateway node in a second region of the provider network that represents at least a portion of routes in a third routing table maintained by the second gateway node, wherein the third routing table is associated with the first segment.
15. A computer-implemented method as described in claim 8, wherein transmitting the packet based at least in part on the first routing data includes transmitting the packet to a second gateway node in a first availability zone of multiple availability zones in a second region of the provider network, and wherein a second packet is transmitted to a third gateway node in a second availability zone of the multiple availability zones based at least in part on the second routing data.
Citation Information
Patent Citations
Data communication method and data communication device
CN105933235A
Management system and method for tenant cluster VPC internal container, and electronic equipment
CN109617995A
Method and device for accessing virtual private cloud and computer readable storage medium
CN109787938A
Multi-cloud connectivity using srv6 and bgp
CN112470436A
Multi-tenant isolation using programmable switch
CN113261240A
Cited By
Cloud platform-oriented cross-regional telemetry data management method and system
CN121397078A
