Creating custom config rules

The process for creating a custom config rule remains more or less similar to the earlier process, apart from a few changes here and there. In this section, we will be exploring how to create a simple compliance rule that will essentially trigger a config compliance alert if a user launches an EC2 instance other than the t2.micro instance type:

  1. To get started, select the Rules option from the AWS Config navigation pane, then select the Add custom rule button present on the Add rule page. The creation of the custom rule starts off like any other, by providing a suitable Name and Description for the rule. Now, here's where the actual change occurs. Custom config rules rely on AWS Lambda to monitor and trigger the ...

Get AWS Administration ; The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.