Clean up
If you continue with the next workshop of the series, you should not clean up the resources. The next workshop reuses the sandbox, the Cognito User Pool and the S3 bucket of this workshop.
- Stop the application and the sandbox
- Press Ctrl + C in the terminal running
npm run dev - Press Ctrl + C in the terminal running
npx ampx sandbox
- Run the command below in the root folder of the project to delete all resources of the sandbox:
npx ampx sandbox delete
- Enter
y to confirm the deletion. - Wait until the terminal shows [Sandbox] Finished deleting. The files in the S3 bucket are deleted together with the bucket.
- Check that the resources have been deleted
- Open the CloudFormation console, check that there is no stack whose name starts with amplify-fcajdms-
- Open the S3 console, check that there is no bucket whose name starts with amplify-fcajdms-