Clean Up Amazon Resources
This section includes procedures for cleaning up Amazon resources created in the Getting Started (Table API) tutorial.
This topic contains the following sections.
Delete Your Kinesis Data Analytics Application
Use the following procedure to delete the application.
To delete the application
Open the Kinesis console at https://console.amazonaws.cn/kinesis
. -
In the Kinesis Data Analytics panel, choose MyApplication.
-
On the application page, choose Delete and then confirm the deletion.
Delete Your Amazon MSK Cluster
To delete your Amazon MSK cluster, follow Step 8: Delete the Amazon MSK Cluster in the Amazon Managed Streaming for Apache Kafka Developer Guide.
Delete Your VPC
To delete your Amazon VPC, do the following:
Open the Amazon VPC console.
Choose your VPC.
For Actions, choose Delete VPC.
Delete Your Amazon S3 Objects and Bucket
Use the following procedure to delete your S3 objects and bucket.
To delete your S3 objects and bucket
Open the Amazon S3 console at https://console.amazonaws.cn/s3/
. -
Choose the ka-app-code-
<username>
bucket. -
Choose Delete and then enter the bucket name to confirm deletion.
Delete Your IAM Resources
Use the following procedure to delete your IAM resources.
To delete your IAM resources
Open the IAM console at https://console.amazonaws.cn/iam/
. -
In the navigation bar, choose Policies.
-
In the filter control, enter kinesis.
-
Choose the kinesis-analytics-service-MyApplication-
<your-region>
policy. -
Choose Policy Actions and then choose Delete.
-
In the navigation bar, choose Roles.
-
Choose the kinesis-analytics-MyApplication-
<your-region>
role. -
Choose Delete role and then confirm the deletion.
Delete Your CloudWatch Resources
Use the following procedure to delete your CloudWatch resources.
To delete your CloudWatch resources
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. -
In the navigation bar, choose Logs.
-
Choose the /aws/kinesis-analytics/MyApplication log group.
-
Choose Delete Log Group and then confirm the deletion.