aws / aws/containers-roadmap

ECS Agent tag EC2 instance with its own container instance id

Open
#515 1 comment 0 reactions 0 assignees View on GitHub
ECS
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Summary
The hability of the ECS Agent tag the instance that it's running in with the ECS Cluster ARN and ECS Container Instance ID.

## Description
On a cluster with 3000+ instances split on 30+ clusters to identify where a Task was placed, mainly on AWS Batch side.

1 Container instance can only be placed in 1 cluster only and will have only 1 valid ID it's nonsense to not have such feature so you could relate the resources Backwards to the cluster.

The API for checking the container instance requires the cluster so If you do have the container ID and +30 cluster you need todo a try and error to find out the cluster that it belongs too.

I don't know why such feature as ENABLE and DISABLE being DISABLE as default never was implemented.

Contributor guide

Open the contributing guide

Research direction

Start with the ECS Agent, EC2 instance tagging, ECS Cluster ARN, Container Instance ID, and AWS Batch context named in the issue. Clarify the proposed enable/disable behavior and how tags should be represented; done means an ECS container instance can identify its cluster and container instance ID without trying multiple clusters.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.