I'm curious if anyone out there has figured out how to launch an Amazon EC2 instance with just a ramdrive. I am looking at a scenario where I do not need/want any instance storage (all my data is stored as s3 objects). All I want is to launch a micro instance to perform computation.

Perhaps I need to create a tiny AMI - one that can fit in a ramdisk carved out of the instance's 613mb of ram. Creating the AMI is straightforward, but I don't know what commands will load that AMI into ram. And to my eye, nothing in the ec2-run-instances documentation looks relevant.

link|improve this question

80% accept rate
you dont pay any less for not having epheremal storage so why bother trying to get rid of it?, it might be useful if you need to dump something temporarily to disk – anthonysomerset Sep 23 '11 at 12:50
2  
Actually, with the micro type instance, which only supports EBS volumes for storage, you do save money because you must pay per gb of reserved space. With, say, the standard 15gb ubuntu AMI, that can add up. – Abtin Forouzandeh Sep 23 '11 at 12:59
2  
EBS and Epheremal Storage are 2 seperate things though... – anthonysomerset Sep 23 '11 at 13:14
feedback

1 Answer

up vote 5 down vote accepted

t1.micro instances have no instance or ephemeral storage.

t1.micro instances boot from an EBS volume as the root device.

The AMI image is stored on an EBS snapshot.

The standard Ubuntu EBS boot AMI root volume is 8G, or $0.80 per month (plus IO charges).

The smallest EBS volume allowed for an EBS boot AMI/instance is 1G, or $0.10 per month.

You cannot detach the root EBS volume and keep the instance running.

You could build an AMI that creates a ramdisk on boot and loads whatever you want there, but the EBS volume will remain attached and will be charged.

Just remember how little memory t1.micro has. Not much is going to fit.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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