Delete resources that you created for MSK Serverless - Amazon Managed Streaming for Apache Kafka
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete resources that you created for MSK Serverless

In this step, you delete the resources that you created in this tutorial.

To delete the cluster
  1. Open the Amazon MSK console at https://console.aws.amazon.com/msk/home.

  2. In the list of clusters, choose the cluster that you created for this tutorial.

  3. For Actions, choose Delete cluster.

  4. Enter delete in the field, then choose Delete.

To stop the client machine
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. In the list of Amazon EC2 instances, choose the client machine that you created for this tutorial.

  3. Choose Instance state, then choose Terminate instance.

  4. Choose Terminate.

To delete the IAM policy and role
  1. Open the IAM console at https://console.amazonaws.cn/iam/.

  2. On the navigation pane, choose Roles.

  3. In the search box, enter the name of the IAM role that you created for this tutorial.

  4. Choose the role. Then choose Delete role, and confirm the deletion.

  5. On the navigation pane, choose Policies.

  6. In the search box, enter the name of the policy that you created for this tutorial.

  7. Choose the policy to open its summary page. On the policy's Summary page, choose Delete policy.

  8. Choose Delete.