This section describes how to create and configure resources to build a kupboard cluster on Alibaba Cloud.
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.
|Cluster||Instance Type||Quantity||Boot Disk||Additional Disk|
|Service||ecs.g7.large <||4||50GB||50GB <|
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
We need to create a VPC with a CIDR block
172.x.0.0/20. VSwitch works similarly to subnets and it must be created in the same zone where the instance is created.
Create a security group for the VSwitch created above.
|1 - 65535||vswitch cidr|
|All||1 - 65535||0.0.0.0/0|
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.
Then you can use the following command to initialize user settings.
Move to Data