Create an MSK Serverless cluster
In this step, you perform two tasks. First, you create an MSK Serverless cluster with default settings. Second, you gather information about the cluster. This is information that you need in later steps when you create a client that can send data to the cluster.
To create a serverless cluster
-
Sign in to the AWS Management Console, and open the Amazon MSK console at https://console.aws.amazon.com/msk/home
. -
Choose Create cluster.
-
For Creation method, leave the Quick create option selected. The Quick create option lets you create a serverless cluster with default settings.
-
For Cluster name, enter a descriptive name, such as
msk-serverless-tutorial-cluster
. -
For General cluster properties, choose Serverless as the Cluster type. Use the default values for the remaining General cluster properties.
-
Note the table under All cluster settings. This table lists the default values for important settings such as networking and availability, and indicates whether you can change each setting after you create the cluster. To change a setting before you create the cluster, you should choose the Custom create option under Creation method.
Note
You can connect clients from up to five different VPCs with MSK Serverless clusters. To help client applications switch over to another Availability Zone in the event of an outage, you must specify at least two subnets in each VPC.
-
Choose Create cluster.
To gather information about the cluster
In the Cluster summary section, choose View client information. This button remains grayed out until Amazon MSK finishes creating the cluster. You might need to wait a few minutes until the button becomes active so you can use it.
-
Copy the string under the label Endpoint. This is your bootstrap server string.
-
Choose the Properties tab.
Under the Networking settings section, copy the IDs of the subnets and the security group and save them because you need this information later to create a client machine.
Choose any of the subnets. This opens the Amazon VPC Console. Find the ID of the Amazon VPC that is associated with the subnet. Save this Amazon VPC ID for later use.
Next Step
Create an IAM role for topics on MSK Serverless cluster