CloudWatch Agent on Lightsail

Step 5: Creating the CloudWatch Agent configuration file

If you look at the documentation it is super easy to get lost trying to setup the configuration; I mean, super easy to get lost. So, I skipped all of that. The agent now ships with a configuration wizard so I used that.

/opt/aws/amazon-agent/bin/amazon-cloudwatch-agent-config-wizard

Awesome, config.json is where we want it.
1 2 3 4 5 6