spawn/aws-lightsail
A fdc5d5e58b
refactor: extract shared SSH helpers to eliminate ~410 lines of duplication (#429)
Add ssh_run_server, ssh_upload_file, ssh_interactive_session, and
ssh_verify_connectivity to shared/common.sh. These four functions
were copy-pasted identically across 21 cloud provider lib files,
differing only in SSH username (root vs ubuntu).

Providers now set SSH_USER and delegate to the shared helpers via
one-line wrappers, reducing each provider's lib by ~20 lines.

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 03:45:18 -08:00
..
lib refactor: extract shared SSH helpers to eliminate ~410 lines of duplication (#429) 2026-02-11 03:45:18 -08:00
aider.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
amazonq.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
claude.sh QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00
cline.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
codex.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00: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 refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
goose.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
gptme.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
interpreter.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
kilocode.sh feat: Add kilocode scripts for hetzner, digitalocean, vultr, linode, lambda, aws-lightsail, gcp (#114) 2026-02-09 19:46:21 -08:00
nanoclaw.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
openclaw.sh refactor: Extract ENV_TEMP pattern to inject_env_vars_ssh (SSH providers) 2026-02-08 04:11:15 +00:00
opencode.sh fix: Use robust OpenCode install method across all clouds (#48) 2026-02-07 23:02:18 -08:00
plandex.sh Add Plandex coding agent with 14 cloud implementations (#36) 2026-02-07 21:35:04 -08:00
README.md fix: Improve CLI error handling, fix bash compat, and update cloud READMEs (#90) 2026-02-09 09:33:57 -08:00

AWS Lightsail

AWS Lightsail instances via AWS CLI. AWS Lightsail

Uses 'ubuntu' user instead of 'root'. Requires AWS CLI installed and configured.

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/openclaw.sh)

NanoClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/nanoclaw.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/aider.sh)

Goose

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/goose.sh)

Codex CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/codex.sh)

Open Interpreter

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/interpreter.sh)

Gemini CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/gemini.sh)

Amazon Q CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/amazonq.sh)

Cline

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/cline.sh)

gptme

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/gptme.sh)

OpenCode

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/opencode.sh)

Plandex

bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/plandex.sh)

Non-Interactive Mode

LIGHTSAIL_SERVER_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/aws-lightsail/claude.sh)