For this example architecture, is the EventBridge here redundant? Can't the CloudWatch alarm trigger the Lambda function by itself?

Create an Amazon CloudWatch Alarm to monitor the FreeStorageCapacity metric of the file system. Write an AWS Lambda Function to increase the capacity of the Amazon FSx for Windows File Server file system using the update-file-system command. Utilize Amazon EventBridge to invoke this Lambda function when the metric threshold is reached.

If there is already a CloudWatch alarm, why does there need to be an EventBridge to invoke the Lambda? Is this architecture redundant?

Flexibility. Sending the alarm to EventBridge and catching it there to involve Lambda rather than invoking directly allows future actions to be attached simply by adding another Event Rule. For example sending a slack notification, counting the events as a metric to track, etc all might be asks that come later.

It’s the same reason many people will almost always put SNS in front of SQS. We can always fan out later w/o touching the existing arch or code.

Thank you!

But in this case why not just monitor the whole thing with EventBridge?

Because you can’t define the Alarm criteria in EventBridge itself.

I see, thank you!

Everything mentioned is helpful but there is a news item worth understanding. AWS is doing a conceptual shift as well as an architectural shift towards eventbridge that is worth understanding.

When you go look at the documentation or go into the console and look at old cloudwatch triggers (basically the existing features you are describing) when you click on them you will move into an eventbridge subheading in cloudwatch still configured the exact same way just rebundled under a new concept.

You aren’t alone in your confusion I was tweaking some legacy stuff right in the middle of this transition and it threw me for a loop for a minute.