Stop ECS cluster temporarily

后端 未结 4 1719
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 11:57

I want to stop EC2 instances after office hours to save costs. How can I do the same with ECS instances? Even if I stop all tasks/services, the instance is still there? Do I sto

4条回答
  •  面向向阳花
    2021-02-05 12:06

    You can use the "Scheduled Actions" feature of Auto Scaling Groups. Starts similar to Kerem Baydoğan's answer From EC2 Management Console:

    1 Click Auto Scaling Groups from the left menu.

    2 Select the group from the list.

    3 Select "Scheduled Actions" from the bar that appeared in the lower middle of the screen.

    4 Click on create scheduled action

    5 Fill the fields as you see fit and notice that under recurrence there is also a cron option for extra flexibility.

提交回复
热议问题