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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인