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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则