2 Answers
- Newest
- Most votes
- Most comments
0
You can leverage AWS Health API. The AWS Health API provides access to the AWS Health information that appears in the AWS Health Dashboard. You can use the API operations to get information about events that might affect your AWS services and resources.
References:
Hope this helps.
Comment here if you have additional questions, happy to help.
Abhishek
0
You have personal health dashboard for service.
However, have you considered using event bridge to alert on aws health events and then react to them? I know you mention them in your question.
Then this can trigger your lambda function or step function to perform and action such as a fail over.
Relevant content
- asked 6 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 23 days ago
Thanks Abhishek. I've tried reading a little about the AWS Health APi, but havent been able to make sense of it yet for the purpose of me doing on-demand health checks on a given AWS resource. I can try looking into it more, but let me ask this 1 question about it. When you say it provides API operations to "get information about events", does that mean you can only use it to view active "events" or "incidents" happening, or can you use it to just check in on a service like SQS to see if it has any known current outages? I guess my question really is "what is an event"?
That's a very great question, Health API would give you the overall result and you'd need to add a logic to further parse it for specific service. Refer this documentation.
There are two types of AWS Health events:
Public events are service events that aren't specific to an account. For example, if there is an issue with Amazon EC2 in an AWS Region, AWS Health provides information about the event, even if you don't use services or resources in that Region.
Account-specific events are specific to your account or an account in your organization. For example, if there's an issue with an Amazon EC2 instance in a Region that you use, AWS Health provides information about the event and the list of affected Amazon EC2 instances.
Also, take a look at this blog post, which is very well written.
Important: I didn't mention this, AWS Health is only available to Business or Enterprise support plan. Hope you already have one of those.
Do you have any additional questions, happy to help.