Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  DigitalOcean  >  How to Power Off a Droplet From a Command Line (To Create a Snapshot)?
Top Scroll

How to Power Off a Droplet From a Command Line (To Create a Snapshot)?

 2 min

In this article you will learn to power off and on a droplet from a command line as well as to take a snapshot.

Steps to Power Off a Droplet from a Command Line and Create a Snapshot

Go to the command line and type the below syntax:

sudo shutdown -h now

or

sudo poweroff

After that, go to the Power page and power it off here too. This won’t have an effect on your droplet but the web interface will be taken into sync.

Now go back to the Snapshot page and click on the Take Snapshot button.

That’s it!

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.