NEW
Autoscaling dynamically increases or decreases compute resources based on policies and metrics to maintain performance and optimize cost.
DESCRIPTION
Autoscaling adjusts capacity using telemetry-driven policies. It supports scale-out and scale-in actions, and sometimes scale-up. Cloud platforms offer managed autoscalers for instances, containers, and serverless. Policies consider CPU, requests, queue depth, or custom signals. Predictive autoscaling anticipates load from trends. Robust observability and guardrails prevent thrashing. Autoscaling underpins elastic, cost-efficient architectures.
ALTERNATIVE DEFINITIONS
AWS
AWS Auto Scaling monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost.
Emphasizes performance consistency and cost optimization.
Google Cloud
Autoscaling allows you to automatically add or remove instances from a managed instance group based on increases or decreases in load.
Focuses on managed instance groups load-based scaling.
Microsoft
Autoscale enables you to dynamically scale your resources to meet demand and maintain performance.
Highlights dynamic scaling to maintain performance on Azure.
RELATED TERMS
Elasticity Horizontal Scaling Vertical Scaling Load Balancing Kubernetes HPA SLOs/SLIs Serverless Scaling Policies Predictive Scaling Capacity Planning
COMPETING TERMS
Manual Scaling Static Provisioning
RELATIONS
- Broader: Compute Scaling Elasticity
KNOWLEDGE AREAS
Cloud Infrastructure Observability & Telemetry Software Engineering Real-time & Streaming Data
TARGET AUDIENCE
Cloud Architect DevOps Engineer Software Developer Data Engineer Enterprise Architect MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Autoscaling
- Kubernetes - HPA configuration documentation
- AWS - EC2 Auto Scaling user guide
- Google Cloud - GKE cluster autoscaler concept
- Microsoft - AKS cluster scaling guidance
TOP QUESTIONS
Which metrics should drive Autoscaling?
CPU, memory, request rate, queue depth, latency, and custom business metrics. Multi-signal policies improve responsiveness and stability.
Category: Requirements
What’s the difference between Autoscaling and Elasticity?
Autoscaling is a mechanism; elasticity is the cloud property. Autoscaling implements elasticity by adjusting capacity automatically.
Category: Misunderstanding
Can Autoscaling scale vertically?
Some platforms support scheduled or scripted resize. Most autoscalers focus on horizontal scaling for resilience and speed.
Category: Overview
What are common Autoscaling mistakes?
Overly aggressive thresholds cause thrashing. Ignoring cooldowns and missing observability lead to instability and cost spikes.
Category: Mistakes
How does predictive Autoscaling work?
It forecasts demand from historical trends or events and scales ahead. It reduces cold starts and improves SLO adherence.
Category: Example
How to test Autoscaling policies safely?
Use load testing, canary deployments, and dry runs. Validate cooldowns, max/min bounds, and alerting before production rollout.
Category: Testing
How does Autoscaling affect costs?
It reduces waste by scaling down idle capacity. Poor policies can overscale, so guardrails and budgets are needed.
Category: Risk
What tools implement Autoscaling?
AWS Auto Scaling, GCP autoscaler, Azure autoscale, Kubernetes HPA/Cluster Autoscaler, and serverless runtime scaling.
Category: Overview
How does Autoscaling interact with load balancers?
Load balancers distribute traffic across scaled instances. Health checks and registration delays must be considered in policies.
Category: Requirements