Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laardee/ecs-events
https://github.com/laardee/ecs-events
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laardee/ecs-events
- Owner: laardee
- License: mit
- Created: 2018-04-30T04:35:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T05:19:29.000Z (over 6 years ago)
- Last Synced: 2024-06-11T23:12:33.709Z (5 months ago)
- Language: JavaScript
- Size: 69.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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`.