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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南