Skip to content
Back to skills

Networking

ASecurity

Guides cloud networking with three-tier VPC design, default-deny security group rules, and network cost optimization; use when designing VPC topology, configuring security groups, setting up NAT, or reviewing network architecture.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentsnodeawssecurity

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add sawrus/agent-guides --skill networking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Networking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Networking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sawrus-networking/badge)](https://www.skillsdirectory.com/skills/sawrus-networking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: networking
description: "Guides cloud networking with three-tier VPC design, default-deny security group rules, and network cost optimization; use when designing VPC topology, configuring security groups, setting up NAT, or reviewing network architecture."
---

# Skill: Cloud Networking

## When to load

When designing VPC topology, configuring security groups, setting up NAT, or reviewing network architecture.

## VPC Design (3-tier)

```
VPC (10.0.0.0/16)
├── Public subnets   (10.0.1.0/24, 10.0.2.0/24) ← ALB, NAT Gateway
├── Private subnets  (10.0.10.0/24, 10.0.11.0/24) ← App servers, K8s nodes
└── Isolated subnets (10.0.20.0/24, 10.0.21.0/24) ← RDS, ElastiCache
```

## Security Group Rules (Default-Deny)

```hcl
# App tier: only accepts traffic from ALB security group
resource "aws_security_group_rule" "app_from_alb" {
  type                     = "ingress"
  from_port                = 8080
  to_port                  = 8080
  protocol                 = "tcp"
  source_security_group_id = aws_security_group.alb.id
  security_group_id        = aws_security_group.app.id
}

# DB tier: only accepts traffic from app security group
resource "aws_security_group_rule" "db_from_app" {
  type                     = "ingress"
  from_port                = 5432
  to_port                  = 5432
  protocol                 = "tcp"
  source_security_group_id = aws_security_group.app.id
  security_group_id        = aws_security_group.db.id
}
```

## Cost Optimization

- Use VPC Endpoints for S3/DynamoDB to avoid NAT Gateway costs
- NAT Gateway: one per AZ in production (not one shared)
- Transit Gateway for multi-VPC connectivity (cheaper than VPC peering at scale)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.