database-cloud-optimization-cost-optimize

Analyze cloud spending and implement cost optimization across AWS, Azure, and GCP infrastructure.

Updated May 8, 2026
One-click install
npx skills add https://github.com/kiprotichgidii/agent-skills --skill database-cloud-optimization-cost-optimize-kiprotichgidii
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: database-cloud-optimization-cost-optimize
Source: https://github.com/kiprotichgidii/agent-skills/tree/main/skills/database-cloud-optimization-cost-optimize
Command: npx skills add https://github.com/kiprotichgidii/agent-skills --skill database-cloud-optimization-cost-optimize-kiprotichgidii

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Cloud infrastructure bills grow through idle resources, oversized instances, and missed discount opportunities, and teams lack a structured way to find and fix this waste without hurting performance or reliability. ## Core Features & Use Cases - Cost Analysis and Waste Detection: Break down spending by service and resource, detect anomalies, and identify unused instances, unattached storage, and old snapshots with estimated savings. - Rightsizing and Commitment Optimization: Recommend instance rightsizing, Reserved Instances, Savings Plans, and spot instance strategies based on utilization patterns. - Storage and Network Optimization: Apply S3 lifecycle policies, EBS volume tuning, and data transfer cost reduction with rollback-safe implementation plans. - Use Case: A platform team facing a rising AWS bill uses this Skill to analyze 30 days of Cost Explorer data, find EC2 instances under 5% CPU, and generate a rightsizing plan with monthly savings estimates and rollback snapshots. ## Quick Start Analyze my AWS cloud costs for the last 30 days, identify wasted resources and rightsizing opportunities, and propose a savings plan with risk assessment.

Frequently Asked Questions about database-cloud-optimization-cost-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce AWS cloud costs without hurting performance?▼

Start by analyzing costs by service and resource over a time window, then identify waste such as idle EC2 instances, unattached storage, and old snapshots. Apply rightsizing recommendations based on CPU and memory utilization, and validate changes in staging with rollback snapshots before production rollout.

How to find unused or idle EC2 instances with boto3?▼

Use boto3 with CloudWatch to pull CPUUtilization metrics for running instances over the past 7 days. Instances averaging under 5% CPU are flagged as unused, with estimated savings calculated from their instance type cost.

Reserved Instances vs Savings Plans: which should I choose?▼

Reserved Instances suit stable workloads with low usage variation, offering the deepest discounts on 3-year all-upfront terms. Savings Plans fit variable workloads by committing to a baseline hourly spend while retaining flexibility across instance families.

Does this cost optimization approach work on Azure and GCP?▼

Yes, the Skill covers AWS, Azure, and GCP, though the provided implementation playbook contains concrete code samples primarily for AWS services like EC2, S3, EBS, and Cost Explorer. The same analysis patterns apply conceptually to other providers.

When should I not run cloud cost optimization changes?▼

Avoid optimization during active incident response or when you lack access to billing and resource data. Always validate changes in staging first and ensure backups and rollback paths exist before resizing or deleting resources.