简体   繁体   English

是否可以限制 aws ec2 实例的带宽?

[英]Is it possible to limit bandwidth of aws ec2 instances?

My AWS EC2 instance needs to transfer with an external FTP server at speeds below 64 Kbps.我的 AWS EC2 实例需要以低于 64 Kbps 的速度使用外部 FTP 服务器进行传输。

Is there a way to limit the bandwidth of the outbound to a specific speed in the AWS EC instance?有没有办法在AWS EC实例中将出站带宽限制为特定速度?

Unlike physical servers, the AWS instances does not seem to work either controlling the speed of the network interface (ethtool) or using TC.与物理服务器不同,AWS 实例似乎无法控制网络接口(ethtool)的速度或使用 TC。

AWS does not offer a way to limit network speeds/bandwidth at EC2 instance level. AWS 不提供在 EC2 实例级别限制网络速度/带宽的方法。 The only limitation is tied to the size of the instance and number of vCPUs, where smaller instance types have smaller bandwidth caps.唯一的限制与实例的大小和 vCPU 的数量有关,其中较小的实例类型具有较小的带宽上限。 But even the smallest instances support much more than the limit you need (eg: t3.nano can burst up to 5 Gbps).但即使是最小的实例也支持远远超过您需要的限制(例如:t3.nano 可以突发高达 5 Gbps)。

Your best bet would be OS level controls or to use some sort of third-party tool.最好的选择是操作系统级别的控制或使用某种第三方工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM