Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.
Clean up AWS resources
This section includes procedures for cleaning up AWS resources created in the Getting Started (Python) tutorial.
This topic contains the following sections.
Delete your Managed Service for Apache Flink application
Use the following procedure to delete the application.
To delete the application
Open the Kinesis console at https://console.aws.amazon.com/kinesis
. -
In the Managed Service for Apache Flink panel, choose MyApplication.
-
From the Actions dropdown list, choose Delete and then confirm the deletion.
Delete your Kinesis data streams
Open the Managed Service for Apache Flink console at https://console.aws.amazon.com/flink
-
Choose Data streams.
-
Select the two streams that you created,
ExampleInputStream
andExampleOutputStream
. -
From the Actions dropdown list, choose Delete, and then confirm the deletion.
Delete your Amazon S3 objects and bucket
Use the following procedure to delete your S3 objects and bucket.
To delete the object from the S3 bucket
Open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
Select the S3 bucket that you created for the application artifact.
-
Select the application artifact you uploaded, named
amazon-msf-java-stream-app-1.0.jar
. -
Choose Delete and confirm the deletion.
To delete the S3 bucket
Open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
Select the bucket that you created for the artifacts.
-
Choose Delete and confirm the deletion.
Note
The S3 bucket must be empty to delete it.
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.aws.amazon.com/iam/
. -
In the navigation bar, choose Policies.
-
In the filter control, enter kinesis.
-
Choose the kinesis-analytics-service-MyApplication-us-east-1 policy.
-
Choose Policy Actions and then choose Delete.
-
In the navigation bar, choose Roles.
-
Choose the kinesis-analytics-MyApplication-us-east-1 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.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.