Now that you have successfully created a batch and near real-time serverless analytics pipeline and integrated it with a Unity game, you can clean up your environment by spinning down AWS resources. This helps to ensure you are not charged for any resources that you may accidentally leave running.
Go to the AWS Management Console, select Services, and click S3. Find the S3 bucket that is your data lake, click on it, and you should see a Delete button.
Go to the AWS Management Console, select Services, and click Kinesis. Find the Kinesis Firehose Delivery Stream you created and click it to view details about it. On the top right, you should see a button to Delete delivery stream. Do this for your Kinesis Data Analytics stream too.
Go to the AWS Management Console, select Services, and click CloudFormation. Find the stack you spun up to configure the Kinesis Data Generator, click it and there is a Delete button at the top. This will delete the CloudFormation stack and any resources it has spun up.
In the AWS Management Console, find the Glue dashboard. Go to Databases on left-hand side and find the Glue Data Catalog you created. Drop down the Action button and hit Delete database.
Still working in the Glue dashboard, on the left-hand side select Crawlers. Select your crawler, find the drop down Action button, and hit Delete crawler.
When you run queries in Athena, query results are saved in an S3 bucket in your account for each region you are working in. For example, if this lab was done in US-WEST-2, there should now be an S3 bucket in your account titled something similar to: aws-athena-query-results-us-west-2-YOUR-ACCOUNT-ID. You can delete this bucket as well so you are not paying to store the results of the query you ran for this lab.
In the AWS Management Console, go to QuickSight dashboard. On your analysis that you created, click the three little dots to the right and delete your analysis.
Go to your CloudWatch dashboard. On the widget you created, click settings and choose Delete.
Go to the Lambda management console. Click the Lambda functions you created. Click the Actions drop down and then Delete the functions.
Go to the API Gateway management console. Click the API Gateway you created. Click the Actions drop down and then Delete the API Gateway.