Hey guys!, that’s my experience creating a node.js app inside AWS (Amazon Web Services), that access a database MySql, the first that you have to do is to create a account to AWS (1 year free for most of the services), then, go to Elastic Beanstalk and create one node.js web server:
you can folow the instructions at the page is really simple, I was created a startup node.js app, that includes this files:
this sample files instruct us how to adapt your app.js file, as you can see in this standard file: