EXFIL (also exfiltration or Extraction), in tactical combat and special operations use, is the process of removing constituents from a targeted site when it is considered imperative that they be immediately relocated out of a hostile environment and taken to a secured area under friendly control.
Source: http://www.urbandictionary.com/define.php?term=Exfil
Watch an Auto Scaling Group instances by calling their health check URL and detach them before they get killed :)
You want to perform a post mortem on instances that get killed with no apparent reason...
- Clone this repo
npm install
- Create a
config/local.yml
file to override the defaults
# Do not exfiltrate, just inform that you would have
dryRun: true
# AWS Region
region: eu-west-1
# Prefix of your Auto Scaling Group
asgPrefix: dev1-av-ui
# 2 failing checks will trigger an exfiltration
threshold: 2
# Check interval
interval: 4000
# Webapp port
port: 8080
# Guess what...
checkUrl: /check/app
npm start