Skip to main content

Cost Optimization

Analyze and optimize cloud infrastructure costs with rightsizing, reserved instances, spot instances, and resource cleanup.

Complexity: Moderate | Duration: 15-30m | Category: Devops

Tags: infrastructure cost-optimization cloud finops

Workflow Diagram

Steps

Step 1: Cost analysis

Agent: cloud

architect - Analyze current spending by service, environment

Step 2: Rightsizing

Agent: cloud

architect - Identify over-provisioned instances

Step 3: Reserved instances

Agent: cloud

architect - Purchase RIs for predictable workloads (1-3 year)

Step 4: Spot instances

Agent: devops

engineer - Use spot instances for batch, non-critical workloads

Step 5: Storage optimization

Agent: cloud

architect - Move infrequently accessed data to cold storage

Step 6: Resource cleanup

Agent: devops

engineer - Delete unused instances, snapshots, load balancers

Step 7: Tagging

Agent: devops

engineer - Tag resources for cost allocation

Step 8: Budget alerts

Agent: devops

engineer - Set budget alerts in AWS/GCP

Usage

To execute this workflow:

/workflow devops/cost-optimization.workflow

See other workflows in this category for related automation patterns.