Can I host 1 instance of MySQL and 1 instance of Tomcat on single server?

July 31, 2016 362 views
MySQL Java Apache

We need to host following
1 (2 core, 2GB) instacne of mysql database
1 (4 core, 4GB) instance for tomcat/java hosting

2 comments
1 Answer

Yes, you indeed can use the same droplet to host multiple applications.
And if you want to limit amount of resources for each application, you can use virtualization program such as docker: https://docs.docker.com/engine/reference/run/#/runtime-constraints-on-resources

Have another answer? Share your knowledge.