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) Microsoft dark themes for SharePoint sites [MC1187401]
![(Updated) Microsoft dark themes for SharePoint sites [MC1187401] 2 pexels googledeepmind 18068729](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Private channels increased limits and transition to group compliance [MC1134737]
![(Updated) Microsoft Teams: Private channels increased limits and transition to group compliance [MC1134737] 3 snails 2983235 1280](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Copilot Studio: Copy an agent from the lite experience into the full experience [MC1176363]
![(Updated) Microsoft Copilot Studio: Copy an agent from the lite experience into the full experience [MC1176363] 4 pexels cheneymediaproductions 7002772](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft 365 Copilot: Video Overviews in Copilot Notebook [MC1208690]
![(Updated) Microsoft 365 Copilot: Video Overviews in Copilot Notebook [MC1208690] 5 car 7569896 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft dark themes for SharePoint sites [MC1187401] 2 pexels googledeepmind 18068729](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-18068729-150x150.webp)
![(Updated) Microsoft Teams: Private channels increased limits and transition to group compliance [MC1134737] 3 snails 2983235 1280](https://mwpro.co.uk/wp-content/uploads/2025/06/snails-2983235_1280-150x150.webp)
![(Updated) Microsoft Copilot Studio: Copy an agent from the lite experience into the full experience [MC1176363] 4 pexels cheneymediaproductions 7002772](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-cheneymediaproductions-7002772-150x150.webp)
![(Updated) Microsoft 365 Copilot: Video Overviews in Copilot Notebook [MC1208690] 5 car 7569896 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/car-7569896_1920-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)