oxy start, which manages PostgreSQL and the Oxy process for you.
1. Launch an EC2 instance
In the AWS Console → EC2 → Launch instance:| Setting | Value |
|---|---|
| AMI | Ubuntu 22.04 LTS (64-bit ARM or x86) |
| Instance type | t4g.medium (ARM, 2 vCPU, 4 GB) — or t3.medium for x86 |
| Storage | 20 GB gp3 |
| Security group | Allow SSH (22), HTTP (80), and port 3000 inbound |
2. Connect and install
SSH into your instance, then install Docker and Oxy:3. Set up your project
4. Start Oxy
oxy start launches PostgreSQL in Docker and starts the Oxy server. Your instance is now running at http://YOUR_PUBLIC_IP:3000.
5. (Optional) Use an external database for production
When you’re ready to use a managed database instead of the Docker-managed PostgreSQL:Recommended instance types
| Team size | ARM (best value) | x86 |
|---|---|---|
| 1–3 users | t4g.small (2 GB) | t3.small (2 GB) |
| 3–10 users | t4g.medium (4 GB) | t3.medium (4 GB) |
| 10+ users | t4g.large (8 GB) | t3.large (8 GB) |
Next steps
- Set up a domain with HTTPS using Caddy or nginx
- Enable authentication
- Switch to multi-workspace cloud mode for team access and GitHub integration