This article describes the deployment of a Ceph cluster in one instance or as it’s called “Ceph-all-in-one”. As you may know, Ceph is a unified Software-Defined Storage system designed for great performance, reliability, and scalability. With the help of Ceph, you can build an environment with the desired size. You can start with a one-node system and there are no limits in its sizing. I will show you how to build the Ceph cluster on top of one virtual machine (or instance). You should never use such scenario in production, only for testing purposes.

The series of articles will guide you through the deployment and configuration of different Ceph cluster builds.

Virtual Machine Deployment

Before you begin, you can download our pre-deployed OVF template. In case you want to look at Ceph from the inside, proceed reading the article 😊

We are going to use Debian 8 as a base OS. You can download it here:

First, we are going to create ESXi VM with the following settings:

ESXi VM creation settings

Of course, the next step is to install the OS. You can find a detailed guide about the OS installation here:

StarWind® Ceph all-in-one Cluster: How to deploy Ceph all-in-one Cluster

Configuring the Virtual Machine and the operating system

We need to add the Virtual Disk with a desirable size to the VM. The VD is going to be used by Object Storage Daemon. I started with a small one – 16 GB.

add the Virtual Disk with a desirable size to the VM

Let’s boot the VM into the recently installed OS and log in to it using the root account. Update Debian using the following command:

Install the packages and configure NTP.

We need to add the user (the one we have created during the installation) to sudoers (where %USERNAME% is the user account you have created during the OS installation):


Now, I am going to connect to the VM via SSH, using a new account.

StarWind HyperConverged Appliance is a turnkey hyper-converged hardware platform fitted into a small two-node footprint. You don’t need anything else to build a budget-friendly new IT infrastructure or upgrade an existing one. All your systems will be “babysitted” by StarWind 24/7/365, troubleshooting any concerns without your involvement. Everything’s operated through a neat web UI. We’ll also migrate your workloads at no extra cost.

Dramatically decrease your CapEx, OpEx, and IT management costs, while visibly increasing return on investment (ROI) with hyperconvergence for ROBO, SMB & Edge from StarWind.


Configure SSH:

Generate the ssh keys for %USERNAME% user:

Leave the passphrase as blank/empty.

Edit file and remove “%USERNAME%@host” (name of the user) at the end of the string

Let’s add host ip (eth0) and a hostname to /etc/hosts

add host ip and a hostname to etc hosts

We have prepared our Virtual Machine for Ceph deployment.

Ceph Deployment

Finally, we are going to deploy the “Ceph-all-in-one” cluster. We need to create the directory “Ceph-all-in-one”:

and move to it

Installing Ceph-deploy is another important procedure:

Create new config:

Next, I am going to install Ceph and add a monitor role to the node:

(“Ceph-all-in-one” is our hostname)

(“Ceph-all-in-one” our hostname, sdb name of the disk we have added in the Virtual Machine configuration section)

Let’s change Ceph rbd pool size:


change Ceph rbd pool size

After the deployment, we can check the cluster status:

check the ceph cluster status


We have successfully deployed the “Ceph-all-in-one” cluster allowing you to look at Ceph abilities. You can create the RBD device to store your data. Also, you can add additional OSDs and configure Replicated or Erasure Coded pools, which I am going to cover in the following articles.

Back to blog