On the modeling of optimal and automatized cloud application deployment