Code Monkey home page Code Monkey logo

Comments (12)

rvedotrc avatar rvedotrc commented on September 17, 2024 2

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.

lantrix avatar lantrix commented on September 17, 2024

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.

iambobmae avatar iambobmae commented on September 17, 2024

Hi Lantrix,

Any updates on this implementations? This is something that would useful in my infrastructure setup as well.

Regards,
Tony

from simianarmy.

mlafeldt avatar mlafeldt commented on September 17, 2024

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.

lantrix avatar lantrix commented on September 17, 2024

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.

algra avatar algra commented on September 17, 2024

@lantrix it would be great if you can open-source it after it will reach some more or less usable state.

from simianarmy.

algra avatar algra commented on September 17, 2024

but i afraid this is out of scope for this issue/repo ;)

from simianarmy.

algra avatar algra commented on September 17, 2024

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.

mlafeldt avatar mlafeldt commented on September 17, 2024

@algra Slack does indeed have an email integration. Thanks for the tip!

from simianarmy.

rvedotrc avatar rvedotrc commented on September 17, 2024

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.

lantrix avatar lantrix commented on September 17, 2024

@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.

tatonki1 avatar tatonki1 commented on September 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.