Patent ID: 12224895

DETAILED DESCRIPTION

Techniques are described for managing communications between multiple computing nodes, such as computing nodes that are separated by one or more physical networks. In some embodiments, the techniques may be used to provide a virtual network between multiple computing nodes that are separated by one or more intermediate physical networks, such as multiple computing nodes operated by or on behalf of a single entity. Such a virtual network may be provided in various ways in various embodiments, such as from the edge of the one or more intermediate physical networks by modifying communications that enter and/or leave the intermediate physical networks so as to provide an overlay network, as discussed in greater detail below. In at least some embodiments, some or all of the described techniques are automatically performed by embodiments of a Communication Manager module.

A virtual local network or other virtual network between multiple remote computing nodes may be provided in at least some embodiments by creating an overlay network over one or more intermediate physical networks separating the multiple computing nodes. The overlay network may be implemented in various ways in various embodiments, such as without encapsulating communications by embedding virtual network address information for a virtual network in a larger physical network address space used for a networking protocol of the one or more intermediate physical networks. As one illustrative example, a virtual network may be implemented using 32-bit IPv4 (“Internet Protocol version 4”) network addresses, and those 32-bit virtual network addresses may be embedded as part of 128-bit IPv6 (“Internet Protocol version 6”) network addresses used by the one or more intermediate physical networks, such as by re-headering communication packets or other data transmissions (e.g., using Stateless IP/ICMP Translation, or SIIT), or otherwise modifying such data transmissions to translate them from a first networking protocol for which they are configured to a distinct second networking protocol. More generally, in some embodiments, an N-bit network address specified in accordance with a first network addressing protocol may be embedded as part of another M-bit network address specified in accordance with a second network addressing protocol, with “N” and “M” being any integers that correspond to network addressing protocols. In addition, in at least some embodiments, an N-bit network address may be embedded in another network address using more or less than N bits of the other network address, such as if a group of N-bit network addresses of interest may be represented using a smaller number of bits (e.g., with L-bit labels or identifiers being mapped to particular N-bit network addresses and embedded in the other network addresses, where “L” is less than “N”). Additional details related to SIIT are available at “Request For Comments 2765—Stateless IP/ICMP Translation Algorithm”, February 2000, at tools<dot>ietf<dot>org<slash>html<slash>rfc2765 (where <dot> and <slash> are replaced by the corresponding characters with those names), which is hereby incorporated by reference in its entirety. Various benefits may be obtained from embedding virtual network address information in physical network addresses for an underlying physical substrate network, including enabling an overlay of the virtual network on the physical substrate network without encapsulating communications or configuring networking devices of the physical substrate network, as discussed in greater detail below. Furthermore, other information may similarly be embedded in the larger physical network address space for a communication between computing nodes in at least some embodiments and situations, such as an identifier specific to a particular virtual network that includes those computing nodes (e.g., a virtual network for an entity on whose behalf those computing nodes operate). Additional details related to provision of such virtual networks via use of overlay networks are included below.

In addition, in at least some embodiments, the computing nodes between which communications are configured may be physical computing systems and/or may be virtual machines that are each hosted on one or more physical computing systems, and the communications may include transmissions of data (e.g., messages, packets, frames, streams, etc.) in various formats. Furthermore, in at least some embodiments, at least some of the computing nodes may be part of a program execution service (or “PES”) that executes multiple programs on behalf of multiple customers or other users of the service, such as a program execution service that uses multiple computing systems on multiple physical networks (e.g., multiple physical computing systems and networks within a data center). In at least some such embodiments, one or more system manager modules for the program execution service may track and/or manage which computing nodes belong to which virtual networks, such as based on the computing nodes executing programs on behalf of a customer or other entity, as discussed in greater detail below.

Use of the described techniques may provide various benefits in various situations, such as limiting communications to and/or from computing nodes of a particular virtual network to other computing nodes that belong to that virtual network. In this manner, computing nodes that belong to multiple virtual networks may share parts of one or more intermediate physical networks, while still maintaining network isolation for computing nodes of a particular virtual network. In addition, use of the described techniques allows computing nodes of a virtual network to be physically moved or otherwise positioned as desired, with the overlay network managing routing of communications for a particular virtual network address to a corresponding actual physical network address (e.g., by updating mappings that associate particular virtual network addresses of particular virtual networks to particular physical locations of computing nodes to which those virtual network addresses are assigned). For example, computing nodes of a virtual network may be physically moved between various physical networks while minimizing or eliminating any possible conflicts between hardware addresses of the computing nodes, such as based on management of dummy hardware addresses assigned to computing nodes by associated Communication Manager modules, as described in greater detail elsewhere. In addition to easily moving computing nodes associated with a virtual network, the use of the described techniques also allows computing nodes to easily be added to and/or removed from a virtual network, such as to allow an entity to dynamically modify the size of a virtual network (e.g., to dynamically modify the quantity of computing nodes to reflect an amount of current need for more or less computing resources).

In some cases, such virtual networks may be established and/or maintained via the operation of one or more Communication Manager modules at the edge of one or more intermediate physical networks, such as by configuring and otherwise managing communications for the virtual networks. In particular, groups of one or more computing nodes may each have an associated Communication Manager module that manages communications to and from those computing nodes. For example, if a physical computing system hosts multiple virtual machine computing nodes, a hypervisor or other virtual machine monitor manager on the physical computing system may provide a Communication Manager module for those virtual machine computing nodes. Similarly, one or more physical computing systems may have an associated Communication Manager module in at least some embodiments, such as provided by a proxy computing device through which communications to and from the physical computing systems travel, as provided by a networking device (e.g., a switch, router, hub, etc.) through which communications to and from the physical computing systems travel, etc.

In some situations, a Communication Manager module tracks or otherwise determines the virtual networks to which the module's associated computing nodes belong (e.g., based on entities on whose behalf the virtual networks operate), and then manipulates communications to and/or from each associated computing node so as to reflect its associated virtual network. The determination by a Communication Manager module of a corresponding virtual network for a computing node may be performed in various ways in various embodiments, such as by interacting with a system manager module that provides that information, by tracking software programs executed on such computing nodes, by tracking entities associated with such computing nodes, etc. For example, when a particular computing node begins to execute one or more software programs on behalf of an entity who is a customer of a program execution service, and that customer also has other software programs executing on other computing nodes, the new computing node executing the customer's program(s) may be selected to be associated with a virtual network for the customer that includes those other computing nodes. Alternatively, a customer or other entity may specify a particular virtual network to which a computing node belongs, such as if the entity maintains multiple distinct virtual networks between different groups of computing nodes.

As previously noted, in some embodiments, a program execution service executes third-party customers' programs using multiple physical computing systems (e.g., in one or more data centers) that each host multiple virtual machines, with each virtual machine being able to execute one or more programs for a customer. In such situations, the described techniques may be used by one or more Communication Manager modules executing as part of the program execution service to control communications to and from the programs of each customer. For example, by manipulating communications to and/or from each associated computing node so as to reflect its associated virtual network, a Communication Manager module may prevent computing nodes on other virtual networks from gaining access to those communications, as discussed in greater detail below. In some embodiments, customers may provide programs to be executed to the execution service, and may reserve execution time and other resources on physical or virtual hardware facilities provided by the execution service. In addition, customers and/or the program execution service may define virtual networks that will be used by the program execution service for computing nodes of the customer, so as to transparently provide computing nodes of a virtual network with the appearance of operating on a dedicated physical network.

In at least some embodiments, one or more system manager modules may facilitate configuring communications between computing nodes, such as by tracking and/or managing which computing nodes belong to which virtual networks (e.g., based on executing programs on behalf of a customer or other entity), and by providing information about actual physical network addresses that correspond to virtual network addresses used for a particular virtual network (e.g., by a particular customer or other entity). For example, a system manager module for a PES may receive an indication of a virtual machine on a target physical computing system that is part of one of multiple physical networks of the PES. The system manager module may then determine a virtual network with which the virtual machine is to be associated. After determining the virtual network associated with the virtual machine, the system manager module may then initiate a configuration of a virtual machine Communication Manager module for the target physical computing system so as to associate the virtual machine with the virtual network, or the Communication Manager module may instead initiate that configuration (e.g., when the virtual machine first initiates or receives a communication).

In addition, in at least some embodiments, various information about computing nodes and virtual networks may be used to determine whether communications between computing nodes are authorized, such as if only authorized communications are delivered or forwarded by Communication Manager modules (or if unauthorized communications are handled differently from authorized communications in one or more other manners). By not delivering unauthorized communications to computing nodes, network isolation and security of entities' virtual networks is enhanced.

For example, if a first computing node on a first virtual network attempts to send an outgoing communication to a second computing node on a different second virtual network, and that second virtual network (or the second computing node) has not authorized incoming communications from the first virtual network (or from the first computing node), the first computing node may not be able to even send such a communication onto the one or more intermediate substrate networks between the first and second computing nodes, due to the Communication Manager module associated with that first computing node blocking such an outgoing communication (e.g., by receiving the outgoing communication from the first computing node but not forwarding the outgoing communication, by preventing the first computing node from obtaining information about one or more addresses for the second computing node that would be used in sending such a communication, etc.). In addition, if an unauthorized communication is sent over an intermediate substrate network to an intended destination computing node (e.g., based on a malicious user being able to gain control of a Communication Manager module, or to otherwise gain access to the substrate network), a Communication Manager module that manages communications for the destination computing node may identify and prevent the unauthorized communication from being forwarded to the destination node.

In at least some embodiments, detection and/or prevention of unauthorized communications may be based at least in part on a topology of the one or more intermediate substrate networks on which a virtual network is overlaid. In particular, in at least some embodiments, each computing node that is part of a virtual network is managed by an associated Communication Manager module. As described in greater detail with respect toFIGS.2A-2Cand elsewhere, in at least some such embodiments, the physical network address used for such a computing node for communications over the substrate network includes an indication of the computing node's virtual network address, and includes a partial network address for the substrate network that corresponds to a location of the computing node's associated Communication Manager module (e.g., a sub-network or other portion of the substrate network for which the Communication Manager module manages communications). Thus, in order for a malicious user to correctly construct a valid physical network address for a computing node that is part of a virtual network, the malicious user would need to gain access to information about the virtual network to which the computing node belongs, to gain access to information about the topology of the computing node's physical network location in order to determine the partial network address for the associated Communication Manager module, and to determine how to use that information to construct the physical network address. The validity of constructed physical network addresses may be checked in various ways, such as by identifying a computing node to which a virtual address embedded in a constructed physical network address corresponds, and verifying that a location of that identified computing node corresponds to one of the computing nodes in the portion of the network that corresponds to the partial network address (e.g., one of the computing nodes managed by a Communication Manager module to which the partial network address corresponds). In addition, the validity of constructed physical network addresses may be checked at various times, such as by a Communication Manager module that receives an incoming communication intended for a destination computing node (e.g., to verify that the source physical network address is valid), by a system manager module that receives a message purportedly from a Communication Manager module on behalf of an indicated managed computing node (e.g., a message to request a physical network address for an intended destination computing node of interest), etc.

In addition, in at least some embodiments, detection and/or prevention of unauthorized communications may be based at least in part on virtual networks to which computing nodes belong. In particular, in some embodiments, some or all computing nodes managed by a Communication Manager module are each assigned to one or more virtual networks, such as to correspond to users or other entities on whose behalf the computing nodes are operating (e.g., based on one or more programs being executed on the computing nodes). In such embodiments, some or all virtual networks may have associated rules regarding what communications are allowed between computing nodes on the virtual network and/or between computing nodes from other virtual networks. If so, such predefined rules may be used by Communication Manager modules who receive incoming communications for and/or outgoing communications from associated computing nodes in order to determine whether to forward such communications on or otherwise allow such communications, such as based on information about the virtual network(s) and/or entity(ies) to which a sending computing node and a destination computing node are associated. A Communication Manager module may track and store such information about associated virtual networks and/or entities for associated computing nodes and/or such information about predefined rules for virtual networks, or instead in some embodiments may interact with one or more system manager modules in order to obtain some or all such information. Additional details related to determining whether communications between computing nodes are authorized, and actions corresponding to such determinations, are included below.

For illustrative purposes, some embodiments are described below in which specific types of computing nodes, networks, communications, and configuration operations are performed. These examples are provided for illustrative purposes and are simplified for the sake of brevity, and the inventive techniques can be used in a wide variety of other situations, some of which are discussed below.

FIG.1is a network diagram illustrating an example embodiment of configuring communications between computing nodes belonging to a virtual network, so that the communications are overlaid on one or more intermediate physical networks in a manner transparent to the computing nodes. In this example, the computing nodes are part of a program execution service, and the configuring of communications is facilitated by a system manager module of the program execution service and multiple Communication Manager modules of the program execution service. In other embodiments, the techniques may be used in situations other than with a program execution service, such as with any other use of virtual networks on behalf of one or more entities (e.g., to support multiple virtual networks for different parts of a business or other organization on a private network of the organization).

The illustrated example includes a data center100with multiple physical computing systems operated by the program execution service. The data center100is connected to a global internet135external to the data center100, which provides access to one or more computing systems145avia private network140, to one or more other globally accessible data centers160that each have multiple computing systems, and to one or more other computing systems145b. The global internet135may be, for example, a publicly accessible network of networks, possibly operated by various distinct parties, such as the Internet, and the private network140may be, for example, a corporate network that is wholly or partially inaccessible from computing systems external to the private network140. Computing system145bmay be, for example, a home computing system that connects directly to the Internet (e.g., via a telephone line, cable modem, a Digital Subscriber Line (“DSL”), etc.)

The data center100includes a number of physical computing systems105a-105dand155a-155n, as well as a Communication Manager module150that executes on one or more other computing systems (not shown) to manage communications for the associated computing systems155a-155n, and a system manager module110of the program execution service that executes on one or more computing systems (not shown). In this example, each physical computing system105a-105dhosts multiple virtual machine computing nodes and includes a virtual machine (“VM”) Communication Manager module (e.g., as part of a virtual machine hypervisor monitor for the physical computing system), such as VM Communication Manager module109aand virtual machines107aon computing system105a, and such as VM Communication Manager module109dand virtual machines107don computing system105d. Physical computing systems155a-155ndo not execute any virtual machines in this example, and thus may each act as a computing node that directly executes one or more software programs on behalf of a customer of the program execution service. In other embodiments, all or none of the physical computing systems at the data center may host virtual machines.

This example data center further includes multiple networking devices, such as switches115a-115b, edge routers125a-125c, and core routers130a-130c. Switch115ais part of a physical network that includes physical computing systems105a-105c, and is connected to edge router125a. Switch115bis part of a distinct physical network that includes physical computing systems105d,155a-155n, and the computing systems providing the Communication Manager module150and the system manager module110, and is connected to edge router125b. The physical networks established by switches115a-115b, in turn, are connected to each other and other networks (e.g., the global internet135) via an intermediate interconnection network120, which includes the edge routers125a-125cand the core routers130a-130c. The edge routers125a-125cprovide gateways between two or more networks. For example, edge router125aprovides a gateway between the physical network established by switch115aand the interconnection network120. Edge router125cprovides a gateway between the interconnection network120and global Internet135. The core routers130a-130cmanage communications within the interconnection network120, such as by forwarding packets or other data transmissions as appropriate based on characteristics of such data transmissions (e.g., header information including source and/or destination addresses, protocol identifiers, etc.) and/or the characteristics of the interconnection network120itself (e.g., routes based on network topology, etc.).

The illustrated Communication Manager modules may perform at least some of the described techniques in order to configure, authorize and otherwise manage communications sent to and from associated computing nodes. For example, Communication Manager module109amanages associated virtual machine computing nodes107a, Communication Manager module109dmanages associated virtual machine computing nodes107d, and each of the other Communication Manager modules may similarly manage communications for a group of one or more other associated computing nodes. The illustrated Communication Manager modules may configure communications between computing nodes so as to overlay a particular virtual network over one or more intermediate physical networks, such as the interconnection network120, and optionally the global internet135and private network140if another Communication Manager module (not shown) manages communications for computing system145a. Thus, for example, if an organization operating private network140desires to virtually extend its private network to one or more of the computing nodes of the data center, it may do by implementing one or more Communication Manager modules as part of the private network140(e.g., as part of the interface between the private network140and the global internet135)—in this manner computing systems within the private network (e.g., computing system(s)145a) may communicate with those data center computing nodes as if those data center computing nodes were part of the private network. In addition, the illustrated Communication Manager modules may authorize communications between computing nodes so as to enhance network isolation and security.

Thus, as one illustrative example, one of the virtual machine computing nodes107aon computing system105amay be part of the same virtual local network as one of the virtual machine computing nodes107don computing system105d, with IPv4 being used to represent the virtual network addresses for the virtual local network. That virtual machine107amay then direct an outgoing communication (not shown) to the destination virtual machine computing node107d, such as by specifying a virtual network address for that destination virtual machine computing node. The Communication Manager module109areceives the outgoing communication, and in at least some embodiments determines whether to authorize the sending of the outgoing communication, such as based on previously obtained information about the sending virtual machine computing node107aand/or about the destination virtual machine computing node107d(e.g., information about virtual networks and/or entities with which the computing nodes are associated), and/or by dynamically interacting with the system manager module110(e.g., to obtain an authorization determination, to obtain some or all such information, etc.). If the Communication Manager module109adetermines that the outgoing communication is authorized (or does not perform such an authorization determination), the module109adetermines the actual physical network location corresponding to the destination virtual network address for the communication (e.g., based on interacting with the system manager module110)—in this example, the interconnection network uses IPv6 to represent the actual network addresses for computing nodes connected via the interconnection network. The Communication Manager module109athen re-headers the outgoing communication so that it is directed to Communication Manager module109dusing an actual IPv6 network address, such as if Communication Manager module109dis associated with a sub-network that includes a range of multiple IPv6 network addresses. For example, the Communication Manager module109amay determine the actual IPv6 destination network address to use for the virtual network address of the destination virtual machine107dby dynamically interacting with the system manager module110, or may have previously determined and stored that information (e.g., in response to a request from the sending virtual machine107afor information about that destination virtual network address, such as a request using Address Resolution Protocol, or ARP). In this example, the actual IPv6 destination network address that is used includes the virtual destination network address and additional information, as described in greater detail with respect to the examples ofFIGS.2A-2C.

When Communication Manager module109dreceives the communication via the interconnection network120, it extracts the virtual destination network address and additional information from the actual IPv6 destination network address, and determines to which of the virtual machine computing nodes107dthat the communication is directed. The Communication Manager module109dnext determines whether the communication is authorized for the destination virtual machine computing node107d, such as by extracting the virtual source network address and additional information from the actual IPv6 source network address, and confirming that the computing node with that virtual source network address is actually managed by the Communication Manager module that forwarded the communication (in this example, Communication Manager module109a), as discussed in greater detail below. If the communication is determined to be authorized (or the Communication Manager module does not perform such an authorization determination), the Communication Manager module109dthen re-headers the incoming communication so that it is directed to the destination virtual machine computing node107dusing an appropriate IPv4 network address for the virtual network, such as by using the sending virtual machine computing node's virtual network address as the source network address and by using the destination virtual machine computing node's virtual network address as the destination network address. After re-headering the incoming communication, the Communication Manager module109dthen forwards the modified communication to the destination virtual machine computing node. In at least some embodiments, before forwarding the incoming communication to the destination virtual machine, the Communication Manager module109dmay also perform additional steps related to security. For example, the Communication Manager module109dmay verify that the sending virtual machine computing node is authorized to communicate with the destination virtual machine (e.g., based on belonging to the same virtual network, being associated with the same customer or other entity, being associated with different entities whose computing nodes are authorized to inter-communicate, etc.) and/or that the incoming communication is of an allowed type, such as based on information previously obtained by the Communication Manager module109dor based on interacting with the system manager module110.

FIGS.2A and2Billustrate further examples with additional illustrative details related to managing communications between computing nodes that occur via an overlay network over one or more physical networks, such as may be used by the computing nodes and networks ofFIG.1or in other situations. In particular,FIG.2Aillustrates various example computing nodes205and255that may communicate with each other over one or more intermediate interconnection networks250. In this example embodiment, the computing nodes are operated on behalf of multiple distinct entities, such as multiple customers of a program execution service, and a system manager module290manages the association of particular computing nodes with particular entities and virtual networks. The example computing nodes ofFIG.2Ainclude three computing nodes executed on behalf of an example entity Z, those being computing nodes205a,205cand255a. In addition, other computing nodes are operated on behalf of other entities, such as computing node205b.

In this example, the computing nodes205are managed by an associated Communication Manager module R210, and the computing nodes255are managed by an associated Communication Manager module S260. As one example, computing nodes205may each be one of multiple virtual machines hosted by a single physical computing system, and Communication Manager module R may be part of a hypervisor virtual machine monitor for that physical computing system. For example, with reference toFIG.1, computing nodes205could represent the virtual machines107a, and computing nodes255could represent the virtual machines107d. If so, Communication Manager module R would correspond to Communication Manager module109aofFIG.1, Communication Manager module S would correspond to Communication Manager module109dofFIG.1, the interconnection network250would correspond to interconnection network120ofFIG.1, and the system manager module290would correspond to system manager module110ofFIG.1. Alternatively, computing nodes205or255may instead each be a distinct physical computing system, such as to correspond to computing systems155a-155nofFIG.1.

Each of the Communication Manager modules ofFIG.2Ais associated with a sub-network of multiple physical network addresses, which the Communication Manager modules manage on behalf of their associated computing nodes. For example, Communication Manager module R is shown to be associated with the IPv6 network address range of “::0A:01/72”, which corresponds to the 128-bit addresses (in hexadecimal) from XXXX:XXXX:XXXX:XXXA:0100:0000:0000:0000 to XXXX:XXXX:XXXX:XXXA: 01FF:FFFF:FFFF:FFFF (representing 2 to the power of 56 unique IPv6 addresses), where each “X” may represent any hexadecimal character that is appropriate for a particular situation (e.g., with the initial 64 bits corresponding a particular organization and network topology, as discussed in greater detail with respect toFIG.2C). The interconnection network250will forward any communication with a destination network address in that range to Communication Manager module R—thus, with the initial 72 bits of the range specified, the Communication Manager module R may use the remaining available 56 bits to represent the computing nodes that it manages and to determine how to process incoming communications whose destination network addresses are in that range.

For purposes of the example shown inFIG.2A, computing nodes205a,205cand255aare part of a single virtual local network for entity Z, and have assigned IPv4 network addresses of “10.0.0.2”, “10.0.0.5” and “10.0.0.3”, respectively (if written in dotted hexadecimal form, “10.0.0.2” would instead be “A.0.0.2”). Because computing node205bis part of a distinct virtual network for entity Y, it can share the same virtual network address as computing node205awithout confusion. In this example, computing node A205awants to communicate with computing node G255a, which it believes is part of a common local physical network with computing node A, as the interconnection network250and Communication Manager modules are transparent to computing nodes A and G in this example. In particular, despite the physical separation of computing nodes A and G, the Communication Manager modules210and260operate so as to overlay the virtual local network for entity Z over the physical interconnection network250for communications between those computing nodes, so that the lack of an actual local network is transparent to the computing nodes A and G. In this example, the physical interconnection network250is an IPv6 substrate network on which IPv4 virtual networks are overlaid.

In order to send the communication to computing node G, computing node A exchanges various messages220with Communication Manager module R210, despite in the illustrated embodiment being unaware of the existence of Communication Manager module R (i.e., may believe that it is transmitting a broadcast message to all other computing nodes on the local network). In particular, in this example, computing node A first sends an ARP message request220-athat includes the local network address for computing node G (i.e., “10.0.0.3”) and that requests the corresponding hardware address for computing node G (e.g., a 48-bit MAC, or Media Access Control, address). Communication Manager module R intercepts the ARP request220-a, and responds to computing node A with a spoofed ARP response message220-bthat includes a dummy virtual hardware address for computing node G.

To obtain the dummy virtual hardware address for the response message, the Communication Manager module R first checks a local store212of information that maps dummy virtual hardware addresses to corresponding IPv6 actual physical network addresses, with each of the dummy virtual hardware addresses corresponding to an IPv4 virtual network address for a particular entity's virtual network. If the local store212does not contain an entry for computing node G (e.g., if none of the computing nodes205have previously communicated with computing node G, if a prior entry in local store212for computing node G has expired, etc.), the Communication Manager module R interacts225with system manager module290to obtain the corresponding actual IPv6 physical network address for computing node G on behalf of computing node A. In particular, in this example, the system manager module290maintains provisioning information292that identifies where each computing node is actually located and to which entity and/or virtual network the computing node belongs, such as by initiating execution of programs on computing nodes for entities and virtual networks or by otherwise obtaining such provisioning information. As discussed in greater detail with respect toFIG.2B, the system manager module determines whether the request from Communication Manager module R on behalf of computing node A for computing node G's actual IPv6 physical network address is valid, including whether computing node A is authorized to communicate with computing node G, and if so provides that actual IPv6 physical network address.

Communication Manager module R receives the actual IPv6 physical network address for computing node G from the system manager module, and stores this received information as part of a new entry for computing node G as part of mapping information212for later use (optionally with an expiration time and/or other information). In addition, Communication Manager module R determines a dummy virtual hardware address to be used for computing node G (e.g., by generating an identifier that is locally unique for the computing nodes managed by Communication Manager module R), stores that dummy virtual hardware address in conjunction with the received actual IPv6 physical network address as part of the new mapping information entry, and provides the dummy virtual hardware address to computing node A as part of response message220-b. By maintaining such mapping information212, later communications from computing node A to computing node G may be authorized by Communication Manager module R without further interactions with the system manager module290, based on the use of the dummy virtual hardware address previously provided by Communication Manager module R.

In other embodiments, Communication Manager module R may interact with system manager module290to obtain a physical network address for computing node G or otherwise determine such a physical network address at times other than upon receiving an ARP request, such as in response to any received communication that is directed to computing node G using the virtual network address for entity Z's virtual network. Furthermore, in other embodiments the virtual hardware addresses that are used may differ from this example, such as if the virtual hardware addresses are specified by the system manager module290, if the virtual hardware addresses are not random and instead store one or more types of information specific to the corresponding computing nodes, etc. In addition, in this example, if computing node A had not been determined to be authorized to send communications to computing node G, whether by the system manager module290and/or Communication Manager module R, Communication Manager module R would not send the response message220-bwith the dummy virtual hardware address (e.g., will send no response, will send an error message response, etc.).

In this example, the returned IPv6 actual physical network address corresponding to computing node G in response message225-2is “::06:02: <Z-identifier>:10.0.0.3”, where “10.0.0.3” is stored in the last 32 bits of the 128-bit IPv6 address, and where “<Z-identifier>” is a 24-bit entity network identifier for computing node G corresponding to the virtual local network for entity Z (e.g., as previously assigned by the system manager module to that network to reflect a random number or some other number corresponding to the entity). The initial 72 bits of the IPv6 network address store the “::0B:02” designation, corresponding to the sub-network or other portion of the interconnection network with a network address range of “::013:02/72” to which Communication Manager module S corresponds—thus, a communication sent over the interconnection network250to IPv6 destination network address “::06:02: <Z-identifier>:10.0.0.3” will be routed to Communication Manager module S. In other embodiments, the entity network identifier may be other lengths (e.g., 32 bits, if Communication Manager module S has a sub-network with a network address range of 64 bits rather than 56 bits) and/or may have other forms (e.g., may be random, may store various types of information, etc.), and the remaining 56 bits used for the network address range of the sub-network may store other types of information (e.g., an identifier for a particular entity, a tag or label for the virtual network, etc.). Additional details related to an example configured IPv6 actual physical network address for use with an overlay network are described with respect toFIG.2C.

After receiving the response message220-bfrom Communication Manager module R, computing node A creates and initiates the sending of a communication to computing node G, shown inFIG.2Aas communication220-c. In particular, the header of communication220-cincludes a destination network address for destination computing node G that is “10.0.0.3”, a destination hardware address for destination computing node G that is the dummy virtual hardware address provided to computing node A in message220-b, a source network address for sending computing node A that is “10.0.0.2”, and a source hardware address for sending computing node A that is an actual or dummy hardware address that was previously identified to computing node A.

Communication Manager module R intercepts the communication220-c, modifies the communication as appropriate, and forwards the modified communication over the interconnection network250to computing node G. In particular, Communication Manager module R extracts the virtual destination network address and virtual destination hardware address for computing node G from the header, and then retrieves the IPv6 actual physical network address corresponding to that virtual destination hardware address from mapping information212. As previously noted, the IPv6 actual physical network address in this example is “::06:02: <Z-identifier>:10.0.0.3”, and Communication Manager module R creates a new IPv6 header that includes that actual physical network address as the destination address. Similarly, the Communication Manager module R extracts the virtual source network address and virtual source hardware address for computing node A from the header of the received communication, obtains an IPv6 actual physical network address corresponding to that virtual source hardware address (e.g., from a stored entry in mapping information212, by interacting with the system manager module290to obtain that information if not previously obtained, etc.), and includes that actual physical network address as the source network address for the new IPv6 header. In this example, the IPv6 actual physical network address for computing node A is “::0A:01: <Z-identifier>:10.0.0.2”, which if used in a reply by Communication Manager module S on behalf of computing node G will be routed to Communication Manager module R for forwarding to computing node A. The Communication Manager module R then creates a new communication230-3by modifying communication220-cso as to replace the prior IPv4 header with the new IPv6 header (e.g., in accordance with SIIT), including populating the new IPv6 header with other information as appropriate for the new communication (e.g., payload length, traffic class packet priority, etc.). Thus, the new communication230-3includes the same content or payload as prior communication220-c, without encapsulating the prior communication220-cwithin the new communication230-3. Furthermore, access to the specific information within the payload is not needed for such re-headering, such as to allow Communication Manager module R to handle communications in which the payload is encrypted without needing to decrypt that payload.

In at least some embodiments, before forwarding communication230-3to Communication Manager module S, Communication Manager module R may perform one or more actions to determine that communication220-cis authorized to be forwarded to computing node G as communication230-3, such as based on the mapping information212including a valid entry for the source and/or destination virtual hardware address used in communication220-c. In other embodiments, such an authorization determination may not be performed by Communication Manager module R for each outgoing communication, or instead may be performed in other manners (e.g., based on a determination that the sending node and destination node are part of the same virtual network or are associated with the same entity or are otherwise authorized to inter-communicate, based on an interaction with system manager module290to obtain an authorization determination for the communication, etc.).

After Communication Manager module R forwards the modified communication230-3to the interconnection network250, the interconnection network uses the physical IPv6 destination network address of the communication to route the communication to Communication Manager module S. In doing so, the devices of the interconnection network250do not use the portion of the destination network address that includes the embedded entity network identifier or embedded virtual network address, and thus do not need any special configuration to forward such a communication, nor even awareness that a virtual network is being overlaid on the physical interconnection network.

When Communication Manager module S receives communication230-3via the interconnection network250, it performs actions similar to those of Communication Manager module R, but in reverse. In particular, in at least some embodiments, the Communication Manager module S verifies that communication230-3is legitimate and authorized to be forwarded to computing node G, such as via one or more interactions240with the system manager module. If the communication is determined to be authorized (or if the authorization determination is not performed), the Communication Manager module S then modifies communication230-3as appropriate and forwards the modified communication to computing node G. Additional details related to the verification of the communication230-3are discussed with respect toFIG.2B.

In particular, to modify communication230-3, Communication Manager module S retrieves information from mapping information262that corresponds to computing node G, including the virtual hardware address used by computing node G (or generates such a virtual hardware address if not previously available, such as for a new computing node). Communication Manager module S then creates a new communication245-eby modifying communication230-3so as to replace the prior IPv6 header with a new IPv4 header (e.g., in accordance with SIIT). The new IPv4 header includes the virtual network address and virtual hardware address for computing node G as the destination network address and destination hardware address for the new IPv4 header, the virtual network address and a dummy virtual hardware address for computing node A as the source network address and source hardware address for the new IPv4 header, and includes other information as appropriate for the new communication (e.g., total length, header checksum, etc.). The dummy virtual hardware address used by Communication Manager module S for computing node A may be the same as the hardware address used by Communication Manager module R for computing node A, but in other embodiments each Communication Manager module may maintain separate hardware address information that is not related to the information used by the other Communication Manager modules (e.g., if Communication Manager module S generated its own dummy virtual hardware address for computing node A in response to a prior ARP request from one of the computing nodes255for computing node A's hardware address). Thus, the new communication245-eincludes the same content or payload as prior communication220-cand230-3. Communication Manager module S then forwards new communication245-eto computing node G.

After receiving communication245-e, computing node G determines to send a response communication245-fto computing node A, using the source virtual network address and source virtual hardware address for computing node A from communication245-e. Communication Manager module S receives communication245-e, and processes it in a manner similar to that previously described with respect to communication220-cand Communication Manager module R. In particular, Communication Manager module S optionally verifies that computing node G is authorized to send communications to computing node A, and then modifies communication245-fto create communication230-6by generating a new IPv6 header using mapping information262. After forwarding communication230-6to the interconnection network250, the communication is sent to Communication Manager module R, which processes the incoming communication in a manner similar to that previously described with respect to communication230-3and Communication Manager module S. In particular, Communication Manager module R optionally verifies that computing node G is authorized to send communications to computing node A and that communication230-6actually was sent by computing node G, and then modifies communication230-6to create communication220-dby generating a new IPv4 header using mapping information212. Communication Manager module R then forwards communication220-dto computing node A.

In this manner, computing nodes A and G may inter-communicate using a IPv4-based virtual local network, without any special configuration of those computing nodes to handle the actual intervening IPv6-based substrate interconnection network, and interconnection network250may forward IPv6 communications without any special configuration of any networking devices of the interconnection network, based on the Communication Manager modules overlaying the virtual local network over the actual physical interconnection network without encapsulation of communications and on using embedded virtual network addresses in the substrate physical network addresses.

In addition, while not illustrated with respect toFIG.2A, in at least some embodiments the Communication Manager modules may receive and handle other types of requests and communications on behalf of associated computing nodes. For example, Communication Manager modules may take various actions to support broadcast and multicast capabilities for computing nodes that they manage. As one example, in some embodiments, a special multicast group virtual network address suffix may be reserved from each entity network identifier prefix for use in signaling Layer-2 raw encapsulated communications. Similarly, for link-local broadcast and multicast communications, a special multicast group/64 prefix may be reserved (e.g., “FF36:0000::”), while a different destination address prefix (e.g., “FF15:0000::”) may be used for other multicast communications. Thus, for example, multicast and broadcast IP frames may be encapsulated using a corresponding reserved 64-bit prefix for the first 64 bits of the 128-bit IPv6 address, with the remaining 64 bits including the virtual IPv4 network address for the destination computing node and the entity network identifier for the destination computing node in a manner similar to that previously described. Alternatively, in other embodiments, one or more types of broadcast and/or multicast communications may each have a corresponding reserved label or other identifier that has a different value or form, including using a different number of bits and/or being stored in a manner other than as a network address prefix. When a computing node sends a broadcast/multicast communication, any Communication Manager module with an associated computing node that has subscribed to that multicast/broadcast group would be identified (e.g., based on those Communication Manager modules having subscribed to the group, such as in response to prior join communications sent by those associated computing nodes), and the Communication Manager module for the sending computing node would forward the communication to each of the identified Communication Manager modules of the group, for forwarding to their appropriate managed computing nodes. In addition, in some embodiments and situations, at least some broadcast or multicast communications may not be forwarded by Communication Manager modules, such as communications with an IPv4 prefix of 224.0/16 or another designated prefix or other label or identifier.

In addition, it will be appreciated that a Communication Manager module may facilitate communications between multiple of the computing nodes that are associated with that Communication Manager module. For example, with respect toFIG.2A, computing node205amay wish to send an additional communication (not shown) to computing node205c. If so, Communication Manager module R would perform actions similar to those previously described with respect to the handling of outgoing communication220-cby Communication Manager module R and the handling of incoming communication230-3by Communication Manager module S, but without re-headering of the additional communication to use an IPv6 header since the communication will not travel over the interconnection network.

While not illustrated with respect toFIG.2A, in at least some embodiments other types of requests and communications may also be handled in various ways. For example, in at least some embodiments, an entity may have one or more computing nodes that are managed by Communication Manager module(s) and that are part of a virtual network for that entity, and may further have one or more other non-managed computing systems (e.g., computing systems that are directly connected to the interconnection network250and/or that natively use IPv6 network addressing) that do not have an associated Communication Manager module that manages their communications. If the entity desires that those non-managed computing systems be part of that virtual network or otherwise communicate with the managed computing nodes of the virtual network, such communications between managed computing nodes and non-managed computing systems may be handled by the Communication Manager module(s) that manage the one or more computing nodes in at least some such embodiments. For example, in such situations, if such a non-managed computing system is provided with an actual IPv6 destination network address for such a managed computing node (e.g., “::0A:01:<Z-identifier>:10.0.0.2” for managed computing node A in this example), the non-managed computing system may send communications to computing node A via interconnection network250using that destination network address, and Communication Manager module R would forward those communications to computing node A (e.g., after re-headering the communications in a manner similar to that previously described) if Communication Manager module R is configured to accept communications from that non-managed computing system (or from any non-managed computing system). Furthermore, Communication Manager module R could generate a dummy virtual network address to correspond to such a non-managed computing system, map it to the actual IPv6 network address for the non-managed computing system, and provide the dummy virtual network address to computing node A (e.g., as the source address for the communications forwarded to computing node A from the non-managed computing system), thus allowing computing node A to send communications to the non-managed computing system.

Similarly, in at least some embodiments and situations, at least some managed computing nodes and/or their virtual networks may be configured to allow communications with other devices that are not part of the virtual network, such as other non-managed computing systems or other types of network appliance devices that do not have an associated Communication Manager module that manages their communications. In such situations, if the managed computing nodes and/or the virtual network is configured to allow communications with such other non-managed devices, such a non-managed device may similarly be provided with the actual IPv6 destination network address for such a computing node (e.g., “::0A:01: <Z-identifier>:10.0.0.2” for computing node A in this example), allowing the non-managed device to send communications to computing node A via interconnection network250using that destination network address, with Communication Manager module R then forwarding those communications to computing node A (e.g., after re-headering the communications in a manner similar to that previously described). Furthermore, Communication Manager module R could similarly manage outgoing communications from computing node A to such a non-managed device to allow computing node A to send such communications.

In addition, as previously noted, a Communication Manager module manages communications for associated computing nodes in various ways, including in some embodiments by assigning virtual network addresses to computing nodes of a virtual network address, and/or by assigning substrate physical network addresses to managed computing nodes from a range of substrate physical network addresses that correspond to the Communication Manager module. In other embodiments, some such activities may instead be performed by one or more computing nodes of the virtual network, such as to allow a DHCP (Dynamic Host Configuration Protocol) server or other device of a virtual network to specify virtual network addresses and/or substrate physical network addresses to particular computing nodes of the virtual network. In such embodiments, the Communication Manager module obtains such configuration information from the virtual network device(s), and updates its mapping information accordingly (and in some embodiments may further update one or more system manager modules that maintain information about computing nodes associated with virtual networks).

In addition, in some embodiments and situations, a managed computing node may itself be treated as a virtual router or phantom router, with multiple virtual network addresses associated with that managed computing node, and with that managed computing node forwarding communications to other computing nodes that correspond to those multiple virtual network addresses. In such embodiments, the Communication Manager module that manages communications for that managed computing node router handles communications to and from that computing node in a manner similar to that previously described. However, the Communication Manager module is configured with the multiple virtual network addresses that correspond to the managed computing node router, so that incoming communications to any of those multiple virtual network addresses are forwarded to the managed computing node router, and so that outgoing communications from the managed computing node router are given a substrate source physical network address that corresponds to the particular computing node that sent the communication via the managed computing node router. In this manner, physical routers or other networking devices of a particular customer or other entity may be virtually represented for a virtual network implemented for that entity.

FIG.2Billustrates some of the computing nodes and communications discussed with respect toFIG.2A, but provides additional details with respect to some actions taken by the Communication Manager modules210and260and/or the system manager module290to authorize communications between computing nodes. For example, after computing node A sends message220-ato request a hardware address for computing node G, Communication Manager module R may perform one or more interactions225with the system manager module290in order to determine whether to provide that information, such as based on whether computing node A is authorized to communicate with computing node G, as well as to determine a corresponding substrate physical network address for computing node G based on interconnection network250. If the Communication Manager module R has previously obtained that information and it remains valid (e.g., has not expired), then the interactions225may not be performed. In this example, to obtain the desired physical network address corresponding to computing node G, Communication Manager module R sends a message225-1to the system manager module290that includes the virtual network addresses for computing nodes A and G, and that includes an entity network identifier for each of the computing nodes, which in this example is an entity network identifier for entity Z (e.g., a 32-bit or 24-bit unique identifier,). In at least some embodiments, Communication Manager module R may send message225-1to the system manager module290using an anycast addressing and routing scheme, so that multiple system manager modules may be implemented (e.g., one for each data center that includes Communication Manager modules and associated computing nodes) and an appropriate one of those (e.g., the nearest, the most underutilized, etc.) is selected to receive and handle the message. After the system manager module290determines that computing node A is authorized to communicate with computing node G (e.g., based on having the same entity network identifier, based on computing node A having an entity network identifier that is authorized to communicate with computing nodes of the entity network identifier for computing node G, based on other information provided by or associated with computing node A indicating that computing node A is authorized to perform such communications, based on information provided by or associated with computing node G indicating that computing node A is authorized to perform such communications, etc.), the system manager module290returns a response message225-2that includes the desired actual physical network address corresponding to computing node G. In addition, in at least some embodiments, before sending the desired actual physical network address, the system manager module290may further verify that Communication Manager module R is authorized to send the message225-1on behalf of computing node A, such as based on computing node A being one of the computing nodes to which Communication Manager module R is associated.

In other embodiments, Communication Manager module R may perform some or all of the actions described as being performed by system manager module290, such as to maintain provisioning information for the various computing nodes and/or to determine whether computing node A is authorized to send communications to computing node G, or instead no such authorization determination may be performed in some or all situations. Furthermore, in other embodiments other types of authorization determination may be performed for a communication between two or more computing nodes, such as based on a type of the communication, on a size of the communication, on a time of the communication, etc.

As previously noted with respect toFIG.2A, after Communication Manager module S receives communication230-3intended for computing node G via the interconnection network250, Communication Manager module S may perform one or more interactions240with the system manager module290in order to determine whether to authorize that communication. In particular, in this example, to verify that the communication230-3is valid and authorized to be forwarded to computing node G, Communication Manager module S first extracts the actual IPv6 destination network address and actual IPv6 source network address from the header of communication230-3, and then retrieves the embedded entity network identifiers and virtual network addresses from each of the extracted IPv6 network addresses. The Communication Manager module S next exchanges messages240with system manager module290to obtain the corresponding actual IPv6 physical network address for the sending computing node A on behalf of computing node G, including a message240-4that includes the extracted virtual network addresses for computing nodes A and G and the entity network identifier for each of the computing nodes. In at least some embodiments, Communication Manager module S may send message240-4to the system manager module290using an anycast addressing and routing scheme.

The system manager module290receives message240-4, and returns a response message240-5that includes the actual physical network address corresponding to computing node A, which in this example is “::0A:01: <Z-identifier>:10.0.0.2”. As previously discussed with respect to messages225-1and225-2, in some embodiments the system manager module290and/or Communication Manager module S may further perform one or more other types of authorization determination activities, such as to determine that computing node G is authorized to communicate with computing node A, that Communication Manager module S is authorized to send the message240-4on behalf of computing node G, etc. Communication Manager module S then verifies that the returned physical network address in message240-5matches the source IPv6 network address extracted from the header of communication230-3, so as to prevent attempts to spoof messages as being from computing node A that are actually sent from other computing nodes in other locations. Communication Manager module S optionally stores this received information in message240-5as part of an entry for computing node A in mapping information262for later use, along with computing node A's virtual network address and a dummy virtual hardware address for computing node A.

Various other types of actions than those discussed with respect toFIGS.2A-2Bmay be performed in other embodiments, including for types of network addressing protocols other than IPv4 and IPv6.

FIG.2Cillustrates an example IPv6 physical substrate network address configuration272for use with the described techniques, with the example network address being configured so as to embed a virtual network address and other information in the substrate network address so as to enable an overlay network over the substrate network. As previously discussed, this example IPv6 network address configuration uses the 128-bit network address space to store various information, with the initial 64 bits storing an IPv6 network portion of the address, and with the subsequent 64 bits storing an interface identifier (or “host”) portion of the address.

In this example, the initial 64-bit network portion of the IPv6 address includes a 32-bit identifier272afor bits 0 through 31 that corresponds to a corporate or other organization identifier assigned to such an organization by an Internet registry operator on behalf of the Internet Assigned Numbers Authority (in this example, based on an assignment from the Regional Internet Registry RIPE NNC, or Reseaux IP Europeans Network Coordination Centre). For example, in some embodiments, an organization that operates a program execution service or other organization that uses the described techniques may have an associated identifier272a. The initial 64-bit network portion of the address also includes a 32-bit group of information272bin this example that corresponds to topology of a group of multiple computing nodes (e.g., a sub-network or other network portion) provided on behalf of the group whose identifier is indicated in information272a. As previously discussed, in at least some embodiments, the initial 64-bit network portion of the address represents a partial network address for the substrate network that corresponds to a location of multiple related computing nodes, such as a sub-network or other portion of the substrate network. In particular, the initial 64-bit network address portion in at least some embodiments corresponds to a particular Communication Manager module that represents multiple associated computing nodes being managed by the Communication Manager module, such as based on the Communication Manager module managing the range of network addresses corresponding to some or all of the 64-bit interface identifier address portion in order to represent the various managed computing nodes. In other embodiments, the partial network address may be represented with a different number of bits (e.g., 72) and/or using a part of the address other than a prefix.

The 32-bit group of topology information272bmay represent various information in various ways in different embodiments, with topology information groups274and276showing two alternative example configurations of topology information. In particular, in the examples of274and276, the first two bits (bits 32 and 33 of the overall IPv6 address) indicate a particular version of the topology information, such that the meaning of the remaining 30 bits may change over time. With respect to example274, various bits as shown each indicate different geographical locales, geographic areas within the locales, computer racks within the geographic areas, and physical computing system nodes within the computer racks. In this example, the 6 bits for the locale information may represent 64 unique values, the 8 bits for the area information may represent 256 unique values for each locale value, the 8 bits for the rack information may represent 256 unique values for each area value, and the 8 bits for the physical computing system node information may represent 256 unique values for each rack value. Conversely, with respect to example276, only locale and rack information is shown, but each have additional bits in order to represent those types of information, such as to have 16,384 unique locale values using its 14 bits, and to have 65,536 unique rack values using its 16 bits for each locale value. It will be appreciated that topology information may be represented in other manners in other embodiments.

In this example, the 64-bit interface identifier portion of the IPv6 address is configured to store several types of information, including an 6-bit identifier272cthat corresponds to a particular computing node slot (e.g., a particular virtual machine computing node on a particular physical computing system that corresponds to the initial 64-bit network portion of the IPv6 address), two 1-bit identifiers272fand272g, a 24-bit identifier272dto embed an entity network identifier (e.g., to reference a particular virtual network), and a 32-bit identifier272eto embed an IPv4 network address (e.g., a virtual network address). The 6 bits for the slot identifier may represent approximately 64 unique values, the 24 bits for the embedded entity network identifier may represent approximately 16.8 million unique values, and the 32 bits for the embedded IPv4 network address may represent approximately 4.3 billion unique values. In this example, the 1-bit identifier272g(bit 70 of the IPv6 address) represents a U/L global/local bit that in some embodiments may indicate whether the address is globally administered or locally administered, and the 1-bit identifier272f(bit 71 of the IPv6 address) represents an I/G individual/group bit that in some embodiments may indicate whether the address corresponds to a single computing node or to a group of multiple computing nodes (e.g., as part of a broadcast or multicast). In at least some embodiments, the I/G bit is set to zero, and the U/L bit is set to one when virtual forwarding of the corresponding communication is being used, such as for use in virtual subnetting via phantom computing node routers and/or to indicate that an incoming communication with such a destination address be delivered to a computing node corresponding to the value of the 6-bit slot identifier rather than a computing node corresponding to the values of the 32-bit IPv4 embedded network address and 24-bit entity network identifier. It will be appreciated that the interface identifier information may be represented in other manners in other embodiments.

FIG.3is a block diagram illustrating example computing systems suitable for executing an embodiment of a system for managing communications between computing nodes. In particular,FIG.3illustrates a group399of computing systems and inter-network(s), such as a data center or other group of co-located computing nodes. In some embodiments, some or all of the computing systems of the group399may be used by a program execution service that executes programs on behalf of customers or other entities. The group399includes a system manager computing system300, a host computing system350capable of executing one or more virtual machines, other host computing systems390that are similar to host computing system350, and an optional Communication Manager module360that manages host computing systems390and that executes on one of the computing systems390or on another computing system (not shown). The system manager computing system300and host computing systems350and390are connected to one another via an internal network380, which includes a networking device362and other networking devices (not shown). The network380may be an interconnection network that joins multiple disparate physical networks (not shown) for the group399and possibly provides access to external networks (not shown) and/or systems, such as computing systems395. In the illustrated example, the networking device362provides a gateway between the network380and host computing systems350and390. In some embodiments, networking device362may, for example, be a router or a bridge.

The system manager computing system300functions to manage the configuration of virtual networks within the group399, as well as to provide other functions related to the provisioning, initialization, and execution of programs on computing nodes. The system manager computing system300includes a CPU305, various I/O components310, storage330, and memory320. The I/O components include a display311, network connection312, computer-readable media drive313, and other I/O devices315(e.g., a mouse, keyboard, etc.).

The host computing system350functions to host one or more virtual machines, such as to operate as computing nodes that execute programs on behalf of various customers. The host computing system350includes a CPU352, various I/O components353, storage351, and memory355. A virtual machine Communication Manager module356and one or more virtual machines358are executing in the memory355, with the module356managing communications for the associated virtual machine computing nodes358. The Communication Manager module356maintains various mapping information354on storage related to the computing nodes358and other computing nodes, such as in a manner similar to mapping information212and262ofFIGS.2A-2B. The structure of the other host computing systems390may be similar to that of host computing system350, or instead some or all of the host computing systems350and390may act directly as computing nodes by executing programs without using hosted virtual machines. In a typical arrangement, the group399may include hundreds or thousands of host computing systems such as those illustrated here, organized into a large number of distinct physical networks.

An embodiment of a system manager module340is executing in memory320of the computing system300. In some embodiments, the system manager340may receive an indication of one or more programs to be executed as part of one or more virtual machine computing nodes on host computing system350or otherwise as one or more computing nodes using one of the host computing systems390, and in some situations may select the computing node(s) that will execute the program(s). The system manager340may then determine a virtual network associated with the computing node(s) based on, for example, a customer identity associated with the program and/or other factors. In some cases, the structure and/or membership of various virtual networks may be provided by the provisioning database332, which the module340maintains to store information related to the physical and virtual resources (e.g., networking, hardware, etc.) associated with various customers and/or executing programs and computing nodes. The system manager module340then initiates execution of the program(s) on the computing node(s), and optionally provides information to the Communication Manager modules associated with those computing nodes regarding virtual networks and/or entities to which those computing nodes are associated. In other embodiments, the execution of programs on computing nodes may be initiated in other manners, and the system manager module340may instead merely receive and maintain information about those computing nodes, programs, associated entities and associated virtual networks.

As discussed in greater detail elsewhere, the Communication Manager modules356and360(and other Communication Manager modules, not shown, that manage other associated computing nodes, not shown) and the system manager module340may interact in various ways to manage communications between computing nodes. Such interactions may, for example, enable the computing nodes358and/or other computing nodes to inter-communicate over virtual networks without any special configuration of the computing nodes, by overlaying the virtual networks over network380and optionally one or more external networks (not shown) without any special configuration of networking device362or other networking devices (not shown), and without encapsulation of communications.

It will be appreciated that computing systems300,350,390, and395, and networking device362, are merely illustrative and are not intended to limit the scope of the present invention. For example, computing systems300and/or350may be connected to other devices that are not illustrated, including through one or more networks external to the group399, such as the Internet or via the World Wide Web (“Web”). More generally, a computing node or other computing system may comprise any combination of hardware or software that can interact and perform the described types of functionality, including without limitation desktop or other computers, database servers, network storage devices and other network devices, PDAs, cellphones, wireless phones, pagers, electronic organizers, Internet appliances, television-based systems (e.g., using set-top boxes and/or personal/digital video recorders), and various other consumer products that include appropriate communication capabilities. In addition, the functionality provided by the illustrated modules may in some embodiments be combined in fewer modules or distributed in additional modules. Similarly, in some embodiments the functionality of some of the illustrated modules may not be provided and/or other additional functionality may be available.

It will also be appreciated that, while various items are illustrated as being stored in memory or on storage while being used, these items or portions of them can be transferred between memory and other storage devices for purposes of memory management and data integrity. Alternatively, in other embodiments some or all of the software modules and/or systems may execute in memory on another device and communicate with the illustrated computing systems via inter-computer communication. Furthermore, in some embodiments, some or all of the systems and/or modules may be implemented or provided in other manners, such as at least partially in firmware and/or hardware, including, but not limited to, one or more application-specific integrated circuits (ASICs), standard integrated circuits, controllers (e.g., by executing appropriate instructions, and including microcontrollers and/or embedded controllers), field-programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), etc. Some or all of the modules, systems and data structures may also be stored (e.g., as software instructions or structured data) on a computer-readable medium, such as a hard disk, a memory, a network, or a portable media article to be read by an appropriate drive or via an appropriate connection. The systems, modules and data structures may also be transmitted as generated data signals (e.g., as part of a carrier wave or other analog or digital propagated signal) on a variety of computer-readable transmission mediums, including wireless-based and wired/cable-based mediums, and may take a variety of forms (e.g., as part of a single or multiplexed analog signal, or as multiple discrete digital packets or frames). Such computer program products may also take other forms in other embodiments. Accordingly, the present invention may be practiced with other computer system configurations.

FIG.4is a flowchart of an example embodiment of a System Manager routine400. The routine may be provided by, for example, execution of the system manager module110ofFIG.1, the system manager module290ofFIGS.2A-2B, and/or the system manager module340ofFIG.3, such as to assist in managing communications between multiple computing nodes across one or more intermediate networks, as well as to perform other types of management operations in some situations. In at least some embodiments, the routine may be provided as part of a system that configures communications for multiple different entities across a common intermediate network, such as part of a program execution service that executes programs on distributed computing nodes for multiple customers, with the communications configured so as to enable each computing node to transparently communicate with other associated computing nodes using a private virtual local network that is specific to that entity. Furthermore, the routine may facilitate preventing unauthorized communications from being provided to destination computing nodes, such as by assisting Communication Manager modules with determinations of whether communications are authorized.

In the illustrated embodiment, the routine begins at block405, where a request is received. The routine continues to block410to determine the type of request. If it is determined that the type of request is to associate a computing node with a particular indicated entity, such as if that computing node is executing or is to execute one or more programs on behalf of that entity, the routine continues to block415to associate that computing node with that indicated entity. In some embodiments, the routine may further determine the one or more computing nodes to be associated with the indicated entity, such as based on information provided by the indicated entity regarding one or more programs whose execution is to be initiated, while in other embodiments the selection of such computing nodes and/or execution of appropriate programs on those computing nodes may be performed in other ways. In addition, as discussed in greater detail elsewhere, in some embodiments one or more of the computing nodes may each be a virtual machine that is hosted by one or more physical computing systems. The routine then continues to block420to store an indication of the computing node and its association with the indicated entity. In particular, in the illustrated embodiment the routine stores an indication of a physical network address corresponding to the computing node, a virtual network address used by the entity for the computing node, and an indication of the associated entity. As discussed in greater detail elsewhere, the physical network address corresponding to the computing node may in some embodiments be a physical network address specific to that single computing node, while in other embodiments may instead refer to a sub-network or other group of multiple computing nodes, such as may be managed by an associated Communication Manager module. Furthermore, in situations in which a particular entity has multiple distinct virtual networks, the routine may receive an indication of or otherwise determine the one or more virtual networks with which the computing node is associated, and similarly store that information in conjunction with other information about the computing node. As previously discussed,FIG.2Cillustrates one example of how such a physical network address may be configured.

If it is instead determined in block410that the type of received request is a request for address resolution for a virtual network address of a computing node, such as from a Communication Manager module on behalf of another managed computing node, the routine continues instead to block425, where it determines whether the request is authorized in one or more ways, such as based on whether the managed computing node on whose behalf the request is made is authorized to send communications to the computing node whose virtual network address resolution is requested (e.g., based on the virtual network(s) to which the two computing nodes belong), based on whether the managed computing node on whose behalf the request is made is a valid computing node that is currently part of a configured virtual network, and/or based on whether the request is received from the Communication Manager module that actually manages the indicated computing node on whose behalf the request is made. If the request is determined to be authorized, the routine continues to block430, where it obtains a virtual network address of interest and an entity network identifier or other indicator of the entity (e.g., a unique numeric or alphanumeric label), such as included with the request received in block405. The routine then continues to block435to retrieve stored information that associates that virtual network address for the virtual network corresponding to that entity network identifier to a physical network address for a location that corresponds to the computing node, such as may be previously stored with respect to block420. After block435, the routine continues to440to provide an indication of the physical network address to the requester. While not illustrated here, if the determination in block425determines that the request is not authorized, the routine may instead not perform blocks430-440for that request, such as by responding with an error message to the request received in block405or not responding to that received request. In addition, in other embodiments the routine may perform one or more other tests to validate a received request before responding with the requested information, such as to verify that the computing node that initiated the request is authorized to receive that information.

If it is instead determined in block410that the received request is of another type, the routine continues instead to block450to perform another indicated operation as appropriate. For example, in some embodiments, the routine may receive requests to update stored information about particular computing nodes, such as if a particular computing node was previously associated with a particular entity and/or virtual network but that association ends (e.g., one or more programs being executed for that entity on that computing node are terminated). The routine may also perform a variety of other actions related to managing a system of multiple computing nodes, as discussed in greater detail elsewhere. In addition, while not illustrated here, in other embodiments the routine may at times perform actions of other types, such as to perform occasional housekeeping operations to review and update stored information as appropriate, such as after predefined periods of time have expired. In addition, if possible validation problems are detected, such as with respect to received address resolution requests for virtual network addresses, the routine may take various actions to signal an error and/or perform other corresponding actions as appropriate.

After blocks420,440, and450, the routine continues to block495to determine whether to continue. If so, the routine returns to block405, and if not continues to block499and ends.

FIG.5is a flow diagram of an example embodiment of a Communication Manager routine500. The routine may be provided by, for example, execution of the Communication Manager modules109a,109dand/or150ofFIG.1, the Communication Manager modules210and/or260ofFIGS.2A-2B, and/or the Communication Manager modules356and/or360ofFIG.3, such as to manage communications to and from an associated group of one or more computing nodes in order to provide a private virtual network over one or more shared intermediate networks, including to determine whether to authorize communications to and/or from the managed computing nodes.

The routine beings at block505, where an indication is received of a node communication or other message. The routine continues to block510to determine the type of communication or other message and proceed accordingly. If it is determined in block510that the message is a request from an associated managed computing node for network address resolution, such as an ARP request, the routine continues to block515to identify the virtual network address of interest indicated in the request. The routine then continues to block520to send a request to a system manager module for virtual network address resolution for the indicated virtual network address for the virtual network (or alternatively, entity) associated with the computing node that provided the request, such as discussed with respect to blocks425-440ofFIG.4. As discussed in greater detail elsewhere, the routine may in some embodiments track information about virtual networks and/or entities associated with each managed computing node, while in other embodiments such information may instead be provided to the routine by the computing nodes and/or by the system manager module, or instead the system manager module may track and store that information without it being provided to and tracked by the current routine. While not illustrated here, in other embodiments and situations such address resolution requests may be handled in other manners. For example, if a computing node being managed by a particular Communication Manager module provides an address resolution request for another computing node that is also managed by that Communication Manager module, the routine may instead be able to respond to the request without interaction with the system manager module, such as based on information stored locally by the routine. In addition, while in the illustrated embodiment the received request is a request to provide a computing node's link-layer hardware address that corresponds to an indicated network-layer address, in other embodiments the address resolution request may have other forms.

In the illustrated embodiment, the routine next continues to block525to receive a response from the system manager module that includes a physical network address, and stores information locally that maps that physical network address to a unique dummy hardware address for later use by the routine (e.g., based on a dummy virtual hardware address generated by the routine or provided in the response). As previously discussed,FIG.2Cillustrates one example of how such a physical network address may be configured. The routine then provides the dummy hardware address to the requesting computing node, which it will use as part of communications that it sends to the computing node with the indicated virtual network address. As discussed in greater detail elsewhere, the physical network address response that is provided may in some embodiments include a physical network address that is specific to the indicated computing node of interest, while in other embodiments the physical network address may correspond to a sub-network or other group of multiple computing nodes to which the indicated computing node belongs, such as to correspond to another Communication Manager module that manages those other computing nodes. The routine then continues to block530to determine if blocks515-525were performed as part of the handling of an outgoing node communication, as discussed with respect to blocks540-555, and if so, continues to block550. While not illustrated here, in some embodiments the routine may instead receive an error response from the system manager module (e.g., based on the requesting computing node not being authorized to communicate with the indicated destination computing node) or no response, and if so may not send any response to the requesting computing node or may send a corresponding error message to that computing node.

If it is instead determined in block510that the type of communication or other message is an outgoing node communication from a computing node managed by the routine to another indicated remote destination computing node that is not managed by the routine, the routine continues to block540to identify the indicated hardware address for the destination computing node from the communication header. In block545, the routine then determines whether that destination hardware address is a dummy hardware address previously mapped to a physical network address corresponding to the destination computing node, such as previously discussed with respect to block525. If not, in some embodiments the routine continues to block515to perform blocks515-525to determine such a corresponding physical network address for the outgoing node communication, while in other embodiments such actions are not performed (e.g., if the indicated hardware address is not a mapped dummy address, the routine may cause the outgoing node communication to fail, such as with an error message back to the sending node). If the indicated hardware address is a mapped dummy address, or the check is not performed, the routine continues to block550to retrieve the physical network address that is mapped to the dummy hardware address, and rewrites the communication header in accordance with a networking address protocol for one or more intermediate networks between the sending and destination computing nodes using the retrieved address. As previously discussed,FIG.2Cillustrates one example of how such a physical network address may be configured. The header re-writing may further include changing other information in the new header, including changing a virtual network address for the sending computing node to be a corresponding physical network address, and in at least some embodiments includes modifying the received communication without encapsulation as part of an overlay of the virtual network over the one or more intermediate physical networks. In block555, the routine then facilitates providing of the modified outgoing communication to the destination computing node, such as by initiating forwarding of the modified outgoing communication over the intermediate network(s) to the destination computing node. While not illustrated here, in other embodiments various additional types of processing may be performed for outgoing node communications, such as to verify that the communications are valid or otherwise authorized in various ways (e.g., to verify that the sending computing node is authorized to send communications to the destination computing node, such as based on being associated with the same entity or part of the same virtual network, based on the sending and designation computing nodes being associated with different entities that are authorized to inter-communicate, based on the type of communication or other information specific to the communication, etc.).

If it is instead determined in block510that the received message is an incoming node communication for one of the managed computing nodes from an external computing node, the routine continues to block565to identify the physical network addresses for the sending and destination computing nodes from the communication header. As previously discussed,FIG.2Cillustrates one example of how such a physical network address may be configured. After block565, the routine continues to block570to optionally verify that the incoming communication is valid in one or more ways. For example, the routine may determine whether the physical network address for the sending communication node is actually mapped to a computing node that corresponds to the source physical network address location, such as based on interactions with a system manager module and/or based on other information previously obtained and stored by the routine. In addition, the routine may determine whether the physical network address for the destination communication node corresponds to an actual managed computing node. While not illustrated here, if an incoming communication is determined to not be valid, the routine may take various actions not shown, such as to generate one or more errors and perform associated processing and/or drop the incoming communication without forwarding it to the indicated destination node. For example, if the incoming communication indicates a destination network address that does not correspond to a current managed computing node, the routine may drop the incoming communication and/or initiate an error message, although in some embodiments such error messages are not sent to the sending computing node. If the indicated destination network address corresponds to a computing node that was recently managed but is not currently managed (e.g., due to that computing node no longer being associated with the indicated virtual network, such as due to no longer executing one or more programs on behalf of a corresponding entity), the routine may provide an indication to the sending computing node that the destination computing node is no longer available.

In the illustrated embodiment, after block570, the routine continues to block575to retrieve the dummy hardware address and the virtual network address that are mapped to the physical destination network address, and rewrite the communication header for the virtual local network so that it appears to be sent to a computing node with that virtual network address and dummy hardware address. For example, in some embodiments the destination virtual network address may be obtained from the destination physical network address itself, such as from a subset of the bits of the destination physical network address. In addition, the dummy destination hardware address may have previously been mapped to the physical destination network address, such as previously discussed with respect to block525. In situations in which such prior mapping has not occurred, the routine may instead perform blocks515-525to obtain such information. The routine may similarly rewrite the communication header for the virtual local network so that it appears to be sent from a computing node with a source virtual network address and dummy source hardware address corresponding to the sending computing node. After block575, the routine continues to block580to facilitate providing of the modified incoming communication to the destination computing node, such as by initiating forwarding of the modified incoming communication to the destination node.

If it is instead determined in block510that a message of another type is received, the routine continues to block585to perform another indicated operation as appropriate, such as to store information about entities associated with particular computing nodes, update previously mapped or stored information to reflect changes with respect to computing nodes that are being managed or to remote computing nodes, etc.

After blocks555,580, or585, or if it is instead determined in block530that the processing is not being performed with respect to an outgoing communication, the routine continues to block595to determine whether to continue. If so, the routine returns to block505, and if not continues to block599and ends.

In addition, various embodiments may provide mechanisms for customer users and other entities to interact with an embodiment of the system manager module for purpose of configuring computing nodes and their communications. For example, some embodiments may provide an interactive console (e.g. a client application program providing an interactive user interface, a Web browser-based interface, etc.) from which users can manage the creation or deletion of virtual networks and the specification of virtual network membership, as well as more general administrative functions related to the operation and management of hosted applications (e.g., the creation or modification of user accounts; the provision of new applications; the initiation, termination, or monitoring of hosted applications; the assignment of applications to groups; the reservation of time or other system resources; etc.). In addition, some embodiments may provide an API (“application programming interface”) that allows other computing systems and programs to programmatically invoke at least some of the described functionality. Such APIs may be provided by libraries or class interfaces (e.g., to be invoked by programs written in C, C++, or Java) and/or network service protocols such as via Web services. Additional details related to the operation of example embodiments of a program execution service with which the described techniques may be used are available in U.S. application Ser. No. 11/394,595, filed Mar. 31, 2006 and entitled “Managing Communications Between Computing Nodes;” U.S. application Ser. No. 11/395,463, filed Mar. 31, 2006 and entitled “Managing Execution of Programs by Multiple Computing Systems;” and U.S. application Ser. No. 11/692,038, filed Mar. 27, 2007 and entitled “Configuring Intercommunications Between Computing Nodes;” each of which is incorporated herein by reference in its entirety.

It will also be appreciated that, although in some embodiments the described techniques are employed in the context of a data center housing multiple physical machines hosting virtual machines and/or in the context of a program execution service, other implementation scenarios are also possible. For example, the described techniques may be employed in the context an organization-wide network or networks operated by a business or other institution (e.g. university) for the benefit of its employees and/or members. Alternatively, the described techniques could be employed by a network service provider to improve network security, availability, and isolation. In addition, example embodiments may be employed within a data center or other context for a variety of purposes. For example, data center operators or users that sell access to hosted applications to customers may in some embodiments use the described techniques to provide network isolation between their customers' applications and data; software development teams may in some embodiments use the described techniques to provide network isolation between various environments that they use (e.g., development, build, test, deployment, production, etc.); organizations may in some embodiments use the described techniques to isolate the computing resources utilized by one personnel group or department (e.g., human resources) from the computing resources utilized by another personnel group or department (e.g., accounting); or data center operators or users that are deploying a multi-component application (e.g., a multi-tiered business application) may in some embodiments use the described techniques to provide functional decomposition and/or isolation for the various component types (e.g., Web front-ends, database servers, business rules engines, etc.). More generally, the described techniques may be used to virtualize physical networks to reflect almost any situation that would conventionally necessitate physical partitioning of distinct computing systems and/or networks.

It will also be appreciated that in some embodiments the functionality provided by the routines discussed above may be provided in alternative ways, such as being split among more routines or consolidated into fewer routines. Similarly, in some embodiments illustrated routines may provide more or less functionality than is described, such as when other illustrated routines instead lack or include such functionality respectively, or when the amount of functionality that is provided is altered. In addition, while various operations may be illustrated as being performed in a particular manner (e.g., in serial or in parallel) and/or in a particular order, those skilled in the art will appreciate that in other embodiments the operations may be performed in other orders and in other manners. Those skilled in the art will also appreciate that the data structures discussed above may be structured in different manners, such as by having a single data structure split into multiple data structures or by having multiple data structures consolidated into a single data structure. Similarly, in some embodiments illustrated data structures may store more or less information than is described, such as when other illustrated data structures instead lack or include such information respectively, or when the amount or types of information that is stored is altered.

From the foregoing it will be appreciated that, although specific embodiments have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims and the elements recited therein. In addition, while certain aspects of the invention are presented below in certain claim forms, the inventors contemplate the various aspects of the invention in any available claim form. For example, while only some aspects of the invention may currently be recited as being embodied in a computer-readable medium, other aspects may likewise be so embodied.