Cloud-based content distribution on a budget