On this pageLaunch

AWS Marketplace

Run Grengin in your own AWS account from the Marketplace image. PostgreSQL (with pgvector), Nginx, Certbot and the setup wizard come preinstalled; each instance generates its own secrets.

1 min read v1

  • Instance types t3.small (x86_64) or t4g.small (Graviton arm64), matching the image
  • Operating system AlmaLinux 9 or Ubuntu 24.04, for x86_64 or Graviton (arm64)
  • Size 2 GB RAM and 10 GB disk recommended; the wizard needs at least 1 GB and 5 GB free
  • Ports 22, 80, 443 (TCP)
  • Time About a minute to boot, then the setup wizard

Launch

  1. Subscribe Open the Grengin listing on AWS Marketplace (opens in a new tab) and subscribe.

  2. Launch Pick a region, delivery option and instance type, then launch.

  3. Attach a security group Open the ports below.

  4. Open the wizard The installer starts on first boot. After about a minute, open http://<public-ip>/.

  5. Connect and finish Approve the pairing code at grengin.com/connect (required on AWS), then follow the Setup Wizard.

The Grengin listing on AWS Marketplace
PortPurpose
22 (TCP)SSH administration
80 (TCP)Setup wizard, then HTTP and Let’s Encrypt validation
443 (TCP)HTTPS for the app

Warning The wizard has no login until you finish it. Restrict 22 and 80 to your own IP meanwhile, then open 80 and 443 to users.

On AWS, connecting to grengin.com is required: pairing links the instance to your account. What the connection does and never sees →

After setup

Same web app as a grengin.com workspace; you handle updates, backups, domain and TLS.

Update Grengin

In the app: Control Hub → System Metrics → Maintenance (System Maintenance). Or over SSH:

sudo /opt/grengin/scripts/update-app-binaries.sh --version vX.Y.Z

Tip Back up the database first. Server Administration covers backups, logs and domain changes.

SSH access

Use your launch key pair. Login user: ubuntu (Ubuntu image) or ec2-user (AlmaLinux image). Root login and passwords are disabled; IMDSv2 is enforced.

Next steps

Was this page helpful?
GitHub (opens in a new tab)