Learn how to add a server to your Depfloy account
Before creating a project, you must connect a server to your account where your projects will be hosted. This server should be a Linux server running Ubuntu 20.04, 22.04, or 24.04. Currently, Depfloy does not support any other operating systems.
In the future, it will be possible to create servers directly from cloud service providers such as AWS, DigitalOcean, or Hetzner. For now, you can add a server via manual setup.
Before adding a server, please ensure that the server meets the following requirements:
Some server providers may modify the contents of /root/.ssh/authorized_keys
. You must ensure that they allow Depfloy’s public key to access the server.
You can find this key by visiting:
https://app.depfloy.com/servers/<serverID>/settings
As the first step, go to the “Servers” page on the Depfloy dashboard and click the “Add Server” button located at the top right corner. On the page that opens, fill in your server details. After submitting, you will be provided with a bash script and the root password for the “depfloy” user on your server.
Next, connect to your freshly installed server via SSH as the root user. Paste the bash script provided in the previous step into your terminal and press Enter. Depfloy will then start the installation process on your server and configure all necessary settings automatically. Sit back and wait for the installation to complete.
If you encounter any errors, make sure you have followed all the steps correctly and that your server meets all the requirements mentioned above.
Once everything is complete, you will receive a notification that your server has been successfully added to Depfloy. From this point, you can add a project and quickly deploy it.