how much bandwidth is t2.micro instance type?

0

t2.micro official docs only says t2.micro Network Performance is Low to Moderate, I think it is very confused. I want to know specific amount: 1Mbps, 1Gbps or others?

Because I want to do TCP optimize, tune my debian server, like this tutorial and this tutorial

5 個答案
1

Hi,

This is actually quite difficult to answer. T2 instances in AWS are "burstable" instances and have the ability to scale with "CPU Credits". Bandwidth can be directly correlated to the credit system since CPU can affect overall throughput. So you would have baseline performance, but that could increase depending on your CPU credits, thus "low to moderate" as far as network performance.

T2 Instances - Note the CPU burstability

Working with Burstable Instances

AWS
已回答 1 年前
  • Even if it is burstable, it also have a range. I have no money to cost it for unlimit burstable. do you understand? I hope AWS can give me this range. "low to moderate" is very confused to many peoples like me. I am very angry.

0

please follow my screenshot to check docs instance type link instance type

although you say it is burstable. I still want to know what range does it support. 1M - 1G? 1G - 10G? or 40G - 100G?

angle N
已回答 1 年前
  • Given that the instance is rated "low to moderate"; and the other answers (which boil down to: "performance is variable because it is a burstable instance" you can safely assume that "low to moderate" means less than "up to 10 Gigabit" but it is variable so there's no specific number. The better question here is "what bandwidth do you need?"

  • You should always benchmark your application to ensure you meet your needs. In addition, we constantly work to improve performance, and they may change (upward) without notice.

0

Have a look at https://cloudonaut.io/ec2-network-performance-cheat-sheet/ - it's a few years old now but may still be useful. There it says t2.micro tested as 0.06 Gbit/s sustained with 0.72 Gbit/s bursts. The "sustained" performace roughly doubled with each instance size increment.

專家
已回答 1 年前
  • your article is good. but I don't need benchmark bandwidth, because it is test data. I do need baseline bandwidth. this data is from AWS network hardwares and ISP. now do you understand my meaning?

  • I think I understand you're after definite numbers provided by AWS, not numbers that third parties have benchmarked which have a lot of confounding factors. But TBH I think you've got all the AWS-provided info you're going to get. We've worked with AWS for many years in a large enterprise and haven't come across anything more reliable to work with that these benchmarks.

0

I will post this here for you convenience - you can query the network performance for instance types using this command

aws ec2 describe-instance-types --filters "Name=instance-type,Values=c5.*" --query "InstanceTypes[].[InstanceType, NetworkInfo.NetworkPerformance]" --output table U will get something like this

-------------------------------------
|       DescribeInstanceTypes       |
+--------------+--------------------+
|  c5.xlarge   |  Up to 10 Gigabit  |
|  c5.4xlarge  |  Up to 10 Gigabit  |
|  c5.12xlarge |  12 Gigabit        |
|  c5.metal    |  25 Gigabit        |
|  c5.24xlarge |  25 Gigabit        |
|  c5.9xlarge  |  10 Gigabit        |
|  c5.large    |  Up to 10 Gigabit  |
|  c5.2xlarge  |  Up to 10 Gigabit  |
|  c5.18xlarge |  25 Gigabit        |
+--------------+--------------------+

Unfortunately for t2 instance it returns this table DescribeInstanceTypes |

+-------------+-------------------+
|  t2.2xlarge |  Moderate         |
|  t2.micro   |  Low to Moderate  |
|  t2.large   |  Low to Moderate  |
|  t2.xlarge  |  Moderate         |
|  t2.medium  |  Low to Moderate  |
|  t2.nano    |  Low to Moderate  |
|  t2.small   |  Low to Moderate  |

I cannot find the documentation now but I believe I at some point I saw somewhere 10GB (High), 1GB (Moderate) and 100MB (Low). I will dig a bit more and add more info if I find it

profile pictureAWS
Niko
已回答 1 年前
  • where is somewhere?

0

every one, these days, I did test and test how "low to moderate" is. I just use iperf3 to test my two t2.micro instances bandwidth, and those two vms are still in my free hours. but my aws account incur costs. ec2 costs Oh my god. It's very unfair!!!!!! "low to moderate" is not the range of number. "low to moderate" induceds me cost. I am very angry.

angle N
已回答 1 年前
  • Looks like maybe you were running in two AZs, so got some cross-AZ data transfer charges.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南