Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Elastic Cloud Control

$ ecctl Official High Risk
Elastic · Workspace & SaaS · Apache-2.0 · macos / linux / windows

Elastic 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.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install elastic/tap/ecctl
CLI vs MCP Decision CLI Preferred vs MCP

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

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Provides --output json, EC_API_KEY env auth, and --track for deterministic waiting, though it lacks built-in --jq field filtering.

  • Supports --output json across deployment, platform, and user commands
  • Accepts EC_API_KEY and --api-key for headless runs
Trust & Safety 18 / 25

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 --track to verify rollout completion
Setup & Portability 14 / 15

Single static Go binary distributed via elastic/tap/ecctl Homebrew tap and cross-platform GitHub releases.

  • Static Go binary with zero runtime dependencies
Utility & Efficiency 13 / 15

Covers both Elastic Cloud SaaS and self-hosted ECE management from one unified CLI.

  • Supports deployments, templates, snapshots, and API key management
Maintenance & Lineage 10 / 10

Official Elastic repository (elastic/ecctl) under Apache-2.0 license.

  • First-party Elastic tool under Apache-2.0
Docs & Verifiability 8 / 10

Comprehensive official Elastic reference manual and Cobra-generated --help tree.

  • Official docs at elastic.co/guide/en/ecctl/current/

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Stores named contexts and endpoints under ~/.ecctl/ or accepts EC_API_KEY env var and --api-key flag.

Side Effects
Read-Only Remote Write Destructive Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI; creating or scaling Elastic Cloud deployments incurs Elastic Cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List all Elastic Cloud deployments as JSON
ecctl deployment list --output json

Returns structured JSON metadata for every active Elastic Cloud or ECE deployment.

Inspect a specific deployment
ecctl deployment show <deployment-id> --output json

Fetches full cluster topology, version, and health details for <deployment-id>.

Controlled Writes & Previews

Create a deployment from a JSON spec
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 json and --track flags make cloud cluster automation reliable.
  • + Works identically across Elastic Cloud (ESS) and Elastic Cloud Enterprise (ECE).

Caveats & Pitfalls

  • ! No --dry-run flag on billing-impacting deployment create or destructive deployment delete.
  • ! Requires valid EC_API_KEY or initialized context in ~/.ecctl/ before querying.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI