How Do I Power off or Reboot DigitalOcean Droplet?

30th December 2019 By Simon Bennett

How do I safely power cycle Droplet server?

Restarting your droplet is a very simple process.

To safely shutdown your server

  1. Log in to your Droplet as the root user and execute:
shutdown -h now 
  1. This, will shut down your server down correctly and flush any pending changes to the disk and then terminate the droplet.
  2. Visit the control panel and select your droplet, then the option to power on your droplet.

How to force Shut down?

To force your droplet to shut down so you can reboot it log in to Digital Ocean and select the droplet you wish to shut down. Press the "power off" switch.

important Warning: This will be similar to pulling the plug on a running computer and may lead to drive corruption. Always check the server is okay once powered back on. Only do this as a last resort.



How do I safely restart/reboot a Droplet server?


  1. Log in to your Droplet as the root user (or any user with root permissions with sudo) and execute:
reboot

This, will do the same as the step above without the need to login to DigitalOcean and manually boot the server.


Simon Bennett Avatar
Simon Bennett

Simon Bennett, the founder and creator of SnapShooter, fascinated with DigitalOcean been one of the first customers to come on board when SSD where introduced and the first Amsterdam datacenter opened in 2013.

In 2017 he started SnapShooter, becoming the first dedicated tool for improving DigitalOcean backups with more frequent backups. You can always contact him at simon(at)snapshooter.io