I am in the process of building a Ruby on Rails based SaaS app. The app is being hosted on AWS (Amazon).
I need to measure the bandwidth usage by each customer for billing and customer segmenting. The customers could be identified by their Urls. like customer1.myapp.com or mycustomer.com
Can somebody suggest the best way to accomplish this? Any tools or simple hacks would be appreciated.