diff --git a/ansible/README.md b/ansible/README.md index 8ff9932..02a9d6d 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -70,3 +70,15 @@ Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-101-generic x86_64) [...] ubuntu@cleura-cloud-launch-pad-ramp:~$ ``` + +## Tearing down a Launch Pad + +In the event that you built a Launch Pad for testing purposes only, **and you have not launched any other cloud resources in your environment,** you might want to tear it down. +To do so, issue the following command: + +```console +$ ansible-playbook teardown.yaml +[...] +PLAY RECAP ******************************************************************************************************* +localhost : ok=8 changed=8 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 +``` diff --git a/heat/README.md b/heat/README.md index 8da7279..0aa71d2 100644 --- a/heat/README.md +++ b/heat/README.md @@ -72,3 +72,16 @@ Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-101-generic x86_64) [...] ubuntu@cleura-cloud-launch-pad-bastion:~$ ``` + +## Tearing down a Launch Pad + +In the event that you built a Launch Pad for testing purposes only, **and you have not launched any other cloud resources in your environment,** you might want to tear it down. +To do so, issue the following command: + +```console +$ openstack stack delete cleura-cloud-launch-pad + +Are you sure you want to delete this stack(s) [y/N]? y +``` + +At the prompt, type `y` followed by the `Enter` key. diff --git a/tf/README.md b/tf/README.md index 2cdae56..12674f3 100644 --- a/tf/README.md +++ b/tf/README.md @@ -58,7 +58,7 @@ Building your Launch Pad should take just a few minutes. Once `tofu apply` has completed, you can use the `tofu state show` command to show your Pad Ramp's public ("floating") IP address: ```console -$ tofu state show openstack_networking_floatingip_v2.floating_ip +$ tofu state show openstack_networking_floatingip_v2.floating_ip # openstack_networking_floatingip_v2.floating_ip: resource "openstack_networking_floatingip_v2" "floating_ip" { address = "192.0.2.146" @@ -82,3 +82,27 @@ Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-101-generic x86_64) [...] ubuntu@cleura-cloud-launch-pad-ramp:~$ ``` + +## Tearing down a Launch Pad + +In the event that you built a Launch Pad for testing purposes only, **and you have not launched any other cloud resources in your environment,** you might want to tear it down. +To do so, issue the following command: + +```console +$ tofu destroy -var-file="vars.tfvars" +[...] +Plan: 0 to add, 0 to change, 16 to destroy. + +Do you really want to destroy all resources? + OpenTofu will destroy all your managed infrastructure, as shown above. + There is no undo. Only 'yes' will be accepted to confirm. + + Enter a value: yes +``` + +At the prompt, type `yes` followed by the `Enter` key. +After a minute or so, you will see the following message: + +```plain +Destroy complete! Resources: 16 destroyed. +```