SCP upload speed is extremely slow

0

I'm new to AWS. I started AWS in January. I start using lightsail, set up ssh key to local computer and uploaded files via scp for migrating website to lightsail. It was too slow, the upload speed is around 5-10 files per second. FYI my browser's network speed is 150Mbps for upload, 300Mbps for download, and for Ping, 10ms and 60ms respectively.

OMAL
已提問 3 個月前檢視次數 160 次
1 個回答
1
已接受的答案

SCP upload speeds to AWS Lightsail can be slow due to the inherent overhead of the SSH protocol used by SCP, especially when transferring a large number of small files. Incorporating Amazon S3 into your migration process offers a significant speed advantage. By first uploading your website's files to an S3 bucket, you benefit from S3's optimized data transfer capabilities. After securely storing your files in S3, you can efficiently transfer them to your Lightsail instance, bypassing the slower SCP speeds. This approach not only leverages AWS's robust infrastructure for faster uploads but also simplifies the migration process. Further optimizing the transfer process through alternative methods like rsync, compressing files, and adjusting SCP's settings can additionally mitigate these issues.

Uploud files to an Amazon Lightsails bucket using AWS CLI

profile picture
專家
已回答 3 個月前
profile picture
專家
已審閱 2 個月前

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

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

回答問題指南