Everytime I launch a new large ec2 instance, I get 30GB of storage,

Did I do something wrong? shouldn't i get 850GB?

See instance type http://aws.amazon.com/ec2/instance-types/

Large Instance

7.5 GB memory
4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
850 GB instance storage (2×420 GB plus 10 GB root partition)
64-bit platform
I/O Performance: High
API name: m1.large

p.s I launch my instances with AWS Management Console wizard.


The root partition of an EC2 instance is taken directly from the AMI you're launching with, and it is the same size as the AMI itself. If you have a 30GB AMI, you get a 30GB root partition.

The "instance storage" described on that page comes as one or more separate scratch partitions. I don't have a running instance in front of me, but the partitions will typically show up as /dev/sdb, /dev/sdc, etc. I believe that the first is formatted as ext3 and mounted at /mnt; you have to mount (and possibly format) the other partitions yourself.

Edit: Here's what I get if I start up a Large instance using the ami-fd4aa494 AMI from http://uec-images.ubuntu.com/releases/lucid/release/.

ubuntu@ip-10-212-181-187:~$ mount | tail -n 1
/dev/sdb on /mnt type ext3 (rw)
ubuntu@ip-10-212-181-187:~$ df -h | tail -n 1
/dev/sdb              414G  199M  393G   1% /mnt
ubuntu@ip-10-212-181-187:~$ sudo blockdev --getsize64 /dev/sdb
ubuntu@ip-10-212-181-187:~$ sudo blockdev --getsize64 /dev/sdc
  • There was no seperate partition added, or mounted! Automatically And adding it myself I'm not sure if I get charged for it! You got a aws account? Try it and let me know if it's the same for you too? – 001 Jun 27 '10 at 22:53
  • 1
    I just started an Large Ubuntu Lucid instance using the AMIs from uec-images.ubuntu.com/releases/lucid/release. /dev/sdb is a 414G drive formatted as ext3 and mounted at /mnt, and /dev/sdc is an unpartitioned 414G drive (See my edits to my original answer - I can't get any formatting here, apparently) – Evan Broder Jun 28 '10 at 14:10

The 850GB you reference is called ephemeral storage (or instance store), and the size depends on the instance type. It gets destroyed if you shut down your instance, while EBS volumes do not ( you didn't specify which type of boot partition you are using: ephemeral or EBS).

The image itself determines how much of the 850GB instance store is mounted and to what device. If only 30GB shows up, that's because the image was created with that storage mounted.

You can mount the rest of the storage by listing the scsi devices like ls -l /dev/sd* Then partition the ephemeral device using fdisk, then format it with mkfs, then mount it with mount.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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