This document is intended for system administrators of self-hosted installations of CircleCI Server.
If you wish to delete your installation of CircleCI Server, please let us know first in case there are any specific, supplementary steps required for your installation. Below is our basic step by step guide to tearing down an installation of CircleCI Server that was made with Terraform:
First you need to manually disable the termination protection on the Services machine from the AWS Management Console (If you set
services_disable_api_termination = "false"in your
terraform.tfvarsfile, skip this step). To do this:
Navigate to the EC2 Dashboard and locate the Services machine instance
Click to select it
Click Actions > Instance Settings > Change Termination Protection
Navigate to the S3 dashboard, locate the S3 bucket associated with your CircleCI cluster and delete the bucket and its contents (If you set
force_destroy_s3_bucket = "true"in your
terraform.tfvarsfile, skip this step).
From a terminal, navigate to your clone of our
enterprise-setuprepo and run
terraform destroyto destroy all EC2 instances, IAM roles, ASGs and Launch configurations created by