Server Infrastructure Setup
Objective: Provision a host and install Docker, Docker Compose, and AWS CLI
Step 1: Confirm Host Sizing
Verify your host meets the minimum specifications:
Spec
Host (Primary Services)
Specs
4 vCPU, 16 GB RAM or larger (≈ t3.xlarge)
OS
Ubuntu 22.04 LTS (or equivalent)
Storage
50 GB+ available disk
Open inbound ports
22, 80, 3000, 4317 (required only if integrating Claude Code), 5432 (Database access, host only; no public or external access permitted)
Step 2: Provision the Host
Create a virtual machine or server with the specifications above. Record the private IP address of the host.
Step 3: Install Docker, Docker Compose, AWS CLI, and PostgreSQL
Connect to the host and run the following commands, then verify installation.
Verify Installation Success:
✓ Each --version command prints a version string with no errors
✓ docker ps runs without requiring sudo
If docker ps still requires sudo after logging back in:
Run newgrp docker to activate the new group membership in your current shell session, or reboot the host if the group change still hasn't taken effect.
Last updated