Skip to content

Instantly share code, notes, and snippets.

@akhil-reni
Created September 17, 2021 12:14
Show Gist options
  • Save akhil-reni/bec9900d8d3607598301aa82136c0cd3 to your computer and use it in GitHub Desktop.
Save akhil-reni/bec9900d8d3607598301aa82136c0cd3 to your computer and use it in GitHub Desktop.
Fargate ECS metadata response
{
"Cluster": "arn:aws:ecs:ap-south-1:redacted:cluster/temp",
"TaskARN": "arn:aws:ecs:ap-south-1:redacted:task/temp/ae92c046a2c348d888897f8a85da9bec",
"Family": "nginx",
"Revision": "13",
"DesiredStatus": "RUNNING",
"KnownStatus": "RUNNING",
"Containers": [
{
"DockerId": "ae92c046a2c348d888897f8a85da9bec-2531612879",
"Name": "nginx",
"DockerName": "nginx",
"Image": "nginx:latest",
"ImageID": "sha256:853b221d3341add7aaadf5f81dd088ea943ab9c918766e295321294b035f3f3e",
"Labels": {
"com.amazonaws.ecs.cluster": "arn:aws:ecs:ap-south-1:redacted:cluster/temp",
"com.amazonaws.ecs.container-name": "nginx",
"com.amazonaws.ecs.task-arn": "arn:aws:ecs:ap-south-1:redacted:task/temp/ae92c046a2c348d888897f8a85da9bec",
"com.amazonaws.ecs.task-definition-family": "nginx",
"com.amazonaws.ecs.task-definition-version": "13"
},
"DesiredStatus": "RUNNING",
"KnownStatus": "RUNNING",
"Limits": {
"CPU": 2
},
"CreatedAt": "2021-09-17T12:09:29.388108716Z",
"StartedAt": "2021-09-17T12:09:29.388108716Z",
"Type": "NORMAL",
"Networks": [
{
"NetworkMode": "awsvpc",
"IPv4Addresses": [
"172.32.72.63"
]
}
]
}
],
"Limits": {
"CPU": 0.25,
"Memory": 512
},
"PullStartedAt": "2021-09-17T12:09:19.703835106Z",
"PullStoppedAt": "2021-09-17T12:09:27.839075836Z",
"AvailabilityZone": "ap-south-1c"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment