检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
is displayed, the ECS and DDS instance can communicate with each other.
If your applications are running on an ECS in the same region, AZ, and VPC subnet as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
If your applications are running on an ECS in the same region, AZ, and VPC subnet as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
If your applications are running on an ECS in the same region, AZ, and VPC subnet as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
If your applications are running on an ECS in the same region, AZ, and VPC subnet as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
The DDS instance and ECS are not in the same region. The DDS DB instance and ECS are not in the same subnet. Fault Locating Check whether the DDS instance and ECS are in the same region, security group, and subnet.
If your applications are running on an ECS in the same region and VPC as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
If your applications are running on an ECS in the same region and VPC as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.
Secure and excellent performance Public network connection EIP If your applications are running on an ECS that is in a different region from the one where the DDS instance is located, use an EIP to connect the ECS to your DDS instances.
Figure 1 MongoDB official web page Use either of the following methods to upload the installation package to the ECS: For details about how to log in to an ECS, see How Can I Create and Log In to an ECS? Click Download to obtain the binary installation package of version 5.0.28.
What Should I Do If the ECS and DDS Are Deployed in Different VPCs and They Cannot Communicate with Each Other? Do Applications Need to Support Automatic Reconnecting to the DDS Database? How Do I Create and Log In to an ECS?
To do so, you can create an ECS and a DDS DB instance in the same VPC, allocate a public IP address for the ECS, and deploy a web server on the ECS. Parent topic: Network Security
REMOTE_USER is the ECS OS user. REMOTE_ADDRESS is the ECS address. REMOTE_DIR is the directory of the ECS to which the root certificate is uploaded. In Windows, upload the root certificate using a remote connection tool. Connect to a DDS instance.
REMOTE_USER is the ECS OS user. REMOTE_ADDRESS is the ECS address. REMOTE_DIR is the directory of the ECS to which the root certificate is uploaded. In Windows, upload the root certificate using a remote connection tool. Connect to a DDS instance.
REMOTE_USER is the ECS OS user. REMOTE_ADDRESS is the ECS address. REMOTE_DIR is the directory of the ECS to which the root certificate is uploaded. In Windows, upload the root certificate using a remote connection tool. Connect to a DDS instance.
REMOTE_USER is the ECS OS user. REMOTE_ADDRESS is the ECS address. REMOTE_DIR is the directory of the ECS to which the root certificate is uploaded. In Windows, upload the root certificate using a remote connection tool. Connect to a DDS instance.
Ping the ECS to the DB instance in the same region. If you cannot ping the DDS's EIP from an ECS, try pinging it from another ECS in the same region. If the EIP can be pinged, the network is normal. If it cannot be pinged, create a service ticket to contact customer service.
Figure 1 Related services Table 1 Related services Service Name Function Elastic Cloud Service (ECS) ECS provides DDS with elastic computing resources and a running environment for DB instances.
Prerequisites For details about how to create and log in to an ECS, see Purchasing an ECS and Logging In to an ECS. Install the MongoDB client on the ECS. For details about how to install a MongoDB client, see How Can I Install a MongoDB Client?
Prerequisites For details about how to create and log in to an ECS, see Purchasing an ECS and Logging In to an ECS. Install the MongoDB client on the ECS. For details about how to install a MongoDB client, see How Can I Install a MongoDB Client?