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.

CategoryServices
ComputeAmazon EC2 Auto Scaling, AWS Elastic Beanstalk, AWS Lambda, Elastic Load Balancing
StorageAmazon Elastic File System, Amazon Glacier, Amazon Simple Storage Service, AWS Snowball, AWS Backup
DatabaseAmazon DynamoDB, Amazon ElastiCache, Amazon Redshift, Amazon Relational Database Service, AWS Database Migration Service
NetworkingAmazon Route 53, Amazon VPC, AWS Direct Connect
Developer ToolsAWS CodeBuild, AWS CodeCommit, AWS CodeDeploy, AWS CodePipeline
Management ToolsAmazon CloudWatch Alarms, Amazon CloudWatch Events, AWS CloudFormation, AWS CloudTrail, AWS Config
Customer EngagementAmazon Pinpoint, Amazon Simple Email Service
AnalyticsAWS Data Pipeline
Security, Identity, and ComplianceAmazon Inspector
MediaAmazon Elastic Transcoder
Internet of ThingsAWS 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:

CategoryServices
ComputeAmazon EC2, Amazon EBS, Amazon ECS, Amazon EC2 Auto Scaling
StorageAWS Backup
DatabaseAmazon Redshift, Amazon Relational Database Service
Management ToolsAWS Config
HealthAWS 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, or shutting-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 is running, an OK alert is generated.
  • Otherwise, a critical alert is raised.

EBS Events

Supported Events
  • EBS Volume Events: attachVolume and reattachVolume
  • EBS Snapshot Events: copySnapshot and shareSnapshot
Alerting Behavior
  • If an event result is failed (for example, attachVolume failure or copySnapshot 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, or EXPIRED, 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

CategoryEvent IDAlert StateDescription
availabilityRDS-EVENT-0006WarningThe DB instance is restarting after a controlled shutdown or recovery. It will remain unavailable until the restart is complete.
availabilityRDS-EVENT-0004CriticalThe DB instance is undergoing a planned shutdown.
a4vailabilityRDS-EVENT-0022CriticalAn error occurred while attempting to restart MySQL or MariaDB.
backupRDS-EVENT-0001WarningA backup process for the DB instance has started.
backupRDS-EVENT-0002OKThe backup of the DB instance has been successfully completed.
configuration changeRDS-EVENT-0009OKThe DB instance has been successfully added to a security group.
configuration changeRDS-EVENT-0028CriticalAutomatic backups for the DB instance have been disabled.
configuration changeRDS-EVENT-0032OKAutomatic backups for the DB instance have been enabled.
configuration changeRDS-EVENT-0016OKThe master password for the DB instance has been reset successfully.
configuration changeRDS-EVENT-0067OKAn attempt to reset the master password for the DB instance was unsuccessful.
creationRDS-EVENT-0005WarningThe DB instance creation process is in progress.
deletionRDS-EVENT-0003WarningThe DB instance is being deleted.
failoverRDS-EVENT-0034CriticalAmazon RDS did not initiate the requested failover as a recent failover has already taken place on the DB instance.
failoverRDS-EVENT-0013CriticalA Multi-AZ failover process has started, leading to the promotion of a standby instance.
failoverRDS-EVENT-0015OKThe Multi-AZ failover process has completed, and the standby instance has been promoted. The DNS update may take a few minutes.
failoverRDS-EVENT-0065OKThe instance has successfully recovered from a partial failover.
failoverRDS-EVENT-0049OKThe Multi-AZ failover process has been completed.
failoverRDS-EVENT-0050WarningA Multi-AZ activation has started following a successful instance recovery.
failoverRDS-EVENT-0051OKThe Multi-AZ activation is now complete, and the database is accessible.
failureRDS-EVENT-0031CriticalThe DB instance has failed due to an incompatible configuration or a storage issue. Perform a point-in-time restore.
failureRDS-EVENT-0036CriticalThe DB instance is in an invalid network configuration with incorrect or missing subnet IDs.
failureRDS-EVENT-0035CriticalThe DB instance has incorrect parameter settings. For example, MySQL couldn't start due to excessive memory allocation. Adjust the parameter and reboot.
failureRDS-EVENT-0058CriticalAn error occurred while creating the Statspack user account. Drop the account before attempting to add the Statspack option.
failureRDS-EVENT-0079CriticalEnhanced 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.
failureRDS-EVENT-0080CriticalEnhanced 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.
failureRDS-EVENT-0081CriticalThe 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 storageRDS-EVENT-0089CriticalThe DB instance is using more than 90% of its allocated storage. Monitor the Free Storage Space metric.
low storageRDS-EVENT-0007CriticalThe DB instance has exhausted its allocated storage. Increase the storage allocation to resolve the issue.
maintenanceRDS-EVENT-0026CriticalOffline maintenance is in progress, making the DB instance temporarily unavailable.
maintenanceRDS-EVENT-0027OKOffline maintenance has been completed, and the DB instance is now available.
maintenanceRDS-EVENT-0055WarningThe number of tables in the DB instance exceeds recommended best practices. Reduce the table count for optimal performance.
notificationRDS-EVENT-0056WarningThe number of databases in the DB instance exceeds recommended best practices. Consider reducing the number of databases.
notificationRDS-EVENT-0064WarningThe Transparent Data Encryption (TDE) key has been rotated. Refer to Amazon RDS guidelines for best practices.
notificationRDS-EVENT-0084WarningAn attempt to convert a DB instance to Multi-AZ failed because it contains in-memory file groups not supported for Multi-AZ.
notificationRDS-EVENT-0087CriticalThe DB instance has been stopped.
notificationRDS-EVENT-0088OKThe DB instance has been started.
notificationRDS-EVENT-0154WarningThe DB instance was automatically started after exceeding the maximum allowed stopped duration.
read replicaRDS-EVENT-0045CriticalAn error occurred in the read replication process. Check the event message for details.
read replicaRDS-EVENT-0046OKThe Read Replica has resumed replication, confirming that replication is functioning properly.
read replicaRDS-EVENT-0057CriticalReplication on the Read Replica has been terminated.
read replicaRDS-EVENT-0062CriticalReplication on the Read Replica was manually stopped.
read replicaRDS-EVENT-0063OKReplication on the Read Replica has been reset.
recoveryRDS-EVENT-0020WarningDB instance recovery has started. The time required depends on the data volume.
recoveryRDS-EVENT-0021OKDB instance recovery is complete.
recoveryRDS-EVENT-0023WarningA manual backup was requested, but a DB snapshot is in progress. Retry after completion.
recoveryRDS-EVENT-0052WarningRecovery of a Multi-AZ instance has begun. The duration depends on data volume.
recoveryRDS-EVENT-0053OKRecovery of the Multi-AZ instance is complete.
recoveryRDS-EVENT-0066WarningThe SQL Server DB instance is re-establishing its mirror, leading to temporary performance degradation.
restorationRDS-EVENT-0008OKThe DB instance has been successfully restored from a DB snapshot.
restorationRDS-EVENT-0019OKThe DB instance has been successfully restored from a point-in-time backup.
securityRDS-EVENT-0068WarningThe 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