4 ms·
How is the pricing for Mongo on EC2? The absolute minimum would be single server w/ journaling running on a 64-bit instance. I am assuming the 64-bit micro is
by YooLi 15y ago
How is the pricing for Mongo on EC2?
The absolute minimum would be single server w/ journaling running on a 64-bit instance. I am assuming the 64-bit micro is to IO bound, so the Large instance is the next minimum viable instance. At $0.34/hr, just in instance fees it's ~ $245 a month. Am I correct in assuming this is the entry level Mongo setup on EC2?
- dangrossman 15y agoKinda sorta, yes. You can commit to using that instance for 1 or 3 years and prepay for a discount... $164 per month if you reserve for a year, $126 per month if you reserve for 3 years. Really you also need to factor in the data transfer fees, and the storage and IO fees of a RAID array of EBS disks. Last time I used EC2 to run a large database, the IO fees for EBS were almost as much as the EC2 fees... so take your estimate for the instance and double it. The real cost of running an active Mongo instance on one EC2 instance with a 2-disk EBS RAID might be closer to $400 per month than $245. EC2 is not price-competitive if you don't need to be able to launch and terminate instances on the fly on a regular basis. For small deployments, get a VPS, for larger ones, dedicated servers. I used to run most of my sites on Amazon services. I later moved (back) to renting servers from Softlayer. I was maxing out most of my servers at both providers -- I don't have extra money to blow on capacity before I need it. For every ~$350 EC2+EBS+Transfer instance at Amazon, I only need a ~$160 physical server now.
- fduran 15y agoI think you need to add an EBS volume (see page 13, Storage Minimum) for permanent storage.