IP Library Granted Patent US 11,240,203
Granted Patent B1
US 11,240,203 · App. 16/213,089 · Granted Feb 1, 2022

Network segmentation by automatically generated security groups

Inventor: Hatem Eyada (Redmond, WA)
Assignee: Amazon Technologies, Inc.
H04L63/0263H04L63/0272H04L63/104H04L63/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,240,203
App. No.
16/213,089
Granted
Feb 1, 2022
Kind
B1
Abstract

A method of automatic security group generation by a firewall management service. The method may include receiving a security policy definition allowing cloud resource instances labeled by a first tag to communicate to cloud resource instances labeled by a second tag; creating a first security group comprising an inbound firewall rule for the cloud resource instances associated with the first tag, wherein the inbound firewall rule specifies cloud resource instances associated with a second security group as source communication endpoints; creating a second security group comprising an outbound firewall rule for the cloud resources instances associated with the second tag, wherein the outbound firewall rule specifies cloud resource instances associated with the first security group as destination communication endpoints; and causing a firewall service to implement the first security group and the second security group.

Claims (69)

1. A method, comprising:

receiving, by a firewall management service, a security policy definition allowing a first set of cloud resource instances labeled by a first tag to service requests initiated by a second set of cloud resource instances labeled by a second tag, wherein the first set of cloud resource instances and the second set of cloud resource instances are interconnected by a private network;

generating a first security group comprising an inbound firewall rule for the first set of cloud resource instances, wherein the inbound firewall rule comprises a source communication endpoint identifier, a transport layer protocol identifier, and a port identifier;

generating a second security group comprising an outbound firewall rule for the second set of cloud resource instances, wherein the outbound firewall rule comprises a destination communication endpoint identifier, the transport layer protocol identifier, and the port identifier;

substituting, in the inbound firewall rule associated with the first security group, the source communication endpoint identifier with an identifier of the second security group;

substituting, in the outbound firewall rule associated with the second security group, the destination communication endpoint identifier with an identifier of the first security group;

associating, with the first security group, a first cloud resource instance labeled by the first tag;

associating, with the second security group, a second cloud resource instance labeled by the second tag;

labeling the first security group and the second security group with a service-reserved tag preventing association of the first security group and the second security group with other cloud resource instances; and

causing a firewall service to partition the private network into a first logical network and a second logical network by implementing the first security group and the second security group, wherein the first logical network interconnects the first set of cloud resource instances, and wherein the second logical network interconnects the second set of cloud resource instances.

2. The method of claim 1 , wherein the first tag indicates at least one of: a cloud resource function, a cloud resource type, or an application type.

3. The method of claim 1 , further comprising:

receiving, from a cloud management service, a notification of deletion of the first cloud resource instance;

determining that no active cloud resource instances remain associated with the first security group; and

deleting the first security group.

4. The method of claim 1 , wherein the first cloud resource instance runs within a first virtual private cloud and the second cloud resource instance runs within a second virtual private cloud, the method further comprising:

receiving, from a cloud management service, a notification of deletion of a peering link between the first virtual private cloud and the second virtual private cloud;

deleting the first security group; and

deleting the second security group.

5. The method of claim 1 , wherein associating the first cloud resource instance with the first security group is performed responsive to receiving, from a cloud management service, a notification of activation of the first cloud resource instance labeled by the first tag.

6. A computer system, comprising:

a memory; and

a processing device operatively coupled to the memory, the processing device to:

identify a first set of cloud resource instances labeled by a first tag and a second set of cloud resource instances labeled by a second tag, wherein the first set of cloud resource instances and the second set of cloud resource instances are interconnected by a private network;

generate a first security group comprising an inbound firewall rule associated with the first set of cloud resource instances, wherein the inbound firewall rule specifies a source communication endpoint identifier, a transport layer protocol identifier, and a port identifier;

generate a second security group comprising an outbound firewall rule associated with the second set of cloud resources instances, wherein the outbound firewall rule specifies a destination communication endpoint identifier, the transport layer protocol identifier, and the port identifier;

substitute, in the inbound firewall rule associated with the first security group, the source communication endpoint identifier with an identifier of the second security group;

substitute, in the outbound firewall rule associated with the second security group, the destination communication endpoint identifier with an identifier of the first security group;

label the first security group and the second security group with a service-reserved tag preventing association of the first security group and the second security group with other cloud resource instances; and

partition, by invoking the first security group and the second security group, the private network into a first logical network interconnecting the first set of cloud resource instances and a second logical network interconnecting the second set of cloud resource instances.

7. The computer system of claim 6 , wherein invoking the first security group further comprises:

applying the first security group based on a security policy definition allowing cloud resource instances labeled by the first tag to communicate to cloud resource instances labeled by the second tag.

8. The computer system of claim 6 , wherein the first tag indicates at least one of: a cloud resource function, a cloud resource type, or an application type.

9. The computer system of claim 6 , wherein the processing device is further configured to:

receive, from a cloud management service, a notification of activation of a first cloud resource instance labeled by the first tag; and

associate the first cloud resource instance with the first security group.

10. The computer system of claim 6 , wherein the processing device is further configured to:

receive, from a cloud management service, a notification of deletion of a cloud resource instance associated with the first security group;

determine that no active cloud resource instances remain associated with the first security group; and

delete the first security group.

11. The computer system of claim 6 , wherein a first cloud resource instance runs within a first virtual private cloud and a second cloud resource instance runs within a second virtual private cloud, and wherein the processing device is further to:

receive, from a cloud management service, a notification of deletion of a peering link between the first virtual private cloud and the second virtual private cloud;

delete the first security group; and

delete the second security group.

12. The computer system of claim 6 , wherein the first tag is associated with a tag domain restricted to a specific user role.

13. The computer system of claim 6 , wherein the first tag is associated with a first tag domain of a tag space, wherein the tag space comprises the first tag domain and a second tag domain, wherein the first tag domain is associated with a first user role and the second tag domain is associated with a second user role.

14. A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:

identify a first set of cloud resource instances labeled by a first tag and a second set of cloud resource instances labeled by a second tag, wherein the first set of cloud resource instances and the second set of cloud resource instances are interconnected by a private network;

generate a first security group comprising an inbound firewall rule for the first set of cloud resource instances, wherein the inbound firewall rule comprises a source communication endpoint identifier, a transport layer protocol identifier, and a port identifier;

generate a second security group comprising an outbound firewall rule for the second set of cloud resources instances, wherein the outbound firewall rule comprises a destination communication endpoint identifier, the transport layer protocol identifier, and the port identifier;

label the first security group and the second security group with a service-reserved tag preventing association of the first security group and the second security group with other cloud resource instances; and

replace, in the inbound firewall rule associated with the first security group, the source communication endpoint identifier with an identifier of the second security group;

replace, in the outbound firewall rule associated with the second security group, the destination communication endpoint identifier with an identifier of the first security group; and

partition, by invoking the first security group and the second security group, the private network into a first logical network interconnecting the first set of cloud resource instances and a second logical network interconnecting the second set of cloud resource instances.

15. The non-transitory computer-readable storage medium of claim 14 , wherein the first tag indicates at least one of: a cloud resource function, a cloud resource type, or an application type.

16. The non-transitory computer-readable storage medium of claim 14 , further comprising executable instructions to cause the processing device to:

receive, from a cloud management service, a notification of activation of a first cloud resource instance labeled by the first tag; and

associate the first cloud resource instance with the first security group.

17. The non-transitory computer-readable storage medium of claim 14 , further comprising executable instructions to cause the processing device to:

receive, from a cloud management service, a notification of deletion of a cloud resource instance associated with the first security group;

determine that no active cloud resource instances remain associated with the first security group; and

delete the first security group.

18. The non-transitory computer-readable storage medium of claim 14 , wherein a first cloud resource instance runs within a first virtual private cloud and a second cloud resource instance runs within a second virtual private cloud, and wherein the processing device is further to:

receive, from a cloud management service, a notification of deletion of a peering link between the first virtual private cloud and the second virtual private cloud;

delete the first security group; and

delete the second security group.

19. The non-transitory computer-readable storage medium of claim 14 , wherein the first tag is associated with a tag domain restricted to a specific user role.

20. The non-transitory computer-readable storage medium of claim 14 , further comprising executable instructions to cause the processing device to:

receive a security policy definition allowing cloud resource instances labeled by the first tag to communicate to cloud resource instances labeled by the second tag.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 10, 2018
From: EYADA, HATEM
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 047722/0548 →
Cited By (10)
US 12,212,494 US 12,237,989 US 12,261,847 US 12,355,729 US 12,375,533 US 12,386,923 US 12,407,598 US 12,425,371 US 12,463,986 US 12,563,009