Cloud application deployment optimization