Skip to content

Service Artem is running…

Day: November 30, 2020

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"

PagerDuty – Python script for creating events

This Python script creates events in PagerDuty using APIv2. The following script was taken as a basis. First you need to create a "Routing Key", aka "Integration Key", not to be confused with "API Access Key", which can be used for any API calls, we only need a key from a specific service. Go to … Continue reading "PagerDuty – Python script for creating events"
November 2020
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Sep   Dec »

Recent Posts

  • Palo Alto VM-Series Firewall: GlobalProtect
  • Palo Alto VM-Series Firewall: GlobalProtect – AWS SAML
  • Palo Alto VM-Series Firewall: GlobalProtect – OneLogin SAML
  • Palo Alto VM-Series Firewall: Let’s Encrypt certificate
  • Palo Alto VM-Series Firewall: AWS HA Multi AZ for GlobalProtect – Part 2

Recent Comments

  • Henry on Jenkins – Change default language
  • QLi on Jenkins – Active Choice: CheckBox – Working with an Array
  • Prashanth on Jenkins – Active Choice: CheckBox – Default values
  • that guy on Jenkins – Active Choice: CheckBox – Working with an Array
  • Диван on Nginx – Regular Expression Tester

Categories

  • Backup (2)
  • BASH (9)
  • Command Examples (1)
  • Config Examples (9)
  • Database (2)
  • DevOps (107)
    • Ansible (9)
    • AWS (34)
    • CI/CD (34)
    • Docker (13)
    • GCP (4)
    • Helm (1)
    • Kubernetes (13)
    • Terraform (7)
  • Fix Error (27)
  • Linux (11)
  • Monitoring (4)
  • Network (10)
  • Virtualization (3)
Service Artem is running… © 2025