node.js - Can I run more than one app on an instance of Amazon EC2? -


i admit answer obvious, i'm new server administration, , despite googling , reading through amazon's docs can't seem figure out.

can run more 1 application on 1 instance of ec2? maybe on separate ports? more security prudent run single application per instance? database, can run couchdb along node on 1 ec2 instance?

yes, can run more on application per instance. potentially run them on different ports if don't mind appending port number http urls. yourdomain.com/ & yourdomain.com:8080.

there's nothing wrong approach, can run virtual domains in single node.js instance using vhost directive.

of can put nginx server in front , reverse proxy 2 or more server processes in background can mix , match servers node.js , apache/php on same ec2 instance.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -