- AWS
- GCP
- Azure
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.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.
Finishing the connection later
Porter starts polling for the new IAM role as soon as you click Grant Permissions, so the connection usually completes within a few minutes of the CloudFormation stack reachingCREATE_COMPLETE.If you step away before applying the stack, you do not need to restart the flow. Porter keeps retrying the connection in the background for up to 7 days after the account was created. Apply the CloudFormation stack any time within that window and Porter will detect the role on its next sweep and mark the account connected. If 7 days pass without the stack being applied, reopen the connect flow in Porter to start over.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
To revoke Porter’s access:- First, delete any clusters through the Porter dashboard
- Navigate to CloudFormation Stacks in your AWS console
- Select the stack named
PorterRoleand click Delete

