Useful uncle notifying unexpected servers in AWS.
git clone https://github.com/moqada/aws-uncle.git
cd aws-uncle
npm install
Put Environment variables (HipChat token...)
cp .env.example .env
Put settings for filtering Unexpected servers
cp configs.example.json configs.json
Set following IAM policy for AWS Lambda.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"ec2:describe*",
"elasticbeanstalk:describe*",
"elasticmapreduce:list*",
"rds:describe*"
],
"Resource": "*"
}
]
}
npm run deploy
Upload build/aws-uncle.zip
to AWS Lambda.
- Support EMR
- Load configs from S3
- Run standalone (CLI / crontab)
- Add tests