Amazon Elastic Container Service (Amazon ECS) now supports custom container stop signals for Linux tasks running on AWS Fargate, honoring the stop signal configured in Open Container Initiative (OCI) images when tasks are stopped. The enhancement improves graceful shutdown behavior by aligning Fargate task termination with each container’s preferred termination signal.
Previously, when an Amazon ECS task running on AWS Fargate was stopped, each Linux container always received SIGTERM followed by SIGKILL after the configured timeout. With the new behavior, the Amazon ECS container agent reads the stop signal from the container image configuration and sends that signal when stopping the task. Containers that rely on signals such as SIGQUIT or SIGINT for graceful shutdown can now run on Fargate with their intended termination semantics. If no STOPSIGNAL is configured, Amazon ECS continues to send SIGTERM by default.
Customers can use custom stop signals on Amazon ECS with AWS Fargate by adding a STOPSIGNAL instruction (for example, STOPSIGNAL SIGQUIT) to their OCI‑compliant container images. Support for container‑defined stop signals is available in all AWS Regions. To learn more, refer to the ECS Developer Guide.
Categories: general:products/aws-govcloud-us,general:products/amazon-ecs,marketing:marchitecture/containers
Source: Amazon Web Services
Latest Posts
- Cloudflare Tunnel, Cloudflare Tunnel for SASE – Cloudflare Tunnel now runs connectivity pre-checks at startup

- Amazon EC2 X8i instances are now available in additional regions

- Dynamics 365 Project Operations – Enable subcontractor vendor invoice matching to actuals [MC1323856]
![Dynamics 365 Project Operations - Enable subcontractor vendor invoice matching to actuals [MC1323856] 4 pexels pachon in motion 426015731 16727556](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Dynamics 365 Sales – Improve opportunity data completeness with AI-powered data enrichment [MC1323861]
![Dynamics 365 Sales - Improve opportunity data completeness with AI-powered data enrichment [MC1323861] 5 pexels vome 11936582](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)



![Dynamics 365 Project Operations - Enable subcontractor vendor invoice matching to actuals [MC1323856] 4 pexels pachon in motion 426015731 16727556](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pachon-in-motion-426015731-16727556-150x150.webp)
![Dynamics 365 Sales - Improve opportunity data completeness with AI-powered data enrichment [MC1323861] 5 pexels vome 11936582](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-vome-11936582-150x150.webp)
![Coming soon: IT admins will be able to customize recording and transcription notifications in Teams [MC1194071] 7 Coming soon: IT admins will be able to customize recording and transcription notifications in Teams [MC1194071]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-life-of-pix-7974-150x150.webp)