AWS CloudWatch Agent Installation and Configuration
Purpose Setup CloudWatch agent on a Linux box to collect application log so that we can query the logs in CloudWatch web console or cli. Steps The official doc is long and tedious as usual, so let me note down my simple steps to setup CloudWatch agent to collect logs. Download and install the agent 1 2 wget https://s3.amazonaws.com/amazoncloudwatch-agent/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb sudo dpkg -i -E ./amazon-cloudwatch-agent.deb This will install the agent to /opt/aws/amazon-cloudwatch-agent/bin...