Auto Shutdown and Start Amazon EC2 Instance

后端 未结 14 1043
执念已碎
执念已碎 2020-12-04 06:49

Can I automatically start and terminate my Amazon instance using Amazon API? Can you please describe how this can be done? I ideally need to start the instance and stop the

14条回答
  •  有刺的猬
    2020-12-04 07:27

    If it's not mission critical - A simplistic thing to do is to schedule batch file to run 'SHUTDOWN' (windows) at 3am every day. Then at least you don't run the risk of accidentally leaving an unwanted instance running indefinitely.

    Obviously this is only half the story!

提交回复
热议问题