configuring-private-connectivity

A guide for connecting CockroachDB Cloud privately to applications and external services through provider networking such as AWS PrivateLink, GCP Private Service Connect, Azure Private Link, or VPC peering. Private connectivity keeps database traffic off the public internet.

In plain words
What is it for?
Use it to set up or troubleshoot private database access, configure outbound private endpoints, connect cloud networks, or automate the setup with Terraform.
Why use it?
It reduces public exposure and helps resolve connection, DNS, and pending-endpoint problems. It also covers private outbound connections for services such as Kafka.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cockroachdb/cursor-plugin/configuring-private-connectivity
Any agent
npx skills add cockroachdb/cursor-plugin --skill configuring-private-connectivity
Clone the repo
git clone --depth 1 https://github.com/cockroachdb/cursor-plugin

Made for: Claude Code, Codex.

Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00071 $0.03227
Opus 5 $0.00036 $0.01614
Sonnet 5 $0.00014 $0.00645
Haiku 4.5 $0.00007 $0.00323

Measured 2d ago against content hash 523ee33d3a10, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

configuring-private-connectivity scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://cockroachlabs.cloud/api/v1/clusters/<cluster-id>/networking/private-endpoint-services" \
Origin

This is a copy

100% identical to configuring-private-connectivity — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/cockroachdb-security-and-governance/configuring-private-connectivity/SKILL.md · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Configuring Private Connectivity

Configures private network connectivity for CockroachDB Cloud clusters to eliminate public internet exposure for database traffic. Covers ingress private endpoints (AWS PrivateLink, GCP Private Service Connect, Azure Private Link), egress private endpoints for outbound connections to external services, and VPC peering.

When to Use This Skill

  • Setting up private endpoints to eliminate public internet exposure for database connections
  • Configuring egress private endpoints for CDC changefeeds to Confluent Kafka or other external services
  • Establishing VPC peering between a CockroachDB Cloud cluster and application VPCs
  • Troubleshooting DNS resolution issues with private endpoints
  • Resolving "stuck pending" or connection failure errors with private endpoints
  • Automating private connectivity setup with Terraform

Prerequisites

  • CockroachDB Cloud cluster — Standard or Advanced plan (VPC peering requires Advanced)
  • ccloud CLI authenticated with Cluster Admin role
  • Cloud provider access:
    • AWS: IAM permissions to create VPC endpoints, modify DNS, and manage security groups
    • GCP: Permissions to create Private Service Connect endpoints and DNS records
    • Azure: Permissions to create private endpoints and manage DNS zones
  • Cluster ID and cloud provider details from ccloud cluster info

Verify access:

ccloud auth whoami
ccloud cluster info <cluster-name> -o json

See ccloud commands reference for full command syntax.

Configuration Decisions

Before proceeding, determine which connectivity types and cloud provider apply to the user's environment. Ask which options are relevant, then follow only the corresponding sections below.

Decision 1 — Connectivity type(s) needed:

  • Ingress private endpoints: Applications connect to CockroachDB over a private network path (AWS PrivateLink, GCP Private Service Connect, Azure Private Link). Most common use case.
  • Egress private endpoints: CockroachDB connects outbound to external services (e.g., Confluent Kafka for CDC) over a private path.
  • VPC peering: Direct network connection between the application VPC and the CockroachDB Cloud VPC. Requires Advanced plan.
  • Combination: Multiple connectivity types can be configured together.

Read the full file on GitHub · 339 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 339 lines · 71 tokens per session scan A 523ee33d3a10

Subscribe to this mod's changes

configuring-private-connectivity is a skill published in the GitHub repository cockroachdb/cursor-plugin (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 3,227 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to configuring-private-connectivity, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

designing-multi-region-applications

Guides developers in selecting and implementing multi-region patterns for CockroachDB applications, covering active-passive vs active-active architectures, REGIONAL BY ROW, GLOBAL tables, manual geo-partitioning with lease preferences, and live demo setup with validation queries. Use when designing multi-region…

cockroachdb/claude-plugin · 89 tokens

managing-cluster-capacity

Manages CockroachDB cluster capacity across all tiers. Self-Hosted covers node decommissioning for permanent removal and adding nodes for expansion. Advanced/BYOC covers scaling node count and machine size via Cloud Console, API, or Terraform. Standard covers adjusting provisioned compute (vCPUs). Basic auto-scales …

cockroachdb/claude-plugin · 95 tokens

provisioning-cluster-for-production

Guides initial CockroachDB cluster provisioning and production deployment. Self-Hosted covers cockroach start/init, Kubernetes deployment (Operator, Helm), hardware sizing, and production configuration. Advanced/BYOC covers Cloud Console, API, and Terraform provisioning with production settings. Standard covers…

cockroachdb/claude-plugin · 96 tokens

configuring-private-connectivity

Configures private network connectivity for CockroachDB Cloud clusters including AWS PrivateLink, GCP Private Service Connect, Azure Private Link, egress private endpoints, and VPC peering. Use when setting up private endpoints to eliminate public internet exposure, configuring egress to external services like Kafka…

cockroachdb/claude-plugin · 71 tokens

shipping-and-launch

Prepares production launches. Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.

addyosmani/agent-skills · 45 tokens

cloudbase-platform

CloudBase platform overview and routing guide. This skill should be used when users need high-level capability selection, platform concepts, console navigation, or cross-platform best practices before choosing a more specific implementation skill.

TencentCloudBase/CloudBase-AI-Toolkit · 44 tokens