How to Host Website in AWS
To host website in AWS properly, first of all, create VPC. After that, create internet gateway and attached to your VPC. Similarly, create route table, subnet, and associate with your VPC.
Second part, configure the instances in EC2. Like choose the instance type. Which server you want and its respective inspections. For example, CPU, RAM, Memory, Security Group, VPC, Subnet, Tags, etc.
After all above configuration, connect the server through SSH – Terminal. Install all required software like Apache, MySQL, PHP etc. and than go for install your website.