Clean up Amazon resources - Managed Service for Apache Flink
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).

Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.

Clean up Amazon resources

This section includes procedures for cleaning up Amazon resources created in the Getting Started (Table API) tutorial.

Delete your Managed Service for Apache Flink application

Use the following procedure to delete the application.

To delete the application
  1. Open the Kinesis console at https://console.amazonaws.cn/kinesis.

  2. In the Managed Service for Apache Flink panel, choose MyApplication.

  3. 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
  1. Open the Amazon S3 console at https://console.amazonaws.cn/s3/.

  2. Choose the ka-app-code-<username> bucket.

  3. 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
  1. Open the IAM console at https://console.amazonaws.cn/iam/.

  2. In the navigation bar, choose Policies.

  3. In the filter control, enter kinesis.

  4. Choose the kinesis-analytics-service-MyApplication-us-west-2 policy.

  5. Choose Policy Actions and then choose Delete.

  6. In the navigation bar, choose Roles.

  7. Choose the kinesis-analytics-MyApplication-us-west-2 role.

  8. 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
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.

  2. In the navigation bar, choose Logs.

  3. Choose the /aws/kinesis-analytics/MyApplication log group.

  4. Choose Delete Log Group and then confirm the deletion.

Next step

Next steps