This question already has an answer here:
I have an Amazon EC2 web server that talks to a second database server instance... the web site is for a TV show, so the site tends to run a normal load of traffic until it's mentioned on the air and then it's completely and totally slammed.
Last time this happened the site got ~80k hits/minute and it went down for 15 minutes. Since then, I've implemented some caching and other technology on the server to help it handle the load better.
In the coming weeks, there will be a few times that the site will be flashed across TV screens into millions of homes once again, and I want to be sure the server can handle the load. As part of that, I'd like to be able to monitor the traffic and see what's coming. And, if the server goes down, I'd like to be able to see the data on that after the event and understand what happened (did the database choke? or the web server? etc.).
How can I track this traffic/information in AWS?