1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
While there is AWS Transfer for SFTP, it provides an SFTP server (and cannot login to existing SSH/SFTP servers).
So for your use case, the most serverless option is probably to create a (via EventBridge periodically executed) CodeBuild job which either
- mounts an EFS (with infrequent access) volume
- and then calls (in the buildspec)
rsync/scp myserver.com:/what/to/backup /efsmountpoint
or - another possibility without EFS, but with S3 (and thus Glacier storage tier possible):
- Create an AWS Transfer SFTP Server
- calls (in the buildspec)
rsync/scp myserver.com:/what/to/backup awstransferendpoint:/
You might also be able to remove the AWS Transfer SFTP step by directly mounting the S3 bucket in the CodeBuild job with s3fs-fuse.
Cheers
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- demandé il y a un mois
- AWS OFFICIELA mis à jour il y a 10 mois
I am new to aws and wondering why you choose buildspec to do this. Why not a lambda python script. Is there a specific reason?