awscon-0.0.9
توضیحات
Wrapper that displays all available EC2 instances and launchs an SSM console session for the selected one
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | awscon-0.0.9 |
| نام | awscon |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sergio Pena |
| ایمیل نویسنده | isergiopena@gmail.com |
| آدرس صفحه اصلی | https://www.github.com/sergiopena/awscon |
| آدرس اینترنتی | https://pypi.org/project/awscon/ |
| مجوز | BSD |
## AWSCON
Connect to SSM console of any deployed instance.
<img src="demo.gif" witdh="700">
## Prereqs
Setup your profiles using the aws cli
```sh
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 `awscon` it 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](https://github.com/johnnyopao/awsp)
## License
BSD
نیازمندی
| مقدار | نام |
|---|---|
| >=1.9.154 | boto3 |
| >=1.12.154 | botocore |
| - | pyfzf |
نحوه نصب
نصب پکیج whl awscon-0.0.9:
pip install awscon-0.0.9.whl
نصب پکیج tar.gz awscon-0.0.9:
pip install awscon-0.0.9.tar.gz