github-backup/docs/05-gce-activation-runbook.md

Edit Back to List

GCE Activation Runbook

Current Host

Current Services

Observed before staging:

Current Hermes State

Prepared:

Inactive:

Before Any Activation

Run:

df -h /
free -h
docker ps
sudo ss -lntup
sudo find /srv/easier-hermes/audit -maxdepth 1 -type f -print

Confirm:

Build Image Later

Only during a maintenance window or on a roomier host:

cd /srv/easier-hermes/ops/deployment
sudo HERMES_BUILD_IMAGE=1 bash ./prepare-hermes-host.sh

Do not start the container yet.

Dry Config Check

cd /srv/easier-hermes/ops/deployment
sudo docker compose --profile activate config

Expected:

First Interactive Start

Only after image exists and provider credentials are configured safely:

cd /srv/easier-hermes/ops/deployment
sudo docker compose --profile activate run --rm hermes

Do not use up -d initially.

Stop Conditions

Stop if: