# US 2024/0205051 A1 · Resource sharing between cloud-hosted virtual networks

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

- Number: US 2024/0205051 A1
- Document ID: US20240205051A1
- Status: Published application
- Kind: A1
- Application number: 18/081,496
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Piyush Mathur; Oleg Albegov; Ashish Kumar; Joseph Elmar Magerramov; Nishant Mehta
- Web page: https://patentgrep.com/patent/US20240205051A1

## CPC

- H04L 12/4675: {Dynamic sharing of VLAN information amongst network nodes (configuration of the network or of network elements H04L41/08)}
- H04L 61/2535: {Multiple local networks, e.g. resolving potential IP address conflicts}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 61/2517: using port numbers
- H04L 63/104: {Grouping of entities}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for resource sharing between cloud-hosted virtual networks are described. A first network address of a first virtual network is associated with a resource connected to a second virtual network, the first and second virtual networks within a cloud provider network. A service of the cloud provider network receives a message destined for the first network address. The service translates the first network address to a second network address of the resource in the second virtual private network. The service sends the message to the resource at the second network address in the second virtual network.

## Claims

### Claim 1

A computer-implemented method comprising:
by a service of a cloud provider network:
associating a resource having a first network address on a first virtual network with a resource owner endpoint, the resource owner endpoint having a second network address on the first virtual network, wherein the resource owner endpoint is a virtual network interface of the service to the first virtual network;
assigning a network address prefix of a second virtual network to a resource consumer endpoint of the second virtual network, wherein the resource consumer endpoint is a virtual network interface of the service to the second virtual network;
associating a third network address within the network address prefix with the resource;
receiving a message from the resource consumer endpoint, the message destined for the third network address;
translating the third network address to the first network address on the first virtual network; and
sending the message to the resource at the first network address on the first virtual network via the resource owner endpoint.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the resource has an associated domain name and further comprising:
updating a name server of the second virtual network with a record to associate a domain name of the resource with the third network address.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a policy to associate with the resource, the policy granting access to the resource to at least one of an account, a role, an organization unit, or an organization associated with the second virtual network.

### Claim 4

A computer-implemented method comprising:
by a service of a cloud provider network:
associating a first network address of a first virtual network with a resource connected to a second virtual network, wherein the first virtual network and the second virtual network are part of the cloud provider network;
receiving a message destined for the first network address;
translating the first network address to a second network address of the resource in the second virtual network; and
sending the message to the resource at the second network address in the second virtual network.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising, by the service:
receiving a first request to create a virtual network interface between the service and the second virtual network to share resources of the second virtual network with other virtual networks; and
creating the virtual network interface between the service and the second virtual network, wherein the message is sent by the service to the resource via the virtual network interface.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising, by the service:
receiving a second request to associate the resource with the virtual network interface, the second request including an identification of the resource and an indication of the virtual network interface; and
updating service metadata to associate the resource with the virtual network interface.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the identification of the resource in the second request is at least one of a resource name unique to the resource within the cloud provider network, a domain name, or a network address.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the second request further includes a permissions policy that identifies at least one of a user account, a role, an organizational unit, or an organization associated with the first virtual network as having permissions to access the resource.

### Claim 9 (depends on 4)

The computer-implemented method of claim 4, further comprising, by the service:
receiving a first request to create a virtual network interface between the service and the first virtual network to access shared resources in other virtual networks; and
creating the virtual network interface between the service and the first virtual network, wherein the message destined for the first network address is received by the service via the virtual network interface.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, further comprising, by the service:
receiving a request to identify resources shared with an identity, wherein the identity is at least one of a user account, a role, an organizational unit, or an organization of the first virtual network;
providing an identification of one or more resources shared with identity that includes an identification of the resource connected to a second virtual network; and
receiving a request to add the resource to the virtual network interface, wherein the first network address of the first virtual network is associated with the resource connected to the second virtual network based at least in part on the request to add the resource to the virtual network interface.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, further comprising, by the service:
updating a name server of the first virtual network with a record to associate a domain name of the resource connected to the second virtual network with the first network address.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9, further comprising, by the service:
storing a mapping of the virtual network interface, a source network address of the message, and a source port of the message to a port of another virtual network interface between the service and the second virtual network;
wherein sending the message to the resource at the second network address in the second virtual network includes replacing the source network address of the message with a network address of the other virtual network interface and replacing the source port with the port of the other virtual network interface;
receiving a second message from the resource, the second message having a destination network address of the network address of the other virtual network interface and a destination port of the port of the other virtual network interface; and
identifying the stored mapping based on the destination port of the second message; and
replacing the destination network address of the second message with the source network address of the message in the stored mapping and replacing the destination port of the second message with the source port of the message in the stored mapping; and
sending the second message to the first virtual network via the virtual network interface in the stored mapping.

### Claim 13

A system comprising:
a first one or more electronic devices to implement a virtual network interlink service in a cloud provider network, the virtual network interlink service including instructions that upon execution cause the virtual network interlink service to:
associate a first network address of a first virtual network with a resource connected to a second virtual network, wherein the first virtual network and the second virtual network are part of the cloud provider network;
receive a message destined for the first network address;
translate the first network address to a second network address of the resource in the second virtual network; and
send the message to the resource at the second network address in the second virtual network; and
a second one or more electronic devices to host the resource connected to the second virtual network.

### Claim 14 (depends on 13)

The system of claim 13, the virtual network interlink service includes further instructions that upon execution cause the virtual network interlink service to:
receive a first request to create a virtual network interface between the service and the second virtual network to share resources of the second virtual network with other virtual networks; and
create the virtual network interface between the service and the second virtual network, wherein the message is sent by the service to the resource via the virtual network interface.

### Claim 15 (depends on 14)

The system of claim 14, the virtual network interlink service includes further instructions that upon execution cause the virtual network interlink service to:
receive a second request to associate the resource with the virtual network interface, the second request including an identification of the resource and an indication of the virtual network interface; and
update service metadata to associate the resource with the virtual network interface.

### Claim 16 (depends on 15)

The system of claim 15, wherein the identification of the resource in the second request is at least one of a resource name unique to the resource within the cloud provider network, a domain name, or a network address.

### Claim 17 (depends on 15)

The system of claim 15, wherein the second request further includes a permissions policy that identifies at least one of a user account, a role, an organizational unit, or an organization associated with the first virtual network as having permissions to access the resource.

### Claim 18 (depends on 13)

The system of claim 13, the virtual network interlink service includes further instructions that upon execution cause the virtual network interlink service to:
receive a first request to create a virtual network interface between the service and the first virtual network to access shared resources in other virtual networks; and
create the virtual network interface between the service and the first virtual network, wherein the message destined for the first network address is received by the service via the virtual network interface.

### Claim 19 (depends on 18)

The system of claim 18, the virtual network interlink service includes further instructions that upon execution cause the virtual network interlink service to:
receive a request to identify resources shared with an identity, wherein the identity is at least one of a user account, a role, an organizational unit, or an organization of the first virtual network;
provide an identification of one or more resources shared with identity that includes an identification of the resource connected to a second virtual network; and
receive a request to add the resource to the virtual network interface, wherein the first network address of the first virtual network is associated with the resource connected to the second virtual network based at least in part on the request to add the resource to the virtual network interface.

### Claim 20 (depends on 19)

The system of claim 19, the virtual network interlink service includes further instructions that upon execution cause the virtual network interlink service to:
update a name server of the first virtual network with a record to associate a domain name of the resource connected to the second virtual network with the first network address.
