Error: Error setting TTL index on collection - Mongo, Express, Mongoose, Replica Sets

Posted by Matt Bryson on 24-Sep-2014 18:17:47

We recently converted a Mongo DB backed Node app from a single monogo instance to a Replica Set. Which threw up a few errors, heres what we did....

Read More

Topics: MongoDB, Mongoose, NodeJs, Express

View console.log on AWS EC2 NodeJs server

Posted by Matt Bryson on 16-Jun-2014 17:53:53

If you want to view the console output of a NodeJS server on AWS, simply ssh into the EC2 Box and tail the following log file.

Read More

Topics: AWS, NodeJs