Reputation: 2754
I have a Rails API and a Node app. Can I deploy both to the same AWS EC2 instance?
Upvotes: 0
Views: 307
Reputation: 368
Sure, this is fine. It is recommended to separate your db behind a firewall though (could be VPC or a security group)
Upvotes: 1
Reputation: 42256
Yes. Your EC2 instance just needs to have the appropriate prerequisites installed and enough system resources available to run both.
Upvotes: 3