Add an Existing Server
If you have servers provisioned outside of your desired environment on Devopness, you can still connect them to your Devopness account and take the most of the Devopness infrastructure management features.
-
On Devopness, navigate to a project then select an environment
-
If there's no other server in the selected environment, just click
Add Server
-
If a list of resource cards is displayed, find the
Servers
card -
Click
View
in theServers
card to see a list of existingServers
-
On the upper-right corner of the list click
ADD SERVER
-
On the
Cloud Provider
drop-down menu chooseVPS/Self Hosted
-
Provide the
Public IP address
of your existing server -
Enter the
SSH Port
to be used to connect to the serverNOTE: we do not recommend connecting servers that are already being used in production. Server's existing configuration will be lost and replaced by Devopness during the server setup process
-
Click
NEXT
-
Follow the prompts to complete the configuration of the new
Server
-
Click
CONFIRM
- If you see a message saying
Error establishing a SSH connection to server
, please verify if the IP address and SSH port used are correct and if external SSH connections are allowed on this server
- If you see a message saying
-
After the
Server
is added you will be redirected to theConnect
page -
Find the
Command to connect
field and clickCopy to clipboard
-
Log into your server as the
root
user -
Paste the command that has been copied to the clipboard and run it
-
A message will be displayed in the terminal window when the server connect command is successfully completed
-
On Devopness, once the server is displayed as
Connected
, it's been added to the selected environment
Required Permissions:
NOTE: To complete the steps in this post, the user needs to have the following permissions in the environment:
Resource Type | Permission |
---|---|
Server | Add |
For instructions on how to grant user permissions in an environment, see Add team to an Environment