Deploy and operate
Destroy an installation
Removes AWS resources and local installer state for all enabled services.
Commands
edge-installer destroy installation.yaml # prompts for confirmation
edge-installer destroy installation.yaml --yes
make down # same as destroy --yes
What happens
- Ansible
destroy.yml(when SSH works):- Stops WireGuard if
vpnwas enabled - Stops Docker Compose stack if
cloud_appwas enabled
- Stops WireGuard if
terraform destroy— EC2, SG, EIP, VPN rules- Deletes
.installer-state/<name>/installation.json
Warnings
- All data on the EC2 instance is lost (PostgreSQL, artifacts, VPN config)
- Elastic IP is released
- Cannot be undone
Confirm installation name and region before proceeding.
Partial failure
If destroy fails:
- Check SSH access to the instance
- Inspect
.installer-state/<name>/terraform/terraform.tfstate - Review resources in AWS console
- Retry
edge-installer destroy installation.yaml --yes