Step 4: Clean Up AWS Resources
This section includes procedures for cleaning up AWS resources created in the Getting Started tutorial.
This topic contains the following sections:
Delete Your Kinesis Data Analytics Application
Open the Kinesis console at https://console.aws.amazon.com/kinesis
. -
In the Kinesis Data Analytics panel, choose MyApplication.
-
In the application's page, choose Delete and then confirm the deletion.
Delete Your Kinesis Data Streams
Open the Kinesis Data Analytics console at https://console.aws.amazon.com/kinesisanalytics
. -
In the Kinesis Data Streams panel, choose ExampleInputStream.
-
In the ExampleInputStream page, choose Delete Kinesis Stream and then confirm the deletion.
-
In the Kinesis streams page, choose the ExampleOutputStream, choose Actions, choose Delete, and then confirm the deletion.
Delete Your Amazon S3 Object and Bucket
Open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
Choose the ka-app-code-
<username>
bucket. -
Choose Delete and then enter the bucket name to confirm deletion.
Delete Your IAM Resources
Open the IAM console at https://console.aws.amazon.com/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
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation bar, choose Logs.
-
Choose the /aws/kinesis-analytics/MyApplication log group.
-
Choose Delete Log Group and then confirm the deletion.