I'm trying to set up a scheduler system for our infrastructure that suppose to take care of all scheduled housekeeping tasks. Our proposal is to make it simple and scalable with one docker image. A Script of each task and cloudWatch event rule will be passed in as parameters. The scripts will be uploaded on an s3 bucket and will be downloaded when the job gets triggered. This way we can avoid redeploying every time a task gets added. The only tricky park is to pass in cloudWatch event rule as parameter. Can an event target be triggered by multiple rules? Am I too ambitious on this project? I use terraform to provision it.
Asked
Active
Viewed 411 times
2
-
Yes, you can trigger a target by multiple events or rules. – jingx Jun 30 '21 at 04:12
1 Answers
0
- Turn Cloud watch logs on
- Create a metric filter
- Assign a metric
- Create alarm.
Here is a tutorial which you can modify to suit your needs. https://aws.amazon.com/blogs/security/how-to-receive-notifications-when-your-aws-accounts-root-access-keys-are-used/

alabalistic
- 169
- 2