Skip to main content

EC2 Utils CLI

Install:

Before you can begin using ec2u, you must set up authentication credentials. If you have the AWS CLI installed, then you can use it to configure your credentials file:

aws configure 

Alternatively, you can create the credential file yourself. By default, its location is at ~/.aws/credentials:

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

You may also want to set a default region. This can be done in the configuration file. By default, its location is at ~/.aws/config:

[default]
region=us-east-1

This sets up credentials for the default profile as well as a default region to use when creating connections. See Credentials for in-depth configuration sources and options.

Install: pip install ec2u

Feature:

Usage: ec2u [OPTIONS] COMMAND [ARGS]...

Options:
  --verbose
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  gen-config    Generate AWS configuration file
  has-tag       Check whether or not instance has given tag
  private-ipv4  Get private IPv4 of the instance

Changelog

0.1.7 - 2020-05-27

Added

  • Fix issue command has-tag does not work as expected

0.1.6 - 2020-05-21

Added

  • Add subcommand private-ipv4

Metadata

Release files for ec2u 0.1.7

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

Source distribution (sdist)

Source distribution for ec2u 0.1.7
File Size Uploaded Provenance Actions
ec2u-0.1.7.tar.gz 5.7 kB Without provenance Details for ec2u-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ec2u 0.1.7
File Interpreter ABI Platform Actions
ec2u-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for ec2u-0.1.7-py2.py3-none-any.whl

Total release size: 11.0 kB

Release files / ec2u-0.1.7.tar.gz

Download URL ec2u-0.1.7.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4f0348ee37637ffec86eaf6e48903bd934135c5926adae3adf3500c3f132e46
BLAKE2b-256 checksum
How to use checksums
ede5cafa0f956109fb4ce31c68b0af7451ff9958f532be41392f927d8e45a333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / ec2u-0.1.7-py2.py3-none-any.whl

Download URL ec2u-0.1.7-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9401e765846a0dedde77437b4e0ecffb43fa0289058185fbf37fcd414a13c73c
BLAKE2b-256 checksum
How to use checksums
126eb6149c286f3d0793606f2ccc7c045b8c0b7cfec61ff7cd4d42732d567aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for ec2u 0.1.7

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.

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