Ask Your Question

Instance run/start schedule

asked 2014-07-18 02:23:50 -0500

semyazz gravatar image

How can I schedule run/shutdown instances in OpenStack? I'd like to run a set of instances every day at time X and shutdown them at time Y.

I know I can do it via next machine/server and cron action, but I'd like to know if it's possible somehow in OpenStack. I suppose it should be somewhere in Heat, right?

At least single action like "run at X, once" should be available.

I'm asking about it, cos I'd like to have servers only in OpenStack, so cron-hack where I can define hooks which will trigger actions and run/shutdown my instances isn't really a solution. Solution with a tiny instance in OpenStack where all that cron-stuff will be done, also seems to be silly.

I know it's a generic problem and everyone will want to define elastic schedules etc. but at least execution delay of each command should be available.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-24 16:45:04 -0500

Steve Baker gravatar image

You have 2 choices:

  • Set up your own scheduling/cron infrastructure inside or outside your cloud using the tools of your choice (bash, ansible etc)
  • Get your cloud to install Mistral so that you can use its Cloud Cron feature.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-18 02:23:50 -0500

Seen: 128 times

Last updated: Sep 24 '15