Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laardee/ecs-events


https://github.com/laardee/ecs-events

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# ECS State Change Notifications

[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)
[![Build Status](https://travis-ci.org/laardee/ecs-events.svg?branch=master)](https://travis-ci.org/laardee/ecs-events)

This service is an example implementation how to use AWS CloudWatch events to monitor ECS container states. AWS CloudWatch event triggers a Lambda function that published a message to an SNS topic, which can be subscribed to send, e.g. message to an email address, SMS message, or notification to Slack channel.

## Installation

This service uses [Serverless Framework](https://github.com/serverless/serverless/) to deploy components to AWS.

To install service use `sls install https://github.com/maasglobal/ecs-event-notifications.git -n my-ecs-events`, where `my-ecs-events` is the name of the service you prefer to use.

After installation, change directory to `my-ecs-events` and install dependencies with `npm install`.

## Deployment

When you are ready, you can deploy the service with `sls deploy`.