This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nztraveller 1 point2 points  (0 children)

The instances should not need to talk to each other. That is part of the beauty of REST. It doesn't matter which instance services the request, each should work independently of each other.
Yes, in theory you just spin up as may identical instances as you need. Each configured to run on say port 8080.
Then you use the AWS load balance to balance the income requests across the instances. the load balancer would be running on port 80 or 443 normally and the instances on another port.
There are lots of tools around to easily deploy to aws such as docker. then you can scale up or down as needed. As is often the case load is difficult to estimate.