소스 정보
- 저장소
- pluginagentmarketplace/custom-plugin-aws
- 최근 소스 활동
- 2025년 12월 30일 12:43
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-aws --skill aws-vpc-design명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | aws-vpc-design |
| description | Design and implement production-grade VPC architectures |
| sasmp_version | 1.3.0 |
| bonded_agent | 04-aws-networking |
| bond_type | PRIMARY_BOND |
Create secure, scalable VPC architectures with proper segmentation.
| Attribute | Value |
|---|---|
| AWS Service | VPC |
| Complexity | Medium-High |
| Est. Time | 15-30 min |
| Prerequisites | CIDR planning |
| Parameter | Type | Description | Validation |
|---|---|---|---|
| vpc_cidr | string | VPC CIDR block | Valid CIDR /16-/28 |
| availability_zones | int | Number of AZs | 1-6 |
| region | string | AWS region | Valid region |
| Parameter | Type | Default | Description |
|---|---|---|---|
| enable_nat | bool | true | NAT Gateway for private subnets |
| enable_vpn | bool | false | VPN Gateway |
| enable_flow_logs | bool | true | VPC Flow Logs |
| subnet_strategy | string | tiered | tiered, flat, or custom |
VPC: 10.0.0.0/16
│
├── Public Subnets (Internet-facing)
│ ├── 10.0.1.0/24 (AZ-a) - ALB, NAT Gateway
│ ├── 10.0.2.0/24 (AZ-b) - ALB, NAT Gateway
│ └── 10.0.3.0/24 (AZ-c) - ALB, NAT Gateway
│
├── Private Subnets (Application tier)
│ ├── 10.0.11.0/24 (AZ-a) - EC2, ECS, Lambda
│ ├── 10.0.12.0/24 (AZ-b) - EC2, ECS, Lambda
│ └── 10.0.13.0/24 (AZ-c) - EC2, ECS, Lambda
│
└── Database Subnets (Data tier)
├── 10.0.21.0/24 (AZ-a) - RDS, ElastiCache
├── 10.0.22.0/24 (AZ-b) - RDS, ElastiCache
└── 10.0.23.0/24 (AZ-c) - RDS, ElastiCache
# Create VPC
VPC_ID=$(aws ec2 create-vpc \
--cidr-block 10.0.0.0/16 \
--tag-specifications 'ResourceType=vpc,Tags=[{Key=Name,Value=prod-vpc}]' \
--query 'Vpc.VpcId' --output text)
# Enable DNS
aws ec2 modify-vpc-attribute --vpc-id $VPC_ID --enable-dns-hostnames
aws ec2 modify-vpc-attribute --vpc-id $VPC_ID --enable-dns-support
# Public subnet
aws ec2 create-subnet \
--vpc-id $VPC_ID \
--cidr-block 10.0.1.0/24 \
--availability-zone us-east-1a \
--tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=public-1a}]'
# Private subnet
aws ec2 create-subnet \
--vpc-id $VPC_ID \
--cidr-block 10.0.11.0/24 \
--availability-zone us-east-1a \
--tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=private-1a}]'
# Internet Gateway
IGW_ID=$(aws ec2 create-internet-gateway --query 'InternetGateway.InternetGatewayId' --output text)
aws ec2 attach-internet-gateway --internet-gateway-id $IGW_ID --vpc-id $VPC_ID
# NAT Gateway (in public subnet)
EIP_ID=$(aws ec2 allocate-address --domain vpc --query 'AllocationId' --output text)
NAT_ID=$(aws ec2 create-nat-gateway \
--subnet-id $PUBLIC_SUBNET_ID \
--allocation-id $EIP_ID \
--query 'NatGateway.NatGatewayId' --output text)
# Route to Internet Gateway
aws ec2 create-route \
--route-table-id $PUBLIC_RT_ID \
--destination-cidr-block 0.0.0.0/0 \
--gateway-id $IGW_ID
# Route to NAT Gateway
aws ec2 create-route \
--route-table-id $PRIVATE_RT_ID \
--destination-cidr-block 0.0.0.0/0 \
--nat-gateway-id $NAT_ID
| Symptom | Cause | Solution |
|---|---|---|
| No internet (public) | Missing IGW route | Add 0.0.0.0/0 → IGW |
| No internet (private) | Missing NAT route | Add 0.0.0.0/0 → NAT |
| Cross-VPC failure | Peering route missing | Add peer CIDR route |
| DNS not resolving | DNS disabled | Enable DNS hostnames |
# From EC2 in private subnet
curl -I https://aws.amazon.com # Tests NAT/internet
nslookup amazonaws.com # Tests DNS
telnet rds-endpoint 3306 # Tests internal
def test_vpc_creation():
# Arrange
cidr = "10.99.0.0/16"
# Act
vpc = ec2.create_vpc(CidrBlock=cidr)
vpc_id = vpc['Vpc']['VpcId']
# Assert
assert vpc['Vpc']['CidrBlock'] == cidr
assert vpc['Vpc']['State'] == 'available'
# Cleanup
ec2.delete_vpc(VpcId=vpc_id)
assets/vpc-diagram.yaml - VPC architecture diagram