I've written a network application and deployed it on a single EC2 instance (M1-large).
The application serves like a sort of a chat room (only it enables other stuff besides sending messages), which allows smartphone owners at close (physical) proximity, say up to 5 meters communicate.
This is my first network application and I have some doubts and questions about it:
Since this is a very selective chat room (you will only see people who are very near) I have no idea how I can do load-balancing: If I take for example 2 instances, one in Europe and one in the US, I would like to redirect people from Europe to the former, and people from the US to the latter, If I cannot guarantee this redirection, the whole application is worthless. Is there a way to do this using Route 53? Is there a point in doing it? Isn't one massive instance enough?
I've tried to test heavy-load performance of the instance. So I've written my own application which simulated 200K requests per hour, and lunched it on other EC2 instances. There seemed to be no problem (other than increased latency for some requests, which sound normal for high CPU utilization in accepting a large quantity of connections simultaneously) My question is, does it seem like a good load-test if I expect to have 500K users. I know this is a rather vague question, but a rather vague answer will be sufficient as well.
Security wise. Which general precautions should I take for reducing the risk of a security breach? Is disabling all ports (other than my application listening port) in the firewall a good idea? or is it redundant. Again, a rather vague question. I will appreciate any general answers.
Thanks