20.1.1 Add Alarms to Your CloudWatch Log Files

The standard LANSA CloudFormation template will create CloudWatch log files for you so you may query what is happening inside your EC2 instances without needing to RDP into the instance itself. You may also add alarms which are triggered on the contents of the log files. Two very useful log entries to look for is a general installation error and an MSI installation error.

In order to create an alarm you must first create a log group to apply it to. The simplest way to do this is to create a LANSA stack.