Add Servers

Learn how to add servers on Clouddley.

In Clouddley, a server is any compute resource (VM, bare metal, or cloud instance) where you deploy your workloads to. Servers lets you manage workloads from one place, deploy faster, and monitor everything together. By adding your servers to Clouddley, you can see the compute resources in use on your Clouddley account. This guide walks you through adding new servers to Clouddley and removing existing ones.

Prerequisites

Before you begin, make sure you have:

  • Have a Clouddley account

  • Have a server with its details:

    • VM host

    • VM port

    • VM user

  • Basic familiarity with the command-line

Add a Server

To add a server to your Clouddley account:

  1. Sign in to your Clouddley account

  2. Select Servers

  3. Select + Add Server

  4. Enter a name for the server

  5. Complete the VM host, VM user, and VM port fields

  6. Run the installation commands on your remote machine:

Install Clouddley CLI

curl -L https://raw.githubusercontent.com/clouddley/cli/main/install.sh | sh

Add the SSH public key to the remote server

clouddley add key

Ensure you have the necessary permissions to run these commands.

  1. Click on Save

Create server form
Creating a server on Clouddley

You've successfully created a server on Clouddley!

Troubleshooting Common Issues

Connection fails during setup
  • Check that your VM host, port, and user details are correct

  • Make sure port 22 (SSH) is open on your server

  • Verify your server allows SSH connections

Permission denied when running commands
  • Make sure your user has sudo privileges

  • Check that you're using the correct username for your server

Server shows offline
  • Confirm your server is running and accessible

  • Try reconnecting by running the installation commands again

Security Considerations

When you add a server to Clouddley:

  • Clouddley adds its SSH public key to your server's authorized keys.

  • All communication happens over encrypted SSH connections.

  • You can revoke access by removing the Clouddley public key from your server.

Note that revoking access disrupts the connection between Clouddley and your server.

Best Practices

  • Server naming: Use descriptive names that help you quickly identify your servers.

  • Regular maintenance: Run the cleanup regularly to free up disk space.

Last updated

Was this helpful?