Skip to content

glassechidna/ecs-run-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecs-run-task

Build Status

ecs-run-task is a cross-platform CLI tool to facilitate running ad-hoc tasks on the AWS EC2 Container Service (ECS).

Occasionally the need arises to run tasks in our infrastructure that are not long-running services. Examples include database migrations, batch jobs, ad-hoc database queries and general spelunking. To enable this use case, ECS exposes the RunTask functionality.

Usage

$ ecs-run-task run --help
Run a pre-defined ECS Task on a given cluster with possible
command override.

Usage:
  ecs-run-task run [flags]

Flags:
      --cluster string
      --command string
      --container string
      --task-definition string

Global Flags:
      --config string    config file (default is $HOME/.ecs-run-task.yaml)
      --profile string   profile defined in ~/.aws/config