Purchasing and Enabling HSS
Scenario
HSS helps you identify and manage the assets on your servers, eliminate risks, and defend against intrusions. There are also proactive protection and security operations functions available to help you easily detect and handle threats. For details about the server security protection functions provided by HSS, see Product Functions.
The following is an example to describe how to buy and enable HSS.
- Server: EulerOS 2.9 Huawei Cloud ECS
- Protection quotas
- Billing mode: Yearly/Monthly
- Edition: professional
- Quantity: 1
Process
Procedure |
Description |
---|---|
Grant permissions to IAM users, and prepare the cloud servers to be protected. |
|
Set the billing mode and edition, and purchase protection quota for your server. |
|
Install the agent on the target server. |
|
Enable protection for the target server. |
Preparations
- If you perform operations as an IAM user, ensure that the IAM user has been assigned the HSS FullAccess permission. For details, see Creating a User and Granting Permissions .
When purchasing HSS protection quotas, you need to assign the BSS Administrator permission to IAM users.
- A Huawei Cloud ECS for which HSS will be enabled is available.
Step 1: Purchase HSS Quota
- Log in to the management console.
- Click
in the upper left corner and select the region and project.
- Click
in the upper left corner of the page and choose Security & Compliance > HSS.
- In the upper right corner of the Dashboard page, click Buy HSS.
- Configure parameters.
Table 1 Parameters for purchasing HSS Parameter
Example
Description
Region
CN-Hong Kong
Select the region of server. After the HSS is purchased, the region cannot be changed. Exercise caution when selecting a region.
Billing Mode
Yearly/Monthly
Select the billing mode. For more information, see Pricing Details.
- Yearly/Monthly: You can buy a prepaid yearly/monthly package if you intend to use the service for a long time. The fee is lower than that of pay-per-use.
- Pay-per-use: You pay for the used resources based on the actual service duration (in hours), without a minimum fee.
Edition Specifications
Professional
HSS provides basic, professional, premium, WTP, and container editions. Functions vary depending on editions. For details about functions supported by each edition, see Functions.
Enterprise Project
default
This parameter is displayed only when you use an enterprise account to purchase protection quotas.
It enables unified management of cloud resources by project.
Tag
Not added
Tags are used to identify server security, facilitating cloud resource classification and management.
Automatically assign
Not selected
When a server or container node is added and the agent is installed for the first time, it will be bound to an available yearly/monthly quota.
Only unused quotas will be bound, and no new order or fee will be generated.
Required Duration
1 month
Select the required duration. The longer the subscription period, the higher the discount. You do not need to configure the pay-per-use billing mode.
Auto-Renewal
Not selected
If this option is selected, the system automatically renews the service based on the subscription period. You do not need to configure the pay-per-use billing mode.
Quantity
1
Set the value based on the actual number of servers.
- In the lower right corner of the page, click Next.
- After confirming that the order, select I have read and agree to the Host Security Service Disclaimer.
- Click Pay Now and complete the payment.
- Click Host Security Service to return to the HSS console.
Step 2: Install an Agent
- In the navigation pane, choose .
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation mode. For details about the parameters, see Table 2.
Figure 1 Installing an agent
Table 2 Parameters for installing the agent Parameter
Example
Description
Installation Mode
CLI-based installation
- GUI: You need to provide server account password or key for installing the agent. HSS does not save the password file you upload. To install the agent in this mode, ensure there is already an executor ECS, which is an ECS with an online agent in the same VPC as the target ECS.
- CLI: You need to log in to the server and run commands or scripts. This method is used when you install the agent for the first time.
Owner Account
Current account
- Current account installation: The server and the HSS quota you purchased are under the same account. You can log in to the account to obtain the installation commands or script and install the agent on the server.
- Cross-account installation: The server and the HSS quota you purchased are not under the same account. 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 page of account A.
Server OS
Linux
Select an OS type based on the server OS.
Scale
A single
Select the scale based on the number of servers on which the agent is to be installed.
- (Optional) Select the servers that need to be connected to the current HSS region and click Next.
- Perform this operation only in the CN East2 and CN Southwest-Guiyang1 regions. HSS will automatically create a VPC endpoint, which occupies an IP address of your VPC subnet. Only one VPC endpoint will be created for each of your VPCs to ensure the communication between your servers and HSS.
- In other regions, ensure the security groups of your servers allow outbound traffic through port 10180 of the 100.125.0.0/16 CIDR block. This port is used to communicate with HSS.
- Install the agent as prompted.
For CN East2 and CN Southwest-Guiyang1 regions, wait until the network communication succeeds (that is, the VPC endpoint is created) before performing the following operations.
- On the console page, click
in the Install HSS Agent dialog box to copy the installation command.
Figure 2 Copying the installation command - Log in to the server as the root user and paste the installation command.
If the command output shown in Figure 3 is displayed, the agent has been installed.
- On the console page, click
- Wait for 5 to 10 minutes and return to the HSS console. On the Server Install & Config page, click the Agents tab, and click Servers with Agents. Check the agent status of the target server.
If the Agent Status is Online, the agent is successfully installed.
Step 3: Enable Protection
- In the navigation pane on the left, choose Asset Management > Servers & Quota.
- In the Operation column of a server, click Enable.
- In the dialog box that is displayed, select the mode.
Table 3 Parameters for enabling protection Parameter
Example
Description
Billing Mode
Yearly/Monthly
The value must be the same as the charging mode specified by Step 1: Purchase HSS Quota.
Edition
Professional
The value must be the same as the version selected in Step 1: Purchase HSS Quota.
Select Quota
Select a quota randomly
Select the quota purchased in Step 1: Purchase HSS Quota.
- After confirming the information, select I have read and agree to the Host Security Service Disclaimer.
- Click OK.
- If the Protection Status of the target server is Protected, the protection is enabled successfully.
Figure 4 Viewing the protection status
Follow-Up Procedure
Enable active protection for servers.
Function |
Description |
---|---|
The function uses the virus detection engine to scan virus files on the server. The scanned file types include executable files, compressed files, script files, documents, images, and audiovisual files. You can perform quick scan and full-disk scan on the server as required. You can also customize scan tasks and handle detected virus files in a timely manner to enhance the virus defense capability of the service system. |
|
HSS comes in multiple editions, including basic, professional, premium, WTP, and container editions. Except for the basic edition, they each have a default protection policy group. A policy group is a collection of policies. These policies can be applied to servers to centrally manage and configure the sensitivity, rules, and scope of HSS detection and protection. You can customize policies for asset management, baseline inspection, and intrusion detection as needed. Some policies in the policy group are not enabled by default. You can enable them as needed. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot