aws-health-aware icon indicating copy to clipboard operation
aws-health-aware copied to clipboard

Move to EventBridge notifications

Open mmehrten opened this issue 2 years ago • 3 comments
trafficstars

AHA currently uses AWS Health API polling to get event notifications. Instead, AHA could use EventBridge notifications to respond to AWS Health events. This would be more efficient than polling every minute.

mmehrten avatar Sep 14 '23 14:09 mmehrten

AHA currently uses AWS Health API polling to get event notifications. Instead, AHA could use EventBridge notifications to respond to AWS Health events. This would be more efficient than polling every minute.

A push based mechanism is certainly always easier than a pull based one. Correct me if I'm wrong but it seems that it won't work if the Organizations View feature is enabled, because eventbridge will capture the account event and not all the aggregated events for all the accounts. So the actual solution is generic and works in both cases.

Saff-Buraq-Dev avatar Sep 14 '23 16:09 Saff-Buraq-Dev

That's true @Saff-Buraq-Dev , but EventBridge would be preferred for non-organization view use cases.

mmehrten avatar Sep 21 '23 16:09 mmehrten

I think the current mechanism is preferred because EventBridge events are best effort rather than guaranteed delivery? Happy to be corrected.

jack-parsons-bjss avatar Oct 25 '23 12:10 jack-parsons-bjss

Confirming, the use of Health API to poll for events was to take advantage of Org View, which at the time was not available on EventBridge (and AHA allows emitting events to a consolidated EventBridge bus for the org). We don't have a roadmap item to re-architect AHA to use EventBridge as the source.

Related, AWS Health launched Organizational View on EventBridge as a discrete feature. This does not require AHA. https://aws.amazon.com/about-aws/whats-new/2023/10/aws-health-aggregates-events-organization-eventbridge/

andrewcr7 avatar Mar 27 '24 19:03 andrewcr7