Optimising cost with a hybrid cloud strategy