It seems there is an efficient way to throttle the upload speed as proposed by @gburca script but so far there is no easy way to throttle the download speed. From what I understand about "tc" is that you cannot use the same script for the download by changing "match ip dst" for a "match ip src". tc can only shape outgoing packets. I looked into other options like the "trickle" linux tool but it does'nt work with processes that can fork.
I've also try to setup a "Max retrieval rate" directly on the amazon's console to 1GB/hour but when I try to download a 200gig file I get an "InitiateJob request denied by current data retrieval policy." error.
So is there a way to throttle the downloading speed?
It seems there is an efficient way to throttle the upload speed as proposed by @gburca script but so far there is no easy way to throttle the download speed. From what I understand about "tc" is that you cannot use the same script for the download by changing "match ip dst" for a "match ip src". tc can only shape outgoing packets. I looked into other options like the "trickle" linux tool but it does'nt work with processes that can fork.
I've also try to setup a "Max retrieval rate" directly on the amazon's console to 1GB/hour but when I try to download a 200gig file I get an "InitiateJob request denied by current data retrieval policy." error.
So is there a way to throttle the downloading speed?