/Cockpit

Be notified of all your AWS Pipeline deployments from your mobile device

Primary LanguageJavaScript

Cockpit 🚁

An app that alerts you to the status of all your AWS Pipelines

Screenshot

How it works

Receive key notifications from AWS (or elsewhere) as push notifications on any device.

Installation

  1. Create a new DB in your MySQL instance
  2. Import the database structure from Example DB.sql
  3. Update credentials in config.ini.example
  1. Rename config.ini.example to config.ini
  2. Deploy the code and visit the public UI
  3. Register your device for notifications
  • For iOS, we recommend "Add to Home Screen" via the Share menu first

Sending Notifications

For my personal setup, I mostly use the SNS topic. From the AWS Console:

  1. Navigate to the Simple Notification Service page
  2. Create a new topic
  3. Create a new subscription
  • HTTPS
  • Endpoint: https://<your url>/push.php
  1. It should automatically confirm the subscription
  2. Using CloudWatch, setup triggers for whatever events necessary (ex: pipeline or alarms) and use the SNS topic as the destination.

You can also post messages to https://<your url>/push.php using the message POST form field

Future TODO:

  • Include a history of messages being sent
  • Make it actually work on mobile
  • Include branding
  • Make SSO optional