Posts

Showing posts with the label Monitoring

AWS Code Pipeline - CI/CD Series Part 5

Image
 In this post, We will see how to add notifications to the pipeline. This would create an email alert on the selected event. This is nothing but adding SNS with AWS Code Pipeline. Click on the "PipeLine" and select "Notify". Give the notification name and select the type of notification you want. Select the events that need notifications. Select target as "SNS Topic" and topic name. Now, navigate to SNS topic and create a subscription.  Enter the mail ID and confirm the subscription. We are set with enabling notification. Let's go back to the pipeline and click on "Release Change" to rerun the pipeline. I got the notification on the pipeline is completed.

AWS Event Bridge Rule

Image
  Amazon EventBridge Event Bus is a serverless event bus that helps you receive, filter, transform, route, and deliver events. We will configure s3 event notifications for any new objects created, delete, and trigger mail alerts. Steps: 1) Create a SNS topic and confirm subscription with the mail ID. 2) Enable event bridge notification for the bucket. 3) Create an event bridge rule for the S3 event Object created and deleted. Creating SNS topic and subscription. Next, We will create an event bridge rule. Enable event bridge notification for the bucket. Let’s test by deleting object from the bucket. It worked.