Before You Delete
Before deleting your cluster:- Back up any data stored in your applications or persistent volumes
- Export environment variables and secrets if you need them for future deployments
- Note your configuration if you plan to recreate the cluster later
Delete the Cluster
- AWS
- GCP
- Azure
Delete the cluster in Porter
- Navigate to the Infrastructure tab in the Porter dashboard
- Click Delete Cluster
- Confirm the deletion
Delete the IAM role
After the cluster is deleted:
- Navigate to CloudFormation Stacks in your AWS console
- Select the stack named
PorterRole - Click Delete
Troubleshooting Deletion
Deletion is stuck or taking too long
Deletion is stuck or taking too long
If deletion takes more than 45 minutes:
- Check your cloud provider’s console for any resources in a “deleting” state
- Look for dependencies that may be blocking deletion (e.g., load balancers with active connections)
- Contact us through the dashboard chat bot with your project ID
Resources remain after deletion
Resources remain after deletion
If resources remain in your cloud account after Porter reports deletion complete:
- Follow the Deleting Dangling Resources guide
- Check for resources in different regions than expected
- Look for resources with names containing your project ID
Cannot delete because credentials expired
Cannot delete because credentials expired
If Porter can’t delete because credentials have expired:AWS: Re-create the CloudFormation stack to restore the IAM role, then delete the clusterGCP: Upload a new service account JSON key in Integrations → GCP, then delete the clusterAzure: Generate a new client secret and update it in Integrations → Azure, then delete the clusterIf you can’t restore credentials, you’ll need to delete resources manually.

