Web server setup and configuration is specially a task of system admin but as a web developer in smaller companies often developers have to do all work from website development to server setup and deployment. Mainly, we have options to choose a shared hosting server or cloud server provider but for more control cloud hosting is preferred. We have Digital Ocean and Amazon web services (AWS) which provided cloud services but we will focus on AWS EC2 because of its popularity in website deployment.