Introduction
Amazon Web Services (AWS) generates various events that allow users to monitor and automate responses to changes in their cloud environment. These events can be delivered using services such as Amazon Simple Notification Service (SNS) and Amazon Simple Queue Service (SQS). This document provides details on AWS events supported by SNS and SQS, along with an explanation of key event categories such as EC2 Events, EC2 Auto Scaling Events, and more.
AWS Events Supported by SNS
This below table provides a clear overview of the full set of Amazon SNS event sources categorized by their respective services.
Category | Services |
---|---|
Compute | Amazon EC2 Auto Scaling, AWS Elastic Beanstalk, AWS Lambda, Elastic Load Balancing |
Storage | Amazon Elastic File System, Amazon Glacier, Amazon Simple Storage Service, AWS Snowball, AWS Backup |
Database | Amazon DynamoDB, Amazon ElastiCache, Amazon Redshift, Amazon Relational Database Service, AWS Database Migration Service |
Networking | Amazon Route 53, Amazon VPC, AWS Direct Connect |
Developer Tools | AWS CodeBuild, AWS CodeCommit, AWS CodeDeploy, AWS CodePipeline |
Management Tools | Amazon CloudWatch Alarms, Amazon CloudWatch Events, AWS CloudFormation, AWS CloudTrail, AWS Config |
Customer Engagement | Amazon Pinpoint, Amazon Simple Email Service |
Analytics | AWS Data Pipeline |
Security, Identity, and Compliance | Amazon Inspector |
Media | Amazon Elastic Transcoder |
Internet of Things | AWS IoT |
OpsRamp Supported Events from SQS
OpsRamp integrates with AWS SQS to receive and process various events across multiple AWS services. These events help in monitoring cloud resources and generating alerts based on their status. The following AWS services and their respective event types are supported:
Category | Services |
---|---|
Compute | Amazon EC2, Amazon EBS, Amazon ECS, Amazon EC2 Auto Scaling |
Storage | AWS Backup |
Database | Amazon Redshift, Amazon Relational Database Service |
Management Tools | AWS Config |
Health | AWS Health |
Supported AWS Services and Events
Event Details
EC2 Events
Supported Events
- Instance state changes:
pending
,running
,stopping
,stopped
,terminated
,shutting-down
.
Alerting Behavior
- If an event indicates the instance state as
pending
,stopping
,stopped
,terminated
, orshutting-down
, the instance is marked as down in the OpsRamp portal, generating a critical alert. - If the instance state is
running
, it is marked as UP, and an OK alert is generated.
EC2 Auto Scaling Events
Supported Events
All auto-scaling events.
Alerting Behavior
- If the event status is
failed
, a critical alert is generated. - Otherwise, an OK alert is triggered.
ECS Events
Supported Events
- ECS Task state change
- ECS Container Instance state change
Alerting Behavior
- ECS Task state change events are associated with the ECS Cluster.
- ECS Container Instance state change events are linked to the container instance.
- If the
last-status
of a task isrunning
, an OK alert is generated. - Otherwise, a critical alert is raised.
EBS Events
Supported Events
- EBS Volume Events:
attachVolume
andreattachVolume
- EBS Snapshot Events:
copySnapshot
andshareSnapshot
Alerting Behavior
- If an event result is failed (for example,
attachVolume
failure orcopySnapshot
failure), a critical alert is generated. - Otherwise, an OK alert is triggered.
- If the event is associated with a single resource, the alert is generated for that resource. If it applies to multiple resources, the alert is assigned to the cloud provider.
AWS Backup Events
Supported Events
- Backup Job Events
Alerting Behavior
- AWS Backup sends events when a backup job state changes via Amazon EventBridge.
- If a backup job enters the state
FAILED
,ABORTED
, orEXPIRED
, a critical alert is generated for the associated resource in OpsRamp. - No OK alert is generated, as backup job failures do not transition into a healthy state.
Supported Resource Types
- DynamoDB
- EBS
- EC2
- EFS
- Neptune
See AWS Backup Events Configuration for more details on backup job setup.
AWS Health Events
Supported Events
- Issue
- ScheduledChange
Alerting Behavior
- AWS Health events are always captured as critical alerts.
- For
ScheduledChange
events, once the end time of the event is reached, the alert is automatically resolved. - All alerts generated from AWS Health events are associated with the cloud provider.
Redshift Events
Supported Events
All Redshift events.
Alerting Behavior
- Informational (Info) events are categorized as warning alerts.
- Error events generate critical alerts.
RDS Events
Category | Event ID | Alert State | Description |
---|---|---|---|
availability | RDS-EVENT-0006 | Warning | The DB instance is restarting after a controlled shutdown or recovery. It will remain unavailable until the restart is complete. |
availability | RDS-EVENT-0004 | Critical | The DB instance is undergoing a planned shutdown. |
a4vailability | RDS-EVENT-0022 | Critical | An error occurred while attempting to restart MySQL or MariaDB. |
backup | RDS-EVENT-0001 | Warning | A backup process for the DB instance has started. |
backup | RDS-EVENT-0002 | OK | The backup of the DB instance has been successfully completed. |
configuration change | RDS-EVENT-0009 | OK | The DB instance has been successfully added to a security group. |
configuration change | RDS-EVENT-0028 | Critical | Automatic backups for the DB instance have been disabled. |
configuration change | RDS-EVENT-0032 | OK | Automatic backups for the DB instance have been enabled. |
configuration change | RDS-EVENT-0016 | OK | The master password for the DB instance has been reset successfully. |
configuration change | RDS-EVENT-0067 | OK | An attempt to reset the master password for the DB instance was unsuccessful. |
creation | RDS-EVENT-0005 | Warning | The DB instance creation process is in progress. |
deletion | RDS-EVENT-0003 | Warning | The DB instance is being deleted. |
failover | RDS-EVENT-0034 | Critical | Amazon RDS did not initiate the requested failover as a recent failover has already taken place on the DB instance. |
failover | RDS-EVENT-0013 | Critical | A Multi-AZ failover process has started, leading to the promotion of a standby instance. |
failover | RDS-EVENT-0015 | OK | The Multi-AZ failover process has completed, and the standby instance has been promoted. The DNS update may take a few minutes. |
failover | RDS-EVENT-0065 | OK | The instance has successfully recovered from a partial failover. |
failover | RDS-EVENT-0049 | OK | The Multi-AZ failover process has been completed. |
failover | RDS-EVENT-0050 | Warning | A Multi-AZ activation has started following a successful instance recovery. |
failover | RDS-EVENT-0051 | OK | The Multi-AZ activation is now complete, and the database is accessible. |
failure | RDS-EVENT-0031 | Critical | The DB instance has failed due to an incompatible configuration or a storage issue. Perform a point-in-time restore. |
failure | RDS-EVENT-0036 | Critical | The DB instance is in an invalid network configuration with incorrect or missing subnet IDs. |
failure | RDS-EVENT-0035 | Critical | The DB instance has incorrect parameter settings. For example, MySQL couldn't start due to excessive memory allocation. Adjust the parameter and reboot. |
failure | RDS-EVENT-0058 | Critical | An error occurred while creating the Statspack user account. Drop the account before attempting to add the Statspack option. |
failure | RDS-EVENT-0079 | Critical | Enhanced Monitoring cannot be activated without the required IAM role. Refer to the documentation for instructions on creating the IAM role for Amazon RDS Enhanced Monitoring. |
failure | RDS-EVENT-0080 | Critical | Enhanced Monitoring was deactivated due to a configuration error, likely caused by an incorrectly set up IAM role. Check the IAM role configuration for Amazon RDS Enhanced Monitoring. |
failure | RDS-EVENT-0081 | Critical | The IAM role used to access an Amazon S3 bucket for SQL Server native backup and restore is misconfigured. Refer to the documentation for proper IAM role setup. |
low storage | RDS-EVENT-0089 | Critical | The DB instance is using more than 90% of its allocated storage. Monitor the Free Storage Space metric. |
low storage | RDS-EVENT-0007 | Critical | The DB instance has exhausted its allocated storage. Increase the storage allocation to resolve the issue. |
maintenance | RDS-EVENT-0026 | Critical | Offline maintenance is in progress, making the DB instance temporarily unavailable. |
maintenance | RDS-EVENT-0027 | OK | Offline maintenance has been completed, and the DB instance is now available. |
maintenance | RDS-EVENT-0055 | Warning | The number of tables in the DB instance exceeds recommended best practices. Reduce the table count for optimal performance. |
notification | RDS-EVENT-0056 | Warning | The number of databases in the DB instance exceeds recommended best practices. Consider reducing the number of databases. |
notification | RDS-EVENT-0064 | Warning | The Transparent Data Encryption (TDE) key has been rotated. Refer to Amazon RDS guidelines for best practices. |
notification | RDS-EVENT-0084 | Warning | An attempt to convert a DB instance to Multi-AZ failed because it contains in-memory file groups not supported for Multi-AZ. |
notification | RDS-EVENT-0087 | Critical | The DB instance has been stopped. |
notification | RDS-EVENT-0088 | OK | The DB instance has been started. |
notification | RDS-EVENT-0154 | Warning | The DB instance was automatically started after exceeding the maximum allowed stopped duration. |
read replica | RDS-EVENT-0045 | Critical | An error occurred in the read replication process. Check the event message for details. |
read replica | RDS-EVENT-0046 | OK | The Read Replica has resumed replication, confirming that replication is functioning properly. |
read replica | RDS-EVENT-0057 | Critical | Replication on the Read Replica has been terminated. |
read replica | RDS-EVENT-0062 | Critical | Replication on the Read Replica was manually stopped. |
read replica | RDS-EVENT-0063 | OK | Replication on the Read Replica has been reset. |
recovery | RDS-EVENT-0020 | Warning | DB instance recovery has started. The time required depends on the data volume. |
recovery | RDS-EVENT-0021 | OK | DB instance recovery is complete. |
recovery | RDS-EVENT-0023 | Warning | A manual backup was requested, but a DB snapshot is in progress. Retry after completion. |
recovery | RDS-EVENT-0052 | Warning | Recovery of a Multi-AZ instance has begun. The duration depends on data volume. |
recovery | RDS-EVENT-0053 | OK | Recovery of the Multi-AZ instance is complete. |
recovery | RDS-EVENT-0066 | Warning | The SQL Server DB instance is re-establishing its mirror, leading to temporary performance degradation. |
restoration | RDS-EVENT-0008 | OK | The DB instance has been successfully restored from a DB snapshot. |
restoration | RDS-EVENT-0019 | OK | The DB instance has been successfully restored from a point-in-time backup. |
security | RDS-EVENT-0068 | Warning | The CloudHSM Classic partition password was decrypted by the system. |
Configuration Events
Supported Events
The following events are supported as part of config events:
- Config Configuration History Delivery Status: Logged as an INFO alert.
- Config Configuration Item Change: Logged as an INFO alert.
- Config Rules Compliance Change:
- NON_COMPLIANT > Critical alert
- COMPLIANT > OK alert
- NOT_APPLICABLE > Warning alert
Note
- RDS and Redshift use Event Subscriptions for monitoring.
- EC2, AWS Health, ECS, EBS, and EC2 Auto Scaling use CloudWatch rules for event tracking.