[BUILD-986] Notify magnolia-mgmt task errors beacuse of AWS infra Created: 05/Jan/23  Updated: 24/Apr/23

Status: Open
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Roberto Gomez Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to BUILD-943 Notify magnolia-mgmt task execution e... Closed
Template:
Acceptance criteria:
Empty
Team: Foundation

 Description   

BUILD-943 implemented a notification mechanism that only works if the java application is actually executed. Whenever the java aplication fails to even start because of some infra error we are still unaware of that. This causes includes: fargate failing to provision, event rules failing to fire, etc.

By the failure's nature, we are only able to tackle that at infra level, that is using pure AWS provided utils.

First idea that comes to mind is to "listen" to cloudtrail error events and react  accordingly, probably publishing to a message broker with some notification listeners.

 

Cloudtrail error -> SNS -> Notificator(s) listening to errors

 

Another question to consider is that the notification mechanism, should we use AWS email service, ...

 


Generated at Sun Feb 11 23:47:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.