Task networking with the host network mode - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Task networking with the host network mode

With the host network mode, the networking of the container is tied directly to the Amazon EC2 instance host that the container is running on. Each container receives traffic over the IP address of the Amazon EC2 instance that is hosting it. For more information, see Choosing a network mode in the Amazon ECS Best Practices Guide.