Problem Analysis:
The CloudWatch agent configuration is inconsistent across instances.
A centralized and automated mechanism is needed for consistent configuration management.
Action: Store Configuration in Systems Manager Parameter Store:
Parameter Store allows for secure, centralized storage of configuration files.
Steps:
Open Systems Manager Console.
Navigate to Parameter Store.
Create a parameter with the CloudWatch agent configuration file content.
Action: Use State Manager to Apply Configuration:
Systems Manager State Manager automates repetitive tasks such as ensuring consistent configuration.
Steps:
Open State Manager Console.
Create an association using the AmazonCloudWatch-ManageAgent document.
Configure the document to use Parameter Store as the configuration source.
Use tags (key = "OS", value = "Windows") to target the Windows EC2 instances.
Why Other Options Are Incorrect:
A: Using an S3 bucket for configuration storage lacks integration with Systems Manager for automation.
B: OpsCenter is for managing operational issues, not configuration files.
E: S3 as a configuration source is valid but introduces additional operational complexity compared to Parameter Store.
[References:, AWS Systems Manager Parameter Store, AWS State Manager Documentation, CloudWatch Agent Management, , , , ]
Submit