检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Example 1: Creating a VPC and Subnet for an ECS Scenarios This section describes how to create a VPC and subnet for an ECS by calling APIs. Prerequisites You have planned the region where you want to create the VPC and obtained the endpoint required for calling APIs. For details,
Migrating an ECS from a Shared Security Group to a Dedicated Security Group Scenarios If instances for different purposes are associated with the same security group, their specific network isolation and security control requirements cannot be met. In addition, the security group
Common ECS Ports When adding a security group rule, you must specify a port or port range for communications. Traffic is then allowed or denied if traffic matches this rule. Suppose a client requests to remotely log in to an ECS using SSH. When the request reaches the security group
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Example 3: Assigning a Virtual IP Address to an ECS for HA Scenarios Virtual IP addresses are used for high availability as they make active/standby ECS switchover possible. This way if one ECS goes down for some reason, the other one can take over and services continue uninterrupted
Why Can't My ECS Use Cloud-init? Symptom An ECS is not able to use cloud-init. Troubleshooting Figure 1 shows the process for an ECS to obtain metadata using the cloud-init. Figure 1 Process for obtaining metadata Check the following possible causes. Figure 2 Possible causes Table
Why Is the ECS IP Address Released After the System Time Is Changed? Cause If the new ECS system time is later than the DHCP lease expiration time, the system will attempt to renew the DHCP lease. If the renewal fails, the IP address will be released. Solution If you need to set the
What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet? The priority of an EIP is higher than that of a custom route in a VPC route table. For example: The VPC route table of an ECS has a custom route with 0.0.0.0
Configuring Policy-based Routes for an ECS with Multiple Network Interfaces Overview Collecting ECS Network Information Manually Configuring IPv4 and IPv6 Policy-based Routes for a Linux ECS with Multiple Network Interfaces (CentOS) Manually Configuring IPv4 and IPv6 Policy-based
Binding an EIP to the Extended Network Interface of an ECS to Enable Internet Access Scenarios As shown in Figure 1, the ECS has two network interfaces, one primary network interface and one extended network interface. You can bind an EIP to the extended network interface of the ECS
Example 2: Configuring a Security Group for an ECS Scenarios This section describes how to configure a security group for an ECS by calling APIs. Prerequisites You have purchased an ECS. For details, see Creating an ECS. If you use a token for authentication, you must obtain the token
Can I Bind an EIP of an ECS to Another ECS? Yes. You can unbind the EIP from the original ECS. For details, see Binding or Unbinding an EIP. If you want to change an EIP for your ECS, refer to Changing an EIP. Parent topic: EIPs
Changing the Security Group of an ECS Scenarios When creating an ECS, you must associate it with a security group. If no security group has been created yet, a default security group will be created and associated with the ECS. If the default security group cannot meet your service
Can I Change the VPC of an ECS? Yes. You can click Change VPC in the Operation column on the Elastic Cloud Server page. For details, see Changing a VPC. Parent topic: VPCs and Subnets
Why Does My ECS Fail to Obtain an IP Address? Symptom The private IP address of the ECS fails to be obtained. Troubleshooting Locate the fault based on the following procedure. Figure 1 Troubleshooting process Checking Whether DHCP Is Enabled Checking Whether the dhclient Process
Can I Change the Security Group of an ECS? Yes. An ECS must be associated with a security group. You can change the security group of an ECS at any time. You can log in to the management console to change the security group on the ECS details page. For details, see Changing a Security
How Do I Access an ECS with an EIP Bound from the Internet? Each ECS is automatically added to a security group after being created to ensure its security. The security group denies access traffic from the Internet by default (except TCP traffic from port 22 through SSH to a Linux
Collecting ECS Network Information Scenarios Before configuring policy-based routes for an ECS with multiple network interfaces, you need to collect network information about the ECS. Table 1 lists the information to be collected for a Linux ECS using IPv4. Table 1 Linux ECS using
How Do I Change the DNS Server Address of an ECS? Scenarios This section describes how to change the DNS server address of an ECS and make the new DNS server address take effect immediately on the ECS. The required operations are as follows: Viewing the DNS Server Addresses for an