Getting Started Using Amazon MSK
This section shows you an example of how you can create an MSK cluster, produce and consume data, and monitor the health of your cluster using metrics. This example doesn't represent all the options you can choose when you create an MSK cluster. In different parts of this tutorial, we choose default options for simplicity. This doesn't mean that they're the only options that work for setting up an MSK cluster or client instances.
This is a step-by-step tutorial that uses the AWS Management Console and the AWS CLI. If you prefer to follow a different approach, you can perform the types of AWS operations described in this tutorial using only the AWS Management Console, only the AWS CLI, only the AWS API, or a combination of the three environments. Alternatively, you can use AWS CloudFormation to set up an MSK cluster. For some example AWS CloudFormation templates, see Amazon MSK CloudFormation Examples.
Prerequisites
Before you start, ensure that you have an AWS account and that you have the AWS Command Line Interface (AWS CLI) installed on your computer. For more information about these prerequisites, see Setting Up Amazon MSK .
Make sure that you have the latest version of the AWS CLI. Earlier versions might not have the full functionality of Amazon MSK.
Topics
- Step 1: Create a VPC for Your MSK Cluster
- Step 2: Enable High Availability and Fault Tolerance
- Step 3: Create an Amazon MSK Cluster
- Step 4: Create a Client Machine
- Step 5: Create a Topic
- Step 6: Produce and Consume Data
- Step 7: Use Amazon CloudWatch to View Amazon MSK Metrics
- Step 8: Delete the Amazon MSK Cluster