Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Guarantees of using EventBridge and alternatives #42

Open
chusteven opened this issue Aug 20, 2022 · 0 comments
Open

Guarantees of using EventBridge and alternatives #42

chusteven opened this issue Aug 20, 2022 · 0 comments

Comments

@chusteven
Copy link

chusteven commented Aug 20, 2022

Hello! I'm grateful for this example but did want to ask a few clarifying questions:

1/ How reliable is this approach? The documentation on EventBridge says:

Events are produced on a best-effort basis

Bad DNS records could result in clients being routed to dead instances :/ Would a good workaround be to schedule a cron job or something to periodically check the validity of all the values a record points to?

2/ Are lifecycle hooks a more appropriate solution? Maybe lifecycle hooks -> SNS/SQS -> Lambda? This documentation at least doesn't use phrases such as "best effort" 😅 (no shade, I promise -- just trying to understand guarantees). So assuming it is more reliable, my main concern would be whether or not something could happen in between autoscaling:EC2_INSTANCE_LAUNCHING and an actual successfully running instance? I can't glean too much from the state diagram unfortunately so wanted to ask -- especially in regards to the above concern about potentially adding a DNS record for an instance that almost but didn't launch successfully.

🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant