Skip to content

Reboot, roll back or restart, with a swipe and Face ID

A droplet power action is a request to DigitalOcean to change a droplet's power state: shutdown and reboot are graceful, while power off and power cycle are like pulling the plug or pressing reset. Duskwatch is an independent iPhone app for DigitalOcean, in development; it runs 13 actions on droplets, apps and databases, each armed by a swipe on one sheet and confirmed with Face ID.

Updated

  • 13actions on droplets, apps and databases
  • 1 swipearms every action; a tap never does
  • Face IDafter the swipe, right before the request
  • 0delete, destroy or resize actions

01Actions

Thirteen actions, red when they interrupt a service

Restore service, contain damage or take a safety copy: what is worth doing from a phone at night.

  • Droplets: 6

    Power on, shut down, power off, reboot, power cycle and take a snapshot.

  • Apps: 6

    Redeploy or force rebuild, roll back, commit or revert the rollback, cancel a deployment, and restart an app or one of its components.

  • Databases: 1

    Add my IP to a cluster's trusted sources: the app looks up your public IPv4 address, or you type one in.

All 13 actions, their colour and what each swipe reads
Every action, the resource it applies to, the colour of its swipe and its label
ResourceActionSwipe colourThe swipe reads
DropletPower onPlumSwipe to power on web-01
DropletShut downRedSwipe to shut down web-01
DropletPower offRedSwipe to power off web-01
DropletRebootRedSwipe to reboot web-01
DropletPower cycleRedSwipe to power cycle web-01
DropletTake snapshotPlumSwipe to take a snapshot of web-01
AppRedeploy, optionally with a forced rebuildRedSwipe to redeploy api-prod
AppRoll backRedSwipe to roll back api-prod
AppCommit the rollbackPlumSwipe to commit the rollback of api-prod
AppRevert the rollbackRedSwipe to revert the rollback of api-prod
AppCancel a deploymentRedSwipe to cancel the deployment of api-prod
AppRestart the app, or one of its componentsRedSwipe to restart api-prod, or Swipe to restart worker in api-prod
DatabaseAdd my IP to trusted sourcesPlumSwipe to add 192.0.2.10 to db-prod

For "Add my IP", the app asks the Duskwatch server for your public IPv4 address, which that server neither logs nor stores. Restarting one component restarts it one instance at a time, without a new build; it is blocked while a deploy runs or a rollback is pinned.

02The sheet

One sheet names the action, the resource and the team

The team chip is the line that stops you rebooting a client's web-01 instead of your own.

  1. 1

    Reboot web-01 · acme-prod

    "Restarts web-01 cleanly. Its services are down until it's back, usually a minute or two."

  2. 2

    Swipe to reboot web-01

    The swipe arms it. A tap on the track only shows "Swipe right or touch and hold."

  3. 3

    Face ID

    Its prompt reads "Reboot web-01 in acme-prod"; the request then goes straight to DigitalOcean.

  4. 4

    Done in 47 s

    A Live Activity follows the reboot on the Lock Screen until it ends.

03Swipe

A swipe for every change, then Face ID

A button can be hit by a thumb reaching for something else; a swipe across a track can't. Changes inside the app swipe too, without Face ID.

  • No Cancel button

    There is no Cancel button: the sheet closes like any iOS sheet. There is no setting to turn the swipe off.

  • Touch and hold

    Touch and hold, or the VoiceOver action, also arms it.

  • No passcode, no actions

    Face ID or your passcode follows the swipe of every action. Without a passcode on the iPhone, actions stay off.

Changes inside the app that swipe too, without Face ID
App-level changes armed by a swipe, and what each swipe reads
ChangeThe swipe reads
Sign out of a teamSwipe to sign out of acme-prod
Turn off alertsSwipe to turn off alerts for acme-prod
Delete your alert dataSwipe to delete your alert data
Set a spend budgetSwipe to use $200
Enable actionsSwipe to continue to DigitalOcean
Mute a resourceSwipe to mute web-01 for 8 hours
Narrow the alert scopeSwipe to save alert scope

Unmuting a resource is one tap, and going back to "All resources" needs no swipe.

04Power

Shut down, power off, reboot or power cycle: which to use

Start gentle: a shutdown or reboot lets the operating system close files and stop services. Power off and power cycle are for a droplet that no longer answers.

The four droplet power actions, and when each one fits
GracefulUse it when
Shut downYesYou want it off cleanly
RebootYesIt needs a clean restart
Power offNoA shutdown did not work
Power cycleNoIt no longer responds

From DigitalOcean's docs

Shutdowns, reboots, power cycles and snapshots, in DigitalOcean's words

From DigitalOcean's docs

05Rollback

Roll back, then commit or revert

Rolling back to the last good deployment is usually the fastest way back to a working app. A rollback is a state you leave on purpose.

  1. 1

    Roll back

    api-prod returns to an earlier successful deployment.

  2. 2

    Pinned

    The app shows "Pinned to a rollback: pushes won't deploy".

  3. 3

    Commit or revert

    Commit keeps the old version and turns deploys on push back on; revert deploys the version from before the rollback.

What DigitalOcean says about rollbacks

From DigitalOcean's docs

What Duskwatch doesn't do here

  • No creating, resizing, deleting or destroying anything
  • No editing firewalls, DNS or app specs
  • No actions on Kubernetes, load balancers, volumes or Spaces
  • No scheduled, automatic or queued offline actions
  • No DigitalOcean actions from a widget, Siri or a Live Activity

Questions

  • Can I reboot a droplet from my iPhone?

    Yes. Open the droplet, choose Reboot, check the sheet that names web-01 and its team, swipe to reboot, then confirm with Face ID.

  • What is the difference between shut down, power off, reboot and power cycle?

    Shut down and reboot are graceful. Power off cuts the power and power cycle presses reset, for a droplet that no longer responds. A powered-off droplet is still billed.

  • Can I restart one App Platform component?

    Yes. "Restart worker" on the component screen opens a red sheet, "Restart worker in api-prod". After the swipe and Face ID, worker restarts one instance at a time, without a new build.

  • Why a swipe instead of a button?

    A swipe cannot be triggered by a stray tap, so every action is armed with one, then Face ID.

  • Does your server run the action?

    No. The request goes from your iPhone straight to DigitalOcean, with the permission you add with "Enable actions", kept in your iPhone's Keychain. The alert server can only read.

Duskwatch is in development. Join the waitlist to hear when it's on the App Store.

We'll email you once when Duskwatch is on the App Store. One-click unsubscribe. How we handle your data

Basic monitoring is free; alerts, most actions and advanced features are part of Duskwatch Pro. See plans and prices