Create a Kafka cluster
Control panel
Terraform
-
In control panel go to Cloud platform → Databases.
-
Click Create a cluster.
-
Enter the name of the cluster.
-
Select region.
-
Select pool.
-
Select the Kafka version. Once created, the version cannot be changed.
-
Select node configuration:
- fixed — configurations with different ratio of vCPU, RAM and local disk;
- arbitrary — free choice of the ratio of resources.
-
For a fixed configuration, select configuration line:
- Standard;
- CPU;
- Memory;
- HighFreq;
- Dedicated.
-
Select the type of subnet to which the cluster will be connected:
- private subnet — a subnet without access from the Internet;
- public subnet — all addresses on the public subnet are accessible from the Internet.
A public IP address cannot be used.
-
Select or create a subnet.
Addresses are assigned to each node in the cluster. Make sure that the number of addresses in the network is not less than the number of nodes in the cluster. Once a cluster is created, the network cannot be changed.
You can address list from which access to the database cluster will be allowed.
-
If you selected a private subnet, specify the subnet's CIDR.
-
If you want to use DHCP for a private subnet, turn on the toggle switch DHCP. Read more about the DHCP protocol in Selectel's blog article How DHCP works.
-
If you selected a public network, specify the subnet size.
-
Optional: change DBMS settings To do this, press Modify. We recommend that you change the settings only when necessary — incorrect values can reduce cluster performance.
-
Click Create a database cluster. The cluster will be ready for operation when it moves to status
ACTIVE
.
Use the instructions Create a Kafka cluster in the Terraform documentation.