Best path to learn Python (for AWS) - Most work will be lambda/cloudwatch work

0

Morning all, as a sysadmin with some OK programming skills in PHP, Bash, I want to goto the next step as I have a lot of cloudwatch alerts in palce, and sometimes CPU > X doesn't mean restart the box vs just goto that box, kill the java server, restart, etc.

So there is a lot out there, I am sure I can find someones example and update it if I look, but looking to see if there is more of an AWS type of track outside of the simple cloud9 path or will that be sufficient.

It would be great to learn more python for more tools in the belt as I do most with Bash, but as I said, with cloudwatch, I can't say run this shell script, so I want to say this is happening to server x01, run this lambda, that says oh, goto x01, kill java, start, etc. I see acloudguru and codeacadamy and someone may have input on those or others.

Thanks for help/advice on this one.

2개 답변
1
수락된 답변

If you want to continue to use Bash, you can integrate your CloudWatch alarms with AWS Systems Manager. A CloudWatch alarm can trigger a Systems Manager OpsItem or create an incident (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-create-OpsItems-from-CloudWatch-Alarms.html). You can then automate the response to that OpsItem with System Manager automation which can run a script on the instance (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-remediating.html).

If you want to go the Python route, you'll need a solid background in Developing on AWS. We offer an AWS Ramp-Up Guide for Developers here: https://d1.awsstatic.com/training-and-certification/ramp-up_guides/Ramp-Up_Guide_Developer.pdf. All of our AWS Ramp-Up Guides are here: https://aws.amazon.com/training/ramp-up-guides/

AWS
답변함 일 년 전
0
profile pictureAWS
전문가
kentrad
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠