M4 large instances are EBS-optimized by default as per below URL :
https://aws.amazon.com/ec2/instance-types/
When I try to check the status using aws-cli I get result with boolean value set to false. The command I used is as below :
ec2-describe-instance-attribute i-xxxxxxxxxxxxxxxxx --ebs-optimized --aws-access-key XXXXXXXXXXXXXXXXXXXX --aws-secret-key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Result of above command :
ebsOptimized i-xxxxxxxxxxxxxxxxx false
Is it the correct way to verify if the instance is EBS optimized? Please help me to verify if the instance is EBS optimized.