Catalog PyPI
Back to packageRELEASE DETAILS

5.0.0

PyPI

aec-cli

AWS EC2 CLI

awsclicommandec2line
Published9 Nov 2025
Direct dependencies7
Transitive dependenciesNot calculated

README

Version 5.0.0 documentation

AWS EC2 CLI

Build Release PyPI version

"Instead of using the console, use the cli!".

Command-line tools for managing pet EC2 instances by name.

Defaults only need to be supplied once via a config file, which supports multiple profiles for different regions or AWS accounts.

For examples see:

  • EC2 - manipulate EC2 instances by name, and launch them with tags and EBS volumes of any size, as per the settings in the configuration file (subnet, security group etc).
  • AMI - describe, delete and share images
  • Compute Optimizer - show over-provisioned instances
  • SSM - run commands on instances, and ssm patch management

Prerequisites

  • python 3.10+

Install

Run the following to install the latest version using pip:

pip install aec-cli

If you have previously installed aec, run the following to upgrade to the latest version:

pip install --upgrade aec-cli

NB: Consider using pipx to install aec-cli into its own isolated virtualenv.

Configure

Before you can use aec, you will need to create the config files in ~/.aec/. The config files contain settings for your AWS account including VPC details and additional tagging requirements.

To get started, run aec configure example to install the example config files and then update them as needed.

Handy aliases

For even faster access to aec subcommands, you may like to add the following aliases to your .bashrc:

alias ec2='COLUMNS=$COLUMNS aec ec2'
alias ami='COLUMNS=$COLUMNS aec ami'
alias ssm='COLUMNS=$COLUMNS aec ssm'

COLUMNS=$COLUMNS will ensure output is formatted to the width of your terminal when piped.

FAQ

How do I use aec with other AWS profiles?

To use aec with the named profile 'production':

export AWS_DEFAULT_PROFILE=production
aec ec2 describe

Similar projects

wallix/awless is written in Go, and is an excellent substitute for awscli with support for many AWS services. It has human friendly commands for use on the command line or in templates. Unlike aec its ec2 create instance command doesn't allow you to specify the EBS volume size, or add tags.

achiku/jungle is written in Python, and incorporates a smaller subset of ec2 commands and doesn't launch new instances. It does however have an ec2 ssh command. It also supports other AWS services like ELB, EMR, RDS.

Contributing

See CONTRIBUTING.md to get started and develop in this repo.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
boto3
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
boto3==1.40.69runtime
importlib_resources
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
importlib_resources==6.5.2runtime
pytoml
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytoml==0.1.21runtime
pytz
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytz==2025.2runtime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
requests==2.32.5runtime
rich
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
rich==14.2.0runtime
typing_extensions
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
typing_extensions==4.15.0runtime

Distribution files

1 collected
aec_cli-5.0.0-py3-none-any.whl

bdist_wheel · 28.92 KB · Python py3

Source file

Repository

PENDING
seek-oss/aec

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:6735421b45eb527f2df5bdc2eaecf41b736d352c211fd6cf817cba6c0f263c9b

Other collected versions

View all collected versions →