Cloud Cost Management

Cloud Cost Management

Guides an AI coding agent to manage cloud costs across AWS, Azure and GCP with reserved and spot capacity, rightsizing, cost allocation, budgets and alerts.

Skill files8 files

references/

scripts/

templates/

SKILL.md100 lines
1
---
2
name: cloud-cost-management
3
description: >
4
Optimize and manage cloud costs across AWS, Azure, and GCP using reserved
5
instances, spot pricing, and cost monitoring tools.
6
---
7
8
# Cloud Cost Management
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Cloud cost management involves monitoring, analyzing, and optimizing cloud spending. Implement strategies using reserved instances, spot pricing, proper sizing, and cost allocation to maximize ROI and prevent budget overruns.
21
22
## When to Use
23
24
- Reducing cloud infrastructure costs
25
- Optimizing compute spending
26
- Managing database costs
27
- Storage optimization
28
- Data transfer cost reduction
29
- Reserved capacity planning
30
- Chargeback and cost allocation
31
- Budget forecasting and alerts
32
33
## Quick Start
34
35
Minimal working example:
36
37
```bash
38
# Enable Cost Explorer
39
aws ce get-cost-and-usage \
40
--time-period Start=2024-01-01,End=2024-01-31 \
41
--granularity MONTHLY \
42
--metrics "UnblendedCost" \
43
--group-by Type=DIMENSION,Key=SERVICE
44
45
# List EC2 instances for right-sizing
46
aws ec2 describe-instances \
47
--query 'Reservations[*].Instances[*].[InstanceId,InstanceType,State.Name,LaunchTime,Tag]' \
48
--output table
49
50
# Find unattached EBS volumes
51
aws ec2 describe-volumes \
52
--filters Name=status,Values=available \
53
--query 'Volumes[*].[VolumeId,Size,State,CreateTime]'
54
55
# Identify unattached Elastic IPs
56
aws ec2 describe-addresses \
57
--query 'Addresses[?AssociationId==null]'
58
59
# Get RDS instance costs
60
aws rds describe-db-instances \
61
--query 'DBInstances[*].[DBInstanceIdentifier,DBInstanceClass,StorageType,AllocatedStorage]'
62
63
// ... (see reference guides for full implementation)
64
```
65
66
## Reference Guides
67
68
Detailed implementations in the `references/` directory:
69
70
| Guide | Contents |
71
|---|---|
72
| [AWS Cost Optimization with AWS CLI](references/aws-cost-optimization-with-aws-cli.md) | AWS Cost Optimization with AWS CLI |
73
| [Terraform Cost Management Configuration](references/terraform-cost-management-configuration.md) | Terraform Cost Management Configuration |
74
| [Azure Cost Management](references/azure-cost-management.md) | Azure Cost Management |
75
| [GCP Cost Optimization](references/gcp-cost-optimization.md) | GCP Cost Optimization |
76
| [Cost Monitoring Dashboard](references/cost-monitoring-dashboard.md) | Cost Monitoring Dashboard |
77
78
## Best Practices
79
80
### ✅ DO
81
82
- Use Reserved Instances for stable workloads
83
- Implement Savings Plans for flexibility
84
- Right-size instances based on metrics
85
- Use Spot Instances for fault-tolerant workloads
86
- Delete unused resources regularly
87
- Enable detailed billing and cost allocation
88
- Monitor costs with CloudWatch/Cost Explorer
89
- Set budget alerts
90
- Review monthly cost reports
91
92
### ❌ DON'T
93
94
- Leave unused resources running
95
- Ignore cost optimization recommendations
96
- Use on-demand for predictable workloads
97
- Skip tagging resources
98
- Ignore data transfer costs
99
- Forget about storage lifecycle policies
100

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,414 prompts

More by @OpenSourceBuffGuy

See all
Late nineties VHS camcorder portrait in night car prompt image

Late nineties VHS camcorder portrait in night car

Creates a late-1990s VHS camcorder portrait of a young woman in a night car, stacking tape artifacts, a burned-in REC overlay and a warm neon colour grade, with a negative list.

image-prompt, gpt-image, reference-image, face-reference, negative-prompt, film-photography, vintage, night-scene, neon, portrait, woman, candid, vertical-format, moody, glitch-art, film-grain, motion-blur, cityscape, cars, romantic, home-video, bokeh, muted-colors, for-photographers, for-artists

Butterfly on Wheat at Golden Sunrise prompt image

Butterfly on Wheat at Golden Sunrise

Paints a classical oil painting of a butterfly resting on a golden wheat stalk in misty backlit sunrise light with dewdrop bokeh.

image-prompt, oil-painting, painting, classical-art, animals, flowers, landscape, golden-hour, bokeh, dramatic-lighting, soft-lighting, vertical-format, macro, dreamy, impressionism, fine-art, vibrant-colors, spring, for-artists, gpt-image, wallpaper, quick

Chibi character 16 frame dance reference sheet prompt image

Chibi character 16 frame dance reference sheet

Creates a square 4x4 sheet of sixteen consecutive dance keyframes of an uploaded character, following numbered choreography steps with identity locked and secondary motion on hair and cloth.

image-prompt, character-sheet, multi-panel, dance, chibi, reference-image, character-consistency, character-design, full-body, white-background, illustration, structured-output, square-format, negative-prompt, gpt-image, for-artists, for-designers, game-assets, long-form, advanced

Reviews

Loading reviews…

Discussion

Loading comments…