Report this

What is the reason for this report?

How can I keep multiple droplets updated?

Posted on October 8, 2014

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.