CloudPhysics has built a SaaS application receiving machine data from hundreds of thousands of servers worldwide. This talk covers building a scalable analytics back-end for real-time streaming and batch analysis of machine data using Scala, Spark, and NoSQL on AWS.