Skip to main content

Alibaba Cloud

Set up Kupboard clusters#


This section describes how to create and configure resources to build a kupboard cluster on Alibaba Cloud.

ECS Instance#

Kupboard clusters can be configured in a variety of ways depending on the service and application. In this example, we will create 1 server for the admin cluster, 1 server for the gateway cluster, and 4 servers for the service cluster.

You need to create 6 ECS instances as the table below. OS for all instances must be Ubuntu18.04 or 20.04. The size of additional disks should change depending services or pakcages installed on the service cluster.

ClusterInstance TypeQuantityBoot DiskAdditional Disk
Adminecs.g7.large <150GBN/A
Gatewayecs.g7.large <150GBN/A
Serviceecs.g7.large <450GB50GB <

The available instance types are different by regions and zone. You need to check which instance types are similar to the specification below.

  • 2 vCPUs / 4GiB MEM for Admin and Gateway
  • 2 vCPUs / 8GiB MEM for Sevice

VPC & VSwitch#

We need to create a VPC with a CIDR block or 172.x.0.0/20. VSwitch works similarly to subnets and it must be created in the same zone where the instance is created.

Security Group#

Create a security group for the VSwitch created above.

1 - 65535vswitch cidr
All1 - 655350.0.0.0/0

SSH Key#

In order to initialize the servers, you must first register the SSH Key. A new key-pair can be generated with the command below, and the generated keys can be found in data/certs. Go to Elastic Compute Service > Key Pairs > Create SSH Key Pair and import the public key.

$ kupboard --keygen

Then you can use the following command to initialize user settings.

$ kupboard setup --init-user --root-username root


Move to Data

Configuration Results#





Security Group#


SSH Key Pair#