Aaron
By:
Aaron

How can I keep multiple droplets updated?

October 8, 2014 4.5k views

With all of the new shell exploits coming out I want to ensure all of my droplets are secure. How can someone automate this process?

1 comment
2 Answers

On Ubuntu you can automate system updates with the unattended-upgrades package. The documentation for this can be found here:

https://help.ubuntu.com/14.04/serverguide/automatic-updates.html

On CentOS you can set up automatic updates with the yum-cron package setting up your configuration in /etc/sysconfig/yum-cron

One thing to keep in mind is avoiding automatic updates to your kernel since allowing the kernel within your droplet to be out of sync with the kernel image assigned to your droplet could result in issues.

  • This is exactly what I was looking for. Thank you!

  • I was looking for an answer to this as well. Thanks for the advice and tip on keeping kernel updates out. is this standard procedure recommended for all droplets and for as long as the droplet's existence?

If you use a debian-based distribution, tools like "cron-apt" can help.

Have another answer? Share your knowledge.