It‘s expensive to pay for cloud resources you don’t need, but it is much more expensive if resource shortages cause downtime. In this abstract from DZone Guide to Java: Development and Evolution you will find out the main pros and cons of vertical scaling in VMs and Containers, in order to choose the most appropriate solution for memory and CPU usage optimization of your Java applications.