Amazon ECS Task metadata endpoint - Amazon Elastic Container Service

Amazon ECS Task metadata endpoint

Important

If you are using Amazon ECS tasks hosted on AWS Fargate, see Amazon ECS task metadata endpoint in the Amazon Elastic Container Service User Guide for AWS Fargate.

The Amazon ECS container agent provides a method to retrieve various task metadata and Docker stats. This is referred to as the task metadata endpoint. The following versions are available:

  • Task metadata endpoint version 4 – Provides a variety of metadata and Docker stats to containers. Can also provide network rate data. Available for Amazon ECS tasks launched on Amazon EC2 instances running at least version 1.39.0 of the Amazon ECS container agent. For more information, see Task metadata endpoint version 4.

  • Task metadata endpoint version 3 – Provides a variety of metadata and Docker stats to containers. Available for Amazon ECS tasks launched on Amazon EC2 instances running at least version 1.21.0 of the Amazon ECS container agent. For more information, see Task Metadata Endpoint version 3.

  • Task metadata endpoint version 2 – Available for Amazon ECS tasks launched on Amazon EC2 instances running at least version 1.17.0 of the Amazon ECS container agent. For more information, see Task Metadata Endpoint version 2.