After login to the cloud computing instance, run either the "uname -a" or "cat /etc/redhat-release" to discuss the linux os version of the instance.
Follows the following link to install and run tomcat server:
If your spring mvc uses MySQL for database backend, follows the following link to install and run mysql:
(for centos 7): https://devops.profitbricks.com/tutorials/install-mysql-on-centos-7/
Once you have the environment setup, follow the link below to deploy your Spring MVC framework into the cloud computing instance: