Created
August 26, 2025 17:48
-
-
Save jhmartin/61d12082777b0f919142214957f1f77a to your computer and use it in GitHub Desktop.
Get EC2 baseline bandwidth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ec2bw_func() { | |
aws ec2 describe-instance-types --filters "Name=instance-type,Values=$1.*" --query "InstanceTypes[].[InstanceType, NetworkInfo.NetworkPerformance, NetworkInfo.NetworkCards[0].BaselineBandwidthInGbps] | sort_by(@,&[2])" --output table | |
} | |
alias ec2bw=ec2bw_func |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment