Comments (12)
We're currently using a Lambda hook from CloudTrail to generate SNS notifications of any terminations of ec2 instances (whether by Chaos Monkey, or chaos-lambda, or whatever). Thus, the lack of SNS output from Chaos Monkey is now a non-issue for us.
Seems to be a far nicer approach.
from simianarmy.
I was looking for the same thing. Currently implementing this in my fork as well. If I get it working anytime soon I'll do a pull request.
from simianarmy.
Hi Lantrix,
Any updates on this implementations? This is something that would useful in my infrastructure setup as well.
Regards,
Tony
from simianarmy.
Supporting SNS would indeed be cool as it'd allow sending notifications to Slack etc.
I'm also thinking about a different approach: writing a small (Go) service that forwards events returned by the REST API to SNS, Slack, etc.
from simianarmy.
We had just stuck with email notifications, as we decided to re-write the SimianArmy components we are using as AWS lambda functions; so no further improvements on the code at this time.
from simianarmy.
@lantrix it would be great if you can open-source it after it will reach some more or less usable state.
from simianarmy.
but i afraid this is out of scope for this issue/repo ;)
from simianarmy.
Actually email is quite sufficient for some cases, for example: Slack has an email integration, and you can put emails to SNS using emails sent to SES.
from simianarmy.
@algra Slack does indeed have an email integration. Thanks for the tip!
from simianarmy.
Open Source Lambda-based Chaos-Monkey-like functionality: https://github.com/bbc/chaos-lambda
It currently lacks SNS notifications but I would be very interested in adding them.
from simianarmy.
@algra despite deciding to re-write using lamda; we are still using SimianArmy as of today. If I get tasked to re-work on that I'll make sure SNS is at the top of my list -> as we would also use that to push to Lambda and publish to slack instead of the email trail we get now.
from simianarmy.
@rvedotrc - could you share with me how you setup your Lambda function to monitor the cloudtrail log for api calls when any of your auto-scaling groups have an ec2 termination, please? I'm a lambda novice, and am unable to utilize the simian army built in AWS:SES email notifications outside of the sandbox env as i don't have console access to verify my source/dest emails in nonProd envs...so am very interested in your work around. Thank you!!
from simianarmy.
Related Issues (20)
- Cannot set up janitor monkey without simpleDB HOT 3
- Make Janitor Monkey ignore Stopped Instances/Resources HOT 1
- Config simianarmy.chaos.ASG.maxTerminationsPerDay not respected when using LocalDB
- Upgrade AWS SDK to latest version HOT 1
- [Janitor Monkey] Opt in/out resources while running on Jenkins
- Display resource name in Janitor Monkey notifications
- Starting gradlew jettyRun permanently HOT 1
- Verify Janitor Monkey
- Issue with SSH chaos scenarios
- Architectural Design for Simian Army
- None of the SSH scenarios work
- Problems connecting to SimpleDB from europe region
- Can chaos monkey be used for other services which is not baseon AWS?and how?
- Issue with NullRoute script
- Chaos Monkey support for spinnaker running as microservices HOT 5
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Can chaos monkey terminate instance not in default namespace?
- CVEs in the dependencies are in the execution path of your project
- Is simian army available in all AWS Regions? HOT 1
- Simian Army not deleting the instance : EC2 is in VPC and is ignored.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simianarmy.