0
votes

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.

1

1 Answers

0
votes

See the command and output below:

[root@ip-172-1-1-1 ~]# aws ec2 describe-instance-attribute --region eu-west-1  --instance-id xxxxxxxxx --attribute ebsOptimized
{
    "InstanceId": "i-003069xxxxxxxxx",
    "EbsOptimized": {
        "Value": true
    }
}

You can also see this from aws console reflecting as below:

enter image description here