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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则