By Pablo Puig
Cloud Config monitors and tracks the configuration changes of your resources and evaluates configuration compliance. Cloud Config provides managed rules to evaluate resources. However, if the managed rules provided by Alibaba Cloud do not meet your requirements, you can create custom rules based on Function Compute. When a rule is triggered, Cloud Config invokes the corresponding rule function to evaluate the associated resources and returns the compliance evaluation results of the resources.
The following step-by-step guide explains how to develop and create a Cloud Config custom rule from the Alibaba Cloud console. The diagram below describes the steps required:
Note: Before you create a Cloud Config custom rule, you must create a function for the rule in Function Compute first.
Note: For this demo, I’m going to select the Creation Method of Function Template and use the aliyun-config-python3 template for my function.
Step 4: Configure your function by entering the following properties:
Once you have introduced all properties, click Next.
Once your Cloud Config custom rule is created you can click Return to Rule List. You will find your custom rule on the list.
The article explained Cloud Config custom rules and how to create them using Function Compute functions.
1,044 posts | 257 followers
FollowAlibaba Cloud Native Community - April 4, 2023
Alibaba Cloud Native Community - November 15, 2023
Alibaba Cloud Native Community - January 3, 2024
Alibaba Cloud Native Community - September 18, 2023
Aliware - October 20, 2020
Alibaba Cloud Community - August 12, 2024
1,044 posts | 257 followers
FollowAlibaba Cloud Function Compute is a fully-managed event-driven compute service. It allows you to focus on writing and uploading code without the need to manage infrastructure such as servers.
Learn MoreAlibaba Cloud is committed to safeguarding the cloud security for every business.
Learn MoreA configuration audit service that provides configuration history of enterprise resources in Alibaba Cloud and audits the compliance of resource configurations.
Learn MoreSimple, secure, and intelligent services.
Learn MoreMore Posts by Alibaba Cloud Community