Configure AWS for PrivateLink or Public Endpoint Connections
logical
rds.logical_replication
parameter and set it to 1
.
After saving the changes, associate the new parameter group with the primary database. You may want to apply the changes
immediately if possible
max_replication_slots
to a reasonable valuemax_replication_slots
parameter to a value that is sufficient for the number of
replication slots that will be used by the Springtail service. This number should be equal to or greater than the number of
DBs in the primary database. One replication slot per replicated database is required.
max_slot_wal_keep_size
to a reasonable valuemax_slot_wal_keep_size
parameter to a value that won’t fill up the disk space
of the primary database. We recommend it is set to a minimum of 2GB, but ideally to ~5% of the disk space allocated to the instance.
Note: This is a worst-case scenario, and in typically usage not much of the WAL will have to be saved on disk.
max_wal_senders
and max_logical_replication_workers
Set these parameters to a value that’s at least equal to the number of active logical replication slots.max_worker_processes
Set this parameter to a value that’s at least equal to the total of the max_logical_replication_workers
, autovacuum_max_workers
, and max_parallel_workers
values.region
when performing the following actions. When using the command line,
make sure to set the region using the --region
flag explicitly. Or if you are
running assistant scripts we provide
please use AWS_REGION=<actual region> before the command.
{{vpc_peering_connection_id}}
.{{transit_vpc_cidr_block}}
and the target as the VPC
Peering Connection ID, {{vpc_peering_connection_id}}
.{{db_port}}
{{inbound_nlb_security_group_id}}
{{database_security_group_id}}
{{inbound_nlb_security_group_short_id}}
and {{provider_account_id}}
to
the primary database instance security group.
{{private_hosted_zone_id}}
.
{{transit_vpc_cidr_block}}
{{customer_vpc_id}}
: VPC ID of the customer’s VPC.{{vpc_peering_connection_id}}
: ID of the VPC Peering Connection between the customer VPC and the provider VPC.{{db_instance_identifier}}
: Database instance identifier in the RDS service.{{subnet_ids}}
: Comma-separated list of subnet IDs associated with the VPC.{{route_table_id}}
: Route Table ID in the customer VPC.{{transit_vpc_cidr_block}}
: CIDR block of the Transit VPC in the provider account.{{db_port}}
: Port on which the database is listening.{{database_security_group_id}}
: Security group ID of the primary database instance.{{inbound_nlb_security_group_id}}
: Security group ID for the inbound NLB in long
format <account_id>/<security_group_id>
.{{inbound_nlb_security_group_short_id}}
: The Security group ID part of {{inbound_nlb_security_group_id}}
.{{provider_account_id}}
: The AWS Account part of {{inbound_nlb_security_group_id}}
.{{private_hosted_zone_id}}
: ID of the private hosted zone returned in the VPC Config.{{region}}
: AWS region where the VPC or hosted zone is located.{{customer_vpc_region}}
: AWS region where the customer VPC for applications is located.{{application_security_group_id}}
: Security group ID of the customer applications.