Cleanup

Now that you have completed the lab, it is time to delete resources you created so that you no are no longer billed for them.

Delete CloudFormation stacks

Most of the resources created in this lab can be cleaned-up by deleting the CloudFormation stacks we created in past exercises.

Return to the main page of the AWS console by clicking the AWS logo in the upper-left hand corner of any console page. Go to the CloudFormation page by typing “CloudFormation” in the “Find Services” box or by clicking “CloudFormation” under the “Management & Governance” section under all “All Services”.

Find Services

Select the “qldb-athena-lab-create-workflow” stack by clicking the radio button next to it in the list of stacks. Then click the “Delete” button.

Stacks

Click the “Delete stack” button in the confirmation pop-up.

Once the “qldb-athena-lab-create-workflow” stack is deleted, repeat the process for the “qldb-athena-lab-create-s3” stack.

Delete the QLDB ledger

Return to the main page of the AWS console by clicking the AWS logo in the upper-left hand corner of any console page. Navigate to Amazon QLDB by finding it under the list of services under Database, or you can find it by typing QLDB in the search bar at the top.

Find Services

In the QLDB console, click the radio button to select the “vehicle-registration” ledger and click the “Delete” button.

QLDB Console

A confirmation prompt will appear. Follow the instructions in the prompt and click the “Override deletion protection to allow this ledger to be deleted” box to delete the ledger.