Help Center/ Cloud Eye/ User Guide/ Server Monitoring/ Installing and Configuring the Agent on a Windows ECS/ Modifying the DNS Server Address and Adding Security Group Rules (Windows)
Updated on 2023-02-27 GMT+08:00

Modifying the DNS Server Address and Adding Security Group Rules (Windows)

Scenarios

This topic describes how to add the DNS server address and security group rules to a Windows ECS to ensure successful downloading of the Agent installation package and successful monitoring data collection.

The DNS server address of an ECS can be modified in either of the following ways: Windows GUI or management console. Choose a method based on your habits.

DNS and security group configuration are intended for the primary NIC.

Modifying the DNS Server Address (Windows GUI)

The following describes how to use the Windows GUI to add the DNS server address.

  1. Click Service List in the upper left corner. Under Compute, select Elastic Cloud Server. Use VNC to log in to the Windows ECS.
  2. Choose Control Panel > Network and Sharing Center, and click Change adapter settings.
  3. Right-click the used network, choose Settings from the shortcut menu, and configure the DNS.

    The nameserver value varies depending on the region. For details, see What Are the Private DNS Servers Provided by the Huawei Cloud?

Modifying the ECS Security Group Rules (Management Console)

The following describes how to modify security group rules for an ECS on the management console. This topic takes an ECS as an example. The operations for BMSs are similar.

  1. On the ECS details page, click the Security Groups tab.

    The security group list is displayed.

  2. Click the security group name.
  3. Click Modify Security Group Rule.

    The security group details page is displayed.

    Procedure for BMS:

    1. Click the security group ID on the upper left.
    2. Click Manage Rule in the Operation column of the security group.
  4. Click the Outbound Rules tab, and click Add Rule.
  5. Add rules based on Table 1.
    Table 1 Security group rules

    Protocol

    Port

    Type

    Destination

    Description

    TCP

    80

    IPv4

    100.125.0.0/16

    Used to download the Agent installation package from an OBS bucket to an ECS or BMS and obtain the ECS or BMS metadata and authentication information.

    TCP and UDP

    53

    IPv4

    100.125.0.0/16

    Used by DNS to resolve domain names, for example, resolve the OBS domain name when you are downloading the Agent installation package, and resolve the Cloud Eye endpoint when the Agent is sending monitoring data to Cloud Eye.

    TCP

    443

    IPv4

    100.125.0.0/16

    Used to collect monitoring data and send the data to Cloud Eye.