10. Clean Up

Execute the command:

$ terraform destroy

In directories in the following order:

  1. webserver-cluster

  2. database

  3. network

  4. iam

  5. secrets

Go to AWS Console, EC2 Dashboard, and deregister created Amazon Machine Images and delete snapshots.

Last updated