xiaohongshu
xiaohongshu
Comprehensive guide to cloud pricing models, cost structures, and optimization strategies across major providers.
Full skill instructions
Cloud cost management (FinOps) is the practice of bringing financial accountability to the variable spend model of cloud computing. Understanding the underlying cost models of major providers is the foundation of building cost-efficient, scalable systems.
Core Principle: "Optimize for value, not just cost. Move from 'how much did we spend' to 'how much value did we get for our spend'."
Cloud providers typically use a consumption-based model with three primary levers:
| Model | Pricing Metric | Best For | Typical Provider Product |
|---|---|---|---|
| Virtual Machines | Unit/Hour or Unit/Second | Consistent, legacy, or long-running apps | EC2, GCE, Azure VM |
| Containers | Resource Requests (CPU/RAM) | Microservices, dynamic scaling | Fargate, Cloud Run, ACI |
| Serverless | Requests + Execution Duration | Event-driven, intermittent traffic | Lambda, Cloud Functions |
AWS uses a complex but granular pricing structure.
GCP emphasizes simplicity and "Sustained Use Discounts".
Many teams blow their budgets on items that aren't the primary compute instances:
{
"Rules": [
{
"ID": "MoveToIAAndGlacier",
"Prefix": "logs/",
"Status": "Enabled",
"Transitions": [
{ "Days": 30, "StorageClass": "STANDARD_IA" },
{ "Days": 90, "StorageClass": "GLACIER" }
],
"Expiration": { "Days": 365 }
}
]
}
If you can't measure it, you can't manage it.
Project: ProjectPhoenixEnv: Prod, Env: DevOwner: TeamAlphaCostCenter: CC-9901resource "aws_instance" "example" {
ami = "ami-12345678"
instance_type = "t3.medium"
tags = {
Name = "PhoenixAPI"
Environment = "Prod"
Owner = "TeamAlpha"
CostCenter = "12345"
}
}
The FinOps Foundation defines the lifecycle:
| Phase | Activities |
|---|---|
| Crawl | Spreadsheet reports, basic tags, monthly reviews. |
| Walk | Multi-cloud dashboards, automated alerts, RI purchases. |
| Run | Automated right-sizing, unit-cost tracking, AI-driven anomaly detection. |
Avoid the "Sticker Price" trap. TCO includes:
| Aspect | Self-Hosted (EC2) | Managed (RDS) |
|---|---|---|
| Instance Cost | $100/mo | $140/mo |
| Storage/Backup | $20/mo | $30/mo |
| Engineer Hours | 10 hrs ($1000) | 1 hr ($100) |
| Total Cost | $1120/mo | $270/mo |
| Winner | ✅ RDS |
CostCenter?logs/ buckets?42-cost-engineering/infra-sizing42-cost-engineering/budget-guardrails42-cost-engineering/cost-observabilityxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience