I've got ephemeral storage setup in Scalr as part of the role. The instance is spinned up by Chef and it seems it is running fine (it's using ephemeral0 device mounted as D: drive).

I've tried to use aws ec2 describe-instances command, but here is no any indication that the ephemeral device is attached to the instance (unless I don't know what I'm looking for).

How I can access ephemeral storages of the running instances using via AWS CLI/API?

1 Answer 1


You are correct that the describe-instances API doesn't include information about ephemeral volumes. Once an instance is created, the only way to know that it has such volumes is available from the metadata service that is accessible from the instance itself.

According to User Guide for Linux Instances, the mapped ephemeral volumes are shown in instance metadata.

Since you created the instances using Chef, another option would be to check the Chef state database - most probably the information about a created instance includes the ephemeral device information. But this method highly depends on your Chef version and the cookbook you use to create the instances, so YMMV.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.