The cloud migration feature of ApsaraDB RDS for PostgreSQL allows you to migrate the data of a self-managed PostgreSQL instance that is deployed on an Elastic Compute Service (ECS) instance to an ApsaraDB RDS for PostgreSQL instance. This topic describes how to configure an ECS security group on a self-managed PostgreSQL instance before a cloud migration to allow an ApsaraDB RDS for PostgreSQL instance to access the self-managed PostgreSQL instance.
Prerequisites
If you want to migrate the data of a self-managed PostgreSQL instance that is deployed
on an ECS instance to an ApsaraDB RDS for PostgreSQL instance, you must perform the
configurations described in this topic. The ECS instance on which the self-managed
PostgreSQL instance is deployed must meet the following requirements:
- Network requirements:
- The ECS instance and the RDS instance reside in the same virtual private cloud (VPC).
- If you want to migrate data over the Internet, the ECS instance is assigned a public IP address.
- The self-managed PostgreSQL instance runs as expected on the ECS instance.
Procedure
What to do next
Configure the postgresql.conf file of a self-managed PostgreSQL instance