aws-cost-cleanup
Clean Up Unused AWS Resources
Automate identification and removal of unused AWS resources to eliminate waste and reduce monthly cloud bills.
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "aws-cost-cleanup". Find all unused resources and calculate potential savings
Resultado esperado:
Unattached EBS Volumes: 5
- vol-0abc123 (100 GB) - $10.00/month
- vol-0def456 (50 GB) - $5.00/month
- vol-0ghi789 (200 GB) - $20.00/month
Unused Elastic IPs: 3 - $10.95/month
Old Snapshots: 12 - $15.00/month
Total Monthly Savings: $70.95
Annual Savings: $851.40
Usando "aws-cost-cleanup". Create a cleanup script for unattached EBS volumes
Resultado esperado:
#!/bin/bash
# cleanup-unused-ebs.sh - Dry-run mode
echo "Finding unattached EBS volumes..."
VOLUMES=$(aws ec2 describe-volumes \
--filters Name=status,Values=available \
--query 'Volumes[*].VolumeId' \
--output text)
for vol in $VOLUMES; do
echo "Would delete: $vol"
done
echo "Review and remove 'Would delete' lines to enable actual deletion"
Usando "aws-cost-cleanup". Set up automated weekly cleanup
Resultado esperado:
Lambda function created: weekly-ebs-cleanup
- Runtime: Python 3.9
- Trigger: CloudWatch Events (every Sunday 2 AM)
- Retention: Deletes volumes older than 7 days
- Dry-run: Enabled by default
- SNS notification: Enabled for deletion alerts
Auditoría de seguridad
SeguroAll static findings are false positives. The skill uses legitimate AWS CLI commands for cost optimization. Network calls are to official AWS documentation URLs only. AWS service names flagged as C2 keywords are standard terminology. This is a valid DevOps tool for AWS cost cleanup.
Factores de riesgo
⚙️ Comandos externos (26)
🌐 Acceso a red (3)
Patrones detectados
Puntuación de calidad
Lo que puedes crear
DevOps Engineer Cost Optimization
Automate weekly cleanup of unused resources across multiple AWS accounts to reduce monthly cloud spending.
Cloud FinOps Teams
Generate reports on unused resources and potential savings to inform budget decisions and cost allocation.
Startup Cloud Management
Quickly identify and remove test and dev resources that are no longer needed to keep cloud bills manageable.
Prueba estos prompts
Use aws-cost-cleanup to find all unattached EBS volumes, unused Elastic IPs, and old snapshots in my AWS account. Generate a report showing potential monthly savings.
Use aws-cost-cleanup to create a bash script that identifies unattached EBS volumes older than 30 days and calculates the total size and cost impact.
Use aws-cost-cleanup to create a Lambda function that runs weekly to identify and delete unattached EBS volumes older than 7 days. Include dry-run mode.
Use aws-cost-cleanup to calculate the monthly and annual cost savings if we clean up all unattached EBS volumes, unused Elastic IPs, and snapshots older than 90 days.
Mejores prácticas
- Always run cleanup scripts in dry-run mode first to review what will be deleted
- Use resource tags to identify owners before deletion and notify stakeholders
- Create final snapshots of critical data before deletion as a safety net
Evitar
- Deleting resources without reviewing the cleanup list first
- Ignoring resource dependencies - check for attached ENIs before deleting volumes
- Skipping the safety checklist - always verify resources are truly unused