How to turn on/off cloud instances during office hours

前端 未结 9 1835
孤城傲影
孤城傲影 2020-12-08 10:40

I\'ve got my head around creating cloud instances in AWS, Azure and Rackspace. However, I need to turn my instances off at the end of the day and on in the morning as this w

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 11:36

    Old thread I know, but Microsoft introduced 'Runbooks' for Azure in 2014 that you can use for automation, including scheduled startups and shutdowns. As mentioned above, be sure you are in stopped (deallocated) state, as opposed to just stopped, in order to prevent charges.

    More info:

    Script to stop your VMs

    Azure automation, official MS docs.

提交回复
热议问题