Summary
- This article is to demonstrate below.
Topic | |
1 | Types of Event/Alert mechanism available from AWS |
2 | What type of AWS Event/Alert mechanism ServiceNow CMP supports? |
3 | Servicenow CMP Pre-requisites for AWS Alert Management. |
4 | Configuration requirement at AWS |
5 | The cloud event table at ServiceNow Instance. |
6 | Cloud Event Scheduler |
7 | Troubleshooting Cloud Event configuration. |
Release
- London P*, Madrid P* and New York P*
Instructions
1 | Types of Event/Alert mechanism available from AWS |
Amazon CloudWatch Events delivers a near real-time stream of system events that describe changes in Amazon Web Services (AWS) resources. Using simple rules that you can quickly set up, you can match events and route them to one or more target functions or streams.
CloudWatch Events becomes aware of operational changes as they occur. CloudWatch Events responds to these operational changes and takes corrective action as necessary, by sending messages to respond to the environment, activating functions, making changes, and capturing state information.
Amazon Simple Notification Service (SNS) is a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Amazon SNS provides topics for high-throughput, push-based, many-to-many messaging.
2 | What type of AWS Event/Alert mechanism ServiceNow CMP supports? |
- AWS event integration with Servicenow CMP supports Simple Notification Service
- Amazon SNS FAQs
3 | Servicenow CMP Pre-requisites for AWS Alert Management. |
- Cloud Management Plugins must be activated.
Plugin Name Status Plugin ID Cloud API Active com.snc.cloud.api Cloud Config Management Active com.snc.config.mgmt Cloud Management Core Active com.snc.cloud.core - AWS Service Account should be setup (credential or credential-less)
- The Service Account has all the AWS Logical Datacenters discovered successfully.
- The User from ServiceNow should have the Role "sn_cmp.cloud_event_integration"
4 | Configuration requirement at AWS |
|
|
|
5 | The cloud event table at ServiceNow Instance. |
- Once the above configuration is successful, the user can see the events populated to "sn_cmp_cloud_event_list"
https://<InstanceName>.service-now.com/sn_cmp_cloud_event_list.do |
6 | Event properties and its Payload for IRE |
|
7 | Cloud Event Scheduler |
- Once an event has been generated from AWS the "Cloud Event Scheduler" scheduled jobs execute in the background
https://<instancename>.service-now.com/sysauto_script.do?sys_id=fb9dc69dd754320097eb6ccf6e6103b5&sysparm_record_rows=1&sysparm_record_scope=80d50579eb203200979aa5115206fedd&sysparm_record_target=sysauto&sysparm_record_list=nameCONTAINScloud+event%5EORDERBYname&sysparm_nostack=true&sysparm_record_row=1
- The scheduled job "Cloud Event Scheduler" is designed to execute every 10 seconds by default
- User has the ability to change the Repeat interval from the default 10 seconds to the required interval level.
- The job responsibility is to pass the Event Payload to IRE and IRE then takes the necessary actions to modify the state of the resources as per the event
Related Links
- The documentation "Configure the Amazon AWS Config service to auto-update the CMDB" in progress of modification.
- According to the above documentation, Point 4 and 5 are not available in the Admin Portal, kindly ignore, soon it will be modified.