Using the Amazon ECS command line interface
Amazon ECS has released AWS Copilot, a command line interface (CLI) tool that simplifies building, releasing, and operating production-ready containerized applications on Amazon ECS from a local development environment. For more information, see Using the AWS Copilot command line interface. |
The Amazon Elastic Container Service (Amazon ECS) command line interface (CLI) provides high-level commands to simplify creating, updating, and monitoring clusters and tasks from a local development environment. The Amazon ECS CLI supports Docker Compose files, a popular open-source specification for defining and running multi-container applications. Use the ECS CLI as part of your everyday development and testing cycle as an alternative to the AWS Management Console.
At this time, the latest version of the Amazon ECS CLI only supports the major versions of
Docker Compose
file syntax"1"
, "1.0"
, "2"
,
"2.0"
, "3"
, or "3.0"
. Docker Compose minor
versions are not supported.
The latest version of the Amazon ECS CLI is 1.17.0. For release notes, see
Changelog
The source code for the Amazon ECS CLI is available on GitHub
Learn how to use high-level, application-first commands to model, create, release and manage containerized applications from a local development environment at Getting started with Amazon ECS using AWS Copilot.
Topics
- Installing the Amazon ECS CLI
- Configuring the Amazon ECS CLI
- Migrating Configuration Files
- Tutorial: Creating a cluster with a Fargate task using the Amazon ECS CLI
- Tutorial: Creating a Cluster with an EC2 Task Using the Amazon ECS CLI
- Tutorial: Creating an Amazon ECS Service That Uses Service Discovery Using the Amazon ECS CLI
- Amazon ECS command line reference