Skip to main content

aws-ssm-juggle

Installation

pip install aws-ssm-juggle

Pre-requisites

session-manager-plugin

Linux

Repo

With updates (recommended): See aws-session-manager-plugin

Manual

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
ec2-juggle start --document AWS-StartInteractiveCommand --command '{"command": ["sudo -i"]}'

Start ssh session

Default:

ec2-juggle ssh

With extra arguments:

ec2-juggle ssh --ssh-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu"

Copy files with scp

Default:

ec2-juggle scp --source '{instance}:/tmp/foo' --target './bar'

With extra arguments:

ec2-juggle scp --scp-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu" --source '{instance}:/tmp/foo' --target './bar'

Port forwarding

ecs-juggle forward --remote-port 80

Metadata

Release files for aws-ssm-juggle 26.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-ssm-juggle 26.3.0
File Size Uploaded
aws_ssm_juggle-26.3.0.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-ssm-juggle 26.3.0
File Interpreter ABI Platform
aws_ssm_juggle-26.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.0 kB

Release files / aws_ssm_juggle-26.3.0.tar.gz

Download URL aws_ssm_juggle-26.3.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2f9287bcab34b2c0f0f0a36dec5eceaa8b3bf0594124792fea3551c23d9ee4f3
BLAKE2b-256 checksum
How to use checksums
d9eb67e8ea5d79b3e372df7a1d3efc0cbfeec52c96a694832a43c78f525c3c4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.12 Linux/6.19.6-200.fc43.x86_64

Release files / aws_ssm_juggle-26.3.0-py2.py3-none-any.whl

Download URL aws_ssm_juggle-26.3.0-py2.py3-none-any.whl
Size 10.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
23ce45e3dd253ded91fdeb01fe2a8c1dc877ee8bf7080a781d66c44481aae29d
BLAKE2b-256 checksum
How to use checksums
c7a09bf099c4e4327d3971b245f411127fc218e6706475d341c439a6729cb36e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.12 Linux/6.19.6-200.fc43.x86_64
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page