AWS expands ECS Action Logs to task failures and cluster scaling

AWS expanded Amazon Elastic Container Service (ECS) Action Logs on November 20, 2026, adding coverage for tasks, container instances, clusters, and capacity providers. Existing users receive the additional events automatically, without changing their c...

Kevin Osei
lake-c5dd8438-2af3-4cdd-9930-e25de9c07854-pexels-1666315.webp

In brief

  • Action Logs record why tasks that cannot start fail, such as an image pull failure or insufficient Amazon EBS volume permissions.
  • For running tasks that stop, the records include the container exit code and the health check responsible for the stop.
  • Infrastructure records cover container instance registration and draining, and Amazon EC2 instances that fail to register with a cluster.
  • Records also document capacity provider changes and managed scaling activity, including an Auto Scaling group reaching its maximum size.
  • Failed-task metadata remains available beyond the standard one-hour retention period, according to the Amazon ECS Developer Guide.

Task failures and infrastructure events

Action Logs capture timestamped details about operations ECS carries out for customers. AWS says the expanded records help users investigate failed tasks and unexpected scaling behavior, allowing them to resolve problems faster without contacting AWS support.

For tasks that cannot start, the records identify causes such as an image that could not be pulled, insufficient permissions for an Amazon EBS volume, or a subnet with no available IP addresses. For a running task that stops, they include its container exit code and the health check responsible for the stop.

Infrastructure records cover registration and draining of container instances, along with Amazon EC2 instances that fail to register with a cluster. They also document changes to capacity providers and managed scaling activity, including an Amazon EC2 Auto Scaling group hitting its maximum size.

Entries identify the event, relevant resource ARNs, and the reason for its status. They also carry one of three log levels: INFO, WARN, or ERROR. The Amazon ECS Developer Guide says failed-task metadata remains available beyond the standard one-hour retention period, allowing users to examine failure details later.

Building on deployment logging

The expansion follows the July 21, 2026 introduction of Action Logs, when coverage was limited to service deployments and ECS Managed Daemon updates.

That launch also included an integration with Amazon Q in the ECS console. It automatically detects deployment problems, including circuit breaker rollbacks and unstable service revisions, and offers root cause analysis, comparisons at the resource level, and step-by-step remediation instructions within the console.

Setup, delivery, and charges

Customers can enable Action Logs for individual clusters using either the ECS console or Amazon CloudWatch vended logs APIs. The feature is available in AWS Regions, including AWS GovCloud (US), and supports delivery to Amazon CloudWatch Logs, Amazon S3, or Amazon Data Firehose.

The destinations organize records differently. In CloudWatch Logs, the log group follows the name /aws/vendedlogs/ecs/action-logs/{resourceId}; each sub-resource gets its own stream named for its actionSourceId. S3 groups records by account, Region, and five-minute windows, storing the files with gzip compression. Firehose sends newline-delimited JSON records in near real time.

Action Logs is a paid feature under standard CloudWatch vended logs pricing, with ingestion and storage charges tied to the volume a cluster produces. Standard pricing applies to each delivery destination. Enabling the feature through the ECS console sets CloudWatch Logs retention to seven days by default, but users can change that setting.

According to the Amazon ECS Developer Guide, publishing uses a fire-and-forget model: it does not block or degrade ECS resource operations. A temporary delivery failure does not interrupt workload processing.

← Back to Technology

Related news