Updated on 2025-10-10 GMT+08:00

Installing the Agent on Cloud Platform Servers

Scenario

You can enable HSS for servers only after installing the agent. This section describes how to install the agent on cloud platform servers.

Prerequisites

  • The settings of security group outbound portsand third-party security software are appropriate and do not hinder agent installation. You have performed the operations in Preparing the Installation Environment.
  • The VPCOperatePolicy and VPCEPOperatePolicy permissions have been granted to HSS. For details, see Authorization.

Agent Installation Modes

HSS supports two installation modes. For details about their differences, see Table 1.

Table 1 Installation modes

Agent Installation Mode

Description

Scenario

GUI

It is easy and more efficient than installing the agent using commands. To install the agent in this mode, you simply need to provide HSS with the server username-password pair or key. HSS does not store the password file you upload.

There is at least one server with an online agent in the VPC of the servers where the agent is to be installed.

Commands or script

You need to log in to the server and run commands or a script to install the agent. This method is more complex and slower than installation through the GUI.

  • Install the agent for the first time.
  • There are no servers with an online agent in the VPC of the servers where the agent is to be installed.

Follow-up Procedure

After the agent is installed on servers, enable protection.