pip install aws-ssm-juggle
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
brew install --cask session-manager-plugin
Use ecs-exec-checker to check for the pre-requisites to use ECS exec.
Inspired by ecsgo.
Provides a tool to interact with AWS ECS tasks.
Currently provides:
You can supply command-line arguments to specify which cluster/service/task/... to use or will be prompted with a nice menu.
See ecs-juggle --help
for all features.
Select all from menu:
ecs-juggle command
Select all from menu:
ecs-juggle forward
Specify port and select the rest from menu:
ecs-juggle forward --remote-port 8080
Inspired by gossm.
Provides a tool to interact with AWS EC2 instances.
Currently provides:
See ec2-juggle --help
for all features.
ec2-juggle start
Default:
ec2-juggle ssh
With extra arguments:
ec2-juggle ssh --ssh-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu"
ecs-juggle forward --remote-port 80