Skip to content
Hoist

Servers

A server is a virtual machine in your cloud account that runs your apps in Docker containers, behind the Caddy web server. One server can run many projects.

Creating a server

Go to Servers → Create a server. Choose the cloud account, a region close to your users, and a size. Hoist then:

  1. creates the server, with a static IP address
  2. installs Docker, a build engine with a capped share of the CPU, and Caddy
  3. checks in every minute with CPU, memory and disk use

It takes about three minutes.

Choosing a size

Apps are built on the server itself, so give it at least 2 GB of memory. A 2 GB server comfortably runs a few small apps. Add memory if you run databases on the server too, or many apps.

EC2 or Lightsail

On AWS you choose how you're billed:

Pay as you go · EC2 Fixed monthly · Lightsail
Price By the hour, plus disk, public IP and data transfer One monthly price, including a static IP and a data transfer allowance
Databases RDS and ElastiCache, or on the server Lightsail PostgreSQL and MySQL, or on the server
Good for Larger or growing apps Predictable bills, smaller apps

Lightsail needs version 4 of the AWS stack. A Lightsail server can only reach Lightsail databases, and an EC2 server only RDS and ElastiCache.

Access

Each server has its own SSH key, kept encrypted by Hoist. The firewall only allows SSH from Hoist's addresses and the ones your team adds. See SSH access to log in yourself.

Deleting a server

Deleting a server removes it from your cloud account, with its disk and static IP. Delete or move the databases on it first.