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
-
Open the Amazon MSK console at https://console.aws.amazon.com/msk/home
. In the list of clusters, choose the cluster that you created for this tutorial.
For Actions, choose Delete cluster.
-
Enter
delete
in the field, then choose Delete.
To stop the client machine
Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/
. -
In the list of Amazon EC2 instances, choose the client machine that you created for this tutorial.
-
Choose Instance state, then choose Terminate instance.
-
Choose Terminate.
To delete the IAM policy and role
Open the IAM console at https://console.amazonaws.cn/iam/
. -
On the navigation pane, choose Roles.
-
In the search box, enter the name of the IAM role that you created for this tutorial.
Choose the role. Then choose Delete role, and confirm the deletion.
-
On the navigation pane, choose Policies.
-
In the search box, enter the name of the policy that you created for this tutorial.
-
Choose the policy to open its summary page. On the policy's Summary page, choose Delete policy.
-
Choose Delete.