Hi All,
I have a requirement where in I would like to suspend/resume a server (which is vm) when there are no requests for some threshold time period.Is it possible to suspend/resume a server from HAProxy? I want to do it programatically. So please let me know if there are any APIs which helps to do the above functionality.
Thanks, Pradeep
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.
Check out <a href=“https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-api”>How To Use the DigitalOcean API</a> and/or <a href=“https://www.digitalocean.com/community/articles/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps”>How To Use HAProxy to Set Up HTTP Load Balancing on an Ubuntu VPS</a>.