Upcoming retirement of your standalone AWS Elastic Container Service tasks running on AWS Fargate

0

Hello,

You are receiving this notification because you have running standalone tasks that will be retired starting at Fri, 8 Mar 2024 02:00 GMT as part of routine task maintenance [1]. AWS Fargate has deployed a new platform version revision [2] that is being used for tasks launched after Fri, 1 Mar 2024 02:00 GMT. Please check the "Affected Resources" tab of your AWS Health Dashboard for a list of affected tasks. If you require these tasks to run, you need to take action before Fri, 8 Mar 2024 02:00 GMT by stopping the running tasks and launching a replacement task.

AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers. As described in the Fargate documentation [1] and [3], Fargate regularly deploys platform version revisions to make new features available and for routine maintenance. The Fargate update includes the most current Linux kernel and runtime components.

Please contact AWS Support [4] if you have any questions or concerns.

[1] https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-maintenance.html [2] https://docs.aws.amazon.com/AmazonECS/latest/userguide/AWS_Fargate-versions.html [3] https://aws.amazon.com/blogs/containers/improving-operational-visibility-with-aws-fargate-task-retirement-notifications/ [4] https://aws.amazon.com/support

I am new to this, i have never did this before and i don't have any idea, I need someone to explain me step by step process to fix this issue. I need help on this task, complete step by step process. You can also email me the solution as it is urgent task i need to do.

Email : dasaripavankumar27@gmail.com

2 Answers
0

Hello.

It seems that you need to start a new task and replace the one you are currently using as described in the document [1].
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html

For standalone task retirement, AWS stops the task on or after the task retirement date. we don’t launch a replacement task when a task is stopped. If you need these tasks to continue to run, you need to stop the running tasks and launch a replacement task before the time indicated in the notification. Therefore, we recommend that customers monitor the state of standalone tasks and if required, implement logic to replace the stopped tasks.

I'm not sure how you use ECS Fargate, but I thought starting a new task and stopping the affected Fargate task would solve it.
https://repost.aws/knowledge-center/ecs-run-task-cluster

Just to be sure, when starting a new task, make sure that the platform version of the task is new.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform-versions-retired.html

profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
0

Hello,

To handle the retirement of tasks due to a new AWS Fargate platform version revision, follow these steps:

For Standalone Tasks:

  1. Identify the affected standalone tasks from the "Affected Resources" tab in the AWS Health Dashboard.
  2. Stop the affected standalone tasks in the Amazon ECS console.
  3. Launch new replacement tasks using the same configuration as before.
  4. Verify that the new tasks are running correctly.
  5. Monitor for future notifications and repeat the process when new platform versions are released (optional).

For Service Tasks (Optional):

  1. Identify the affected services from the "Affected Resources" tab in the AWS Health Dashboard.
  2. Update the affected service using the Force Update option, which will trigger a deployment of new tasks using the latest platform version.
  3. Monitor the service update to ensure the new tasks are running correctly and the old tasks are being drained and stopped.
  4. Monitor for future notifications and repeat steps 2-3 when new platform versions are released.

Obs: This step is optional since the Service will take care automatically to the task replacement following the deployment configuration (min/max).

Throughout the process, feel free to reach out to AWS Support if you encounter any issues or have specific questions. Additionally, familiarize yourself with the AWS Fargate documentation on task maintenance and platform version revisions for a better understanding of the rationale and processes involved.

profile pictureAWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions