---
title: "Discussion on \"Clean up unused AWS security groups in a specific region with Python\" | Hashnode"
description: "Discussion on \"Clean up unused AWS security groups in a specific region with Python\". Learn how to use a Python Boto3 script to find and delete unused AWS security groups within a single region, improving account hygiene and security."
url: "https://hashnode.com/posts/amazon-vpc-delete-unused-security-groups/695439f399cf34acf48a89de"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Clean up unused AWS security groups in a specific region with Python](https://towardsthecloud.hashnode.dev/amazon-vpc-delete-unused-security-groups?utm_source=hashnode&utm_medium=feed)

Learn how to use a Python Boto3 script to find and delete unused AWS security groups within a single region, improving account hygiene and security.

Mar 10, 2023 · 6 min read · towardsthecloud.hashnode.dev  
Updated Apr 2  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#cloud-security](https://hashnode.com/tag/cloud-security)
-   [#devops](https://hashnode.com/tag/devops)
-   [#python](https://hashnode.com/tag/python)
-   [#security-group](https://hashnode.com/tag/security-group)
-   [#vpc](https://hashnode.com/tag/vpc)

## Written by

[Danny Steenman](https://hashnode.com/@dannysteenman)

@dannysteenman · Amsterdam, Netherlands

  
[View profile](https://hashnode.com/@dannysteenman)

Principal Cloud Consultant

Hi, 👋 my name is Danny. I’m an AWS Cloud Consultant who likes to build things in the Cloud. I write blog posts about a variety of topics like AWS, DevOps, and Certifications. The goal is to keep things practical and easy to understand.

## Responses

Comments are turned off for this post.
