EC2 Utils
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ec2u-0.1.7.tar.gz
.
File metadata
- Download URL: ec2u-0.1.7.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f0348ee37637ffec86eaf6e48903bd934135c5926adae3adf3500c3f132e46 |
|
MD5 | b6897201fde73d6c5ec8cf3f49c8d372 |
|
BLAKE2b-256 | ede5cafa0f956109fb4ce31c68b0af7451ff9958f532be41392f927d8e45a333 |
File details
Details for the file ec2u-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: ec2u-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9401e765846a0dedde77437b4e0ecffb43fa0289058185fbf37fcd414a13c73c |
|
MD5 | f95c6bb641594ca9d01753f3aaa38284 |
|
BLAKE2b-256 | 126eb6149c286f3d0793606f2ccc7c045b8c0b7cfec61ff7cd4d42732d567aea |