Create a Kafka cluster
Control panel
Terraform
-
In the Dashboard, on the top menu, click Products and select Cloud Databases.
-
Click Create Cluster.
-
Enter the name of the cluster.
-
Select a region.
-
Select a pool. Once created, the pool cannot be changed.
-
Select RDBMS — Kafka.
-
Select the Kafka version. Once created, the version cannot be changed.
-
Select a line of configurations and specify the number of vCPUs, RAM size, and disk size.
Once the cluster is created, you can change the configuration of nodes — scaling the cluster.
-
Optional: To access cluster logs, enable logging. Logging uses a portion of the cluster's compute resources.
9.1.Check the Collect cluster technical logs to log service checkbox.
9.2.Select a log group or create a new group.
9.3.If you have selected a new group, enter its name.
-
Select or create a subnet:
- private subnet — a subnet without access from the Internet. You can connect a static public IP address;
- or public subnet — all addresses on a public subnet are accessible from the Internet.
Make sure that at least one address is available on the network. Once a cluster is created, the network cannot be changed.
A public IP address cannot be used.
You can restrict the list of addresses from which access to the database cluster will be allowed.
-
If you are creating a private subnet, specify the CIDR of the subnet.
-
If you want to use DHCP for a private subnet, enable the DHCP toggle switch. Learn more about the DHCP protocol in the Selectel blog article DHCP Protocol Principles.
-
If you are creating a public network, specify the subnet size.
-
Optional: Check the security groups to filter inbound and outbound cluster traffic. If the Security block is unchecked , port security is disabled on the cluster network . With traffic filtering disabled, all traffic will be allowed.
-
Optional: To view the default values of the DBMS settings or to change them, click Change. We recommend that you change the settings values only when necessary — incorrect values may reduce cluster performance.
-
Check the price of the cluster.
-
Click Create Cluster. The cluster will be ready for operation when it enters
the ACTIVE
status.
Use the Create a Kafka cluster instructions in the Terraform documentation.