AWS SSM tool for ECS/EC2 (Shell, Port Forwarding, ...)
Project description
aws-ssm-juggle
Installation
pip install aws-ssm-juggle
Pre-requisites
session-manager-plugin
Linux
curl https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb -o "/tmp/session-manager-plugin.deb"
mkdir -p ~/bin
dpkg-deb --fsys-tarfile /tmp/session-manager-plugin.deb | tar --strip-components=4 -C ~/bin/ -xvf - usr/local/sessionmanagerplugin/bin/session-manager-plugin
MacOS
brew install --cask session-manager-plugin
Infrastructure
Use ecs-exec-checker to check for the pre-requisites to use ECS exec.
ecs-juggle
Inspired by ecsgo.
Provides a tool to interact with AWS ECS tasks.
Currently provides:
- interactive execute-command (e.g. shell)
- port-forwarding
You can supply command-line arguments to specify which cluster/service/task/... to use or will be prompted with a nice menu.
Usage
See ecs-juggle --help
for all features.
Execute command
Select all from menu:
ecs-juggle command
Port forwarding
Select all from menu:
ecs-juggle forward
Specify port and select the rest from menu:
ecs-juggle forward --remote-port 8080
ec2-juggle
Inspired by gossm.
Provides a tool to interact with AWS EC2 instances.
Currently provides:
- interactive shell (e.g. shell)
- ssh shell
- port-forwarding
Usage
See ec2-juggle --help
for all features.
Start session
ec2-juggle start
Start ssh session
Default:
ec2-juggle ssh
With extra arguments:
ec2-juggle ssh --ssh-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu"
Port forwarding
ecs-juggle forward --remote-port 80
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
File details
Details for the file aws_ssm_juggle-24.8.0.tar.gz
.
File metadata
- Download URL: aws_ssm_juggle-24.8.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.12-060812-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccd9af6a3e22d62d3ac1196c7c0b62e251268c9fcbf45efab0a127bb48bc6c8 |
|
MD5 | 4baf434201da51e4c0d8b18471f9ea33 |
|
BLAKE2b-256 | 456b0faf9aec5aba4d281993d398cfa962e329612c8eb2f16d163801155cf151 |
File details
Details for the file aws_ssm_juggle-24.8.0-py2.py3-none-any.whl
.
File metadata
- Download URL: aws_ssm_juggle-24.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.12-060812-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489b1e041ebdaa6369205bc1602a39c873840e78b4a799d47c8007a44becd117 |
|
MD5 | 62ad893d4e9115b0011b30bb713e8b86 |
|
BLAKE2b-256 | de76a19cb1556258acaeaec68d00198b12bb75dd0afc36c8180e6496ea64c1db |