Elastic Cloud Control
$ ecctl Official High RiskElastic Cloud Control (ecctl) manages Elastic Cloud (ESS) and Elastic Cloud Enterprise (ECE) deployments, Elasticsearch/Kibana clusters, snapshots, and API keys from the terminal. Supports --output json, --api-key / EC_API_KEY, and --track for synchronous provisioning.
brew install elastic/tap/ecctl ecctl executes full Elastic Cloud lifecycle operations with JSON payloads, --track progress polling, and local JSON template files without MCP schema bloat.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides --output json, EC_API_KEY env auth, and --track for deterministic waiting, though it lacks built-in --jq field filtering.
- Supports
--output jsonacrossdeployment,platform, andusercommands - Accepts
EC_API_KEYand--api-keyfor headless runs
API key and context separation are clean, but provisioning/deleting clusters carries real billing and data-loss risk without a global --dry-run flag.
- Mutating commands (
deployment create,deployment delete) lack--dry-run - Supports
--trackto verify rollout completion
Single static Go binary distributed via elastic/tap/ecctl Homebrew tap and cross-platform GitHub releases.
- Static Go binary with zero runtime dependencies
Covers both Elastic Cloud SaaS and self-hosted ECE management from one unified CLI.
- Supports deployments, templates, snapshots, and API key management
Official Elastic repository (elastic/ecctl) under Apache-2.0 license.
- First-party Elastic tool under Apache-2.0
Comprehensive official Elastic reference manual and Cobra-generated --help tree.
- Official docs at elastic.co/guide/en/ecctl/current/
Security, Auth & Guardrails
Stores named contexts and endpoints under ~/.ecctl/ or accepts EC_API_KEY env var and --api-key flag.
Apache-2.0 open-source CLI; creating or scaling Elastic Cloud deployments incurs Elastic Cloud billing.
# Elastic Cloud Control (ecctl) Agent Rules - Always pass `--output json` for parseable deployment and cluster state. - Never run `ecctl deployment create`, `update`, or `delete` without user confirmation due to billing and destructive impact. - Authenticate via `EC_API_KEY` rather than passing `--api-key` inline in shell history.
Agent-Ready Command Recipes
Safe Read-Only Queries
ecctl deployment list --output json
Returns structured JSON metadata for every active Elastic Cloud or ECE deployment.
ecctl deployment show <deployment-id> --output json
Fetches full cluster topology, version, and health details for <deployment-id>.
Controlled Writes & Previews
ecctl deployment create --file deployment.json --track --output json
Provisions an Elastic Cloud deployment defined in deployment.json and waits for completion.
Strengths for Agents
- + Native
--output jsonand--trackflags make cloud cluster automation reliable. - + Works identically across Elastic Cloud (ESS) and Elastic Cloud Enterprise (ECE).
Caveats & Pitfalls
- ! No
--dry-runflag on billing-impactingdeployment createor destructivedeployment delete. - ! Requires valid
EC_API_KEYor initialized context in~/.ecctl/before querying.