There's a lot of functions for working with droplets. Here's a breakdown of what they all do.

Documentation

  • DigitalOcean docs overview: https://developers.digitalocean.com/documentation/

  • DigitalOcean API docs: https://developers.digitalocean.com/documentation/v2/

Functions

The main functions for creating/deleting droplets:

Modify a droplet:

Take and restore snapshots:

ssh interactions with droplets:

Perform various actions on droplets:

Freeze/thaw droplets:

  • droplet_freeze(): power off a droplet, snapshots to create an image, and deletes the droplet

  • droplet_thaw(): takes an image and turns it into a running droplet

Working with Docker

We named a DO droplet with the Docker application installed a "docklet" for convienence

The main two functions for creating docklets:

Running docker commands on your docklet:

Install RStudio things: