Optimizing Your Cloud Architecture for Analytics