Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pruning of Elastic Beanstalk versions.

Project Description

A CLI tool to prune old versions of Elastic Beanstalk.


pip install eb-prune


To keep the last 100 versions available, simply run eb-prune 100. The tool relies on the usual AWS CLI configuration as described here, specifically on access key id, secret access key and region.

$ eb-prune --help
usage: eb-prune [-h] [-d] versions_to_keep

positional arguments:
  versions_to_keep  The number of versions to keep.

  optional arguments:
    -h, --help        show this help message and exit
    -d, --dry-run     Dry run, do not delete versions.


This software is licnesed under the MIT licese (see the LICENSE.txt file).


Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at:

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
eb_prune-0.3.1-py2.py3-none-any.whl (4.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 3, 2016
eb-prune-0.3.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Sep 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting