소스 정보
- 저장소
- 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-cost-optimization명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | aws-cost-optimization |
| description | Optimize AWS costs through resource rightsizing and savings strategies |
| sasmp_version | 1.3.0 |
| bonded_agent | 01-aws-fundamentals |
| bond_type | SECONDARY_BOND |
Reduce AWS spending while maintaining performance and reliability.
| Attribute | Value |
|---|---|
| AWS Services | Cost Explorer, Budgets, Trusted Advisor |
| Complexity | Medium |
| Est. Time | 30-60 min analysis |
| Prerequisites | Cost & Usage Reports access |
| Parameter | Type | Description | Validation |
|---|---|---|---|
| time_period | string | Analysis period | last_30_days, last_90_days |
| scope | array | Service types | ["EC2", "RDS", "S3"] |
| Parameter | Type | Default | Description |
|---|---|---|---|
| savings_target | float | 20 | Target savings % |
| include_recommendations | bool | true | Include AWS recommendations |
| tag_filter | object | {} | Filter by tags |
┌─────────────────────────────────────────────────────────┐
│ COST OPTIMIZATION │
├─────────────────────────────────────────────────────────┤
│ 1. RIGHT SIZE │ Match resources to actual usage │
│ 2. SAVINGS PLANS │ Commit for 30-72% savings │
│ 3. SPOT/RESERVED │ Use discount pricing models │
│ 4. STORAGE TIER │ Move data to cheaper storage │
│ 5. CLEANUP │ Remove unused resources │
└─────────────────────────────────────────────────────────┘
| Strategy | Effort | Savings |
|---|---|---|
| Right-sizing | Low | 10-50% |
| Graviton (arm64) | Medium | 40% |
| Spot Instances | Medium | 60-90% |
| Savings Plans | Low | 30-72% |
| Reserved Instances | Low | 30-60% |
| Scheduled scaling | Medium | 20-40% |
| Strategy | Effort | Savings |
|---|---|---|
| Right-sizing | Low | 10-40% |
| Reserved Instances | Low | 30-60% |
| Aurora Serverless | Medium | Variable |
| Multi-AZ review | Low | 50% (if not needed) |
| Storage optimization | Low | 10-30% |
| Strategy | Effort | Savings |
|---|---|---|
| Intelligent-Tiering | Low | 20-40% |
| Lifecycle policies | Low | 40-80% |
| Glacier transition | Low | 80-95% |
| Cleanup old versions | Low | 10-30% |
| Compression | Medium | 20-50% |
# Get cost by service
aws ce get-cost-and-usage \
--time-period Start=2024-01-01,End=2024-01-31 \
--granularity MONTHLY \
--metrics BlendedCost \
--group-by Type=DIMENSION,Key=SERVICE
# Get rightsizing recommendations
aws ce get-rightsizing-recommendation \
--service EC2 \
--configuration '{
"RecommendationTarget": "SAME_INSTANCE_FAMILY",
"BenefitsConsidered": true
}'
aws budgets create-budget \
--account-id 123456789012 \
--budget '{
"BudgetName": "Monthly-Total",
"BudgetLimit": {"Amount": "1000", "Unit": "USD"},
"TimeUnit": "MONTHLY",
"BudgetType": "COST"
}' \
--notifications-with-subscribers '[{
"Notification": {
"NotificationType": "ACTUAL",
"ComparisonOperator": "GREATER_THAN",
"Threshold": 80,
"ThresholdType": "PERCENTAGE"
},
"Subscribers": [{
"SubscriptionType": "EMAIL",
"Address": "alerts@company.com"
}]
}]'
# Get Savings Plans recommendations
aws ce get-savings-plans-purchase-recommendation \
--savings-plans-type COMPUTE_SP \
--term-in-years ONE_YEAR \
--payment-option NO_UPFRONT \
--lookback-period-in-days SIXTY_DAYS
| Symptom | Cause | Solution |
|---|---|---|
| Unexpected costs | Unused resources | Enable Cost Anomaly Detection |
| Data transfer spike | Cross-region/AZ | Use VPC endpoints |
| Storage growth | No lifecycle rules | Implement policies |
| NAT Gateway costs | Heavy outbound | Use VPC endpoints |
aws ce create-anomaly-monitor \
--anomaly-monitor '{
"MonitorName": "cost-anomalies",
"MonitorType": "DIMENSIONAL",
"MonitorDimension": "SERVICE"
}'
aws ce create-anomaly-subscription \
--anomaly-subscription '{
"SubscriptionName": "alert-subscription",
"MonitorArnList": ["arn:aws:ce::...:anomalymonitor/..."],
"Subscribers": [{
"Type": "EMAIL",
"Address": "alerts@company.com"
}],
"Threshold": 100
}'
weekly:
- Check Cost Anomaly alerts
- Review Trusted Advisor recommendations
monthly:
- Run rightsizing analysis
- Review Savings Plans utilization
- Check Reserved Instance coverage
- Analyze data transfer costs
- Clean up unused resources
quarterly:
- Evaluate Savings Plans purchase
- Architecture optimization review
- Tag compliance audit
def test_cost_optimization_compliance():
# Check for unattached EBS volumes
volumes = ec2.describe_volumes(
Filters=[{'Name': 'status', 'Values': ['available']}]
)
assert len(volumes['Volumes']) == 0, "Unattached EBS volumes found"
# Check for unused Elastic IPs
addresses = ec2.describe_addresses()
unattached = [a for a in addresses['Addresses'] if 'InstanceId' not in a]
assert len(unattached) == 0, "Unused Elastic IPs found"
assets/cost-checklist.yaml - Cost optimization checklistSOC 직업 분류 기준