Skip to main content

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

Recommend to use awsp to manage AWS profiles

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

License

BSD

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for awscon, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size awscon-0.0.8-py2-none-any.whl (5.1 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size awscon-0.0.8.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page