Skip to content
aj-geddes avatar

Network Security Groups

Cloud security group and firewall rule guide for least-privilege traffic control and network segmentation.

CCM score
38 of 100
skills.sh installs
449
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers inbound and outbound traffic control with network segmentation, zero-trust, DDoS mitigation, and database access restriction
  • Includes a quick-start AWS security group CloudFormation template and reference guides for AWS, Kubernetes network policies, and GCP firewall rules
  • Provides a security group management script reference for auditing and managing rule sets
  • Designed for teams configuring multi-tier application security and VPN access control across cloud environments

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill network-security-groups -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Network Security Groups

Table of Contents

Overview

Implement network security groups and firewall rules to enforce least privilege access, segment networks, and protect infrastructure from unauthorized access.

When to Use

  • Inbound traffic control
  • Outbound traffic filtering
  • Network segmentation
  • Zero-trust networking
  • DDoS mitigation
  • Database access restriction
  • VPN access control
  • Multi-tier application security

Quick Start

Minimal working example:

# aws-security-groups.yaml
Resources:
  # VPC Security Group
  VPCSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupDescription: VPC security group
      VpcId: vpc-12345678
      SecurityGroupIngress:
        # Allow HTTP from anywhere
        - IpProtocol: tcp
          FromPort: 80
          ToPort: 80
          CidrIp: 0.0.0.0/0
          Description: "HTTP from anywhere"

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & Cloud, Security
First seen
Jun 3, 2026

Questions

What does the network-security-groups skill do?

network-security-groups configures network security groups and firewall rules to control inbound and outbound traffic. It also implements network segmentation, enforcing least privilege access to protect infrastructure from unauthorized access.

How do I install the network-security-groups skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill network-security-groups -y in your project. Once installed, network-security-groups lets your agent write security group rules for AWS, Kubernetes network policies and GCP firewall rules.

Where does network-security-groups stand in the DevOps & Cloud category?

network-security-groups is listed under DevOps & Cloud on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Unlike those Azure-focused skills, network-security-groups covers AWS security groups, Kubernetes network policies and GCP firewall rules.

Which reference guides does network-security-groups include?

network-security-groups ships reference guides for AWS Security Groups, Kubernetes Network Policies, GCP Firewall Rules and a Security Group Management Script. Its best practices cover least privilege, separating inbound and outbound rules, and never allowing 0.0.0.0/0 for databases.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Network Security Groups

More DevOps & Cloud