Skip to content

Commit

Permalink
Adding images to illustrate the different network stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanpeck committed Jan 16, 2018
1 parent ee1f658 commit 7200027
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.md
Expand Up @@ -11,11 +11,15 @@ Launch the stack of your choice, and give it a friendly name in CloudFormation.

Choose one of the following:

__[Public VPC](fargate-networking-stacks/public-vpc.yml)__
#### [Public VPC](fargate-networking-stacks/public-vpc.yml):

![public task](images/public-task.png)

Fully public networking stack. All containers launched in this stack will have public IP addresses and can be directly accessible on the internet via an internet gateway, or indirectly accessible via a public facing load balancer. (Note that by default the security groups are configured so that the containers only accept traffic from the load balancer, even though they have public IP addresses. The capability for direct access is there if the security group is changed though.)

__[Public + Private VPC](fargate-networking-stacks/public-private-vpc.yml)__
#### [Public + Private VPC](fargate-networking-stacks/public-private-vpc.yml):

![private task](images/private-task.png)

Networking stack with both public and private subnets. This stack offers the most flexibility, with the ability to host both public facing services, as well as private, internal services for which there is no public access.
Containers that are run in the private subnet can access the internet via NAT
Expand All @@ -25,15 +29,21 @@ gateway.

There are three service templates to choose between.

__[Public Subnet, Public Load Balancer](service-stacks/public-subnet-public-loadbalancer.yml)__
#### [Public Subnet, Public Load Balancer](service-stacks/public-subnet-public-loadbalancer.yml):

![public subnet public load balancer](images/public-task-public-loadbalancer.png)

This template requires the public subnet or public + private subnet networking stack. It launches containers that have public IP addresses in a public subnet, so they are directly accessible to the public. It also associates the containers with a public facing load balancer.

__[Private Subnet, Public Load Balancer](service-stacks/private-subnet-public-loadbalancer.yml)__
#### [Private Subnet, Public Load Balancer](service-stacks/private-subnet-public-loadbalancer.yml):

![private subnet public load balancer](images/private-task-public-loadbalancer.png)

This template requires the public + private subnet networking stack. It launches containers that have no public IP address, and which are hosted in private subnet. If they need to make external requests, they can initiate outbound network traffic through a NAT gateway in the public subnets. The only way to get network traffic to these private containers is via a public facing load balancer which is hosted in the public subnets.

__[Private Subnet, Private Load Balancer](service-stacks/private-subnet-private-loadbalancer.yml)__
#### [Private Subnet, Private Load Balancer](service-stacks/private-subnet-private-loadbalancer.yml):

![private subnet private load balancer](images/private-task-private-loadbalancer.png)

This template requires the public + private subnet networking stack. It launches containers that are hosted in a private subnet, and have no public IP address. The containers are behind an internal load balancer which is hosted in the private subnet, with no public IP address either. This allows other containers in the subnet to make requests against the load balancer, but the load balancer is not accessible to the public internet. These private services can still initiate outbound access the internet via the NAT gateway hosted in the public subnets.

Expand Down
Binary file added images/local-networking.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/private-task-private-loadbalancer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/private-task-public-loadbalancer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/private-task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/public-task-public-loadbalancer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/public-task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7200027

Please sign in to comment.