Xpersona
A

Alibabacloud Elasticsearch Network Manage

CLAWHUB · Unverified

Alibaba Cloud Elasticsearch Instance Network Management Skill. Use for managing ES instance network configurations including triggering network, Kibana PVL n...

62
Rank
84
Safety
955
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 955 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-elasticsearch-network-manage
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-elasticsearch-network-manage` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sdk-team/alibabacloud-elasticsearch-network-manage before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-elasticsearch-network-manage/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

143,540 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-elasticsearch-network-manage
description: |
  Alibaba Cloud Elasticsearch Instance Network Management Skill. Use for managing ES instance network configurations including triggering network, Kibana PVL network, white IP list, HTTPS settings, and Kibana SSO authentication.
  Triggers: "elasticsearch network", "ES network", "kibana pvl", "white ip", "https", "trigger network", "modify white ips", "kibana sso", "kibana authentication".
---

# Elasticsearch Instance Network Management

A skill for managing Alibaba Cloud Elasticsearch instance network configurations, including network triggering, Kibana PVL network, white IP list, HTTPS settings, and Kibana SSO authentication.

## Architecture

```
Alibaba Cloud Account → Elasticsearch Service → ES Instance(s) → Network Configuration
                                                        ├── Public Network Access
                                                        ├── Kibana PVL Network
                                                        ├── White IP List
                                                        ├── HTTPS Settings
                                                        └── Kibana SSO Authentication
```

---

## Installation

> **Pre-check: Aliyun CLI >= 3.3.3 required**
> Run `aliyun version` to verify >= 3.3.3. If not installed or version too low,
> run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to update,
> or see `references/cli-installation-guide.md` for installation instructions.

**[MUST] AI-Mode Configuration**

Before executing any CLI commands, enable AI-Mode and set User-Agent. After the workflow completes, disable AI-Mode.

```bash
# Step 1: Enable AI-Mode (before CLI operations)
aliyun configure ai-mode enable

# Step 2: Set User-Agent for traceability
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-network-manage"
```

After all CLI operations are complete:

```bash
# Step 3: Disable AI-Mode (after workflow ends)
aliyun configure ai-mode disable
```

**[MUST] Plugin Update**

```bash
aliyun configure set --auto-plugin-install true
aliyun plugin update
```

**[MUST] CLI Installation** (if not already installed or version < 3.3.3):

```bash
curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash
aliyun version
```

---

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `ALIBABA_CLOUD_ACCESS_KEY_ID` | Yes | Alibaba Cloud AccessKey ID |
| `ALIBABA_CLOUD_ACCESS_KEY_SECRET` | Yes | Alibaba Cloud AccessKey Secret |
| `ALIBABA_CLOUD_REGION_ID` | No | Default Region ID (e.g., cn-hangzhou) |

---

## CLI User-Agent Requirement

**[MUST] CLI User-Agent** — The user-agent is set globally via `aliyun configure ai-mode set-user-agent` during installation.
As a fallback, every `aliyun` CLI command invocation must also include:
`--user-agent AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-network-manage`

---

## Parameter Conf

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-elasticsearch-network-manage",
  "version": "0.0.2",
  "publishedAt": 1777018738978
}

references/acceptance-criteria.md

# Acceptance Criteria: alibabacloud-elasticsearch-network-manage

**Scenario**: Elasticsearch Instance Network Management
**Purpose**: Skill testing acceptance criteria

---

# Correct CLI Command Patterns

## 1. Product — verify product name exists

✅ **CORRECT**: `elasticsearch`

```bash
aliyun elasticsearch trigger-network
```

❌ **INCORRECT**: `es`, `elastic`, `Elasticsearch`

```bash
# Incorrect examples
aliyun es trigger-network           # Wrong product name
aliyun elastic trigger-network      # Wrong product name
aliyun Elasticsearch trigger-network # Case error
```

---

## 2. Command — verify action exists under the product

### TriggerNetwork

✅ **CORRECT**:
```bash
aliyun elasticsearch trigger-network --instance-id es-cn-xxx --vpc-id vpc-xxx --vswitch-id vsw-xxx
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch TriggerNetwork --instance-id es-cn-xxx      # Should use lowercase hyphen format
aliyun elasticsearch trigger-networks --instance-id es-cn-xxx    # Plural form is wrong
aliyun elasticsearch triggerNetwork --instance-id es-cn-xxx      # Camel case is wrong
```

### EnableKibanaPvlNetwork

✅ **CORRECT**:
```bash
aliyun elasticsearch enable-kibana-pvl-network --instance-id es-cn-xxx
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch EnableKibanaPvlNetwork --instance-id es-cn-xxx  # Should use lowercase hyphen
aliyun elasticsearch enable-kibana-pvl --instance-id es-cn-xxx       # Incomplete command
```

### DisableKibanaPvlNetwork

✅ **CORRECT**:
```bash
aliyun elasticsearch disable-kibana-pvl-network --instance-id es-cn-xxx
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch DisableKibanaPvlNetwork --instance-id es-cn-xxx  # Should use lowercase hyphen
aliyun elasticsearch close-kibana-pvl --instance-id es-cn-xxx         # Wrong verb
```

### UpdateKibanaPvlNetwork

✅ **CORRECT**:
```bash
aliyun elasticsearch update-kibana-pvl-network --instance-id es-cn-xxx --pvl-id es-cn-xxx-kibana-internal-internal --body '{"securityGroups": ["sg-xxx"]}'
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch UpdateKibanaPvlNetwork --instance-id es-cn-xxx   # Should use lowercase hyphen
aliyun elasticsearch update-kibana-pvl --instance-id es-cn-xxx         # Incomplete command
```

### ModifyWhiteIps

✅ **CORRECT**:
```bash
aliyun elasticsearch modify-white-ips --instance-id es-cn-xxx --body '{...}'
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch ModifyWhiteIps --instance-id es-cn-xxx      # Should use lowercase hyphen
aliyun elasticsearch modify-white-ip --instance-id es-cn-xxx     # Singular form is wrong
aliyun elasticsearch update-white-ips --instance-id es-cn-xxx    # Wrong verb
```

### OpenHttps

✅ **CORRECT**:
```bash
aliyun elasticsearch open-https --instance-id es-cn-xxx
```

❌ **INCORRECT**:
```bash
aliyun elasticsearch OpenHttps --instance-id es-cn-xxx      # Should use lowercase hyphen
aliyun elasticsearch enable-https --instance-id es-cn-xxx   # Wrong verb
```

### CloseHttps

✅ **CORRECT**:
```bash
aliyun elasticsearch close-https 

references/cli-installation-guide.md

# Aliyun CLI Installation & Configuration Guide

Complete guide for installing and configuring Aliyun CLI.

> **Aliyun CLI 3.3.3+**: Supports installing and using all published Alibaba Cloud product plugins. Make sure to upgrade to 3.3.3 or later for full plugin ecosystem coverage.

## Installation

### macOS

**Using Homebrew (Recommended)**
```bash
brew install aliyun-cli
# Upgrade to latest
brew upgrade aliyun-cli

# Verify version (>= 3.3.3)
aliyun version
```

**Using Binary**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-macosx-latest-amd64.tgz

# Extract
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

### Linux

**Debian/Ubuntu**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**CentOS/RHEL**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**ARM64 Architecture**
```bash
# Download ARM64 version
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-arm64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-arm64.tgz
sudo mv aliyun /usr/local/bin/
```

### Windows

**Using Binary**
1. Download from: https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip
2. Extract the ZIP file
3. Add the directory to your PATH environment variable
4. Open new Command Prompt or PowerShell
5. Verify: `aliyun version`

**Using PowerShell**
```powershell
# Download
Invoke-WebRequest -Uri "https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip" -OutFile "aliyun-cli.zip"

# Extract
Expand-Archive -Path aliyun-cli.zip -DestinationPath C:\aliyun-cli

# Add to PATH (requires admin privileges)
$env:Path += ";C:\aliyun-cli"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)

# Verify
aliyun version
```

## Configuration

### Quick Start

```bash
aliyun configure set \
  --mode AK \
  --access-key-id <your-access-key-id> \
  --access-key-secret <your-access-key-secret> \
  --region cn-hangzhou
```

All `aliyun configure` commands support non-interactive flags, which is the recommended approach —
it works in scripts, CI/CD pipelines, and agent-driven automation without hanging on stdin prompts.

**Where to Get Access Keys**

1. Log in to Aliyun Console: https://ram.console.aliyun.com/
2. Navigate to: AccessKey Management
3. Create a new AccessKey pair
4. Save the secret immediately — it's only shown once

### Configuration Modes

Aliyun CLI supports 6 authentication modes. All examples below use non-interactive flags.

#### 1. AK Mode (Access Key)

Most common mode for personal accounts and scripts.

```bash
aliyun configure set \
  --mode AK \
  --access-key-id LTAI5tXXXXXXX

references/ram-policies.md

# RAM Policies - Elasticsearch Instance Network Management

This document lists the RAM permissions required to execute Elasticsearch instance network management operations.

---

## Full Permission Policy

To execute all network management operations, use the following full permission policy:

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "elasticsearch:DescribeInstance",
        "elasticsearch:TriggerNetwork",
        "elasticsearch:EnableKibanaPvlNetwork",
        "elasticsearch:DisableKibanaPvlNetwork",
        "elasticsearch:UpdateKibanaPvlNetwork",
        "elasticsearch:ModifyWhiteIps",
        "elasticsearch:OpenHttps",
        "elasticsearch:CloseHttps",
        "elasticsearch:UpdateKibanaSso"
      ],
      "Resource": "*"
    }
  ]
}
```

---

## Per-Operation Permission Policies

### 1. DescribeInstance - View Instance Details

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:DescribeInstance",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

Limit to specific instance:

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:DescribeInstance",
      "Resource": "acs:elasticsearch:cn-hangzhou:*:instances/es-cn-xxxxxx"
    }
  ]
}
```

### 2. TriggerNetwork - Trigger Network Change

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:TriggerNetwork",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 3. EnableKibanaPvlNetwork - Enable Kibana Private Network Access

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:EnableKibanaPvlNetwork",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 4. DisableKibanaPvlNetwork - Disable Kibana Private Network Access

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:DisableKibanaPvlNetwork",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 5. UpdateKibanaPvlNetwork - Update Kibana Private Network Access Configuration

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:UpdateKibanaPvlNetwork",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 6. ModifyWhiteIps - Modify Whitelist

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:ModifyWhiteIps",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 7. OpenHttps - Enable HTTPS

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "elasticsearch:OpenHttps",
      "Resource": "acs:elasticsearch:*:*:instances/*"
    }
  ]
}
```

### 8. CloseHttps - Disable HTTPS

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow"

Sponsored

Ads related to Alibabacloud Elasticsearch Network Manage and adjacent AI workflows.