How Do I Power off DigitalOcean Droplet

Simon Bennett
snapshooter
Published in
1 min readOct 17, 2017

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

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.

To reboot in one command

  1. Log in to your Droplet as the root user and execute:
reboot

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

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.

Originally published at blog.snapshooter.io on October 17, 2017.

--

--

Simon Bennett
snapshooter

Software engineer building modelling complex businesses using event sourcing, CQRS and DDD. Founder of https://snapshooter.io twitter: @mrsimonbennett