Deploying the Relay Agent

The broad steps that need to be followed to deploy a Relay agent are as follows:

  1. Configuring the Relay agent

  2. Installing the Relay agent

  3. Verifying the status of the Relay agent after installation

Configuring the Relay Agent

To configure a Relay agent in SquaredUp console, do the following:

  1. Login to the SquaredUp console.

    Login Page

    Figure 1 : The SquaredUp login console

  2. Figure 2 then appears. Click the Settings option in the left pane of the console (see Figure 2).

    Console

    Figure 2 : The SquaredUp console

  3. As shown in Figure 3, the Settings menu appears in the top section of the left pane.

    ViewSettings

    Figure 3 : Viewing the Settings menu

  4. Click the Relay Agents option in Figure 3.

    Figure 4 : Viewing the pre-existing Relay agents

  5. In the context-sensitive right panel as shown in Figure 4, the agents that were previously configured in the console are listed in the Agents section. Click the Add agent button in Figure 4 to add a new Relay agent. Figure 5 then appears.

    Figure 5 : Adding a Relay Agent

  6. In Figure 5, specify the Name of the Relay agent, a brief Description of the Relay agent and choose the Agent group to which the new Relay agent should be part of.

  7. Clicking the Next button in Figure 5 reveals Figure 6 where an API key is displayed. Copy this API key to a text editor. You may need to use this API key while installing the Relay agent as a service.

    Figure 6 : The API key of the Relay agent

  8. Clicking the Done button in Figure 6 will reveal Figure 7 where the newly created Relay agent will be displayed. The agent will appear grayed out unless the Relay agent is installed.

    ViewRelayAgent

    Figure 7 : Viewing the newly created Relay agent

Installing the Relay Agent

To install the newly added Relay agent, do the following:

  1. Select an option to install the agent from Figure 6 i.e., you can either download the agent or pull the image from a Docker hub.

  2. The steps to install the Relay agent have been clearly explained in the web page that appears when you click the Installation Instructions link in Figure 6. Alternately, you can access the Configuring an agent (Windows platforms) | SquaredUp Cloud Support.

  3. Follow the instructions according to your environment and complete the installation.

  4. Ensure that you specify the API key of the Relay agent when installing the agent by opening the PowerShell as Administrator.

  5. Ensure that the server has outbound HTTPS (443) access to:

    • api.squaredup.com (or regional API endpoint)

    • *.servicebus.windows.net

    • *.amazonaws.com

Verifying the Status of the Relay Agent

Once the Relay agent is installed, do the following to verify its the installation status:

  1. Verify that the Windows service named SquaredUp Cloud Agent is running on the server where the Relay agent is installed (see Figure 8).

    Figure 8 : Viewing the status of the SquaredUp Cloud Agent service

  2. Confirm that the status of the Relay agent changes to green from the color grey in the Agents section (see Figure 9).

    InstalledAgent

    Figure 9 : Viewing the status of the Relay agent in the SquaredUp console