Striking the right balance between on-prem, edge and cloud