Increaese instance bandwidth without changing instance type?

0

Hi, We have a manual setup redis ec2 instance that is maxing out the baseline bandwidth allocated for the instance, but we do not need higher CPU/Mem for the instance, what are our options? We aren't able to use ElasticCache it does not fit our budget range.

ubuntu@ip-10-0-0-98:~$ ethtool -S ens5
NIC statistics:
     tx_timeout: 0
     suspend: 0
     resume: 0
     wd_expired: 0
     interface_up: 2
     interface_down: 1
     admin_q_pause: 0
     bw_in_allowance_exceeded: 333
     bw_out_allowance_exceeded: 303473

Also, there seems to be not where to lookup what this invisible network "credit balance" unlikely CPU, EBS disk balance?

已提问 2 年前1384 查看次数
1 回答
1
已接受的回答

The available network bandwidth of an instance depends on the number of vCPUs that it has. The EC2 user guide has links describing the performance of different instance types. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html

You could also consider scaling horizontally, by adding an instance. This would also give you an opportunity to use multiple availability zones and remove a single point of failure.

profile pictureAWS
已回答 2 年前
  • Hi, yes, we have considered all of these, and would like to avoid doubling the current cost with the horizontal scaling since the only bottleneck is the network bandwidth.

    Additionally, there seems to be no way to see the network bandwidth credit stats unlikely the CPU or disk credits?

  • There is no way to change the network bandwidth without increasing the instance size.

    You could review the link above to see if there is a similar instance size that offers more bandwidth. For example, a T3 instead of a T2.

  • We have now split the traffic to two servers now and yet still observing

         bw_in_allowance_exceeded: 31
         bw_out_allowance_exceeded: 10012
    

    While we are maximum less than 250Mbps on a .5Gbps baseline on each machine, this doesn't make much sense...

  • I have a pretty similar question over here with some interesting analysis if you're interested: https://repost.aws/questions/QUv105xDmfQMGUiBbfeYW-iQ/elasticache-shows-network-in-and-out-as-exceeded-but-how

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

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

回答问题的准则