{"slug": "how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university", "title": "How to Automate CockroachDB Operations with AI Using Cockroach University", "summary": "Cockroach Labs launched three new hands-on courses on Cockroach University that teach developers and database administrators how to use AI agents to automate CockroachDB operations such as rolling restarts, encryption key rotation, and planned node maintenance. The courses leverage the CockroachDB Agent Skills repository, a collection of machine-executable operational workflows that AI agents like Claude Code can execute directly with built-in guardrails. This initiative aims to help teams build practical experience with AI-assisted database operations before applying them in production.", "body_md": "AI agents aren't just changing how applications interact with databases, they're changing how teams *operate* them. Tasks that once meant stepping through runbooks line by line can now be handled by AI agents using structured, machine-executable skills, including:\n\nrolling restarts\n\nencryption key rotation\n\nplanned node maintenance\n\nThat's what’s driving [ CockroachDB Agent Skills](https://github.com/cockroachlabs/cockroachdb-skills): a public repository of operational workflows that AI agents like Claude Code can execute directly, with built-in guardrails.\n\n[makes it easy to learn how to put those skills to work, with three new hands-on courses and a](https://learn.cockroachlabs.com/)\n\n__Cockroach University__[of the](https://learn.cockroachlabs.com/plan/trial-subscription)\n\n__free trial__[.](https://www.cockroachlabs.com/blog/cockroachdb-training-subscription/)\n\n__CockroachDB Training Subscription__As AI becomes part of day-to-day database operations, teams need more than new tooling; they need repeatable ways to use it confidently. These courses help developers and database administrators build practical experience with AI-assisted operational workflows, before applying them in production.\n\n**How do AI agents automate CockroachDB operations? **\n\nCockroachDB's [ Agent Skills repository](https://github.com/cockroachlabs/cockroachdb-skills) is a curated collection of structured, machine-executable capabilities that encode CockroachDB operational expertise. Instead of manually following runbooks, you give AI agents like Claude Code, Cursor, or any tool that supports the\n\n[a skill, and it handles the operational sequence for you.](https://agentskills.io/)\n\n__Agent Skills specification__That consistency matters just as much as speed. By standardizing how common operational tasks are performed, Agent Skills help reduce manual variation while making proven operational practices easier to adopt across teams.\n\nSkills are organized by domain: [ resilience and disaster recovery](https://www.cockroachlabs.com/blog/disaster-recovery-cockroachdb-surviving-failures/), security and governance, observability, performance, and more. They're part of CockroachDB's broader\n\n[, which also includes the](https://www.cockroachlabs.com/blog/cockroachdb-ai-agents-agent-ready-database/)\n\n__Agent Ready ecosystem__[and the redesigned](https://www.cockroachlabs.com/blog/cockroachdb-ai-agents-managed-mcp-server/)\n\n__CockroachDB Cloud MCP Server__[, all supporting AI agents as first-class database users.](https://www.cockroachlabs.com/blog/cockroachdb-ai-agents-cli-database-automation/)\n\n__ccloud CLI__When we launched Agent Skills, building training around them felt like a natural next step. We chose rolling restarts, encryption at rest, and planned node maintenance as the first three courses because they're practical entry points. These are routine operational tasks where agentic automation can immediately streamline day-to-day workflows.\n\nTogether, the three courses teach you how to direct AI agents through common administrative tasks, while understanding the CockroachDB behaviors that keep applications available and data secure.\n\n**Related **\n\n[ The Architect's Playbook for Building AI-Ready Systems](https://www.cockroachlabs.com/guides/architects-playbook-ai-ready-systems/) –\n\n*AI agents need infrastructure that scales without sacrificing consistency or reliability. This guide covers practical architectures and design patterns for building AI-ready systems on distributed SQL, from vector workloads to global scalability.*\n\n**What do you learn in an AI-powered CockroachDB training course? **\n\nEach course is a self-paced, on-demand lab where you use Claude Code to complete a real [ CockroachDB](https://www.cockroachlabs.com/product/overview/) operational task from start to finish. No prerequisites required, just bring your curiosity and a willingness to work alongside an AI agent.\n\n### Rolling restarts course\n\nIn this course, you will:\n\nUse Claude Code to perform rolling restarts on a five-node CockroachDB cluster while maintaining application availability\n\nDirect Claude through the draining process and observe how CockroachDB transfers leaseholders and completes in-flight requests\n\nTune cluster settings that control graceful shutdown behavior\n\n### Encryption at rest course\n\nIn this Cockroach University course, you will:\n\nBegin by observing how data is written to storage files when encryption is not enabled, and the risks that come with it\n\nDirect Claude to enable encryption at rest, verify encryption status using CockroachDB's administrative interfaces, and understand how data keys are managed internally.\n\nLearn how to execute key rotation without downtime or service disruption.\n\n## Planned node maintenance course\n\nIn this course you will:\n\nWork with a five-node cluster and direct Claude to take a node out of service in a controlled, graceful manner\n\nBefore performing maintenance, verify cluster health and confirm the cluster can tolerate the temporary loss of a node\n\nMonitor how CockroachDB redistributes replicas to preserve consistency and fault tolerance, then bring the node back online and confirm the cluster returns to a healthy, balanced state\n\nAll three courses are available now on the [ Cockroach University on-demand courses page](https://learn.cockroachlabs.com/page/on-demand-courses). This is just the beginning: We're developing more AI-powered courses, including multi-region database conversion,\n\n[, and an on-demand version of our live Vector Search at Scale training.](https://www.cockroachlabs.com/docs/stable/disaster-recovery-overview)\n\n__point-in-time recovery__**How can teams try CockroachDB training for free?**\n\nThe new [ Training Subscription free trial](https://learn.cockroachlabs.com/plan/trial-subscription) gives your team 90 days of access to six instructor-led courses, with no commitment required. Certifications aren't included in the trial but can be purchased separately. As AI becomes part of everyday database operations, structured training helps teams develop the skills and shared practices needed to use it effectively.\n\nThe full [ CockroachDB Training Subscription](https://www.cockroachlabs.com/blog/cockroachdb-training-subscription/) provides 12 months of unlimited access to the entire training catalog:\n\ninstructor-led courses offered at least twice per month across US, EMEA, and APAC time zones\n\n65+ hands-on labs\n\ndeveloper and administrator learning paths\n\nprofessional certifications (purchase separately with free trial)\n\nWhether you're evaluating CockroachDB, scaling a [ multi-region deployment](https://www.cockroachlabs.com/blog/build-a-highly-available-multi-region-database/), or onboarding new team members, the subscription is designed to remove barriers and accelerate your team's path to production.\n\n**Related **\n\n[ Architecting Persistent Memory for Multi-Agent Systems](https://www.cockroachlabs.com/webinars/architecting-persistent-long-term-memory-for-multi-agent-systems/) –\n\n*Production agents must remember context across sessions, and that memory layer has to be fast, consistent, and globally available. This webinar explores how to architect persistent memory for multi-agent systems backed by distributed SQL.*\n\n**How do you get started with Cockroach University?**\n\nHead to [ learn.cockroachlabs.com](https://learn.cockroachlabs.com/) to browse the full course catalog. The three new Agent Skills courses are free and available now, no subscription required. To explore the Training Subscription,\n\n[.](https://learn.cockroachlabs.com/plan/trial-subscription)\n\n__start with the free 90-day trial__Want to explore Agent Skills on your own? The [ CockroachDB Agent Skills repository](https://github.com/cockroachlabs/cockroachdb-skills) is public on GitHub and installs in one line: npx skills add cockroachlabs/cockroachdb-skills.\n\nCockroach University is the central hub for hands-on CockroachDB training, whether you're exploring new database features, preparing for certification, or learning how AI can automate database operations. The teams that invest in structured training deploy faster, avoid costly missteps, spend less time fighting infrastructure, and more time building what matters.\n\n[ Start a free trial of CockroachDB](https://www.cockroachlabs.com/signup) |\n\n__Try the Training Subscription free____Nathan Zamecnik__* is Director of Learning at Cockroach Labs, where he leads the strategy and development of technical training, certifications, and hands-on learning experiences for customers, partners, and employees. Previously, he built and scaled training and certification programs at Elastic and MongoDB, creating global learning initiatives and growing high-performing education teams. With a career focused on technical enablement, Nathan is passionate about helping developers and database professionals build the skills they need to successfully adopt modern distributed data platforms.*", "url": "https://wpnews.pro/news/how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university", "canonical_source": "https://cockroachlabs.com/blog/ai-cockroachdb-training-courses", "published_at": "2026-07-13 00:00:00+00:00", "updated_at": "2026-07-13 13:09:26.189583+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-products", "developer-tools"], "entities": ["Cockroach Labs", "CockroachDB", "Cockroach University", "Claude Code", "CockroachDB Agent Skills", "Agent Skills specification", "CockroachDB Cloud MCP Server", "ccloud CLI"], "alternates": {"html": "https://wpnews.pro/news/how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university", "markdown": "https://wpnews.pro/news/how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university.md", "text": "https://wpnews.pro/news/how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university.txt", "jsonld": "https://wpnews.pro/news/how-to-automate-cockroachdb-operations-with-ai-using-cockroach-university.jsonld"}}