# Hetzner Cloud Infrastructure

## Current Setup
- **Provider:** Hetzner Cloud
- **Server:** `craig` (CCX33 — 8 dedicated vCPU, 32 GB RAM, 240 GB NVMe)
- **IP:** `[REDACTED_PHONE]`
- **Location:** Ashburn, VA (ash)
- **Cost:** ~$54/mo
- **SSH:** `ssh -i ~/.ssh/hetzner-craig ubuntu@[REDACTED_PHONE]`
- **CLI:** `hcloud server list`

## History
- **[REDACTED_PHONE]:** Started on AWS EC2 t3.small (2 GB RAM). OOM incident — OpenClaw
  gateway hit ~866 MB RSS, OOM killer looped, SSH starved.
- **[REDACTED_PHONE]:** Resized to t3.large (2 vCPU, 8 GB RAM, ~$61/mo).
- **[REDACTED_PHONE]:** EBS volume expanded from 25 GB to 100 GB.
- **[REDACTED_PHONE]:** Migrated from AWS EC2 to Hetzner Cloud CCX33. 4x CPU, 4x RAM,
  dedicated cores, $7/mo cheaper. See `.claude/migration-hetzner.md` for the
  full migration plan.

## Resize procedure

Quota increase request submitted for CCX43+ (pending approval).

```bash
# 1. Stop server
hcloud server shutdown craig

# 2. Change type (e.g. upgrade to CCX43: 16 vCPU, 64 GB)
hcloud server change-type craig --server-type ccx43

# 3. Start server
hcloud server poweron craig

# 4. Verify
ssh -i ~/.ssh/hetzner-craig ubuntu@[REDACTED_PHONE] "nproc && free -h"
```

## AWS teardown (complete)

Old EC2 instance `i-0e2fb16c6e0fb83d0` terminated and Elastic IP
`eipalloc-0155d2c49a8667e13` released on [REDACTED_PHONE].