Create a Kafka cluster
-
In the Dashboard, on the top menu click Products and select Managed Databases.
-
Click Create cluster.
-
Enter the cluster name.
-
Select a location. You cannot change the location after creation.
-
Select the DBMS — Kafka.
-
Select a Kafka version. You cannot change the version after creation.
-
Fill in the blocks:
- Node configuration;
- optional: Logging;
- Network;
- optional: Security;
- optional: DBMS settings.
-
Check the cluster price.
-
Click Create cluster.
Node configuration
-
Select a configuration line.
-
If you selected a line with custom configurations, select the disk type, specify the number of vCPUs, RAM size, and disk size.
-
If you selected a line with fixed configurations, select a configuration.
After creating the cluster, you can change the node configuration — scale the cluster.
Optional: Logging
To have access to cluster logs, enable logging. Logging consumes some of the cluster's computing resources.
-
Select the Collect technical cluster logs into the log service checkbox.
-
Select a log group or create a new one.
-
If you selected a new group, enter its name.
Network
You can add a Kafka cluster to a new or existing subnet. The subnet can be:
-
private — no internet access. You cannot use a public IP address.
-
public — where all addresses are accessible from the internet.
Private subnet
Public subnet
-
To add an existing private subnet, in the Subnet field, select an existing one. At least one address must be available in the subnet. You cannot change the subnet after cluster creation.
-
To add a new private subnet:
2.1. In the Subnet field, select New private subnet. You cannot change the subnet after cluster creation.
2.2. Optional: change the subnet CIDR.
2.3. Optional: change the network in which the subnet will be created—you can select an existing network or create a new one. You cannot change the network after cluster creation.
Optional: Security
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. If traffic filtering is disabled, all traffic will be allowed.
Optional: DBMS settings
To view the default DBMS settings or change them, click Edit. We recommend changing setting values only when necessary—incorrectly selected values may lead to cluster failure or performance degradation.