I just finished installing Nginx on my EC2 Ubuntu Server (AWS) and everything looks normal.
I tested it on my browser by accessing my EC2 public IP. I can see Nginx's welcome message.
It's not a big deal, but still bothering me.
My questions are...
- What is the importance of enabling the UFW?
- Aren't opening ports 80 & 443 on my security group enough?
- What's the point of this UFW? Do I really need to enable it?
Because, if I am not wrong, my EC2's UFW is disabled/inactive by default.
Yes, I am still able to visit my nginx homepage (http) on browser. I even deployed my React app on it and set the EC2 instance's inbound connection only to myself.