Scenario | Example | Configuration | Billing |
Intra-VPC access | Self-managed MySQL databases on an Elastic Compute Service (ECS) instance | By default, resources within a virtual private cloud (VPC) can communicate with each other. You need to only configure the security group to which the ECS instance belongs to allow the requests from the IP address of your RDS instance to be forwarded over Port 3306. For more information, see Create a security group. After you enable the native replication feature for your RDS instance, connect to the RDS instance and execute the SHOW VARIABLES LIKE 'report_host'; statement to obtain the IP address. | None. |
Inter-VPC access | Inter-VPC and inter-region data synchronization | | VPC peering connection fees: For more information, see VPC Peering Connection. CEN-related fees: The CEN instance is provided free of charge. However, you may be charged for resources that you use for data transmission, such as bandwidth.
|
Access between the data center and RDS instance | Change of the primary database to a self-managed database in a data center | Use a VPN gateway or an Express Connect circuit to connect the data center to the VPC in which the native replication instance resides. For more information, see Connect a data center to a VPC. | The fee varies based on the connection method that you use. You can view the billing rules in the official documentation. |
Inter-cloud access | Change of the primary database to a database in a third-party cloud | In a multi-cloud environment, you must configure inter-cloud network settings to enable mutual access. In native replication scenarios, if a database in a third-party cloud is used as the source and your RDS instance is used as the destination, use a VPN gateway or an Express Connect circuit to connect the source and the destination based on the network service provided by the third-party cloud. | The fee varies based on the connection method that you use. You can view the billing rules in the official documentation. |
Internet access | / | The native replication feature allows you to access external databases over the Internet. For more information, see Internet access. This method is not recommended because Internet access may cause security issues. | The fee varies based on the connection method that you use. You can view the billing rules in the official documentation. |