Available Versions
Select a version when creating your pod. If not specified, Go 1.26 is used.
What’s Included
Pre-installed utilities: curl, wget, vim, htop, unzip.
Directory Structure
- App Root:
/home/instapod/app - App Port: 8080 (your app must listen on this port)
- Binary:
/home/instapod/app/app
How the App Service Works
Your Go app runs as a systemd service calledapp. It:
- Runs the compiled binary
/home/instapod/app/appdirectly (no interpreter) - Starts automatically on boot
- Restarts on crash (
on-failurepolicy) - Logs to the system journal
- Runs as the
instapoduser
The Build Step
Go is compiled, so uploading source files alone changes nothing — the previously compiled binary keeps serving until a new build succeeds. Bothpods reload and a git deploy run:
If the build fails, the deploy fails and returns the compiler error. Your previous binary keeps running, so a broken commit does not take your app down.
Main package outside the root
The default build target is the module root (.). If your package main lives elsewhere — a common layout is cmd/server — set a custom build command in the pod’s Git settings:
/home/instapod/app/app, since that is what the service runs.
Deploying Your App
Upload and Reload
Example App
Background Workers
A Go program that is not a web server — a queue consumer, a bot, a scheduled job — works on this preset too. Because it never binds the web port, mark the pod as a worker so it isn’t health-checked as a website (otherwise its public URL returns 502 and the pod is flagged down). The Deploy Doctor detects this and offers a one-click convert to worker fix.Plan Sizing
Compiling is the most memory-hungry thing a Go pod does — the link step in particular. New Go pods therefore default to the Build plan rather than Launch. A small service will run comfortably on Launch once built, but the compile itself may not fit.Viewing Logs
Adding a Database
Database services require the Build plan or higher.
Use Cases
- HTTP APIs and microservices (net/http, Gin, Echo, Fiber, chi)
- Background workers, queue consumers, and bots
- Webhook receivers
- CLI tools and scheduled jobs