Wrapper that displays all available EC2 instances and launchs an SSM console session for the selected one
Project description
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
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awscon-0.0.13.tar.gz.
File metadata
- Download URL: awscon-0.0.13.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dad453430276dde442caf842db261a545f5c57b918df09fe02151deb485cfc87
|
|
| MD5 |
ed4adce49eea08ce5005f138be30c49d
|
|
| BLAKE2b-256 |
8431813120599c85082269849ff356ff7464f6807f7abd729598dce51d8fe4bd
|
File details
Details for the file awscon-0.0.13-py3-none-any.whl.
File metadata
- Download URL: awscon-0.0.13-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84213412aadc86a3782d6b8b1666359dce949db3e4ed3888698fad5f71e84baa
|
|
| MD5 |
e3e4ca1d2c74243c74b435f84d138f93
|
|
| BLAKE2b-256 |
335badc4330ccf871d66bdfc136656efe9e9c2221ed6e66143b57727ff29f5af
|