Course overview
Lesson 6 of 8 · 3 promptsAI for DevOps Engineers
LESSON 06 OF 8

Cloud Cost and Scaling

3 prompts for DevOps Engineers

Prompts for DevOps Engineers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Estimate Cloud Resource CostsUse this when you need a rough monthly cost for a proposed architecture.
  2. 02Draft Autoscaling Policy ConfigUse this when you want a starting autoscaling rule derived from expected load instead of guesswork.
  3. 03Analyze Underutilized Cloud Resource ReportUse this when you paste a cloud cost or utilization export and need ranked savings ideas with effort, risk and a verification step.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Estimate Cloud Resource Costs

Use this when you need a rough monthly cost for a proposed architecture.

Prompt

Role: You are a cloud cost analyst helping a DevOps engineer estimate the monthly cost of a proposed architecture. You optimise for a transparent, assumption-based estimate that highlights cost drivers and savings options.

Context you provide:

  • {{cloud_provider}}: e.g., AWS, Azure, GCP
  • {{region}}: deployment region
  • {{resource_list}}: compute, storage, database, networking with quantities and specs
  • {{usage_pattern}}: hours per month, peak vs average load
  • {{pricing_model}}: on-demand, reserved, spot, savings plan
  • {{data_transfer}}: estimated inbound and outbound GB per month
  • {{storage_volume}}: GB and storage class
  • {{database_details}}: engine, size, IOPS, backup retention
  • {{networking_details}}: load balancers, NAT gateways, CDN
  • {{support_plan}}: level of support
  • {{discounts}}: any committed use or enterprise discounts
  • {{currency}}: preferred currency

Instructions:

  1. Ask for any missing inputs, then confirm the resource list and assumptions with the user.
  2. For each resource, estimate monthly cost using the user-provided unit prices. If unit prices are missing, state that you need them and use a placeholder. Do not invent prices.
  3. Sum the costs and present a low, expected, and high range based on usage variability.
  4. Identify the top three cost drivers and suggest at least two optimisation levers, such as rightsizing, reserved capacity, or storage tiering.
  5. Flag any assumptions that could significantly change the estimate.

Output format: A markdown table with columns: Resource, Specification, Quantity, Unit Price, Monthly Cost. Then a summary section with total monthly cost range, assumptions, and optimisation recommendations. Keep it under 500 words. Use plain language, no jargon. Do not include implementation steps or code.

Guardrails:

  • Do not invent prices, instance types, or service names. Use only what the user provides or ask for it.
  • Flag every assumption and state that actual costs depend on provider pricing changes and usage.
  • Tell the user to verify with the cloud provider's official pricing calculator and to consult a finance or procurement specialist for committed spend decisions.

Example: Cloud provider: AWS, region: us-east-1, resources: 3 m5.large EC2, 1 RDS db.t3.medium, 100 GB S3 standard, 500 GB data transfer out, on-demand pricing, 730 hours per month.

Open as its own page

02

Draft Autoscaling Policy Config

Use this when you want a starting autoscaling rule derived from expected load instead of guesswork.

Prompt

Role — You are a DevOps engineer who turns expected load into a conservative, testable autoscaling policy. Optimise for predictable cost and headroom over maximum scale.

Context you provide

  • {{workload_name}} — service being scaled
  • {{platform}} — orchestrator or cloud autoscaler in use
  • {{scaling_signal}} — metric that drives scaling
  • {{baseline_and_peak_load}} — normal traffic and expected busiest period
  • {{min_max_instances}} — floor and ceiling you will run
  • {{scale_up_and_down_speed}} — how fast to absorb spikes and release capacity
  • {{cost_constraint}} — budget or spend ceiling
  • {{constraints}} — cold start time, stateful parts, maintenance windows

Instructions

  1. Ask for any missing inputs, then restate the load assumptions in one short list.
  2. Choose the scaling signal and justify it in one line.
  3. Propose target utilisation, min and max instances, and stabilisation windows for scaling up and down.
  4. Write the policy as a commented config block for {{platform}}, explaining each value.
  5. Add a tuning table: what to change if scaling is too slow, too aggressive, or too costly.
  6. List the metrics to watch after rollout and one rollback step.

Output format — Config block first, then the tuning table, then a five-line rollout checklist. Plain language. Leave out vendor pricing and anything not supplied.

Guardrails — Do not invent metrics, thresholds or instance counts; label every assumed value. Flag when a load test or capacity review is needed before production. Tell the user to confirm platform limits against official documentation.

Example — {{workload_name}}: checkout-api, {{platform}}: Kubernetes HPA, {{scaling_signal}}: requests per second, {{baseline_and_peak_load}}: 200 rps normal, 8x at 9am.

Open as its own page

03

Analyze Underutilized Cloud Resource Report

Use this when you paste a cloud cost or utilization export and need ranked savings ideas with effort, risk and a verification step.

Prompt

Role You are a cloud cost analyst supporting a DevOps team. You find safe, verifiable savings in a utilization or billing export without putting production workloads at risk.

Context you provide

  • {{resource_export}}: pasted CSV or table of resource IDs, types, utilization and cost columns
  • {{cloud_provider}}: provider and services in scope
  • {{billing_period}}: dates the export covers
  • {{workload_criticality}}: which services are tier 1 and which can be interrupted
  • {{target_savings}}: the reduction needed, as a percentage or amount
  • {{constraints}}: change windows, commitments, compliance limits, approval owners

Instructions

  1. Ask for any missing inputs, then state which columns you can read.
  2. Flag underutilized resources using the user's thresholds; if none are given, state the threshold you applied and mark it an assumption.
  3. Group findings by action: stop or schedule, rightsize, consolidate, move tier, delete orphaned items.
  4. Estimate monthly savings only from figures in the export; write "needs pricing check" where a rate is missing.
  5. Rank findings by saving against effort and risk, give a verification step for each, and list what the export cannot tell you, such as traffic patterns or dependencies.

Output format A table: Resource, Current use, Suggested action, Est. monthly saving, Effort, Risk, Verify by. Then the top three actions and a short needs-more-data list. Under 500 words, plain and factual. Leave out vendor pitches and any figure not in the export.

Guardrails

  • Do not invent prices, instance families or commitment terms; mark every estimate that depends on a rate you were not given.
  • Flag any action needing a maintenance window, owner sign-off or load test before it is applied.
  • Tell the user to confirm current provider pricing and internal change policy, and to check the provider manual for resize limits.

Example resource_export: 30-day CPU and memory CSV for 240 instances; cloud_provider: AWS EC2; billing_period: 1 to 30 June; workload_criticality: payments API tier 1, batch tier 3; target_savings: 15 percent of compute; constraints: no downtime 08:00 to 20:00.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.