Skip to content
Cloud & Infrastructure
Skill

/alibabacloud-elasticsearch-network-manage

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",

From plugin
alibabacloud-aiops-skills
300200 skills

Claude Code

$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-elasticsearch-network-manage --agent claude-code

SKILL.md

alibabacloud-elasticsearch-network-manage.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.

# 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:

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

**[MUST] Plugin Update**

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

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

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 Confirmation

> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, instance names, white IPs, > VPC IDs, security groups, etc.) MUST be confirmed with the user. > Do NOT assume or use default values without explicit user approval.

| Parameter Name | Required/Optional | Description | Default Value | |---------------|-------------------|-------------|---------------| | `InstanceId` | Required (for all operations) | Elasticsearch Instance ID | - | | `RegionId` | Optional | Region ID | cn-hangzhou | | `nodeType` | Required (TriggerNetwork) | Instance Type: KIBANA/WORKER | - | | `networkType` | Required (TriggerNetwork) | Network Type: PUBLIC/PRIVATE | - | | `actionType` | Required (TriggerNetwork) | Action Type: OPEN/CLOSE | - | | `resourceGroupId` | Optional | Resource Group ID | - | | `whiteIpGroup` | Required (ModifyWhiteIps) | White IP Group Configuration | - | | `whiteIpType` | Optional (ModifyWhiteIps) | White IP Type: PRIVATE_ES/PUBLIC_KIBANA | PRIVATE_ES |

---

Authentication

> **Pre-check: Alibaba Cloud Credentials Required** > > **Security Rules:** > - **NEVER** read, echo, or print AK/SK values > - **NEVER** ask user to input AK/SK in conversation or command line > - **ONLY** use `aliyun configure list` to check credential status > > ```bash > aliyun configure list > ``` > > If no valid credentials, guide user to run `aliyun configure` in terminal (never accept plaintext AK/SK in chat). > Credential portal: [Alibaba Cloud RAM Console](https://ram.console.aliyun.com/manage/ak)

---

RAM Policy

RAM permissions required for Elasticsearch instance network configuration operations. See [references/ram-policies.md](references/ram-policies.md) for details.

---

Core Workflow

> **Prerequisite: Instance Status Check** > > Before executing any network configuration operation, verify that the instance status is `active`. > Network configuration changes **cannot be executed** when instance status is `activating`, `invalid`, or `inactive`. > > ```bash > # Check instance status with retry logic > max_retries=10 > retry_count=0 > while [ $retry_count -lt $max_retries ]; do > status=$(aliyun elasticsearch describe-instance \ > --instance-id <InstanceId> \ > --read-timeout 30 \ > --user-agent AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-network-manage | jq -r '.Result.status') > > if [ "$status" == "active" ]; then > echo "✅ Instance status is active, proceeding..." > break > else > echo "⚠️ Instance status is $status, waiting 30s before retry..." > sleep 30 > retry_count=$((retry_count + 1)) > fi > done > > if [ $retry_count -eq $max_retries ]; then > echo "❌ Instance did not become active after $max_retries retries, aborting" > exit 1 > fi > ```

Task 1: Trigger Network (Enable/Disable Public/Private Network Access)

Enable or disable public or private network access for Elasticsearch or Kibana clusters.

>

Read more
@aliyun
Ships withalibabacloud-aiops-skills

Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.

Stars on GitHub

Momentum

stars in total
300
Star history of aliyun/alibabacloud-aiops-skills on GitHub, a chart by star-history.com

Other skills on alibabacloud-aiops-skills.

More skills from other plugins.

container

container

Use when running, building, or managing Linux containers on macOS, or when a task involves Docker, docker compose, Lima, Colima,…

@apple@appleInstall Skill
agent-advisor

agent-advisor

Entry point for AI-agent work on AWS: pick a runtime, plan a migration for existing workloads, and build an executable POC — one…

@aws@awsInstall Skill
agents-sdk
Auto-invoked

agents-sdk

Build, debug, or review Cloudflare Agents SDK applications using the agents package.

@cloudflare@cloudflareInstall Skill

Questions about alibabacloud-elasticsearch-network-manage.

Which coding agents can use alibabacloud-elasticsearch-network-manage?
alibabacloud-elasticsearch-network-manage installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.