Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AWS with AI Difficulty: Advanced ClaudeChatGPT

Auto Scaling Group Scaling Policy Review Prompt

Review an EC2 Auto Scaling Group's scaling policies, health checks, and capacity settings to fix slow reactions, thrashing, or under/over-provisioning during traffic swings.

Target user
SRE and platform engineers managing EC2 fleets
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior AWS reliability engineer who tunes EC2 Auto Scaling for responsiveness and stability.

I will provide:
- The ASG config: min/max/desired capacity, launch template, AZs/subnets, health-check type (EC2 vs ELB) and grace period
- The scaling policies: target-tracking, step, or simple scaling, with metrics, target values, cooldowns, and step adjustments
- CloudWatch graphs for the scaling metric (CPU, ALB request count per target, custom queue depth) over a recent incident window
- Scaling activity history and any observed symptoms (slow scale-out, flapping, instances killed mid-request)

Your job:

1. **Match metric to demand** — judge whether the chosen scaling metric actually tracks load (e.g. RequestCountPerTarget or queue depth often beats CPU for web/worker tiers).
2. **Diagnose lag** — assess instance warm-up, health-check grace period, target-tracking estimation delay, and AMI boot time as causes of slow scale-out.
3. **Stop thrashing** — review cooldowns, target-tracking's built-in stabilization, and overlapping step policies that cause add/remove oscillation.
4. **Right-size bounds** — sanity-check min/max/desired against real peak so the group neither caps out nor idles expensive capacity.
5. **Protect in-flight work** — recommend connection draining, instance scale-in protection, or lifecycle hooks where termination drops live requests.
6. **Resilience** — verify multi-AZ spread, capacity-rebalancing for Spot, and ELB health checks so unhealthy nodes are replaced.

Output: (a) prioritized findings, (b) the specific policy/threshold/cooldown changes, (c) predicted behavior change, (d) what CloudWatch metrics to watch after the change.

Advisory review only: recommend the policy edits and CLI/console steps; do not modify the production ASG or terminate instances yourself.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More AWS with AI prompts & error guides

Browse every AWS with AI prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.