how to download server's data on AWS platform and save them on external desk

0

how to download server's data and save them on desk, can anybody help?

已提問 1 年前檢視次數 174 次
1 個回答
0

If you have SSH access to the EC2 you can just scp https://linuxize.com/post/how-to-use-scp-command-to-securely-transfer-files/

If you use SSM Session Manager you copy the files to S3 (cli command aws s3 sync or aws s3 cp), then download the files to your computer using the same command or using the console. You will need to give the EC2 an IAM role that allows the s3:PutObject API, or add ad S3 bucket policy that allows the s3:PutObject from the EC2. And you will need s3:GetObject permissions.

Hope it helps!

profile picture
已回答 1 年前

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

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

回答問題指南