This topic describes how to add the DNS server address and security group rules to a Linux ECS or BMS to ensure successful downloading of the Agent installation package and successful monitoring data collection. This topic takes an ECS as an example. The operations for BMSs are similar.
You can modify the DNS server address of an ECS via command lines or the management console.
DNS and security group configuration are intended for the primary NIC.
The following describes how to add the DNS server address to the resolv.conf file using command lines.
To use the management console, see Modifying the DNS Server Address (Management Console).
The following describes how to modify the DNS server address of an ECS on the management console. This topic takes an ECS as an example. The operations for BMSs are similar.
On the ECS console, click the name of the target ECS to view its details.
The Subnets page is displayed.
The new DNS server address takes effect after the ECS or BMS is restarted.
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.
The security group list is displayed.
The security group details page is displayed.
Procedure for BMS:
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. |