Company
Date Published
Author
Mike Neville-O’Neill
Word count
971
Language
English
Hacker News points
None

Summary

Amazon Elastic Container Service (ECS) is a fully managed service that allows you to schedule and deploy containerized applications on AWS infrastructure. ECS supports two launch types: Amazon EC2 and AWS Fargate, which determine the type of infrastructure on which services are hosted. For log collection, three approaches can be taken: installing the Infrastructure agent on the container host, adding a sidecar container with the AWS FireLens plugin, or configuring a New Relic AWS Lambda function using the CloudWatch plugin for Logs. Each approach has its own set of benefits and drawbacks, and the choice depends on the ECS launch type in use. The most "turnkey" method is log collection via the CloudWatch plugin for Logs, but it comes with increased latency and limitations due to CloudWatch log group subscription limits.