Create a Kafka cluster
Control Panel
Terraform
-
In the Control Panel, on the top menu click Products and select Managed Databases.
-
Click Create cluster.
-
Enter the cluster name.
-
Select a location. You will not be able to change it after creation.
-
Select DBMS — Kafka.
-
Select a Kafka version. You will not be able to change it after creation.
-
Select a configuration line and specify the number of vCPU, RAM size, and disk size.
After creating the cluster, you can change the node configuration — scale the cluster.
-
Optional: to access cluster logs, enable logging. Logging uses some of the cluster's computing resources.
8.1.Check the Collect technical cluster logs to a log service checkbox.
8.2.Select a log group or create a new one.
8.3.If you selected a new group, enter its name.
-
Select or create a subnet:
- a private subnet — a subnet without internet access;
- or a public subnet — all addresses in a public subnet are accessible from the internet.
Make sure at least one address is available in the network. You will not be able to change the network after creating the cluster.
A public IP address cannot be used.
You can restrict the list of addresses allowed to access the database cluster.
-
If you are creating a private subnet, specify the CIDR of the subnet.
-
If you want to use the DHCP protocol for a private subnet, turn on the DHCP toggle.
-
If you are creating a public network, specify the subnet size.
-
Optional: select security groups to filter incoming and outgoing cluster traffic. If the Security block is missing, traffic filtering (port security) is disabled in the cluster network. With filtering disabled, all traffic is allowed.
-
Optional: to view default DBMS settings or change them, click Change. We recommend changing setting values only when necessary — incorrectly selected values can reduce cluster performance.
-
Check the cluster price.
-
Click Create cluster. The cluster will be ready to use when it switches to the
ACTIVEstatus.