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 Risposte
1
Risposta accettata

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
con risposta un anno fa
0
profile pictureAWS
ESPERTO
kentrad
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande