Cloud Cost Optimization
Software development skill, available on Zeplik
Cloud Cost Optimization is a ready-to-run software development skill on Zeplik. Not for product pricing/margins (use startup-financial-modeling). Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
The Cloud Cost Optimization skill loads automatically when your request matches it, or you can invoke it directly by typing /cost-optimization in any chat. It works with attachments, connectors, and any model that supports the task, so you get the same expert method every time without setting anything up.
What the Cloud Cost Optimization skill can do
- Analyze cost breakdowns to build a prioritized savings plan
- Recommend rightsizing based on utilization across AWS, Azure, GCP, and OCI
- Generate ready-to-apply Terraform for lifecycle policies, tags, and budgets
- Identify reserved capacity, savings plans, and spot instance opportunities
Try these prompts on Zeplik
Pick a prompt to open it in the Zeplik app. If you are not signed in yet, your prompt is waiting for you the moment you do.
How the Cloud Cost Optimization skill works
/cost-optimization
Systematically reduce cloud infrastructure spending across AWS, Azure, GCP, and OCI while maintaining performance and reliability. This is about the cloud bill, not product pricing: the user pastes a bill breakdown, Cost Explorer export, Terraform, or a description of their infrastructure; deliver a prioritized savings plan, rightsizing recommendations, and ready-to-apply config snippets as chat artifacts.
When to Use
- Reduce cloud spending
- Right-size resources
- Implement cost governance
- Optimize multi-cloud costs
- Meet budget constraints
Cost Optimization Framework
- Visibility: cost allocation tags, cost management tools, budget alerts, cost dashboards.
- Right-Sizing: analyze utilization, downsize over-provisioned resources, auto-scaling, remove idle resources.
- Pricing Models: reserved capacity, spot/preemptible instances, savings plans, committed use discounts.
- Architecture Optimization: managed services, caching, data transfer optimization, lifecycle policies.
AWS Cost Optimization
Reserved Instances
Savings: 30-72% vs On-Demand
Term: 1 or 3 years
Payment: All/Partial/No upfront
Flexibility: Standard or Convertible
Savings Plans
Compute Savings Plans: up to 66% savings
EC2 Instance Savings Plans: up to 72% savings
Applies to: EC2, Fargate, Lambda
Flexible across: Instance families, regions, OS
Spot Instances
Savings: Up to 90% vs On-Demand
Best for: Batch jobs, CI/CD, stateless workloads
Risk: 2-minute interruption notice
Strategy: Mix with On-Demand for resilience
S3 Cost Optimization
resource "aws_s3_bucket_lifecycle_configuration" "example" {
bucket = aws_s3_bucket.example.id
rule {
id = "transition-to-ia"
status = "Enabled"
transition {
days = 30
storage_class = "STANDARD_IA"
}
transition {
days = 90
storage_class = "GLACIER"
}
expiration {
days = 365
}
}
}
Azure Cost Optimization
- Reserved VM Instances: 1 or 3 year terms, up to 72% savings, flexible sizing, exchangeable.
- Azure Hybrid Benefit: reuse Windows Server and SQL Server licenses, up to 80% savings combined with RI.
- Azure Advisor: right-size VMs, delete unused resources, reserved capacity and storage recommendations.
GCP Cost Optimization
- Committed Use Discounts: 1 or 3 year commitment, up to 57% savings, resource-based or spend-based.
- Sustained Use Discounts: automatic, up to 30% for long-running instances, no commitment.
- Preemptible VMs: up to 80% savings, 24-hour max runtime, best for batch workloads.
OCI Cost Optimization
- Flexible Shapes: scale OCPUs and memory independently, match sizing to workload demand.
- Commitments and Budgets: annual commitments for predictable spend, compartment-level budgets with alerts, OCI Cost Analysis forecasts.
- Preemptible Capacity: batch and ephemeral workloads, interruption-tolerant autoscaling groups, mix with standard capacity for critical services.
Tagging Strategy
locals {
common_tags = {
Environment = "production"
Project = "my-project"
CostCenter = "engineering"
Owner = "[email protected]"
ManagedBy = "terraform"
}
}
resource "aws_instance" "example" {
ami = "ami-12345678"
instance_type = "t3.medium"
tags = merge(
local.common_tags,
{
Name = "web-server"
}
)
}
See references/tagging-standards.md for the tagging standard.
Cost Monitoring
# AWS Budget
resource "aws_budgets_budget" "monthly" {
name = "monthly-budget"
budget_type = "COST"
limit_amount = "1000"
limit_unit = "USD"
time_period_start = "2024-01-01_00:00"
time_unit = "MONTHLY"
notification {
comparison_operator = "GREATER_THAN"
threshold = 80
threshold_type = "PERCENTAGE"
notification_type = "ACTUAL"
subscriber_email_addresses = ["[email protected]"]
}
}
Anomaly detection: AWS Cost Anomaly Detection, Azure Cost Management alerts, GCP Budget alerts, OCI Budgets and Cost Analysis.
Architecture Patterns
- Serverless First: Lambda/Functions for event-driven work; pay only for execution, no idle costs.
- Right-Sized Databases: small instances in dev/staging, sized-with-replicas in production only.
- Multi-Tier Storage: hot in Standard, warm in Standard-IA (30 days), cold in Glacier (90 days), archive in Deep Archive (365 days).
- Auto-Scaling: scale on utilization alarms instead of provisioning for peak.
Cost Optimization Checklist
- Implement cost allocation tags
- Delete unused resources (EBS volumes, EIPs, snapshots)
- Right-size instances based on utilization
- Use reserved capacity for steady workloads
- Implement auto-scaling
- Optimize storage classes and lifecycle policies
- Enable cost anomaly detection and budget alerts
- Use spot/preemptible instances for interruption-tolerant work
- Optimize data transfer costs
- Review costs weekly
Tools
- AWS: Cost Explorer, Cost Anomaly Detection, Compute Optimizer
- Azure: Cost Management, Advisor
- GCP: Cost Management, Recommender
- OCI: Cost Analysis, Budgets, Cloud Advisor
- Multi-cloud: CloudHealth, Cloudability, Kubecost
Usage
/cost-optimization $ARGUMENTS
How to use the Cloud Cost Optimization skill
Sign in to Zeplik
Create a free Zeplik account or sign in. New accounts start with free credits, so you can try the Cloud Cost Optimization skill right away.
Describe your software development task
Ask in plain language, or type /cost-optimization to invoke the skill directly. Zeplik recognizes the Cloud Cost Optimization skill and applies its method.
Review and refine the result
Zeplik returns a clear, structured answer. Ask follow-ups in the same chat to refine it or take the next step.
Source and credit
- Author
- wshobson
- License
- MIT
Adapted from the open-source wshobson/agents project and tuned to run natively on Zeplik. View source on GitHub.
Frequently asked questions
- What is the Cloud Cost Optimization skill?
- Cloud Cost Optimization is a ready-to-run software development skill on Zeplik. Not for product pricing/margins (use startup-financial-modeling). Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
- How do I use Cloud Cost Optimization on Zeplik?
- Sign in to Zeplik and ask in plain language, or type /cost-optimization in any chat to invoke it directly. The skill applies its method and returns a result you can refine in the same conversation.
- Which AI model does the Cloud Cost Optimization skill use?
- Any model you choose. Zeplik works across every model in one chat, so the Cloud Cost Optimization skill runs on your preferred model for the task.
- Where does the Cloud Cost Optimization skill come from?
- The Cloud Cost Optimization skill is adapted from the open-source wshobson/agents project (MIT) and tuned to run natively on Zeplik. The original source is linked on this page.
- How much does the Cloud Cost Optimization skill cost?
- Using the skill is free to start. You only spend Zeplik credits when the assistant runs, and new accounts begin with free credits.
Related software development skills
- .NET BackendBuild ASP.NET Core 8+ backends with EF Core: auth, background jobs, production API patterns
- Advanced Git WorkflowsUse for advanced Git surgery: interactive rebase, cherry-pick, bisect, reflog recovery, and history cleanup before merging. Not for parallel worktree workflows (use using-git-worktrees).
- Adversarial Code ReviewHunt for bugs in code the user shares by assuming defects exist and attacking the code through several distinct lenses, then report severity-ranked findings with evidence. Use for "review this", "what could go wrong", "bug hunt", or pre-merge scrutiny of a change. Read-only, it reports problems and does not rewrite the code. Not for style cleanup (use simplify-code) or for writing new code.
- AI Agent FrameworksUse when building multi-agent systems or agent orchestration -- LangChain/LangGraph, agent team design, task coordination, pipelines. Not for authoring a Zeplik skill (use skill-creator).
- Algolia SearchAdd Algolia search: indexing strategies, React InstantSearch, relevance tuning, search-as-you-type
- Android CI/CDAutomate Android CI/CD to Google Play: keystore, GitHub Secrets, multi-stage release workflow for RN, Flutter, native
More on Zeplik
Try Cloud Cost Optimization on Zeplik
Every model, one chat. Bring the Cloud Cost Optimization skill into your next conversation and let the assistant do the work.