Uninstallation Guide - AWS (4.2)

These uninstallation steps must be performed in sequence to ensure that all resources are being removed systematically.

Usage Engine Private Edition

Wait a few minutes for the External-DNS to cleanup Route53 hosted zone records. All records will be deleted except SOA, NS, and CNAME records.

Hint!

To monitor the hosted zone records cleanup, refresh the Route53 dashboard, Hosted zones | Records section.

Wait for few minutes for the AWS Load Balancer Controller to cleanup EC2 load balancers.

Hint!

To monitor the EC2 load balancers cleanup, refresh the EC2 dashboard, EC2 | Load balancers section.

Proceed to the next step once route53 hosted zone records and EC2 load balancers are cleared.

Kubernetes Cluster Add-ons

helm uninstall aws-efs-csi-driver -n uepe
helm uninstall aws-load-balancer-controller -n uepe
helm uninstall external-dns -n uepe
helm uninstall ingress-nginx -n uepe

Cert Manager

helm uninstall cert-manager -n cert-manager

AWS Resources

If you have restored a RDS database instance from a backup as described in Upgrade Instructions - AWS (4.2) | Restore database backup section, ensure that the new database instance is deleted first. However, if no backup restoration was performed, you can disregard this message.

change directory to the terraform script directory

terraform destroy

Kubernetes Cluster

eksctl delete cluster -f <cluster yaml> --disable-nodegroup-eviction --wait

 

Looking for labels? They can now be found in the details panel on the floating action bar.

Related content