>But what happens when there is another rails application that uses the same stack. you need to setup another instance identical to the previous one to run the second application in production.
Why not just run them on the same "instance"? What does instance even refer to?