Posted On: Feb 8, 2018

You can now query task metadata and container-level Docker statistics for tasks that are launched using the awsvpc network mode. This gives you a straightforward way to get environmental data such as task, container, and image ID, as well as check the status and health of running containers and tasks.

Previously, you could access container metadata and statistics by querying a metadata file on the host EC2 instance.

Now, you can query metadata and Docker statistics directly from an HTTP endpoint using a RESTful API call for tasks launched using the awsvpc network mode. This makes it easier to query metadata and statistics.

At the time of launch, the HTTP endpoint will only be available for Amazon ECS tasks running using the awsvpc network mode and Amazon EC2 launch type. The HTTP endpoint is not currently available for tasks launched using AWS Fargate.

To learn more, visit the Amazon ECS documentation. You can get more information about Amazon ECS on the product page.

Amazon ECS is available in US East (N. Virginia), US East (Ohio), US West (Oregon), US West (N. California), Canada (Central), South America (São Paulo), GovCloud (US), EU (Ireland), EU (Frankfurt), EU (London), EU(Paris), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Seoul), Asia Pacific (Mumbai), and China (Beijing) regions. For more information on AWS regions and service, please visit here