Sign in

Delete Unused AWS NAT Gateways

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This runbook identifies and removes inactive NAT gateways to optimize AWS costs. By eliminating unused resources, it streamlines infrastructure management and reduces unnecessary charges.

  1. 1

    List All AWS NAT Gateways

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    This task involves using the boto3 to programmatically iterate over all AWS regions, retrieve, and list details of all Network Address Translation (NAT) gateways present in an AWS account.

    1
  2. 2

    Filter Out Unused AWS NAT Gateways

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    This task identifies AWS NAT gateways that have not transferred any data in the past week or threshold, deeming them as "unused", and filters them out for potential optimization or deletion.

    2
    1. 2.1

      Delete AWS NAT Gateways

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      This task removes specified NAT gateways in an AWS environment. This cleanup optimizes network infrastructure, enhances security, and reduces costs by eliminating unused resources.

      2.1