Throughput between two EC2 instances is capped at 5 Gbit/s despite both being 25 Gbit/s types.
AdvancedTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → Single-flow limit: AWS caps one flow at 5 Gbit/s outside a cluster placement group (10 Gbit/s inside). Cross-region or via IGW/NAT also has lower limits.
Diagnose →
iperf3 -c <peer> -P 1
iperf3 -c <peer> -P 8 -t 30
Fix → Use multiple flows, or put instances in a cluster placement group for the 10 Gbit/s single-flow limit.
Prevent → Know per-flow limits when designing data replication.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.Intermediate`ping: local error: message too long, mtu=1500`BeginnerPods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.Intermediate