I am trying to implementing wordpress website using three tier architecture on AWS for my educational purpose. I had created MySQL database instance and one ec2 instance for wordpress website. As per AWS three tier documentation there are three tiers first one is web server, second one is application server and third one is DB server.
I am confused between web server and app server. I am trying to build wordpress application that makes use of all these three layers.
As per research and I read document which i mentioned above, web server deals with only static data, while app server contains main business logic and having connection with DB server and return data to client.
I am confused where to host wordpress site on web server or app server and also, how these three layers are interconnected.
Please help me if there is any tutorial available for application hosting using three tier architecture on AWS. Thanks in advance.