Questions about Wordpress (4.6.1 on Ubuntu 16.04) one-click install

I noticed that DO recently added a Wordpress one-click on ubuntu 16.04, and that they brought back the option to install on the smallest droplet. I have installed and configured one somewhat, and it seems much improved from the previous one. But the setup is different in several ways from the previous one on Ubuntu 14 and I have some questions:

  1. Is there some optimal droplet size this is tuned to? If I started with (or upgraded to) a much larger (or smaller) droplet, would the settings still be appropriate?

  2. This droplet has fail2ban (and WPf2b) installed and configured, as well as ufw firewall. From time to time I use IPtables to ban an IP, but I am not at all sure with this setup how to save and reload these rules without messing up fail2ban. Any suggestions? Or is there some GUI for managing this?


Submit an 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.

Adding new rules to block IP should not mess anything with fail2ban. You need to be careful about that iptables rules will be lost once you restart server. To save them permanently, you can use iptables-persistent. If you use it, be careful that you don’t save Fail2Ban block rules as there is some chance they’ll stay forever in that case (instead of given time, or given time after reboot, I didn’t test it).

About first, image should work flawless even it $5 Droplet. You need to be very careful if you have higher traffic, as in that case, server can go down easy. Adding swap or upgrading Droplet could be needed optimization for lower Droplets. On higher, I don’t think there are some settings. You can look around MySQL settings, but they’ll work flawless with defaults.