View console.log on AWS EC2 NodeJs server

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

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.

 

 ssh -i /path/to/keypair/certificate.cer ec2-user@ec2-00-00-00-000.compute-1.amazonaws.com
tail -f /var/log/nodejs/nodejs.log

 

 

Where /path/to/keypair/certificate.cer is the path to your certificate to ssh into the box, and

ec2-user@ec2-00-00-00-000, the digits are the IP of the Ec2 box.

Topics: AWS, NodeJs

About the author

Matt Bryson is an experienced systems engineer with over 15 years Development and Systems Operations experience.

Product Briefing

In this short product briefing, see how iDetailAid customers are simplifying the creation, update, localisation and upload of CLM content.


New Call-to-action

Subscribe to Email Updates

Recent Posts