Posted On: Nov 2, 2017

HAQM EC2 Container Service (HAQM ECS) now allows applications running in containers to directly access metadata about their environment.

Previously, if an application running in a container managed by HAQM ECS required access to information about its environment, you needed to manually call this metadata using the Docker or HAQM ECS introspection API, and inject it into the container. 

Now, applications running in containers managed by HAQM ECS can directly query environmental metadata such as the Docker container and Docker image name and id, the container’s networking configuration and port mapping, as well as the ECS Task’s and Container Instance HAQM Resource Name (ARN). This makes applications running on HAQM ECS environment-aware, and enables them to self-register in Service Discovery and Configuration Management solutions.  

To learn more about container metadata, see the HAQM ECS documentation. Learn more about HAQM ECS here.

HAQM ECS is available in US East (Ohio), US East (N. Virginia), US West (N. California), US West (Oregon), Canada (Central), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), EU (London), and China (Beijing) regions. For more information on AWS regions and service, please visit here.