Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abhiyerra/aws-ec2-cleanup

AWS Lambda Script to do clean up when AWS EC2 instances terminate
https://github.com/abhiyerra/aws-ec2-cleanup

Last synced: about 4 hours ago
JSON representation

AWS Lambda Script to do clean up when AWS EC2 instances terminate

Awesome Lists containing this project

README

        

#+TITLE: AWS EC2 Cleanup

* Introduction

The AWS EC2 Cleanup script runs upon a termination event on an EC2
machine. This message is sent via SNS and handled in AWS Lambda. This
allows you to remove nodes from Chef, Puppet, and other services which
might be referring to EC2.

* Provided

This script provides the following:

- create SNS topic to be handled host termination events.
- parse SNS message
- delete node from Chef.
- adding additional cleanup scripts should be simple.