Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
/ ecs-exec-pf Public archive

Port forwarding using the ECS task container. (aws-cli wrapper)

Notifications You must be signed in to change notification settings

winebarrel/ecs-exec-pf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This repository is no longer maintained. #5

Please use https://github.com/cuotos/ecs-exec-pf

ecs-exec-pf

Port forwarding using the ECS task container. (aws-cli wrapper)

Usage

ecs-exec-pf - Port forwarding using the ECS task container. (aws-cli wrapper)

  Flags:
       --version      Displays the program version string.
    -h --help         Displays help with available flag, subcommand, and positional value parameters.
    -c --cluster      ECS cluster name.
    -t --task         ECS task ID.
    -n --container    Container name in ECS task.
    -p --port         Target remote port. (default: 0)
    -l --local-port   Client local port. (default: 0)

Installation

brew tap winebarrel/ecs-exec-pf
brew install ecs-exec-pf

Execution Example

$ ecs-exec-pf -c my-cluster -t 0113f61a4b1044d99c627daeee8c0d0c -p 80 -l 8080
Starting session with SessionId: root-03f56652a5f120d48
Port 8080 opened for sessionId root-03f56652a5f120d48.
Waiting for connections...
$ curl -s localhost:8080 | grep title
<title>Welcome to nginx!</title>

About

Port forwarding using the ECS task container. (aws-cli wrapper)

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •