Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to move my MongoDB from a virtual server to amazon web services. I know MongoDB provides a preconfigured AMI, with three provisioned EBS volumes. But this is only available for m1.large instances and higher. But I need only small or medium instance and only standard EBS volumes. Do you know, if it is possible to start the AMI with my requirements? Or have I to build it on my self with standard EBS volumes? Instance upgrading is no problem, but can I also upgrade the standard EBS to provisioned IOPS if needed?

You may think, the small instance is not suitable for MongoDB, but currently our vserver has also only 1GB of memory and one cpu and it runs good for the current load of max 70 visits per day.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can run MongoDB on a small or medium instance (I've often done this for testing purposes), but you cannot add pIOPS until you upgrade to larger sizes (m1.large is essentially the minimum), hence the preconfigured AMI is not available otherwise.

Therefore if you wish to deploy on the smaller instance sizes you will have to roll your own (so to speak), this is not particularly difficult - you can pick your preferred Linux image, and then install MongoDB and follow the recommendations in the Production Notes and you should be all set.

Some suggested reading to explain the choices behind the AMI and it's choice of sizing:

http://info.mongodb.com/rs/10gen/images/AWS_NoSQL_MongoDB.pdf

Then, as well as that, some decent info on pIOPS:

http://blog.scalyr.com/2012/10/16/a-systematic-look-at-ec2-io/ http://www.stratalux.com/2012/08/09/putting-amazon%E2%80%99s-provisioned-iops-to-the-test/

share|improve this answer
    
Thanks. And how is it with upgrading a standard EBS volume to provisioned IOPS (while upgrading to a large)? Snapshot and create a new provisioned EBS volume from snapshot? –  Pazi ツ Sep 13 '13 at 8:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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