Skip to content

Commit 556407b

Browse files
authored
PostgreSQL connectors: enable or restrict public access to Amazon RDS for PostgreSQL instances (#430)
1 parent b6c1ba7 commit 556407b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

snippets/general-shared-text/postgresql.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ import AllowIPAddressRanges from '/snippets/general-shared-text/ip-address-range
4848
[Amazon RDS for PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.RDSSecurityGroups.html) or
4949
[Azure Database for PostgreSQL](https://learn.microsoft.com/azure/postgresql/flexible-server/how-to-manage-firewall-portal#create-a-firewall-rule-after-server-is-created).
5050

51+
<Note>
52+
For Amazon RDS for PostgreSQL, Amazon recommends that you set the instance's **Public access** setting to **No** by default, as this
53+
approach is more secure. This means that no
54+
resources can connect to the instance outside of the instance's associated Virtual Private Cloud (VPC) without extra configuration.
55+
[Learn more](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Hiding).
56+
[Access an Amazon RDS instance in a VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Scenarios.html).
57+
58+
If you must enable public access, set the instance's **Public access** setting to **Yes**, and then adjust the instance's related
59+
security group to allow this access.
60+
[Learn how](https://repost.aws/en/questions/QUxemKa9u5TV6CmLiO-r5prg/lost-public-access-to-aws-rds-postgresql-instance).
61+
62+
[Troubleshoot issues with connecting to Amazon RDS instances](https://repost.aws/knowledge-center/rds-connectivity-instance-subnet-vpc).
63+
</Note>
64+
5165
- A database in the instance.
5266

5367
- For Amazon RDS for PostgreSQL and Azure Database for PostgreSQL, the default database name is `postgres` unless a custom database name was specified during the instance creation process.

0 commit comments

Comments
 (0)