Report this

What is the reason for this report?

Need some guidance setting up a new LEMP droplet

Posted on June 8, 2019
Pmma

By Pmma

Hello,

I’ve been interested in setting up a personal website using the LEMP One-Click install offered by DO but i have some questions about it:

How ready for production does it come out of the box?

My doubts here linger for example if Nginx/Php are already optimized for production or if Fail2Ban is already setup to monitor all pre-installed software.

What steps are recommended post having the Droplet up/initial setup?

So my ideia is to do the additional steps suggested in the LEMP One-Click page, create a non-root user, add nodejs as an additional resource and then get the droplet “production ready”, which as far as my knowledge goes it probably goes around securing nginx and php (if not already done).

I’m sort of looking for guidance in any additional “standard” steps towards protecting the droplet, hence why i’m choosing to start with a bundle instead of a “from scratch” droplet.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there @Pmma,

When setting up a web server, it is best to always assume that security measures are currently not in place and as such, you should verify that they are and set up anything that isn’t to your satisfaction in terms of protection.

When using the LEMP droplet, it might be worth referencing our Ubuntu 18.04 LEMP tutorial to ensure that the droplet has been pre-configured fully based on that guide. The tutorial also has some great additional links to next steps for getting your server ready for production usage.

Hope that helps! - Matt.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.