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
- (Updated) Collect Diagnostics change to Get Diagnostics for Outlook Mobile and Mac [MC1308855]
![(Updated) Collect Diagnostics change to Get Diagnostics for Outlook Mobile and Mac [MC1308855] 2 metro station 3714290 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Smart Calendar available in Classic Outlook for Microsoft 365 Copilot users [MC1181279]
![(Updated) Smart Calendar available in Classic Outlook for Microsoft 365 Copilot users [MC1181279] 3 pexels pixabay 227692](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon Bedrock Guardrails announces a new API targeting agentic AI workflows

- Amazon FSx for Lustre Intelligent-Tiering storage class is now available in 13 additional AWS Regions


![(Updated) Collect Diagnostics change to Get Diagnostics for Outlook Mobile and Mac [MC1308855] 2 metro station 3714290 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/metro-station-3714290_1920-150x150.webp)
![(Updated) Smart Calendar available in Classic Outlook for Microsoft 365 Copilot users [MC1181279] 3 pexels pixabay 227692](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-227692-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)