

Among the available NoSQL solutions, Couchbase is designed to provide low-latency data management for large-scale applications. With its simple administration, fast performance and advanced engine for executing SQL-like queries, Couchbase is able to satisfy the majority of requirements a database should comply with.
Thus, to allow our customers benefit from all the advantages this data storing system provides, today we’ll consider a one-click solution the Jelastic team has developed for you to easily deploy an auto-scalable Couchbase cluster within Docker containers inside the Cloud. Further, we’ll take a look at the appropriate package specifics and consider a detailed guide on its installation and connectivity configurations.
Auto-Scalable Couchbase Cluster Package Specifics
The Couchbase Cluster package by Jelastic is built upon the official couchbase Docker image as a base. During its deployment, you can set the desired number of cluster nodes (up to 10 instances) to be created. All cluster members (both the initially created ones and subsequently added nodes) will be automatically interconnected to represent a single highly available data storing system. In this way, you get a ready-to-use logical grouping of container instances rather than a set of standalone nodes that require additional configurations’ appliance for even data distribution.

As for the memory allocation parameters, they are set as following for each node in a cluster by default:
- Data RAM size, required to handle CRUD data operations (create/read/update/delete), is limited to 1024 MiB
- Index RAM, which maintains secondary indexes and performs index scan for N1QL queries, could consume up to 256 MiB
- Full Text Search (FTS) RAM, which is utilized for creating, managing and querying full text indexes on JSON documents, is assigned a maximum of 256 MiB
Auto-Scaling and Rebalancing Configurations
The Couchbase cluster is to be expanded/shrunk with automatic horizontal scaling (i.e. by changing containers count) based on the following resources consumption conditions:
- +1 node (up to 10 instances per layer) if either RAM or CPU usage exceeds 70% of the allocated capacity for at least 5 minutes
- -1 node (but not less than a number of containers you’ve stated initially, i.e. during package installation) whenever RAM or CPU usage drops under 40% of a set limit and remains in this range for at least 5 minutes
The appropriate modifications are automatically applied to add/remove Couchbase nodes, whilst you receive the corresponding email notification upon each executed scaling operation. If necessary, these default auto-scaling trigger settings could be subsequently changed by following the Automatic Horizontal Scaling guide.
Each time a cluster is scaled in or out, the process of rebalancing takes place. It represents an automated operation of data redistribution across available nodes in a cluster. During this operation, a cluster remains fully workable and continues to serve and handle client requests.

Now, let’s proceed further to examine how to easily get such Couchbase cluster up and running with Jelastic Cloud hosting.
Couchbase Cluster in the Cloud: One-Click Deploy
With the considered prepackaged solution for one-click installation, the process of Couchbase cluster deployment is fully automated and doesn’t require any manual configurations - just several steps to accomplish.
1. Log in to the Jelastic Cloud with your credentials and click Marketplace at the top pane.

2. In the opened frame, set a number of Nodes in Cluster to be created (considering that this value will be set as a minimal cluster size and can’t be decreased due to auto-scaling). Then type an Environment name, and, optionally, alternative Display Name (alias) for it.

3. Once cluster deployment is completed, you’ll be provided with credentials for its administrating in the appeared pop-up and, at the same time, via dedicated email notification.



- Cluster - intended to provide data on cluster RAM and disc space usage upon its filling up with data
- Servers - displays general information on servers count within a cluster and their status
For a detailed guidance on working with Couchbase Web Console, refer to the official documentation.
Now, when the cluster is up and running, it can serve your application as a highly available and elastic data storage - the details on setting up a proper interaction between them will be considered in one of the forthcoming articles. Thus, keep track on Jelastic blog updates whilst exploring the efficiency of the above described clustered Couchbase DB solution by your own with a free 2-week trial period at one of our partner's Cloud Platforms.
Have any questions on scalable Couchbase cluster deployment to Jelastic in one click? Feel free to submit them within the comments below or get in touch with our technical experts at Stackoverflow.





