- Newest
- Most votes
- Most comments
When it comes to remediating non-compliant resources found by AWS Config, both AWS Lambda functions and AWS Systems Manager Automation documents are viable options, but Systems Manager Automation documents are generally recommended and more commonly used for this purpose.
AWS Config is designed to work seamlessly with Systems Manager Automation documents for remediation actions. These documents define the specific actions to be performed on non-compliant AWS resources evaluated by AWS Config rules. AWS Config provides a set of managed Automation documents with pre-defined remediation actions, making it easy to get started.
Using Systems Manager Automation documents offers several advantages:
-
Integration: AWS Config is built to apply remediation using Systems Manager Automation documents, providing a more integrated and streamlined approach.
-
Flexibility: You can choose from pre-populated remediation actions or create custom Automation documents to suit your specific needs.
-
Ease of use: The AWS Management Console offers a recommended list of remediation actions, simplifying the process of setting up remediation.
-
Control: You have the option to choose between manual or automatic remediation when using Systems Manager Automation documents.
-
Scalability: Systems Manager Automation documents can be run across multiple AWS Regions and accounts or organizational units from a central account, making them suitable for large-scale deployments.
While Lambda functions can also be used for remediation, especially for more complex or custom scenarios, Systems Manager Automation documents are often the preferred choice due to their native integration with AWS Config and the built-in remediation capabilities they offer.
Ultimately, the choice between Lambda and Systems Manager Automation documents may depend on your specific use case, existing infrastructure, and familiarity with the tools. However, for most standard remediation scenarios, Systems Manager Automation documents provide a more straightforward and well-integrated solution for remediating non-compliant resources found by AWS Config.
Sources
Remediating Noncompliant Resources with AWS Config - AWS Config
Use AWS Config Rules to Automatically Remediate Non-compliant Resources
SEC04-BP04 Initiate remediation for non-compliant resources - AWS Well-Architected Framework
Securing and automating compliance in the public sector with AWS | AWS Public Sector Blog
Relevant content
- AWS OFFICIALUpdated 2 years ago
