Skip to main content

AWS ECS Control Tool

Project description

Yet Another ECS CTL tool

Python 3.7 Python 3.8

PyPI version

pip install ya-ecs-ctl

Adds binary:


Usage: ecs [OPTIONS] COMMAND [ARGS]...

  --help  Show this message and exit.

  ci       Interact with Container Instances
  cluster  Interact with Cluster
  ec2      Interact with EC2 Instances
  repo     Interact with (Container) Repos
  service  Interact with Service
  task     Interact with Task

Getting Started

Ensure aws cli tool works and you have run aws configure. Uses boto3 and assumes the following ENVs are set:


Your default region should be set. Verify it with

cat ~/.aws/config 



ecs service ls

It will first ask you to select a default cluster. Currently this tool does not have a command to create one.

This preference is saved here:

cat .settings.conf 

    "cluster": "Dev-Apps"

Lets try that again..

ecs service ls

Cluster: Dev-Apps

| Service Name           | Task Def                  | Launch Type | Desired | Running | Pending | Status | Created      | Deployments (des/pend/run) |
| my-app                 | my-app:122                | EC2         | 2       | 2       | 0       | ACTIVE | 4 months ago | 2/0/2 6 days ago           |
| another-app            | another-app:1             | EC2         | 2       | 2       | 0       | ACTIVE | a day ago    | 2/0/2 a day ago            |

Service Commands

Usage: ecs service [OPTIONS] COMMAND [ARGS]...

  Interact with Service

  --help  Show this message and exit.

  create    Create Service
  delete    Delete Service
  describe  Describe Service
  ls        List Services
  redeploy  Force redeployment of a Service
  scale     Scale Service
  tasks     List Tasks for Service
  update    Update Service

See "examples" folder for config structure of services. Support is provided for FARGATE, Scheduled Tasks, etc.


Manage Amazon ECS like with kubectl.

Deployment tool for Amazon ECS.

ecs-deploy simplifies deployments on Amazon ECS by providing a convinience CLI tool for complex actions, which are executed pretty often.

Python script to instigate an automatic blue/green deployment using the Task Definition and Service entities in Amazon's ECS.

ECS Tools cli aims to make deploying to ECS Fargate easier. It also provides an easy way to scale and update environment variables.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ya-ecs-ctl, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size ya_ecs_ctl-0.3.3-py3-none-any.whl (16.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ya-ecs-ctl-0.3.3.tar.gz (14.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page