Scheduled events & other triggers

Posted May 5, 2015 3.9k views
MySQLScalingControl PanelsLoad BalancingClusteringApplications

Hi, are there yet any possibilities to trigger events on time schedule basis, e.g., turn droplet X down every day Mo - Fr at 11pm (and so on)? If not, are there plans to integrate such options?

It would also be very cool if it would be possible to trigger events on other defined rules, e.g., y-thousands of request per minute -> clone droplet / create additional droplet from image, i.e. auto upscaling by load / service outage / etc. This of course would only make sense when there is coming a load balancer option.

Also simple one click installation of a database droplet would be very cool, like the others for Gitlab a.s.o. So e.g. I could create a MySQL only droplet by one click.

I really love the simple, nice, straight forward interface of digital ocean and would love to use this service in production. However, those missing options require me to remain using AWS. Although their interface is pretty shitty.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Currently there is no way to schedule tasks like this from the control panel. This type of automation can be accomplished by adding cron jobs or scheduled tasks on a remote computer. These can use our doctl command line client or custom code using the API to initiate events for your droplets.

by Marko Mudrinić
DigitalOcean's web based control panel provides a convenient, point-and-click interface for managing Droplets. There are many times, however, when a command-line tool may be a preferable alternative. doctl, the official DigitalOcean command-line client, leverages the DigitalOcean API to provide access to most account and Droplet features.