LEMP environment use for production

February 26, 2014 4k views
Is it safe to use LEMP as a production environment or should it be separated, e.g., [nginx+ php] + [MySQL]?
4 Answers
This doesn't make any sense. Those things are separated. LEMP just means they're all installed on the machine. So yes, use it.
Alex, you are correct. What I meant to ask is it okay to install all those components on the same machine to be used as a production server.

Is that a good practice though?
It's safe, yes. It's probably safer to host them on one box and have them listen on the loopback interface than hosting them on two.

However, you might need to separate them for redundancy purposes or horizontal scaling.
Have another answer? Share your knowledge.