Can AWS FIS do ecs:stop-task on Fargate?

0

Hi team, I'm trying to deploy an FIS Experimentation Template (admittedly with terraform) but it doesn't seem to work for fargate. Can AWS FIS execute stop task on fargate, and if so, is there an example configuration (even with AWS Console or json)?

  • action: ecs:stop-task
  • target: Clusters (?)

Since target seems to only allow clusters, dbinstances, (ec2) instances, (eks) nodegroups, and (iam) roles....wasn't sure if clusters is accurate or if there is a needed enhancement for FIS to support fargate? This was further questioned as I got some valuable feedback on a different thread that FIS's ECS drain containers ONLY works on EC2 launch types, not fargate https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html#ecs-actions-reference so wanted to explicitly ask about fargate support.

Thanks!

已提問 2 年前檢視次數 787 次
2 個答案
2

As of June 1, 2023, AWS FIS supports EKS and ECS actions. While not all ECS actions are supported with ECS on AWS Fargate yet, you can use the aws:ecs:stop-task action.

rudpot
已回答 5 個月前
0
已接受的答案

Hello

Thank you for reaching out to us !

From your query, I understand that you wish to know whether AWS Fault Injection Simulator is supported with ECS Fargate.

Addressing your concerns,

Please note that unfortunately currently FIS does not support Fargate, the only container services that are targetable are the one with the EC2 launch type. You have correctly pointed out the same. The documentation link shared by you enlists the supported Amazon ECS action types, however which only work on underlying EC2 instances.

I deeply regret the inconvenience caused to you and sincerely apologise for the same.

However, I would like to inform you that there is an ongoing feature request for the same. The AWS service team is aware of the limitations and is currently working for the enhancement. AWS prioritizes the needs of the customer and I will duly add your voice to add to the impact.

We can look out for new features and announcements using :


[1] https://aws.amazon.com/blogs/

[2] https://aws.amazon.com/new/


Thank you for your co-operation and understanding

Wishing you a great day !

AWS
支援工程師
Aashita
已回答 2 年前

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

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

回答問題指南