tokens: According to , elasticity is classified into two types : vertical and horizontal , vertical elasticity is referred to the capability of cloud services to dynamically change resource capacities of VMs while horizontal express the ability to adjust the number of virtual machines ; elasticity is an important matter to cope with under - provisioning and over - provisioning problems .