Skip to main content
Before Porter can create a cluster, you need to grant it access to your cloud account. Porter uses secure credential methods that don’t require storing static API keys.
Porter uses AWS IAM role assumption via the AssumeRole operation to access your account. You create a role in your AWS account and declare that you trust Porter to assume it. This eliminates static credentials and makes access easy to revoke.

Create the IAM Role

1

Enter your AWS Account ID

After selecting AWS as your cloud provider, log into your AWS Console and find your 12-digit Account ID in the top-right corner.Enter this ID in Porter and click Grant Permissions.
2

Create the CloudFormation stack

Porter opens the AWS CloudFormation console in a new tab to create a stack that provisions the porter-manager IAM role.
If the popup is blocked, check your browser settings and allow popups from Porter.
Scroll to the bottom of the CloudFormation page, check the I acknowledge that AWS CloudFormation might create IAM resources box, and click Create Stack.Wait for the stack creation to complete (this takes a few minutes).
The IAM role must remain in your AWS account for Porter to manage your infrastructure. Deleting it will prevent Porter from making changes.

Permissions Granted

The CloudFormation stack creates an IAM role with permissions to:
  • Create and manage EKS clusters
  • Create and manage VPCs, subnets, and security groups
  • Create and manage ECR repositories
  • Create and manage IAM roles for cluster operations
  • Request service quota increases
If you need Porter to operate with more restricted permissions, contact us through the support widget to inquire about Porter Enterprise.

Revoking Access

Disconnecting an AWS account from Porter is a two-step process: disconnect the account in Porter, then delete the IAM role in AWS.
1

Disconnect the account in Porter

In Porter, navigate to IntegrationsCloud accounts, open the AWS account, scroll to the Danger zone, and click Disconnect cloud account.Porter blocks the disconnect until the account has no clusters, object storage buckets, or environment groups referencing it. The modal lists every blocker so you can clean them up first.Type the account name to confirm and click Disconnect. Porter immediately stops using the account and removes it from the project.
2

Delete the IAM role in AWS

Porter cannot delete the IAM role it asked you to create — it lives in your account and only you can remove it. After disconnecting:
  1. Navigate to CloudFormation Stacks in your AWS console.
  2. Select the stack named PorterRole and click Delete.
This removes the porter-access-manager IAM role and revokes Porter’s ability to assume into your account.