How do I register a new compute host node?

Table of Contents

Register a new compute host node. See the CLI inventory for sibling recipes.

Question

How do I register a new compute host node using ores.cli?

Answer

export ORES_CLI_DB_PASSWORD
./ores.cli compute hosts add ${db_args} ${log_args} \
  --external-id "worker-01.example.com" \
  --location "us-east-1" \
  --cpu-count 32 \
  --ram-mb 65536 \
  --gpu-type "A100" \
  --modified-by admin

Emacs 29.3 (Org mode 9.6.15)