Облачная платформаAdvanced

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.

Constraints

When installing the agent in the GUI mode on the HSS console, ensure the agent has been installed on an ECS in the same VPC and is online. HSS will select this server as the executor to install the agent for other servers. For details about how to install the agent a server in a VPC for the first time, see Using Commands to Install the Agent on a Cloud Platform Linux Server.

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

  • To install the agent on a target server, ensure an agent is already online on a server in the same VPC as the target server.
  • The operations are simple. You do not need to log in to the server.
  • You need to provide the account password or key to install the agent.

To install the agent on a target server, ensure an agent is already online on a server in the same VPC as the target server.

Commands or script

  • You need to log in to the server and manually run the commands or scripts.
  • You can install the agent under the current account or across accounts. The operations for current-account and cross-account installation are as follows:
    • Current-account installation: The target servers and the HSS quota you applied for are under the same account. You can log in using this account to obtain the installation commands or script and install the agent on the servers.
    • Cross-account installation: The target servers and the HSS quota you applied for are under different accounts. You can log in to account A to obtain the installation command or script, and install the agent on the target server under account B. After the agent is successfully installed, you can view the target server on the Asset Management > Servers & Quota page of account A.

  • There are no servers with an online agent in the VPC of the target server.
  • Manage and protect servers across accounts.

Follow-up Procedure

After the agent is installed on servers, enable protection.