Notification for task maintenance in ECS fargate

0

We use ECS Fargate for hosting customer application, when Fargate performs a maintenance (like ECS is performing maintenance on the underlying infrastructure hosting the task) is there a way to get notified about this and delay the draining process before the tasks gets completely stopped? Thanks.

AWS
Hari
已提問 1 年前檢視次數 1125 次
1 個回答
0

AWS sends task maintenance notification in advance through your AWS Health Dashboard [2]. When AWS determines that a security or infrastructure update is needed for an Amazon ECS task hosted on AWS Fargate, the tasks need to be stopped and new tasks launched to replace them.

For tasks that are part of an Amazon ECS service, if there's an issue with the underlying host, AWS stops the task. Moreover, the service scheduler also launches a new task in an attempt to maintain the desired count for the service. When this occurs, no task retirement notice is sent. [1]

However, if there's a security issue with the underlying host or platform version that the task is using, a task retirement notice is sent to your AWS Health Dashboard [2] The notice is also sent to the email address that's associated with the account. The task retirement notice provides details about the issue, the task retirement date, and what the next steps are. For more information, see Understanding the task retirement notice [3]

REFERENCES: [1] https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-maintenance.html
[2] https://aws.amazon.com/premiumsupport/technology/aws-health-dashboard/
[3] https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-maintenance.html#task-retirement-notice

AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南