AWSCON
Connect to SSM console of any deployed instance.
Prereqs
Setup your profiles using the aws cli
aws configure --profile PROFILE_NAME
You can also leave out the --profile PROFILE_NAME param to set your default credentials
Refer to this doc for more information https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
This code now has an external dependency on fzf please install it using your preferred package manager.
Setup
pip
pip install awscon
source
git clone git@github.com:sergiopena/awscon.git
cd awscon
python setup.py install
Tests
No test at the moment... SHAME!
How to use?
- An exported env var named AWS_PROFILE is required, as this is the profile that will be used to retrieve running ec2 instances
- Profile must include the region, currently we only support one region.
- Run
awsconit will retrieve your EC2 running instances and display a menu to connect to them.
Contribute
Contributions are more than welcomed!
Distribute
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
Credits
Inspired by the AWS profile switcher awsp
License
BSD
Release files for awscon 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awscon-0.0.13.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awscon-0.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / awscon-0.0.13.tar.gz
| Download URL | awscon-0.0.13.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dad453430276dde442caf842db261a545f5c57b918df09fe02151deb485cfc87
|
|
BLAKE2b-256 checksum How to use checksums |
8431813120599c85082269849ff356ff7464f6807f7abd729598dce51d8fe4bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Release files / awscon-0.0.13-py3-none-any.whl
| Download URL | awscon-0.0.13-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84213412aadc86a3782d6b8b1666359dce949db3e4ed3888698fad5f71e84baa
|
|
BLAKE2b-256 checksum How to use checksums |
335badc4330ccf871d66bdfc136656efe9e9c2221ed6e66143b57727ff29f5af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|