The deploy has said “in progress” for twenty minutes.
See why an ECS deployment is stuck
An ECS deployment stuck in progress is almost always telling you why, just in four different places: the deployment, the service events, the stopped task’s reason and the container’s logs. ARNscope puts them on one page for the service, with CPU and memory beside them and a live tail on the new task’s container.
Why is your ECS deployment stuck?
Useful with or without ARNscope. When a rollout doesn’t finish, it’s usually one of these:
New tasks fail health checks
The target group or container health check marks them unhealthy, ECS replaces them, and the loop repeats. Look for “is unhealthy in target-group” in service events, and at the health check path, port and grace period.
Tasks stop right after starting
The stopped task’s reason says it:
EssentialContainerExited, an exit code such as 137 (killed, often out of memory) or 1 (the app crashed). The container’s last log lines say why.The image can’t be pulled
CannotPullContainerError: a wrong tag, a missing ECR permission on the execution role, or no route to the registry from a private subnet.Not enough room to place tasks
Service events say the service was unable to place a task: not enough CPU, memory or ports on the cluster’s instances, or capacity provider limits.
Secrets or config fail at start
ResourceInitializationError: the execution role can’t read a secret or parameter, or the task can’t reach Secrets Manager or SSM from its subnet.
Where ARNscope shows it
Deployments shows each deployment’s rollout state, revision and a bar of running and pending tasks against desired, with ECS’s own message. Warnings from the last 24 hours sit on top of the Overview, and Events filters to warnings only. Tasks → Stopped lists recently stopped tasks with their stop code and reason and each container’s exit code. The container’s Logs open newest first, with a CloudWatch filter-pattern search over the stream.
EssentialContainerExited, exit code 137, out of memory.Sample dataOpen full sizeDeploys that ask first
Once you know the fix, Force new deployment, Deploy a revision… or a new desired count, and ARNscope follows the rollout until ECS reports it completed or failed. If Terraform or auto scaling manages the count, the dialog warns that they may set it back.
Each deploy is a write: it needs Writes on for that profile and region, then a native confirmation that names the account, PRODUCTION included. How Writes work.
Compared with the console
| Compared on | ARNscope | ECS console |
|---|---|---|
| Deployments and events | Same page, warnings first | Deployments and Events tabs of the service |
| Stopped task reason and exit codes | Tasks → Stopped, one click per task | Tasks tab, filter Stopped, open the task |
| Container logs | Logs with search and live tail beside the task | Logs tab of the task, or CloudWatch Logs |
| Two services side by side | Split view | Two browser tabs |
| Deploy guard | Writes switch and two confirmations | Your IAM permissions |
| Price | $49 a year or $7 a month | Free |
What it doesn’t cover
- No task stop or ECS Exec. Desired count is the one scaling control, and it doesn’t change auto scaling ranges or policies.
awslogsonly. Container logs need theawslogsdriver with a stream prefix; FireLens, Splunk and other drivers ship logs elsewhere.- Recently stopped tasks only: ECS keeps stopped tasks for about an hour.
- The running task chart needs Container Insights; CPU and memory come from
AWS/ECSeither way. - Live tail costs money: CloudWatch Logs Live Tail is billed per minute, so it runs only while you ask.
Seventy seconds of ECS
A rollout, events, a stopped task, logs and a deploy in about seventy seconds. Narrated, with captions.
Questions
More in the full FAQ. Something not covered? Write to hello@arnscope.com.
Can I see tasks that already stopped?
Yes, for as long as ECS keeps them: about an hour after they stop. Switch the Tasks tab to Stopped and open one for its stop code, reason and each container's exit code.
Which log drivers does it read?
The awslogs driver with a stream prefix. Logs shipped with FireLens, Splunk or other drivers go elsewhere and aren't shown.
Can it roll back or redeploy?
It can force a new deployment, deploy another registered revision or change the desired count, after you turn on Writes for that profile and region and confirm twice. It doesn't stop single tasks or open ECS Exec sessions.
The full reference
Every setting, permission and limit, written from the app’s code.
- Amazon ECS
Rollouts, deployments, events, utilization, tasks, container logs with search and live tail, split view, and deploys that ask before they run.
- CloudWatch Logs
Log groups, filter-pattern search, streams, Live Tail and Logs Insights, with favourite queries and filters, read-only.
Unstick the next rollout faster.
Open the service and read its events, the stopped task and its logs on one screen. The 7-day trial is the full app. Point it at the profiles you already have and try this one job. If it doesn’t save you time in a week, it isn’t for you.