Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
890 views
in Technique[技术] by (71.8m points)

amazon-web-services - 停止时如何自动运行ECS Task(How to automatically run ECS Task when it stopes)

I am looking for information about the possibility to automatically run a given ECS task when it stopes working.

(我正在寻找有关在停止工作时自动运行给定ECS任务的可能性的信息。)

The most important thing is I want to keep only one task instance at a time (I tried to use ECS scheduler but it does not look like it is possible to achieve).

(最重要的是,我一次只想保留一个任务实例(我尝试使用ECS调度程序,但看起来不可能实现)。)

Thank you

(谢谢)

  ask by mostaszewski translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

在ECS中创建a service ,并修复Number of tasks = 1


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...