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
demandé il y a 7 mois567 vues
1 réponse
0
Réponse acceptée

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

JamesD
répondu il y a 7 mois
profile picture
EXPERT
vérifié il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions