spawn/ionos
A 88a5e9e844
refactor: extract shared config load/save helpers to reduce credential management complexity (#434)
Add _load_json_config_fields and _save_json_config to shared/common.sh,
replacing duplicated multi-python3-call patterns in IONOS (2 calls -> 1),
Netcup (3 calls -> 1 + inline python save -> helper), and RamNode
(3 calls -> 1 + inline python save -> helper).

Agent: complexity-hunter

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 04:25:22 -08:00
..
lib refactor: extract shared config load/save helpers to reduce credential management complexity (#434) 2026-02-11 04:25:22 -08:00
aider.sh feat: Add IONOS Cloud provider with minute-based billing (#304) 2026-02-10 16:51:34 -08:00
amazonq.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
claude.sh QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00
cline.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
codex.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
continue.sh fix: Escape API keys in continue.sh JSON configs to prevent injection (#374) 2026-02-11 00:13:19 -08:00
gemini.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
goose.sh feat: Add IONOS Cloud provider with minute-based billing (#304) 2026-02-10 16:51:34 -08:00
gptme.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
interpreter.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
kilocode.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
nanoclaw.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
openclaw.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
opencode.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
plandex.sh feat: Add 12 missing IONOS agent scripts (#317) 2026-02-10 18:00:35 -08:00
README.md feat: Add IONOS Cloud provider with minute-based billing (#304) 2026-02-10 16:51:34 -08:00

IONOS Cloud

IONOS Cloud is a budget-friendly European cloud provider offering VPS and cloud servers with flexible minute-based billing.

Features

  • Ultra-cheap pricing: Starting at $2/month for basic VPS (1 vCore, 1GB RAM, 10GB SSD)
  • Minute-based billing: Pay only for what you use with Cloud Cubes
  • REST API: Full CloudAPI v6 for programmatic control
  • Global locations: Multiple datacenters across US and Europe
  • Root SSH access: Full control over your servers
  • Unlimited traffic: No bandwidth overage charges on Cloud VPS plans

Authentication

IONOS Cloud uses Basic Authentication with your account credentials:

  1. Go to IONOS Data Center Designer (DCD)
  2. Navigate to Management → Users & Keys
  3. Create or retrieve your API credentials:
    • Username: Your IONOS account email
    • Password: Your API password/key

Set these as environment variables:

export IONOS_USERNAME="your-email@example.com"
export IONOS_PASSWORD="your-api-password"

Alternatively, spawn will prompt for them on first use and save to ~/.config/spawn/ionos.json.

Configuration

Environment Variables

  • IONOS_USERNAME (required): Your IONOS account email
  • IONOS_PASSWORD (required): Your IONOS API password/key
  • IONOS_SERVER_NAME (optional): Server name (will prompt if not set)
  • IONOS_CORES (default: 2): Number of CPU cores
  • IONOS_RAM (default: 2048): RAM in MB
  • IONOS_DISK_SIZE (default: 20): Boot disk size in GB
  • IONOS_LOCATION (default: us/las): Datacenter location

Available Locations

  • US: us/las (Las Vegas), us/ewr (Newark)
  • Europe: de/fra (Frankfurt), de/fkb (Karlsruhe), gb/lhr (London)

Usage

# Run Claude Code on IONOS Cloud
spawn claude ionos

# Run with custom resources
IONOS_CORES=4 IONOS_RAM=4096 spawn claude ionos

# Run Aider
spawn aider ionos

# Run Goose
spawn goose ionos

Pricing

IONOS offers two main compute options:

Cloud VPS (Fixed monthly plans)

  • Basic: $2/month - 1 vCore, 1GB RAM, 10GB SSD, unlimited traffic
  • Standard: $5/month - 2 vCores, 2GB RAM, 80GB SSD, unlimited traffic

Cloud Cubes (Flexible pay-as-you-go)

  • Minute-based billing
  • Scale resources on demand
  • Perfect for short-lived AI agent sessions

Spawn creates servers in the Cloud Cubes model by default for maximum flexibility.

Notes

  • Datacenter Management: IONOS organizes resources into "datacenters" (logical containers). Spawn will create one automatically if you don't have any.
  • Provisioning Time: Initial datacenter + server creation can take 3-5 minutes. Subsequent servers in the same datacenter provision faster (~2 minutes).
  • SSH Keys: SSH keys are registered per-datacenter. Spawn handles this automatically.
  • Cloud-init Support: Full cloud-init support via userData in volume creation.
  • Volume-based Boot: Servers boot from volumes (similar to AWS EBS). The boot volume is created first, then attached to the server.

API Reference

Implemented Agents

  • Claude Code (ionos/claude.sh)
  • Aider (ionos/aider.sh)
  • Goose (ionos/goose.sh)

See manifest.json for the full list of implemented and missing agents.