Deploying the Relay Agent
The broad steps that need to be followed to deploy a Relay agent are as follows:
-
Configuring the Relay agent
-
Installing the Relay agent
-
Verifying the status of the Relay agent after installation
Configuring the Relay Agent
To configure a Relay agent in SquaredUp console, do the following:
-
Login to the SquaredUp console.
Figure 1 : The SquaredUp login console
-
Figure 2 then appears. Click the Settings option in the left pane of the console (see Figure 2).
-
As shown in Figure 3, the Settings menu appears in the top section of the left pane.
-
Click the Relay Agents option in Figure 3.
-
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.
-
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.
-
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.
-
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.
Installing the Relay Agent
To install the newly added Relay agent, do the following:
-
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.
-
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.
-
Follow the instructions according to your environment and complete the installation.
-
Ensure that you specify the API key of the Relay agent when installing the agent by opening the PowerShell as Administrator.
-
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:
-
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
-
Confirm that the status of the Relay agent changes to green from the color grey in the Agents section (see Figure 9).
Figure 9 : Viewing the status of the Relay agent in the SquaredUp console