Administer and Monitor Couchbase


Administer and Monitor Couchbase

Authors: Kishan Iyer, Luca Christille

As a key component in your business solution, Couchbase instances need to be monitored and managed to optimize availability and performance. This skill will address monitoring and... Read more

What You Will Learn

  • Managing a Couchbase installation
  • Executing backups and restores
  • Configuring alerts and monitoring
  • Managing failovers
  • Securing clusters
  • Couchbase Lite installation and synchronization


  • JSON
  • Javascript
  • General database administration
  • Document databases


Learn to create Couchbase nodes and buckets, and manage the core functionality of the Couchbase servers.

Create Couchbase Nodes and Buckets

by Kishan Iyer

May 5, 2020 / 2h 11m

2h 11m

Start Course

Couchbase is a document-oriented database with a distributed architecture, meaning its data and services are distributed over a number of nodes in a cluster. In this course, Create Couchbase Nodes and Buckets, you will explore the setting up and maintenance of a multi-node Couchbase cluster using the Couchbase web UI, the CLI, and the REST API. First, you will learn to create a cluster with a single node and load data into a bucket. Then, you will delve into adding nodes to the cluster and how this influences factors such as data replication and distribution. Next, you will discover how to deal with node removal and the unavailability of nodes in a cluster and how these can be handled by performing a failover, including graceful failovers of running nodes and hard failovers of failed nodes. After that, you will explore bucket initialization and the various properties of buckets in Couchbase - from setting their documents to expire after a given length of time, to enabling the removal of all data from a bucket with a single command. Finally, you will learn the effects of fragmentation on a Couchbase bucket and how this can be addressed by the compaction process. When you’re finished with this course, you will have a broad understanding of the options available when working with a multi-node Couchbase cluster and when configuring buckets in Couchbase.

Table of contents
  1. Course Overview
  2. Creating a Couchbase Cluster
  3. Managing Couchbase Clusters and Nodes
  4. Configuring Buckets in Couchbase

Manage Couchbase Servers and Clusters

by Kishan Iyer

Jun 30, 2020 / 3h


Start Course

Managing a Couchbase cluster requires a wide array of factors to be considered, ranging from testing its performance to recovering from node failures or data loss. In this course, Manage Couchbase Servers and Clusters, you'll learn a number of options available with regards to cluster management from a theoretical and also a hands-on perspective. First, you'll discover how to set up a multi-node Couchbase cluster and test its performance while subjected to a load using cbworkloadgen. You'll also cover the encryption of traffic between cluster nodes. Next, you'll explore the variety of ways in which node failures can be handled in a cluster by performing failovers in order to recover data from their replicas. This includes hard failovers where nodes fail unexpectedly and graceful failovers where node removal is planned. Then, you'll move to backing up the contents of a cluster including the use of cbtransfer to migrate data between clusters and performing a more structured backup using cbbackupmgr. This includes restoring a cluster to a prior state using one of the available backups. Finally, you'll learn the setting up of cross data center replication, or XDCR, and how the cbrecovery utility can be used to recover from the failure of multiple nodes. When you're done with this course, you'll have a better understanding in managing different forms of replication, generating backups of your cluster, and significantly - you will have the knowledge and skills to recover from failures or data loss on your Couchbase cluster.

Table of contents
  1. Course Overview
  2. Configuring a Cluster
  3. Handling Failovers in a Cluster
  4. Managing Data in Couchbase
  5. Working with Remote Data Replicas


Learn to manage Couchbase Lite as part of a Couchbase ecosystem.

Manage Couchbase Lite

by Luca Christille

Mar 12, 2020 / 1h 29m

1h 29m

Start Course

Designing world-wide platforms able to engage users with always up-to-date and offline-first data is challenging. In this course, Manage Couchbase Lite, you will learn foundational knowledge of data management with Couchbase Lite and Sync Gateway. First, you will learn how to integrate Couchbase Lite into your mobile applications. Next, you will discover how to manage data flow with Sync Gateway. Finally, you will explore how to manage user authentication and authorization within the platform. When you are finished with this course, you will have the skills and knowledge of data flow management needed to build engaging platforms for your users.

Table of contents
  1. Course Overview
  2. Understanding Couchbase Lite and Sync Gateway Architecture
  3. Integrating Couchbase Lite in Your Client Applications
  4. Synchronizing Data with Sync Gateway
  5. Authenticating Your User
  6. Authorizing Your Users


Secure and monitor Couchbase clusters.

Secure Couchbase Clusters

by Kishan Iyer

Jun 26, 2020 / 2h 40m

2h 40m

Start Course

Once you begin scaling out your Couchbase cluster, the security of your database begins to take on more importance. In this course, Secure Couchbase Clusters, you'll explore the most crucial factors related to security and privacy in Couchbase. First, you'll discover Role-based access control (RBAC) and how it applies to the management of users, groups, and roles in Couchbase. Next, you'll learn about user management from the UI and how this can be achieved programmatically using the Couchbase CLI and the REST API. Then, you'll delve into the auditing feature in Couchbase and how this can be used to track the activities of users and the occurrence of a variety of events on a cluster. After that, you'll develop an understanding of the encryption settings such as cipher suites, and how to enable a node-to-node encryption. Finally, you'll explore the creation and installation of custom certificates to secure communications on a cluster. By the end of this course, you'll be well-versed in the options available to manage security on a Couchbase cluster - from ensuring that the right people have the right degree of access, that sensitive information is well-protected, and that network traffic to and from your cluster is secured.

Table of contents
  1. Course Overview
  2. Configuring and Managing Users
  3. Managing Users Programatically
  4. Monitoring Activity Using Logs
  5. Securing and Managing Clusters
  6. Creating Certificates for a Cluster

Monitor Couchbase Clusters

by Kishan Iyer

May 4, 2020 / 2h 20m

2h 20m

Start Course

An important part of maintaining a distributed database such as Couchbase is to monitor its state and performance on a continuous basis. In this course, Monitor Couchbase Clusters, You'll cover how a Couchbase environment can be monitored using the log files and the statistics which are generated. It also delves into the options available for query monitoring and analysis. First, you'll look at the log files which are generated by Couchbase and how log configurations can be modified. you'll also look into the feature of explicit logging and how this can be initiated from the Couchbase UI and also programmatically from the shell. Next, You'll then discover how to gathering cluster statistics including the resource utilization on each node as well as the cluster overall. These are performed using the Couchbase UI, the CLI, and the REST API. Finally, You'll then move on to query monitoring. Learn how you can access details of running queries and how long-running queries can be terminated. You'll also analyze the data for high-latency queries and the indexes which are present in a cluster. You'll explore the query profiling feature which allows query execution statistics to be returned along with the results so that real-time analysis can be performed. Once you’re done with this course, you will be quite the expert on different options available for monitoring a Couchbase cluster. From analyzing log data and real-time statistics to query executions, you will be able to keep an eye on the health and performance of your Couchbase cluster.

Table of contents
  1. Course Overview
  2. Managing and Configuring Logs
  3. Monitoring Clusters in Couchbase
  4. Collecting N1QL Query Statistics
Offer Code *
Email * First name * Last name *
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By providing my phone number to Pluralsight and toggling this feature on, I agree and acknowledge that Pluralsight may use that number to contact me for marketing purposes, including using autodialed or pre-recorded calls and text messages. I understand that consent is not required as a condition of purchase from Pluralsight.

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit