Servers in CloudRay are resources that store the information needed to connect to your own remote cloud servers. They consist of the server’s address and the SSH credentials (username, password, or SSH key) required to access it. CloudRay itself does not provide cloud servers. You’ll need to obtain your own server from providers like Google Cloud, AWS, Digital Ocean, Linode, or others. Once you have a server, you can use CloudRay to run scripts on it via SSH.

Adding a Server

  1. Navigate to Servers: Click on the “Servers” tab in the main navigation.

  2. Click “Add Server”: Initiate the process by clicking the “Add Server” button.

  3. Server Details:

    • Host: Enter the domain name (e.g., example.com) or IP address (e.g., 192.168.1.100) of your cloud server. If your SSH server uses a non-standard port (not 22), include it in the host (e.g., example.com:2222).
    • SSH User: The username on your server with the necessary permissions to execute scripts (e.g., ubuntu or root).
    • Authentication: Choose one of the following methods:
      • SSH Password: Your server’s SSH password.
      • SSH Key: Select an existing SSH key from the “Server Keys” section or create a new one.
  4. Save and Verify: Click “Save Server” to add your server. Then, click “Test Connection” to ensure CloudRay can establish a connection. A Runlog entry will be created, detailing the connection attempt.

Managing Your Servers

  • Viewing Server Details: Click on a server in the list to view its configuration settings.
  • Editing Server Settings: Modify a server’s hostname, SSH user, or authentication details by clicking “Edit.”
  • Removing a Server: Click “Delete” to remove a server you no longer need.

Troubleshooting Connection Problems

  • Authentication Failures: Verify your SSH credentials (username, password/key) and ensure the SSH key is properly linked to the server within CloudRay.
  • Network Issues: Confirm your server is online, reachable from the internet, and that your firewall allows incoming SSH connections from CloudRay.
  • Non-Standard SSH Port: If using a non-standard SSH port, double-check that you’ve included it correctly in the “Hostname” field (e.g., example.com:2222).