cloudwatch alarm when aurora postgres failover event occurs

0

Hello,

I'd like to get a cloudwatch alert setup when a failover event occurs. Does anyone know what I should be looking for in the postgresql.log or what cloudwatch metric I can use for this?

Thanks in advance!

Jeremy

3 Answers
0
Accepted Answer

It is better to use RDS event notification instead of CloudWatch.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.html

Settings can be made in the following documentation methods.
When setting up the system, select failover in the "Specific event categories" to be notified when a failover occurs.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Subscribing.html
db

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago
profile picture
EXPERT
reviewed 10 months ago
profile pictureAWS
EXPERT
reviewed 10 months ago
0

Thank you both! I had no idea about event notifications like this. This is SO much better than figuring out how to do this via cloudwatch.

answered 10 months ago
0

Hi,

Please take a look at this Well Architected Lab, this will surely help you out in setting up notification mechanism for Aurora Postgres failover events.

profile pictureAWS
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions