AWS Certified Solutions Architect - Professional (#344)

An organization is setting up a web application with the JEE stack. The application uses the JBoss app server and MySQL DB. The application has a logging module which logs all the activities whenever a business function of the JEE application is called. The logging activity takes some time due to the large size of the log file. If the application wants to setup a scalable infrastructure which of the below mentioned options will help achieve this setup?

Host the log files on EBS with PIOPS which will have higher I/O.
Host logging and the app server on separate servers such that they are both in the same zone.
Host logging and the app server on the same instance so that the network latency will be shorter.
Create a separate module for logging and using SQS compartmentalize the module such that all calls to logging are asynchronous.

Need help?