Connecting to RDS Postgres from remote machine

前端 未结 6 1306
长发绾君心
长发绾君心 2020-12-25 14:16

I have configured an RDS Postgres micro instance for testing but am having problem connecting. I have created a security group and allow all hosts (0.0.0.0/0) by default to

6条回答
  •  情书的邮戳
    2020-12-25 14:32

    Step 4 of the RDS setup wizard ("Additional Config") lets you select whether the DB is Publicly Accessible or not (if it's not, access is limited to within your VPC, regardless of your security group settings). I'd imagine that determines whether the hostname resolves to 54.* vs 172.* .

    Your first instance may have been set to private - as far as I can tell this can't be changed after initialization. I had a similar issue and creating a new instance set to be publicly accessible solved it for me.

提交回复
热议问题