This is where Docker and Sumo Logic come in. We realized that having ssh open on our web server is not that secure, and perhaps we shouldn’t use a vanilla VM to start from. Our approach did not provide an easy path to receiving alerts when something goes wrong. In retrospect, it was not that easy to access the error logs using this approach, especially as the team grows. When something went wrong it was easy enough to ssh to the VM, switch to the web app server user, and open the error log file from the terminal: (ssh su - webUser less path/filename.log). Our initial approach was to deploy our NodeJS server to a VM and log errors with console.error logs. Over the past few weeks, as we were building some small internal apps, we soon noticed that there was no easy way to access our error logs. The software development team at Macadamian is continually exploring new ways to improve our DevOps practices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |