Manage Server
You can view all servers on the Servers page. Click on a server name to view the server details. You can also manage the server from this page. Here, you can see and modify detailed settings such as the server name, SSH connections, and queue limits.
IP Address
IP addresses may change depending on your server provider (like AWS etc.), for example when you power off/on or restart the server. If you do not update your current IP address from your dashboard, you will receive a connection error from Depfloy.
If your server's IP address changes, Depfloy needs to be informed. In such a case, you should go to the settings section and update your public IP address.
Timezone
By default, all servers are provisioned and configured to use the UTC timezone. If you need to change the timezone used by the server, you can do so by selecting one of the timezones from the list.
We use the timedatectl command to modify the system’s timezone.
Root Password
The root password is automatically generated by Depfloy and is displayed on the server details page. You can view and copy the root password by clicking the "View & Copy Root Password" button.
SSH Keys
Depfloy Public Key
Depfloy uses SSH keys to connect to your server. In some cases, your public key may be removed from the authorized_keys file on your server. This is not something we want to happen and it prevents Depfloy from connecting to your server. In this case, you need to add Depfloy's public key to the authorized_keys file on your server.
You can find Depfloy's public key in the "Security" section of the server settings page at https://app.depfloy.com/servers/<serverID>/security.
Server Public Key
When you provision a server, Depfloy generates a unique SSH key pair. The public key from this pair is automatically added to the authorized_keys file for both the root and depfloy users on your server. This key is used to connect your server to GitHub, GitLab, Bitbucket, or any other VCS provider.
If you receive a git permission error when deploying a project, this is likely due to your server public key not being defined in your Git account. In this case, you need to add your server public key to your Git account.
You can find your server public key in the "Security" section of the server settings page at https://app.depfloy.com/servers/<serverID>/security.
Server-Specific SSH Keys
In addition to account-wide SSH keys, you may want to add specific SSH keys to individual servers rather than deploying them across all servers. To do this, you can follow the steps below:
- Navigate to your server settings page at
https://app.depfloy.com/servers/<serverID>/settings - Go to the SSH Keys section at
https://app.depfloy.com/servers/<serverID>/settings/ssh-keys - Add the desired SSH key specifically for that server
This approach provides granular control over which keys have access to which servers, enhancing your security posture.
Delete Server
You can delete your server from the server security page (https://app.depfloy.com/servers/<serverID>/security). If your server was provisioned via a provider such as Hetzner, it will also be deleted from your provider account automatically. However, if you set up your server manually via SSH, deleting it from Depfloy only removes it from the platform; you will need to delete the server separately from your provider.
Deleting a server from Depfloy will also delete all projects associated with that server.
Make sure you have the server:delete permission to delete a server.