The IP Address (public) of the created instance is used to get access remotely either using putty or windows remote access control. In the following case putty is used to get access on a Ubuntu 18.04 (Created EC2 instance) remotely. The downloaded key-pair has been converted from .ppm to .ppk using puttyGen and loaded as shown in the figure.

sudo apt-get install apache2// Installing Apache2sudo systemctl status apache2// Checking the status of Apache which display active (running)http://server_IP_address// Testing of Apache server, server IP address should be entered in any browser which should result in the following output.

If someone could not be able to get the output please allude:
https://phoenixnap.com/kb/ubuntu-start-stop-restart-apache
One thought on “INSTALLING AN APACHE SERVER ON UBUNTU IN AWS”