List Pods
Displays a table with name, preset, plan, CPU, memory, disk, status, and domain.
Create a Pod
instapod pods create my-app --preset nodejs
The pod name can also be passed as a flag:
instapod pods create --name my-app --preset nodejs
Create Flags
| Flag | Description | Default |
|---|
--preset | Preset: static, php, nodejs, python | Required |
--plan | Plan: starter, developer, professional | starter |
--region | Region slug | Auto-select |
--server-id | Specific server ID | Auto-select |
--cpu | CPU cores | Plan default |
--memory | Memory (e.g., 2GB) | Plan default |
--disk | Disk (e.g., 20GB) | Plan default |
--ssh-key | Path to SSH public key | None |
-w, --wait | Wait for pod to be ready | false |
Examples
# Node.js with Developer plan
instapod pods create api --preset nodejs --plan developer
# Python with SSH key, wait for ready
instapod pods create ml-service --preset python --ssh-key ~/.ssh/id_ed25519.pub -w
# PHP with custom resources
instapod pods create my-site --preset php --cpu 2 --memory 2GB --disk 20GB
Get Pod Details
Shows all pod information including status, IP, domain, resources, and creation time.
Start / Stop / Restart
instapod pods start my-app
instapod pods stop my-app
instapod pods restart my-app
Resize
instapod pods resize my-app --cpu 2 --memory 2GB --disk 20GB
All three flags are required.
Reload Application
Restart the application services inside the pod:
instapod pods reload my-app
What gets restarted depends on the preset:
- Static: nginx
- PHP: nginx + PHP-FPM
- Node.js:
app systemd service
- Python:
app systemd service
Delete
# With confirmation prompt
instapod pods delete my-app
# Skip confirmation
instapod pods delete my-app -f
Deletion is permanent. All files, databases, and configurations are destroyed.
JSON Output
Add --json to any command for machine-readable JSON output:
instapod pods list --json
instapod pods get my-app --json