I am looking for some tutorial or book, how to plan computing resources for web application. How to simulate users, how to detect how much load user is creating?cpu load, memory load, network traffic? I need this information to measure how much resources I will need on amazon ec2 cloud when I have big number of users, small number of users.

Thank you for your reply.