检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
What Should I Do If an ECS and RDS Instance Deployed in Different VPCs Cannot Communicate with Each Other? Change the VPC hosting the ECS to the same as that hosting the RDS. Create a VPC peering connection. Parent Topic: Database Connection
If the ECS and DB instance are in different VPCs, change the VPC of the ECS to that of the DB instance. For details, see Changing a VPC. Figure 6 Checking the VPC of an ECS Figure 7 Checking the VPC of an RDS instance Check security group rules.
How Can I Back Up an RDS Database to an ECS? You can back up data to an ECS the same way you export SQL statements. The ECS service does not have restrictions on the types of data to be backed up as long as the data complies with local laws and regulations.
On the ECS, check whether the RDS DB instance can be connected. The default port of RDS for MySQL is 3306. curl -kv Floating_IP_address:Port If the ECS can connect to the DB instance, no further action is required.
Ping the affected EIP from another ECS in the same region. Use another ECS in the same region to ping the EIP. If the EIP can be pinged, the virtual network is normal. Contact technical support. Parent Topic: Database Connection
Will My Access Be Restricted by Bandwidth When I Connect to My Instance from an ECS over a Private Network? No. Parent Topic: Database Connection
Troubleshoot RDS connection failures caused by a client problem by checking the following items: ECS Security Policy In Windows, check whether the RDS instance port is enabled in the Windows security policy.
If you connect to the RDS DB instance through a private network, the ECS and DB instance must be in the same VPC and the DB instance can be accessed only through an ECS in the same VPC.
The ECS must be in the same region, VPC, and security group as the RDS for MySQL DB instance for mutual communications. For details about how to purchase a Windows ECS, see Purchasing a Custom ECS in Elastic Cloud Server User Guide.
Viewing Storage of RDS DB Instances Scenario The storage of an RDS instance refers to the data disk storage you have purchased, not including the ECS system disks. You can use Cloud Eye to monitor the size, usage, and utilization of your storage space and set alarm rules.
The result shows that the network parameters on the ECS where the backup job failed are not optimized. Set the kernel parameters of the ECS where the backup job failed to the same as those of the ECS where the backup job succeeded. Start a backup job again.
Step 2: Buy an ECS Log in to the management console. Click in the upper left corner and select a region. Choose Compute > Elastic Cloud Server. The Elastic Cloud Server page is displayed. On the ECS console, buy an ECS.
Prepare an ECS for accessing DB instances in the same VPC or prepare a device for accessing RDS through an EIP. To connect to a DB instance through an ECS, you need to create an ECS first. To connect to a DB instance through an EIP, you must: Bind an EIP to the DB instance.
Step 2: Buy an ECS Log in to the management console. Click in the upper left corner and select a region. Choose Compute > Elastic Cloud Server. The Elastic Cloud Server page is displayed. On the ECS console, buy an ECS.
For details about how to purchase a Linux ECS, see Purchasing a Custom ECS in Elastic Cloud Server User Guide. If there is only a Windows ECS, you can use MySQL-Front to connect to the DB instance.
in a LAMP environment using Huawei Cloud Virtual Private Cloud (VPC), Elastic Cloud Server (ECS), and RDS for MySQL.
Table 1 Comparison Item RDS On-Premises Database Service availability For details, see ECS Advantages. Requires device procurement, primary/standby relationship setup, and RAID setup. Data reliability For details, see What Is EVS?
For details about how to purchase a Linux ECS, see Purchasing a Custom ECS in Elastic Cloud Server User Guide. On the ECS Information page, view the region and VPC of the ECS.
Operation Process The following figure shows the process of creating a MySQL database on an ECS, buying an RDS for MySQL instance, and migrating data from the MySQL database to the RDS instance.
To download a MySQL client to the ECS, bind an EIP to the ECS. For details about how to purchase a Linux ECS, see Purchasing a Custom ECS in Elastic Cloud Server User Guide. On the ECS Information page, view the region and VPC of the ECS.