Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 amazon-ecs-cli

查看 amazon-ecs-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install amazon-ecs-cli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ecs-cli

MacPorts ports tree · devel/ecs-cli/Portfile · 来源: api.github.com

概览

软件包摘要

CLI for Amazon ECS to manage clusters and tasks for development

命令和别名

  • ecs-cli

历史

项目历史与用法

Amazon ECS CLI was AWS's higher-level command-line tool for Amazon Elastic Container Service workflows, especially local development patterns that used Docker Compose-style definitions to create, update, and inspect ECS clusters, services, and tasks.

项目历史

The aws/amazon-ecs-cli repository was created in September 2015. Its README describes a CLI for Amazon ECS that provides high-level commands for creating, updating, and monitoring clusters and tasks from a local development environment, as an alternative to using the AWS Management Console or lower-level AWS CLI commands.

The project tracked major ECS platform features through its changelog: named profiles and Windows support in 1.0.0, Fargate support in 1.1.0, service discovery, private registry credentials, Docker Compose v3 support, local commands, FireLens, EFS, and AWS Graviton2 support by the final 1.21.0 release line.

采用历史

The ECS CLI fit a specific packaging niche: developers wanted a small binary that translated familiar Docker Compose workflows into ECS resources before broader opinionated deployment CLIs existed. Homebrew packaging made it especially convenient for macOS and Linux developers working against ECS and Fargate.

AWS later placed AWS Copilot at the top of the ECS CLI README, describing Copilot as a generally available CLI for building, releasing, and operating container apps on ECS and Fargate. The GitHub repository metadata now marks amazon-ecs-cli as archived, which makes it a historical package for older ECS workflows rather than the forward-looking AWS container CLI.

使用方式

Users configured AWS credentials, region, cluster name, ECS profiles, and cluster configurations, then used commands such as ecs-cli configure, ecs-cli up, ecs-cli compose service up, ecs-cli ps, and ecs-cli logs. The README documents configuration storage in ~/.ecs on macOS/Linux and C:\Users\<username>\AppData\local\ecs on Windows, with optional use of ~/.aws/credentials through --aws-profile or AWS_PROFILE.

The tool mattered most when a project already had docker-compose.yml and ecs-params.yml files and wanted an incremental path to ECS tasks and services. For new AWS workflows, the README's Copilot banner is the key adoption signal: AWS redirected the developer-experience story to Copilot while leaving ECS CLI for compatibility.

为什么软件包爱好者会关心

Amazon ECS CLI is a classic cloud CLI lifecycle package: very useful during a platform transition, then effectively superseded while still present in package indexes for users with old automation.

It is also a reminder that package-manager descriptions can outlive a tool's strategic status. The binary still documents install links and configuration behavior, but the upstream repository being archived changes how maintainers should frame it.

时间线

  • 2015-09-30: aws/amazon-ecs-cli repository is created.
  • 2017: v1.0.0 adds named ECS profiles, cluster configurations, and Windows support.
  • 2017: v1.1.0 adds AWS Fargate support.
  • 2020-07-07: v1.20.0 adds EFS support in compose up workflows.
  • 2020-12-21: v1.21.0 adds container dependencies and Graviton2 instance support.
  • 2025: GitHub metadata shows the repository archived.

Related projects

  • AWS CLI provides the lower-level ECS API command surface.
  • AWS Copilot CLI is the AWS-recommended successor-style developer CLI for container applications on ECS and Fargate.
  • Docker Compose and ecs-params.yml are central adjacent formats for ECS CLI workflows.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cluster

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ecs
Windows
C:\Users\<username>\AppData\local\ecs

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials~/.ecs
Windows
C:\Users\<username>\AppData\local\ecs

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ecs-clicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.21.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.21.0

https://github.com/aws/amazon-ecs-cli

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:amazon-ecs-cli
版本1.21.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/amazon-ecs-cli
主页https://aws.amazon.com/ecs/
仓库https://github.com/aws/amazon-ecs-cli
上游文档https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html
许可证Apache-2.0
源码归档https://github.com/aws/amazon-ecs-cli/archive/refs/tags/v1.21.0.tar.gz
构建依赖go
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameamazon-ecs-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts94%

ecs-cli

sudo port install ecs-cli
  • installed executable or alias match
  • 匹配方式:Ecs Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ecs-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment