I have 2 EC2 instances and an Application Load Balancer.
The Load is not too high, but I'm keeping both instances working just in case. Plus, it saves the time on deployment with (one at a time) and still provides "no downtime".
Now I need to add another project.
I'd like to use my EC2 instances and only create a new Load Balancer for it.
Can I do it?
I mean, I can place projects in folders in EC2, but I cannot find a way to set Load Balancer to use a specific folder instead of the root.
My best guess now is to set Nginx to use port 80 for first project and 81 for the second one. But I haven't try it yet. Is there a better way? Are there any hidden problems?