An additional process for harvesting all the application log files from all the EC2 instances into a central location for analysis will be required. Additionally, when the application is running on more than one EC2 instance (horizontal scaling), in case of EBS volume the files will be stored on multiple EC2 instances instead of in a centralized location. EFS service provides a better centralized and durable alternative in that case, but you will still need to setup some additional solution in case you want to monitor and analyse the raw log files for errors, incidents and troubleshooting purposes. However, when the EC2 instances are used in a disposable (temporary) manner, the attached EBS volume becomes ephemeral, and would not be suitable for long term storage of log files. In case of EC2, it is possible to log the information to a file kept either on EC2 EBS volume or EFS. There are multiple different solutions available. When running Java applications on AWS cloud platform using either EC2 or ECS services, one needs to think about the logging solution to be used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |