Create the CloudWatch agent configuration file with the wizard
The agent configuration file wizard, amazon-cloudwatch-agent-config-wizard, asks a series of questions, including the following: Are you installing the agent on an Amazon EC2 instance or an on-premises server? Is the server running Linux or Windows Server? Do you want the agent to also send log files to CloudWatch Logs?
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html