🏢

Build your first server

To build a server - click "Servers" in the top navigation, followed by the plus icon. You will then be asked to select a server type.
A "Scriptables" server template is effectively a blank slate. This template will set up the SSH user and perform all the SSH hardening steps. After that - it's up to you to build the server, however you want. Please see the bash Scriptables guide to learn more about building modules.
LEMP - will usually be what you should pick. It will set up Nginx, MySQL, PHP FPM, and Redis so that you can easily deploy your Laravel application.
Depending on what server type you picked - this screen might be slightly different for you, however you should see something similar:
For the most part, you can leave the defaults, the main fields are:
  1. 1.
    SSH Key - ensure you select the same key you used when creating the server in your hosting provider's dashboard.
  2. 2.
    Public Server IP - the main IPV4 IP for your server.
  3. 3.
    Server Name - this is just an internal name for you to find this server in the dashboard later on and can be anything.
  4. 4.
    SSH username - most hosts will set up your SSH user as "root" by default, so you should be able to leave it as is but if your host does something different, please enter the username here. This user needs to have root access.
  5. 5.
    New SSH username - After the initial setup of your server, the root account is disabled and a new SSH user is created. By default this is "developer", however, you can set this to whatever username you prefer. Every time you ssh into the server - you can then use this as the ssh username.
  6. 6.
    New SSH port - similar to the above, change the SSH port to any random unused port.
Once you hit "BUILD SERVER", a build process will kick off, and try to test your SSH key. If it cannot access the server, it will throw an error and allow you to try a different SSH key.
If you keep getting an error, please try to manually ssh in with the key from your terminal. It's mostly likely that the key has extra blank lines or white spaces, or was not correctly linked to the server instance on creation.