Skip to content

Provisioning a new server

Ensure you know the specs of the server you want to provision, the region, and the server provider.

  1. In Forge, sign in with hello@novatura.co.
  2. On the Servers page, click ‘New Server’
  3. Name the server with the convention uk-ldn-project-1
  4. Select the provder and hit ‘Continue’
  5. Choose the server type (usually App Server), region and network (create a new one for a new project)
  6. Choose the server with the specs you’ve already found through the provider
  7. In the advanced settings, configure backups
  8. When shown the sudo and database passwords, add those to a secure note in 1Password (use the server name as the note name)

In the server settings on Forge, go to the SSH tab.

  1. Add a new SSH key, using the convention “[Name][DeviceType]”, e.g. JamesMacbook
  2. Use 1Password to create and store the SSH key (call it the server name, and keep this one private)
  3. If you’ve got 1Password SSH agent set up correctly, you should be able to do
ssh forge@<server-public-ip>

To add the new server to the Novatura tailnet:

  1. Head to the web dashboard for Tailscale
  2. Click ‘Add device’
  3. It’s a Linux Server, choose an appropriate tag (tag:prod-server if its a prod server)
  4. Keep all other default and generate the install script
  5. In your SSH client, run the install script on the new server

To deploy a Laravel project on Forge, follow these instructions.

If this is intended to be a production server, make sure resource monitors are set up on the server itself (not the site). In the Observe tab on the server page in Forge, add the following:

  1. CPU Load Average >= 80% for at least 15 minutes
  2. Used Disk Space >= 80% for at least 15 minutes
  3. Used Memory >= 80% for at least 15 minutes

For all of the above, set the notification to go to support@novatura.co.