Outage alerts by text

A personal, self-hosted git server sends one text message to its operator when an external health check finds it unreachable, and another when it is back. There is one recipient: the server's operator. No other phone numbers are collected.

How the operator opts in

  1. The operator adds their own mobile number to the server's alerting configuration, and applies it:
    $ export TF_VAR_alert_phone=+1XXXXXXXXXX
    $ ./infra/aws/tofu.sh --cmd apply
    aws_sns_topic_subscription.alerts_sms_us_east_1: Creation complete
  2. That number is subscribed to a single alert: the server is down, and the server is back up. Nothing else is sent to it.

Consent

The messages

When the server is downALARM: "forgejo-forge-down" in US East (N. Virginia)
When it is backOK: "forgejo-forge-down" in US East (N. Virginia)