Skip to main content

ASG Scaling Manager

Manage AWS Auto Scaling Group capacities by tag filters with a simple, reliable CLI.

Quick Install

pip install asg-scaling-manager

Usage

# Get help
asg-sm --help

# Scale ASGs tagged with eks:cluster-name=my-cluster to 6 instances total
asg-sm --tag-value my-cluster --desired 6 --dry-run

# Apply changes with optional per-ASG max cap
asg-sm --tag-value my-cluster --desired 8 --max-size 5 --region eu-west-1

# Scale down to zero (sets min/max/desired to 0)
asg-sm --tag-value my-cluster --desired 0

Features

  • Tag-based filtering: Target ASGs by eks:cluster-name (default) or custom tags
  • Smart distribution: Evenly distributes desired capacity across matched ASGs
  • Safety first: Dry-run mode to preview changes
  • EKS optimized: Defaults to eks:cluster-name tag for easy EKS cluster management
  • Flexible caps: Optional per-ASG max size limits

Examples

# Preview scaling for production cluster
asg-sm --tag-value prod-cluster --desired 12 --dry-run

# Scale with name filter and custom tag
asg-sm --tag-key team --tag-value payments --name-contains web --desired 4

# Emergency scale down
asg-sm --tag-value staging --desired 0

Notes

  • Default tag: Uses eks:cluster-name by default (perfect for EKS clusters)
  • Desired vs max-size: --desired is total across all ASGs, --max-size is per-ASG cap
  • AWS auth: Uses --profile and/or --region for AWS credentials
  • Dry-run: Always test with --dry-run first

Alternative Installation

# Isolated install (recommended for CLIs)
pipx install asg-scaling-manager

# Development install
git clone https://github.com/grzes-94/asg-scaling-manage
cd asg-scaling-manage
pip install -e .

Metadata

Release files for asg-scaling-manager 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asg-scaling-manager 0.1.0
File Size Uploaded Provenance Actions
asg_scaling_manager-0.1.0.tar.gz 8.0 kB Without provenance Details for asg_scaling_manager-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asg-scaling-manager 0.1.0
File Interpreter ABI Platform Actions
asg_scaling_manager-0.1.0-py3-none-any.whl Python 3 none any Details for asg_scaling_manager-0.1.0-py3-none-any.whl

Total release size: 16.5 kB

Release files / asg_scaling_manager-0.1.0.tar.gz

Download URL asg_scaling_manager-0.1.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a0488812d9bdc46f0585ce38c2f9b613b1e2b83d022d1cc2937ea7bf7052cca4
BLAKE2b-256 checksum
How to use checksums
749c71ded360358e067865e7ae8632f6e3b4e5e2f1ca418db073a99ab4e65926
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / asg_scaling_manager-0.1.0-py3-none-any.whl

Download URL asg_scaling_manager-0.1.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d22caccc5193611a708491e6b71959f867bf46e0384b13921f9447d170bfc15d
BLAKE2b-256 checksum
How to use checksums
2a5a5fa0e91e53a3a99c6536f737595acab6dadb5f2374a6c60a96ff5d4cab04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for asg-scaling-manager 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page