To counter the inevitable disruption, many firms are optimizing for success by turning to the cloud.