Hello Friends, In this tutorial, we will see how we can install Apache Web Server on EC2 instance using user…