Question

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

Posted July 31, 2016 2.9k views
MySQL Apache Java

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

2 comments

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Submit an Answer