Skip to main content

Documentation Index

Fetch the complete documentation index at: https://porter-mintlify-c69745c5.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

When you no longer want Porter to manage infrastructure in a cloud account, remove the cloud account from the Porter dashboard. Removing the account disconnects it from your Porter project and stops Porter from using its credentials.
Removing a cloud account does not delete any resources from your cloud provider. After removing the account in Porter, you should also revoke Porter’s access in your cloud provider (IAM role on AWS, service account on GCP, or service principal on Azure) so the credentials can no longer be used.

Before you remove

Porter blocks removal while any of the following still reference the cloud account:
  • Clusters provisioned through the account
  • Object storage buckets attached to the account
  • Environment groups that sync to resources in the account
Clean these up first:
  1. Delete any clusters running in the account.
  2. Delete any object storage buckets linked to the account.
  3. Remove the account from the sync targets of any environment groups that reference it.

Remove the cloud account

1

Open the cloud account

Navigate to Integrations in the Porter dashboard and select the cloud account you want to remove.
2

Open the Danger Zone

Scroll to the Danger Zone section at the bottom of the cloud account detail page and click Remove cloud account.
3

Confirm the removal

In the confirmation dialog, type the cloud account’s vanity name (or its provider ID, for example its AWS account ID, GCP project ID, or Azure subscription ID) exactly as shown. The Remove button stays disabled until the value matches.Click Remove to disconnect the account from Porter.

If removal is blocked

If Porter still finds active resources that reference the account, the dialog switches to a Blocked by view that lists each blocking resource grouped by type:
  • Clusters
  • Object storage buckets
  • Environment groups
Each entry links to the resource so you can finish cleaning it up. Once every listed resource is deleted or unlinked, reopen the Danger Zone and try the removal again.

Revoke cloud provider access

After the cloud account is removed from Porter, revoke the credentials in your cloud provider so they can no longer be used:
  • AWS — Delete the PorterRole CloudFormation stack. See the AWS section of Connecting a cloud account.
  • GCP — Delete the porter-manager service account from IAM & AdminService Accounts.
  • Azure — Delete the azure-porter-restricted-sp service principal from App registrations.
For any infrastructure that remains in your cloud provider after the cluster and cloud account have been removed, see Deleting dangling resources.