Question
Should I have multiple droplets without virtual envinroment, or single droplet with multiple virtual environment
Hi,
By using LAMP image from Digital Ocean, I manage to have a simple PHP web application (for production usage) in droplet, with 0 package installation.
As time goes on, I plan to develop more web application in Python (for production usage too).
I read through https://www.digitalocean.com/community/tutorials/how-to-deploy-python-wsgi-applications-using-uwsgi-web-server-with-nginx , it seems that using virtual environment is highly encouraged.
I was wondering, if I plan to have multiple web applications, should I have multiple droplets (without virtual environment), with each droplet will host 1 web app.
Or, should I have single droplet, with multiple virtual environments?
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.
×