Get fast feedback from your AWS CodePipeline

Michael Wittig – 21 Dec 2017

AWS CodePipeline is a continuous integration and continuous delivery service that orchestrates builds, tests, and deploys.

With marbot, you get alerts in Slack when the pipeline fails.

Preparations

  1. You need to create an SNS topic
  2. Configure your SNS topic to allow messages from CloudWatch Events

Set up instructions

  1. Visit https://console.aws.amazon.com/cloudwatch/home?region=us-east-1
  2. Click on the Rules link on the left
  3. Click on the Create rule button
    Setting up CodePipeline alerts
  4. In the Event Source section, set Service Name to CodePipeline
  5. Set Event Type to CodePipeline Pipeline Execution State Change
  6. Enable Specific state(s), and select FAILED
    Setting up CodePipeline alerts
  7. In the Targets section, click on the Add target button
  8. Select SNS topic
  9. Set Topic to marbot or your other SNS topic name
    Setting up CodePipeline alerts
  10. Save by clicking the Configure detail button
  11. In the next step, set a Name and save by clicking the Create rule button.

Sample Alert

To simulate an alert, you need a CodePipeline that fails. The following alert will be triggered by marbot soon.

CodePipeline Alert

Michael Wittig

Michael Wittig

I’m the author of Amazon Web Services in Action. I work as a software engineer, and independent consultant focused on AWS and DevOps.

You can contact me via Email, Twitter, and LinkedIn.

Briefcase icon
Hire me
marbot teaser

Incident Management for Slack

Team up to solve incidents with marbot. Never miss a critical alert. Escalate alerts from your AWS infrastructure among your team members. Strong integrations with all parts of your AWS infrastructure: CloudWatch, Elastic Beanstalk, RDS, EC2, ...

Slack icon
Try for free