Skip to content

Run a server

This section is for whoever operates gomoe.dev for goMoE. gomoe.dev is the team server, and it runs on AWS in goMoE’s account, from the Terraform root ops/terraform/agents/ and the deploy tools in ops/aws-deploy/. The team’s server moved there from Tayler’s Mac on 2026-11-21. No page here sets a server up on a Mac.

  • One EC2 host, m7g.xlarge by default, in a private subnet with no public address and no SSH. It runs the API as agents-api.service, nginx in front of the API’s sockets, and Electric and the forge in Docker Compose.
  • RDS Postgres 17 holds the record. Only the server host reaches it.
  • People reach the app at https://gomoe.dev through a load balancer that ends TLS, and sign in to Agents itself.
  • Each person’s computer, and each task’s coding computers, run as Fargate tasks in the ECS cluster agents-computers, each with a home on EFS.
  • An operator runs commands on the host through SSM Run Command from a laptop with the gomoe profile. The host has no port open to do this.
  • A merge to main deploys gomoe.dev through ops/aws-deploy/follow.ts on the host, once following is applied.
  1. Requirements lists the tools, the account access and the optional accounts.
  2. Stand up the stack runs Terraform, the first deploy and the image build.
  3. How people and computers reach gomoe.dev explains the load balancer, nginx, the laptop door and what computers may reach.
  4. Add teams and people covers accounts, teams, invites by email link and the admin commands.
  5. Connect a person’s Mac covers the laptop door and the Mac app.
  6. Computers on Fargate lists the image, the sizes and the limits.
  7. Save the team’s Claude token covers the one server-wide token.
  8. The forge covers the Gitea that holds pipelines.
  9. Turn on GitHub covers the GitHub App’s settings in SSM.
  10. Bill teams through Stripe covers plans, keys and reconciling.
  11. Turn on connectors, views and speech covers the features with their own settings.
  12. Publish the Mac app gives teammates a download.