检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
How Can I Back Up an RDS for MariaDB 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 for MariaDB instance port can be connected. The default port of RDS for MariaDB is 3306. curl -kv Floating_IP_address:Port If the ECS can connect to the DB instance port, no further action is required.
Will My Access Be Restricted by Bandwidth When I Connect to My RDS for MariaDB Instance from an ECS over a Private Network? No. Parent topic: Database Connection
Troubleshoot RDS for MariaDB connection failures caused by a client problem by checking the following items: ECS Security Policy In Windows, check whether the RDS for MariaDB instance port is enabled in the Windows security policy.
The ECS must be in the same region, VPC, and security group as the RDS for MariaDB instance for mutual communications. For details about how to purchase a Linux ECS, see Purchasing an ECS in Elastic Cloud Server User Guide.
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
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.
If your applications are deployed on an ECS that is in the same region and VPC as your RDS DB instance, you are advised to use a private IP address to connect the ECS and RDS DB instance.
How Can I Back Up an RDS for MariaDB Database to an ECS? Can I Dump RDS for MariaDB Backups to My OBS Bucket?
The backups stored in Object Storage Service (OBS) and the Elastic Cloud Server (ECS) used by RDS for MariaDB are invisible to you. They are only visible in the RDS backend management system.
Will My Access Be Restricted by Bandwidth When I Connect to My RDS for MariaDB Instance from an ECS over a Private Network?
VPC: Virtual Private Cloud ECS: Elastic Cloud Server If the ECS is in the same VPC as your RDS DB instance, you do not need to apply for an EIP. Figure 1 illustrates the connection over a private network or a public network.
Advantages Easy Management Quick Setup You can create a DB instance on the management console within minutes and access the DB instance from an ECS over a private network to reduce the application response time and avoid paying for the traffic that would be generated by regular public
For details on how to create and log in to an ECS, see Purchasing an ECS and Logging In to an ECS in Elastic Cloud Server Getting Started. To connect to a DB instance through an ECS, you must ensure that: The ECS and DB instance are in the same VPC.
Figure 1 Relationships between RDS for MariaDB and other services Table 1 Related services Service Name Description Elastic Cloud Server (ECS) Enables you to access RDS DB instances through an internal network.
For details on how to create and log in to an ECS, see Purchasing an ECS and Logging In to an ECS in Elastic Cloud Server Getting Started. To connect to a DB instance through an ECS, you must ensure that: The ECS and DB instance are in the same VPC.
Obtain the IP address of the ECS you use to connect to the DB instance. Configure security group rules. Add the IP address obtained in 1.b and the DB instance port to the inbound rule of the security group.
When you attempt to connect to an RDS DB instance through a private network, check whether the ECS and DB instance are in the same security group. If the ECS and RDS DB instance are in the same security group, they can communicate with each other by default.
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), can all be shared within a given region.
This section describes how to connect a Linux ECS to a DB instance with SSL enabled or disabled through an EIP. SSL encrypts connections to the DB instance, making in-transit data more secure.