This topic describes how to install the Security Center agent on a server that is not deployed on Alibaba Cloud.

Background information

Security Center protects both Elastic Compute Service (ECS) instances and the servers that are not deployed on Alibaba Cloud. The servers include servers that are provided by third-party providers, such as Amazon Web Services. Security Center protects ECS instances and servers not deployed on Alibaba Cloud only after they have the Security Center agent installed.

Your server is protected by Security Center and the information about the server is displayed in the Security Center console only after your server have the Security Center agent installed. The information includes vulnerabilities, alerts, baseline risks, and asset fingerprints.

The Security Center agent cannot be automatically installed on servers not deployed on Alibaba Cloud. You must manually install the agent on these servers.

Procedure

  1. Log on to the Security Center console.
  2. In the left-side navigation pane, click Settings.
  3. On the Settings page, click the Agent tab.
  4. Click the Client Installation Guide tab. Scroll down on the tab and select an installation method to download the latest Security Center agent based on the operating system that your server runs. Manual installation
    • Windows OS
      1. In the Windows OS section, select Alibaba Cloud Server or Non-Alibaba Server based on your server type.
      2. Set the Key Validity Period parameter.
        Note You can customize this parameter to specify the validity period of the command that is used to install the agent. By default, the validity period of the command is 1 hour. You must install the Security Center agent within the validity period.
      3. Select an installation method based on your business requirements. You can use one of the following installation methods:
        • Run a command
          1. Click Copy next to Applicable to Windows 2008 and later.
          2. Log on to your Windows server as an administrator.
          3. Open Command Prompt in Windows and run the command that you copied. This allows you to download and install the Security Center agent.
        • Download the Security Center agent when you select Alibaba Cloud Server
          1. Click Download Agent.
          2. Upload the installation package to your Windows server. You can use an FTP tool to upload the package.
          3. Run the Security Center agent installer on your Windows server as an administrator.
        • Download the Security Center agent when you select Non-Alibaba Server
          1. Click Download Agent.
          2. Click Copy next to Step 2: run the following command in the directory where the client is located.
          3. Upload the installation package to your Windows server. You can use an FTP tool to upload the package.
          4. Run the Security Center agent installer on your Windows server as an administrator.
          5. Run the command that you copied in the directory where the Security Center agent resides.

            This command is used to associate the servers that are not deployed on Alibaba Cloud with your Alibaba Cloud account.

        Notice If you install the Security Center agent on servers that run Windows Server 2008 or later, we recommend that you run a command. If you install the Security Center agent on servers that run Windows Server 2003, we recommend that you download the Security Center agent.
    • Linux OS
      1. On the Agent tab, select Alibaba Cloud Server or Non-Alibaba Server based on your server type.
      2. Set the Key Validity Period parameter.
        Note You can customize this parameter to specify the validity period of the command that is used to install the agent. By default, the validity period of the command is 1 hour. You must install the Security Center agent within the validity period.
      3. Log on to your Linux server as an administrator.
      4. Copy the installation command for 32-bit Linux or 64-bit Linux to your server based on the operating system that your server runs.
      5. Run the installation command on your server to download and install the Security Center agent.
      Note This installation command also downloads the latest Security Center agent from Alibaba Cloud. Make sure that the server can access the Internet.

Install the Security Center agent on multiple servers not deployed on Alibaba Cloud at a time

  1. Log on to the Security Center console.
  2. In the left-side navigation pane, click Settings.
  3. On the Settings page, click the Agent tab.
  4. Click the Client Installation Guide tab. If you use Windows servers, download the installation program. If you use Linux servers, copy the installation command. Manual installation
  5. Open your user-managed O&M system such as Xshell or SecureCRT. Then, run the installation scripts or commands on your servers.
  6. Optional. Log on to the Security Center console. Open the Assets page, click the Server(s) tab, and then view the protection status of the servers. Verify that Enable is displayed in the Agent column of each server.

Related topics

Troubleshoot why the Security Center agent is offline

Install the Security Center agent

Install the agent on servers in private networks