Question

Ubuntu droplet with anaconda, jupyter notebook, remote connect from windows 10, create, stop, take snapshot and destroy droplet.

I can manually create a droplet from a snapshot, activate conda env, start jupyter notebook on digitalocean. I can create an ssh tunnel to the droplet and access the jupyter notebook remotely from my computer. When I am done with the jupyter notebook, I can manually stop the droplet, create a snapshot and then destroy the existing droplet.

But what I would like to do, is have a script to do this from windows somehow. Anyone know a way to do this?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hi @smsmail,

You’ll need to use DigitalOcean’s API. You can send signals to destroy, create, stop your Droplte as well as create a snapshot as far as I’m aware. Check the Docs here DigitalOcean APIs