Install Nginx, MariaDB, PHP, Certbot on Amazon 2 (Ec2 instance)

Dimitris Moutsatsos
3 min readNov 18, 2020

This is a very simple installation with no custom setup.


Before start this tutorial you should know how to create , use and connect to an amazon ec2 instance.

Step1 : Nginx

Install and run nginx

$ sudo amazon-linux-extras…