From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Managing network models

Managing network models

From the course: Docker on AWS

Start my 1-month free trial

Managing network models

- [Narrator] For the most part, the networking models within the container space and specifically the ECS space, are abstracted from most user cases. But, we do actually have options when we're setting up for ECS clusters, and the most common is to use the Awsvpc model. This really gives us the most flexibility, but there are cases where we're looking for the maximum performance into our environment and we might use the host mode or direct mapping of EC2 host interfaces to our containers. That does limit what containers can run on any one host because we're also overriding the TCP ports that are associated with those hosts. So we can only have one container, one task running on port AD in that case. But when performance is the absolute critical interface, host mode is most likely your best option. For all other resources, usually you want to use Awsvpc. It provides an IP address, and ENI or elastic network interface per…

Contents