# US 2020/0287777 A1 · Authorizing communications between computing nodes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0287777 A1
- Document ID: US20200287777A1
- Status: Published application
- Kind: A1
- Application number: 16/825,456
- Filed: 2020-03-20
- Published: 2020-09-10
- Earliest claimed: 2008-03-31
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Daniel Todd Cohn
- Web page: https://patentgrep.com/patent/US20200287777A1

## CPC

- H04L 41/28: Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
- H04L 41/00: Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L 45/586: of virtual routers
- H04L 61/103: across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
- H04L 61/251: between different IP versions
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04W 12/06: Authentication
- H04L 2101/604: Address structures or formats
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

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 situations, 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 from the edge of the one or more intermediate physical networks by modifying communications that enter and/or leave the intermediate physical networks. In some situations, the computing nodes may include virtual machine nodes hosted on one or more physical computing machines or systems, such as by or on behalf of one or more users (e.g., users of a program execution service). The managing of the communications may include determining whether communications sent to managed computing nodes are authorized, and providing the communications to the computing nodes only if they are determined to be authorized.

## Claims

### Claim 1

A method for a computing system to authorize communications between computing nodes, the method comprising:
under control of a first communication manager module that manages communications for multiple associated computing nodes,
receiving an incoming communication intended for an executing program on a destination node that is one of the associated computing nodes for the first communication manager module, the incoming communication having an indicated source network address corresponding to a remote sending node that sent the incoming communication and that is one of multiple other computing nodes managed by a remote second communication manager module, the first communication manager module being communicatively connected to the second communication manager module via at least one intermediate physical network;
before forwarding the incoming communication to the destination node, automatically determining whether the incoming communication is authorized for the destination node based at least in part on the indicated source network address for the incoming communication, the automatic determining including:
extracting from the indicated source network address a partial source network address that corresponds to the second communication manager module, a virtual network address for the sending node that is based on a virtual local network to which the sending node and destination node belong, and a network identifier that uniquely identifies the virtual local network;
interacting with a remote system manager module that maintains information about computing nodes associated with multiple communication manager modules, the interacting including providing an indication of the extracted virtual network address and extracted network identifier and including receiving an indication of a partial network address corresponding to an indicated communication manager module whose associated computing nodes include the computing node to which is assigned the extracted virtual network address for the virtual network having the extracted network identifier;
verifying whether the partial network address indicated by the system manager module matches the partial source network address extracted from the indicated source network address for the incoming communication, and whether the sending node is authorized to send the incoming communication to the destination node based at least in part on predetermined authorization rules; and
determining that the incoming communication is authorized for the destination node if the partial network address indicated by the system manager module is verified to match the partial source network address extracted from the indicated source network address for the incoming communication and if the sending node is verified to be authorized to send the incoming communication to the destination node; and
if the incoming communication is automatically determined to be authorized for the destination node, initiating forwarding of the incoming communication to the destination node.

### Claim 2 (depends on 1)

The method of claim 1 wherein the program on the destination node is being executed on behalf of a first customer of a program execution service, wherein the destination node is one of multiple virtual machines that are hosted by one of multiple physical computing systems associated with the program execution service, wherein the first communication manager module is provided by a virtual machine manager module of the one physical computing system on behalf of the program execution service, wherein the sending node is one of multiple virtual machines that are hosted by another of the multiple physical computing systems, wherein the system manager module executes on behalf of the program execution service and further maintains information about programs being executed on the multiple physical computing systems on behalf of customers, and wherein the verifying of whether the sending node is authorized to send the incoming communication to the destination node includes determining if a second program that sent the incoming communication from the sending node is also executing on behalf of the first customer.

### Claim 3 (depends on 1)

The method of claim 1 wherein the virtual local network uses virtual network addresses that are specified using a first network addressing protocol, wherein the at least one intermediate physical network uses physical network addresses that are specified using a distinct second network addressing protocol, wherein the first and second communication manager modules modify headers of communications so as to enable an overlay of the virtual local network on the at least one intermediate physical network without encapsulating the communications in one or more other communications to be sent over the at least one intermediate physical network, and wherein the method further comprises, under control of the second communication manager module and before the receiving of the incoming communication by the first communication manager module:
receiving the incoming communication from the sending node as an outgoing communication sent from a second executing program on the sending node that is intended for the executing program on the destination node, the outgoing communication having an indicated source address that is the virtual network address for the sending node specified in accordance with the first network addressing protocol;
automatically verifying that the sending node is authorized to send the outgoing communication to the destination node based at least in part on the predetermined authorization rules, the predetermined authorization rules including that the sending node and destination node both belong to the virtual local network;
automatically modifying the outgoing communication by changing the indicated source address to the indicated source network address for the incoming communication; and
forwarding the modified outgoing communication to the first communication manager module over the at least one intermediate physical network, such that the incoming communication received by the first communication manager module is the forwarded modified outgoing communication.

### Claim 4

A computer-implemented method for authorizing communications between computing nodes, the method comprising:
receiving an incoming communication sent from a remote sending computing node that is intended for a destination computing node, the sending computing node being communicatively connected to the destination computing node via at least one intermediate network, the communication having an indicated source address for the sending computing node that includes a partial source network address for the sending computing node based on the at least one intermediate network and that includes a representation of a virtual network address for the sending computing node that is not based on the at least one intermediate network, the partial source network address corresponding to a portion of the at least one intermediate network that has multiple computing nodes;
before providing the incoming communication to the destination computing node, automatically determining whether the incoming communication is authorized for the destination computing node based at least in part on the indicated source address for the incoming communication, the automatic determining including verifying whether the virtual network address represented in the indicated source address is assigned to one of the multiple computing nodes of the network portion to which the partial source network address corresponds; and
if the incoming communication is automatically determined to be authorized, initiating forwarding of the incoming communication to the destination computing node.

### Claim 5 (depends on 4)

The method of claim 4 wherein the automatic determining of whether the incoming communication is authorized for the destination computing node further includes verifying that the sending computing node is authorized to send the incoming communication to the destination computing node based at least in part on the destination computing node being part of a virtual network to which the sending computing node belongs, and wherein the virtual network address represented in the indicated source address for the incoming communication is specified in accordance with the virtual network.

### Claim 6 (depends on 5)

The method of claim 5 wherein the indicated source address for the sending computing node further includes an identifier for the virtual network to which the sending computing node belongs, and wherein the verifying of whether the virtual network address is assigned to one of the multiple computing nodes of the network portion includes identifying to which computing node the virtual network address is assigned based at least in part on the virtual network address and on the identifier for the virtual network.

### Claim 7 (depends on 4)

The method of claim 4 wherein the sending computing node is executing one or more programs on behalf of a first entity, wherein the destination computing node is executing one or more programs on behalf of a second entity, and wherein the automatic determining of whether the incoming communication is authorized for the destination computing node further includes verifying that the sending computing node is authorized to send the incoming communication to the destination computing node based at least in part on the first entity being authorized to send communications to the second entity.

### Claim 8 (depends on 4)

The method of claim 4 wherein the incoming communication is determined to be of a first type, and wherein the automatic determining of whether the incoming communication is authorized for the destination computing node further includes verifying that the destination computing node is authorized to receive communications of the first type.

### Claim 9 (depends on 4)

The method of claim 4 wherein the partial source network address of the indicated source address reflects a topology of the at least one intermediate network such that the network portion to which the partial source network address corresponds is a physical sub-network in which the multiple computing nodes are co-located.

### Claim 10 (depends on 4)

The method of claim 4 wherein the method is performed under control of a first communication manager module that manages communications for one or more computing nodes that include the destination computing node, wherein the partial source network address of the indicated source address corresponds to a remote second communication manager module that manages communications for multiple other computing nodes that include the sending computing node, the multiple other computing nodes whose communications are managed by the second communication manager module being the multiple computing nodes of the network portion, wherein the incoming communication is sent over the at least one intermediate network from the second communication manager module to the first communication manager module before being received by the first communication manager module, and wherein the forwarding of the incoming communication to the destination computing node includes providing the incoming communication to the destination computing node in a manner that is not part of the at least one intermediate network.

### Claim 11 (depends on 4)

The method of claim 4 wherein the automatic determining of whether the incoming communication is authorized for the destination computing node based at least in part on the indicated source address for the incoming communication includes verifying that the indicated source address for the incoming communication represents the sending computing node that actually sent the incoming communication, so as to prevent the sending computing node from spoofing its identity in the indicated source address.

### Claim 12 (depends on 4)

The method of claim 4 wherein the automatic determining of whether the incoming communication is authorized for the destination computing node based at least in part on the indicated source address for the incoming communication includes interacting with a remote system manager module that maintains information about multiple virtual networks that each include multiple computing nodes, the maintained information including information about computing nodes to which virtual network addresses for the multiple virtual networks are assigned.

### Claim 13 (depends on 4)

The method of claim 4 wherein the receiving of the incoming communication is performed by a first communication manager module that manages communications for one or more computing nodes that include the destination computing node, and wherein the method further comprises, under control of a second communication manager module that manages communications for one or more computing nodes that include the sending computing node and before the receiving of the incoming communication by the first communication manager module, determining whether to provide addressing information to the sending computing node that corresponds to the destination computing node so that the sending computing node is able to send the incoming communication to the destination computing node, the determining of whether to provide the addressing information being based at least in part on whether the sending computing node is determined to be authorized to send communications to the destination computing node.

### Claim 14 (depends on 4)

The method of claim 4 wherein the method further comprises, under control of a communication manager module that manages communications for one or more computing nodes that include the sending computing node:
receiving an indication of an outgoing communication being sent from the sending computing node to the destination computing node, the outgoing communication using the virtual network address for the sending computing node as a source address for the sending computing node and using a distinct virtual network address as a destination address for the destination computing node;
automatically determining that the sending computing node is authorized to send the outgoing communication to the destination computing node; and
after the automatic determining that the sending computing node is authorized,
automatically modifying the outgoing communication by changing the source address of the outgoing communication to be the indicated source network address and by changing the destination address of the outgoing communication to be a destination network address for the destination computing node that includes a partial destination network address based on the at least one intermediate network and that includes a representation of the distinct virtual network address for the destination computing node; and
forwarding the modified outgoing communication to the destination computing node over the at least one intermediate network, such that the received incoming communication is the forwarded modified outgoing communication.

### Claim 15 (depends on 4)

The method of claim 4 wherein the method is performed by a first communication manager module that manages communications for one or more computing nodes that include the sending computing node, and wherein the initiating of the forwarding of the incoming communication to the destination computing node includes sending the incoming communication over the at least one intermediate network to a second communication manager module that manages communications for one or more computing nodes that include the destination computing node.

### Claim 16 (depends on 4)

The method of claim 4 wherein the destination computing node is one of multiple virtual machines hosted by a first physical computing system, wherein the first physical computing system is one of multiple physical computing systems used by a program execution service to execute programs on behalf of customers, wherein the destination computing node executes one or more programs on behalf of one of the customers of the program execution service, wherein the method is performed by a virtual machine manager module that executes on the first physical computing system to manage communications by the multiple hosted virtual machines on behalf of the program execution service,
and wherein the automatic determining of whether the incoming communication is authorized for the destination computing node is performed on behalf of the program execution service so as to provide a virtual network to the one customer.

### Claim 17

A computer-readable medium whose contents enable a computing system to authorize communications between computing nodes, by performing a method comprising:
receiving a communication sent by a sending node to a destination node via one or more networks, the communication indicating a source network address for the sending node for use in responding to the communication over the one or more networks, the indicated source address including a partial source network address for the sending node that corresponds to multiple nodes and including a representation of a virtual network address for the sending node;
automatically determining that the communication is authorized based at least in part on the virtual network address represented in the indicated source address corresponding to one of the multiple nodes for the partial source network address; and
facilitating providing of the communication to the destination node.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17 wherein the sending node is one of multiple virtual machines hosted by a first physical computing system, wherein the first physical computing system executes a virtual machine communication manager module to manage communications by the multiple hosted virtual machines, wherein the method is performed by a distinct communication manager module that executes on a distinct second physical computing system to manage communications by one or more other computing nodes that include the destination node, wherein the automatic determining that the communication is authorized includes verifying that the virtual network address included in the indicated source address for the communication matches the sending node, the verifying including identifying a communication manager module that manages communications for a computing node to which the included virtual network address is assigned and verifying that the identified communication manager module is the virtual machine communication manager module of the first physical computing system, and wherein the automatic determining that the communication is authorized further includes determining that the sending node is authorized to send the communication to the destination node.

### Claim 19 (depends on 17)

The computer-readable medium of claim 17 wherein the computer-readable medium is at least one of a memory in a computing device and a data transmission medium transmitting a generated signal containing the contents.

### Claim 20 (depends on 17)

The computer-readable medium of claim 17 wherein the contents are instructions that when executed cause the computing system to perform the method.

### Claim at position 21

-25. (canceled)
