Error importing into Postgres RDS from S3 file

0

I'm trying to use the aws_s3.table_import_from_s3 functionality and believe I have set everything up correctly according to: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PostgreSQL.S3Import.html

However, when I run my command in Postgres, I am getting the following error:

NOTICE:  Attempting to validate pre-signed URL. 3 attempt(s) remaining. CURL error code 28 with message Failed to connect to <HOST> port 443 after 29885 ms: Couldn't connect to server.

Note, I am in a VPC so I'm not sure if there's something else that needs to be done in order for my Postgres instance to pull from the S3 bucket (other than permissions outlined in the doc above).

JamesD
已提问 7 个月前567 查看次数
1 回答
0
已接受的回答

You need to create a VPC Gateway Endpoint for the S3 service.

JamesD
已回答 7 个月前
profile picture
专家
已审核 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则