How to get file from remote sftp server to s3

0

I am looking for a way to get file from SFTP server which is hosted outside AWS, the source will not make any changes at their end so i can't use datasync or s3 cli, what other option i have to get the data from remote SFTP server.

  • Do you need to do this one time, or is this a recurring process?

2 réponses
2

You can do this programmatically, for either one-off or repeated approach. I just published a selection on resources about uploading large files to s3: https://repost.aws/selections/KPZHjZ7hWnRs2APnSxxrHN3w/upload-large-files-to-s3

profile picture
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
0

Use SFTP connector feature from AWS Transfer Family to pull files from a remote SFTP server. Steps. Integrate this with eventbridge scheduler to make it recurring.

Steps:

  1. Create a SFTP connector to the remote host
  2. Create a lambda which calls the above connector, specify the source (remote server file location) and target (s3 path to store).

Reference: https://docs.aws.amazon.com/transfer/latest/userguide/creating-connectors.html

AWS
répondu il y a un 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