Lambda – For stopping EC2 instances, RDS instances and ASG downscale in all regions
This Python script gets a list of all regions, finds EC2 instances, RDS instances and ASG in them, and if there is no "prevent_stop" tag equal to "true" on the resource, then it stops this resource, and in the case of ASG it scaledown it to 0. main.py: List of required permissions to run … Continue reading "Lambda – For stopping EC2 instances, RDS instances and ASG downscale in all regions"