4

I have a number of AWS EC2 instances which are serving as the backend of a production app. Many of them predate the availability of general SSD storage; however, some of the more recent ones do use SSD for their root volume.

I'd like to convert all the ones that still use magnetic storage to take advantage of SSD storage as well, but I'd prefer not to destroy and recreate any instances which are already on SSDs. How can I determine the type of the storage associated with a particular instance's root volume?

1
  • 2
    I'm not an EC2 user, hence the comment, but could you not time disk writes for a known file across known SSD and HDD instances, then create a limit, if the test comes back higher its HDD and lower its SSD?
    – davidgo
    Nov 5, 2014 at 6:57

2 Answers 2

5

If you select your instance in the web console you can see the volume ID of the instance (it begins with "vol-"), clicking on that will bring you to the volume in the "Volumes" section of the EC2 console. In the storage type column it will tell you whether the volume is "magnetic" (old volumes), GP2 (new ssd) or PIOPS.

Edit: Additionally, you should be able to tell if you run (using the AWS CLI)

aws ec2 describe-instances
1

davidgo is right. You can measure the speed. This hint is from https://4sysops.com/archives/how-to-check-if-your-ec2-instance-uses-ssd/

Example:

sudo ioping -R /dev/xvda1 -c 1000

Replace xvda1 with your device/filesystem. ioping stats for SSD should show way much faster rates.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .