Installation
This page guides you through installing the AWS integration. Choose how you want to run it and the integration syncs your AWS resources into your Port catalog, keeping the catalog up to date through periodic resyncs and optional live events.
The integration supports two deployment options:
- Hosted by Port: Fully managed by Port with zero infrastructure to maintain. You create IAM roles via CloudFormation, and Port runs the integration on its servers, connecting to your AWS accounts using OIDC authentication.
- Self-hosted: Runs in your own AWS environment (ECS, EC2, EKS, or a one-off Docker run). You manage the deployment and the IAM roles that grant the integration read-only access.
Setup
Use the wizard below to select your deployment option and follow the steps. For self-hosted installations, you will first choose whether to sync a single account or multiple accounts across your AWS Organization.
The prerequisites required for installation are listed below.
- AWS account access: An AWS account where you can create IAM roles via CloudFormation.
- CloudFormation and IAM permissions: Your AWS user must have permissions to create CloudFormation stacks and IAM resources.
- Port account: An active Port account from which you will configure the integration.
- AWS Organizations management account access: You must run the multi-account installation from your AWS Organizations management account, since only the management account can deploy StackSets across member accounts.
- CloudFormation and IAM permissions: Your AWS user must have permissions to create CloudFormation stacks and IAM resources.
- OU ID(s) (optional): The ID(s) of the organizational unit(s) (OU) or root that contain the accounts you want to sync. Use
r-xxxxformat for the root orou-xxxx-xxxxxxxxformat for a specific OU. To target multiple OUs, provide a comma-separated list of OU IDs (for example,ou-prod-12345678,ou-staging-87654321). Leave the field empty to target your entire organization. - Port account: An active Port account from which you will configure the integration.
You must run the multi-account installation from your AWS Organizations management account. This is because only the management account can deploy StackSets across member accounts.
Understanding AWS Organizations
- Management account: The main account that manages your organization.
- Member accounts: Individual AWS accounts in your organization.
- Organizational units (OUs): Logical groupings of accounts (like folders in a file system).
- OU IDs: Unique identifiers for organizational units (format:
ou-abcd-12345678). - Root: The top-level container for all accounts and OUs (format:
r-xxxxxxxxx).
Example organization structure (click to expand)
Root (r-1234)
├── Management Account (123456789012)
├── Production OU (ou-prod-12345678)
│ ├── Account: prod-app (234567890123)
│ └── Account: prod-db (345678901234)
├── Staging OU (ou-staging-87654321)
│ └── Account: staging (456789012345)
└── Development OU (ou-dev-11223344)
└── Account: dev (567890123456)
Scoping by Organizational Unit (optional)
By default, the integration discovers and syncs all member accounts in your AWS Organization. Providing one or more OU IDs is optional and only needed when you want to limit the integration to a specific subset of accounts (for example, syncing only production accounts). You can provide a single OU ID or multiple comma-separated OU IDs (for example, ou-prod-12345678,ou-staging-87654321). When OU IDs are specified, the integration calls the AWS Organizations API from the management account and recursively enumerates every member account under each OU, including accounts in nested sub-OUs. Accounts that appear in more than one of the specified OUs are deduplicated. Accounts added to any of the OUs are picked up automatically on the next sync. Accounts removed from them stop being synced. To target your entire organization without filtering, leave the OU ID field empty or use the root ID (r-xxxx).
Find your OU ID(s)
- Log into your AWS Organizations management account.
- Navigate to the AWS Organizations service.
- Under Organizational structure copy the OU ID from the details page (format
ou-xxxx-xxxxxxxxorr-xxxx). - To scope discovery to multiple OUs, repeat for each OU and join the IDs with commas (for example,
ou-prod-12345678,ou-staging-87654321). - You can also target specific account IDs if needed using the
Account scopefield.
Step 1: Access AWS console
- Log into your AWS account at the AWS Console.
Step 2: Open the CloudFormation template
- Go to the Connectors page.
- Click the + Connector button in the top right corner of the page.
- Select AWS Hosted by Port from the cloud providers section.
- Select Single Account.
- In step 3 of the installation form, click the Click here link to open CloudFormation with pre-configured parameters.
Step 3: Deploy the stack
-
In the CloudFormation console, review the pre-configured parameters.
-
Scroll down to the bottom of the page.
-
Check the box "I acknowledge that AWS CloudFormation might create IAM resources with custom names".

-
Click Create Stack and wait until the stack reaches
CREATE_COMPLETE.
Step 1: Open the CloudFormation template
- Go to the Connectors page in Port.
- Click the + Connector button in the top right corner of the page.
- Select AWS Hosted by Port from the cloud providers section.
- Select Multiple Accounts and paste the OU ID you previously copied.
- Choose the scope of the account (All accounts, All accounts except selected, Selected accounts only).
- In step 3 of the installation form, click the Click here link to open CloudFormation with pre-configured parameters.
Step 2: Deploy the stack
-
In the CloudFormation console, review the pre-configured parameters.
-
Scroll down to the bottom of the page.
-
Check the box "I acknowledge that AWS CloudFormation might create IAM resources with custom names".

-
Click Create Stack.
Step 3: Monitor the deployment
-
In the management account, go to CloudFormation → Stacks and confirm the stack reaches
CREATE_COMPLETE.
-
Verify that the IAM roles were created in each target account.
Step 1: Get the role ARN
-
Once the CloudFormation stack reaches
CREATE_COMPLETE, go to the Outputs tab. -
Copy the value of PortIntegrationRoleArn.

Step 2: Configure the integration in Port
- Paste the role ARN into the Account Role Arn field in the Port integration form.
- Click Done.
Step 3: Verify the connection
- Port automatically detects the IAM role created by CloudFormation.
- The integration starts discovering your AWS resources, which appear in your Port catalog shortly after.
Step 1: Get the role ARN
-
Once the CloudFormation stack reaches
CREATE_COMPLETE, go to the Outputs tab. -
Copy the value of PortIntegrationRoleArn.

Step 2: Configure the integration in Port
- Paste the role ARN into the Account Role Arn field in the Port integration form.
- Click Done.
Step 3: Verify the multi-account connection
- Port automatically detects the IAM roles across all accounts.
- The integration starts discovering resources from all configured accounts, which appear in your Port catalog shortly after.
The prerequisites required for installation are listed below.
- VPC and subnets: An existing VPC and at least two subnets (for high availability) in which the ECS task will run. You select these when providing the CloudFormation stack parameters.
- Port API credentials: Your Port client ID and client secret.
- CloudFormation and IAM permissions: Your AWS user must have permissions to create CloudFormation stacks and IAM resources.
- VPC and subnet: An existing VPC and subnet in which the EC2 instance will run. You select these when providing the CloudFormation stack parameters.
- Port API credentials: Your Port client ID and client secret.
- CloudFormation and IAM permissions: Your AWS user must have permissions to create CloudFormation stacks and IAM resources.
- VPC and subnets: An existing VPC and at least two subnets in different Availability Zones. Use subnets in EKS-supported AZs for your Region (not all AZs are supported). You select these when providing the CloudFormation stack parameters.
- Port API credentials: Your Port client ID and client secret.
- CloudFormation, IAM, and EKS permissions: Your AWS user must have permissions to create CloudFormation stacks, IAM resources, and EKS clusters.
- Helm or Argo CD: Required to deploy the integration to your EKS cluster.
- AWS account access: An AWS account where you can create IAM users and access keys.
- Port API credentials: Your Port client ID and client secret.
- Deployment target: A Kubernetes cluster (for Helm or Argo CD) or any host that can run Docker (for the Docker option).
We strongly discourage using IAM user access keys for production environments. Prefer IAM Role (ECS), IAM Role (EC2), or IRSA (EKS) with IAM roles instead. If you use access keys: never commit them to version control, store them in a secrets manager, and rotate them regularly.
- VPC and subnets: An existing VPC and at least two subnets in the integration account (this does not have to be the management account). If none exist, create a VPC and subnets first. You select these when providing the CloudFormation stack parameters.
- AWS Organizations management account access: The IAM roles stack must be deployed from the AWS Organizations management account (the root account that owns your AWS organization and has the authority to deploy StackSets to member accounts). This is different from a regular AWS account. If you are unsure which account this is, check the AWS Organizations console: the management account is labeled at the top of the account list. If you do not have access to it, ask your organization admin to deploy the IAM roles stack and share the ManagementAccountRoleArn output from the stack with you.
- OU or root ID: The ID of the organizational unit (OU) or root that contains the accounts you want to sync. All accounts under the OU (or the entire organization if you use the root ID) will be targeted. Use
r-xxxxformat for the root orou-xxxx-xxxxxxxxformat for a specific OU (e.g.r-ab12orou-ab12-abc12345).
- VPC and subnet: An existing VPC and subnet in the integration account (this does not have to be the management account). If none exist, create a VPC and subnets first. You select these when providing the CloudFormation stack parameters.
- AWS Organizations management account access: The IAM roles stack must be deployed from the AWS Organizations management account (the root account that owns your AWS organization and has the authority to deploy StackSets to member accounts). This is different from a regular AWS account. If you are unsure which account this is, check the AWS Organizations console: the management account is labeled at the top of the account list. If you do not have access to it, ask your organization admin to deploy the IAM roles stack and share the ManagementAccountRoleArn output from the stack with you.
- OU or root ID: The ID of the organizational unit (OU) or root that contains the accounts you want to sync. All accounts under the OU (or the entire organization if you use the root ID) will be targeted. Use
r-xxxxformat for the root orou-xxxx-xxxxxxxxformat for a specific OU (e.g.r-ab12orou-ab12-abc12345).
- VPC and subnets: An existing VPC and at least two subnets in different Availability Zones in the integration account (this does not have to be the management account). Use subnets in EKS-supported AZs for your Region (not all AZs are supported). If none exist, create a VPC and subnets first. You select these when providing the CloudFormation stack parameters.
- AWS Organizations management account access: The IAM roles stack must be deployed from the AWS Organizations management account (the root account that owns your AWS organization and has the authority to deploy StackSets to member accounts). This is different from a regular AWS account. If you are unsure which account this is, check the AWS Organizations console: the management account is labeled at the top of the account list. If you do not have access to it, ask your organization admin to deploy the IAM roles stack and share the ManagementAccountRoleArn output from the stack with you.
- OU or root ID: The ID of the organizational unit (OU) or root that contains the accounts you want to sync. All accounts under the OU (or the entire organization if you use the root ID) will be targeted. Use
r-xxxxformat for the root orou-xxxx-xxxxxxxxformat for a specific OU (e.g.r-ab12orou-ab12-abc12345).
Using IAM Roles for Service Accounts (IRSA), the pod's JWT is used to assume PortOceanReadRole in the management account and each member account directly.
-
Open the CloudFormation stack creation page in your integration account: Deploy the EKS CloudFormation stack ↗
-
Fill in the required parameters (see All stack parameters below for details).
Choose two or more subnets from different EKS-supported availability zones (e.g. us-east-1a, us-east-1b). Not all AZs support EKS (e.g. us-east-1e does not).
-
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
-
Wait for the stack status to show
CREATE_COMPLETE(typically 10–15 minutes for EKS).

-
In the EKS console, open your cluster and confirm the cluster and node group are active.
-
Copy the OidcProviderUrl and ServiceAccountRoleArn values from the Outputs tab — you will use them in the next steps.

- Run the UpdateKubeconfigCommand value from the stack outputs to configure kubectl for your cluster.

All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| SubnetIds | — | Subnets for the EKS cluster; at least two in different EKS-supported AZs. |
| ClusterName | port-ocean-eks | EKS cluster name. |
| KubernetesVersion | 1.34 | Kubernetes version for the cluster. |
| NodeInstanceType | t3.medium | EC2 instance type for the node group. |
| NodeDesiredSize | 2 | Desired number of nodes in the node group. |
| Namespace | port-ocean | Kubernetes namespace where the integration runs (must match the next steps). |
| ServiceAccountName | port-ocean-aws-v3 | Service account name used by the integration pod (must match the next steps). |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| EKS cluster | Kubernetes control plane. |
| Managed node group | Worker nodes for running pods. |
| Cluster IAM role | Used by the EKS control plane. |
| Node IAM role | Used by the node group. |
| IAM OIDC provider | Links the cluster to IAM for IRSA. |
| PortOceanServiceRole | Service account annotation target; the pod uses this role's OIDC trust to assume PortOceanReadRole in each account. |
This option runs the integration as an Amazon ECS task. The deployment creates a task role (PortOceanTaskRole) and a read-only role (PortOceanReadRole).
The ECS task assumes the read-only role to discover your AWS resources. The deployment also provisions the required infrastructure to run the integration continuously.
Step 1: Open the CloudFormation stack creation page
Deploy the ECS CloudFormation stack ↗Step 2: Fill in the stack parameters
Fill in the required parameters. See the table below for all available parameters.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| PortClientId | — | Your Port client ID. |
| PortClientSecret | — | Your Port client secret. |
| VpcId | — | VPC where the ECS task runs (dropdown). |
| SubnetIds | — | Subnets for the ECS task; select at least two for high availability (dropdown). |
| PortBaseUrl | https://api.port.io | Port API endpoint. Use https://api.us.port.io for US region. |
| IntegrationIdentifier | my-aws-v3 | Unique identifier for this integration. |
| ResyncIntervalMinutes | 1440 | How often the integration rescans AWS (minutes); 1440 = once per day. |
| TaskSize | 256-1024 | Fargate task size as CPU-memory (for example, 256-1024). |
| EnableLiveEvents | false | When true, Ocean listens on port 8000 for EventBridge webhooks. Requires a public HTTPS URL and a second live events stack. |
| LiveEventsApiKey | (empty) | API key for webhook authentication. Required when EnableLiveEvents is true. |
| LiveEventsUrl | (empty) | Your public HTTPS URL for Ocean (for example, https://ocean-events.example.com). Required when EnableLiveEvents is true. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| ECS Cluster | Logical grouping for ECS tasks (always created by this stack). |
| ECS Task Definition | Defines container image, resources, and IAM roles. |
| ECS Service | Keeps the task running continuously. |
| Execution Role | Allows ECS to pull images and write logs. |
| Task Role (PortOceanTaskRole) | Used by the ECS task; can assume PortOceanReadRole. |
| Read-only Role (PortOceanReadRole) | Grants ReadOnlyAccess; assumed by the integration for scanning. |
| Security Group | Allows outbound HTTPS to Port and AWS APIs. |
| CloudWatch Log Group | Stores container logs (90-day retention). |
Step 3: Create the stack
Check the I acknowledge that AWS CloudFormation might create IAM resources box at the bottom of the page, then click Create stack.
This option runs the integration on an Amazon EC2 instance. The deployment creates an instance role and a read-only role (PortOceanReadRole).
The instance assumes the read-only role to gain read-only access and discover your AWS resources. The deployment provisions the required infrastructure to run the integration continuously.
Step 1: Open the CloudFormation stack creation page
Deploy the EC2 CloudFormation stack ↗Step 2: Fill in the stack parameters
Fill in the required parameters. See the table below for all available parameters.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| PortClientId | — | Your Port client ID. |
| PortClientSecret | — | Your Port client secret. |
| VpcId | — | VPC where the instance and security group are created (dropdown). |
| SubnetId | — | Subnet for the instance (dropdown). |
| PortBaseUrl | https://api.port.io | Port API endpoint. Use https://api.us.port.io for US region. |
| IntegrationIdentifier | my-aws-v3 | Unique identifier for this integration. |
| ResyncIntervalMinutes | 1440 | How often the integration rescans AWS (minutes); 1440 = once per day. |
| InstanceType | t3.small | EC2 instance type. |
| KeyPairName | (empty) | EC2 key pair for SSH access (optional). |
| EnableLiveEvents | false | When true, Ocean listens on port 8000 for EventBridge webhooks. Requires a public HTTPS URL and a second live events stack. |
| LiveEventsApiKey | (empty) | API key for webhook authentication. Required when EnableLiveEvents is true. |
| LiveEventsUrl | (empty) | Your public HTTPS URL for Ocean (for example, https://ocean-events.example.com). Required when EnableLiveEvents is true. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| EC2 Instance | Amazon Linux 2023 instance running the integration container. |
| IAM Role (PortOceanInstanceRole) | Attached to the instance profile; can assume the read-only role. |
| IAM Role (PortOceanReadRole) | Grants ReadOnlyAccess; assumed by the integration. |
| Instance Profile | Links the instance role to the EC2 instance. |
| Security Group | Allows outbound traffic to AWS APIs and Port. |
| User Data Script | Installs Docker and runs the container as a systemd service. |
Step 3: Create the stack
Check the I acknowledge that AWS CloudFormation might create IAM resources box at the bottom of the page, then click Create stack.
This option runs the integration as a pod on an Amazon EKS cluster. The stack creates PortOceanServiceRole (for the service account annotation) and PortOceanReadRole (for read-only scanning). Using IAM Roles for Service Accounts (IRSA), the pod's service account is annotated with PortOceanServiceRole so EKS injects a JWT; the integration then assumes PortOceanReadRole via that JWT to discover your AWS resources.
The stack creates the EKS cluster, managed node group, IAM OIDC provider, PortOceanServiceRole, and PortOceanReadRole. After it completes you will deploy the integration using Helm or Argo CD in the next step.
Step 1: Open the CloudFormation stack creation page
Deploy the EKS CloudFormation stack ↗Step 2: Fill in the stack parameters
Fill in the required parameters. See the table below for all available parameters.
Choose two or more subnets from different EKS-supported availability zones (e.g. us-east-1a, us-east-1b). Not all AZs support EKS (e.g. us-east-1e does not).
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| VpcId | — | VPC where the EKS cluster runs (dropdown). |
| SubnetIds | — | Subnets for the EKS cluster; EKS requires at least two subnets in different AZs. Not all AZs support EKS control plane (e.g. us-east-1e); use subnets in supported AZs. |
| ClusterName | port-ocean-eks | EKS cluster name. |
| KubernetesVersion | 1.34 | Kubernetes version for the cluster. |
| NodeInstanceType | t3.medium | EC2 instance type for the node group. |
| NodeDesiredSize | 2 | Desired number of nodes in the node group. |
| Namespace | port-ocean | Kubernetes namespace where the integration runs. |
| ServiceAccountName | port-ocean-aws-v3 | Service account name used by the integration pod. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| EKS cluster | Kubernetes control plane. |
| Managed node group | Worker nodes for running pods. |
| Cluster IAM role | Used by the EKS control plane. |
| Node IAM role | Used by the node group. |
| IAM OIDC provider | Links the cluster to IAM for IRSA. |
| PortOceanServiceRole | Service account annotation target; no AWS permissions (enables JWT injection). |
| PortOceanReadRole | Trusts the EKS OIDC provider and grants ReadOnlyAccess for scanning. |
Step 3: Create the stack
Check the I acknowledge that AWS CloudFormation might create IAM resources box at the bottom of the page, then click Create stack.
Step 4: Verify the stack
-
Wait for the stack status to show
CREATE_COMPLETE(typically 10–15 minutes for EKS).
-
In the EKS console, open your cluster and confirm the cluster and node group are active.
Step 5: Configure kubectl
When the stack status is CREATE_COMPLETE, run the UpdateKubeconfigCommand value from the stack outputs to configure kubectl for your cluster.

Use static access keys only when running the integration outside of AWS or for quick testing.
Step 1: Create an IAM user
- In the IAM console, go to Users → Create user.
- Enter a username (for example,
port-ocean-integration). - Attach the ReadOnlyAccess managed policy.
- Create the user.
Step 2: Generate access keys
- Open the user, go to the Security credentials tab, and click Create access key.
- Choose Application running outside AWS.
- Download or copy both the Access key ID and Secret access key.
Keep these keys handy — you will use them as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in the next step.
-
Open the CloudFormation stack creation page in the management account: Deploy the IAM roles stack ↗
-
Fill in the required parameters (see All stack parameters below for details).
-
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
-
Once the stack shows
CREATE_COMPLETE, copy the ManagementAccountRoleArn from the Outputs tab — you will need it as AccountRoleArn in the next step.

All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| IntegrationAccountId | — | 12-digit account ID where the integration will run (your integration account). |
| TargetOUIds | — | Comma-separated OU or root IDs to deploy member roles (e.g. r-ab12 or ou-ab12-abc12345). Find these in the AWS Organizations console. |
| TrustedRoleName | PortOceanTaskRole | Runner role in the integration account allowed to assume PortOceanReadRole. Use PortOceanTaskRole for ECS. |
| RoleName | PortOceanReadRole | IAM role name created in every account (management + members). Must be identical across all accounts. |
| ExternalId | (empty) | Optional external ID for the trust policy. Generate one with openssl rand -hex 16. |
| AccountScope | ALL | ALL = every account in the OU. INTERSECTION = only accounts in TargetAccountIds. DIFFERENCE = all except those listed. |
| TargetAccountIds | (empty) | Comma-separated account IDs; required for INTERSECTION/DIFFERENCE. |
| StackSetName | Port-Ocean-Member-ReadRoles | Name for the StackSet resource. Must be unique within the account and region. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| PortOceanReadRole (management account) | Read-only role used by the integration to discover member accounts via the Organizations API. |
| StackSet | Deploys PortOceanReadRole with ReadOnlyAccess to every member account in the target OUs. |
-
Open the CloudFormation stack creation page in the management account: Deploy the IAM roles stack ↗
-
Fill in the required parameters (see All stack parameters below for details). Set TrustedRoleName to
PortOceanInstanceRole. -
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
-
Once the stack shows
CREATE_COMPLETE, copy the ManagementAccountRoleArn from the Outputs tab — you will need it as AccountRoleArn in the next step.

All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| IntegrationAccountId | — | 12-digit account ID where the integration will run (your integration account). |
| TargetOUIds | — | Comma-separated OU or root IDs to deploy member roles (e.g. r-ab12 or ou-ab12-abc12345). Find these in the AWS Organizations console. |
| TrustedRoleName | PortOceanTaskRole | Runner role in the integration account. Set this to PortOceanInstanceRole for EC2. |
| RoleName | PortOceanReadRole | IAM role name created in every account (management + members). Must be identical across all accounts. |
| ExternalId | (empty) | Optional external ID for the trust policy. Generate one with openssl rand -hex 16. |
| AccountScope | ALL | ALL = every account in the OU. INTERSECTION = only accounts in TargetAccountIds. DIFFERENCE = all except those listed. |
| TargetAccountIds | (empty) | Comma-separated account IDs; required for INTERSECTION/DIFFERENCE. |
| StackSetName | Port-Ocean-Member-ReadRoles | Name for the StackSet resource. Must be unique within the account and region. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| PortOceanReadRole (management account) | Read-only role used by the integration to discover member accounts via the Organizations API. |
| StackSet | Deploys PortOceanReadRole with ReadOnlyAccess to every member account in the target OUs. |
-
Open the CloudFormation stack creation page in the management account: Deploy the IRSA stack ↗
-
Set OIDCIssuerURL to the OidcProviderUrl output from the previous step.
-
Fill in the remaining parameters (see All stack parameters below for details).
-
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
-
Once the stack shows
CREATE_COMPLETE, copy the ManagementAccountRoleArn from the Outputs tab — you will need it asaccountRoleArnin the next step.

In the CloudFormation StackSets console, verify the StackSet operation completed and that each member account has an OIDC provider and IAM role with the correct OIDC trust and ReadOnlyAccess policy.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OIDCIssuerURL | — | EKS OIDC issuer URL from the OidcProviderUrl output of the previous step (without https://). |
| TargetOUIds | — | Comma-separated OU or root IDs to deploy member roles. Find these in the AWS Organizations console. |
| RoleName | PortOceanReadRole | IAM role name created in every account (management + members). Must be identical across all accounts. |
| Namespace | port-ocean | Kubernetes namespace where the integration runs (must match the previous and next steps). |
| ServiceAccountName | port-ocean-aws-v3 | Service account name used by the integration pod (must match the previous and next steps). |
| CreateOIDCProvider | true | Set to false if this account already has an OIDC provider for your integration account EKS cluster. |
| AccountScope | ALL | ALL = every account in the OU. INTERSECTION = only accounts in TargetAccountIds. DIFFERENCE = all except those listed. |
| TargetAccountIds | (empty) | Comma-separated account IDs; required for INTERSECTION/DIFFERENCE. |
| StackSetName | Port-Ocean-Member-IRSA | Name for the StackSet resource. Must be unique within the account and region. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| OIDC provider (management account) | Trusts the integration account EKS OIDC issuer so the pod JWT works in this account. |
| PortOceanReadRole (management account) | Read-only role with OIDC trust, used by the pod to discover member accounts and scan management account resources. |
| StackSet | Deploys an OIDC provider and PortOceanReadRole to every member account in the target OUs. |
Deploy with Helm or Argo CD. For both methods you need two outputs from the stack: ServiceAccountRoleArn (for the service account annotation) and ReadRoleArn (for integration.config.accountRoleArns).

Use one of the following methods to deploy the integration:
- Helm
- ArgoCD
Step 1: Install the chart
Run the following, using the ServiceAccountRoleArn from the stack outputs for SERVICE_ACCOUNT_ROLE_ARN and the ReadRoleArn for READ_ROLE_ARN:
helm repo add --force-update port-labs https://port-labs.github.io/helm-charts
helm upgrade --install aws-v3 port-labs/port-ocean \
--create-namespace --namespace port-ocean \
--set port.clientId="$PORT_CLIENT_ID" \
--set port.clientSecret="$PORT_CLIENT_SECRET" \
--set port.baseUrl="https://api.port.io" \
--set initializePortResources=true \
--set sendRawDataExamples=true \
--set scheduledResyncInterval=1440 \
--set integration.identifier="my-aws-v3" \
--set integration.type="aws-v3" \
--set integration.eventListener.type="POLLING" \
--set podServiceAccount.name="port-ocean-aws-v3" \
--set podServiceAccount.create=true \
--set podServiceAccount.annotations."eks\.amazonaws\.com/role-arn"="SERVICE_ACCOUNT_ROLE_ARN" \
--set integration.config.accountRoleArns='["READ_ROLE_ARN"]'
Step 2: Verify the deployment
Run the following commands to verify the integration is running:
kubectl get pods -n port-ocean
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
The integration starts syncing AWS resources to Port. In Port, check your catalog to confirm resources are syncing.
Step 1: Create the values file
Create a values.yaml file in argocd/my-ocean-aws-v3-integration in your git repository with the content below. Use the ServiceAccountRoleArn from the stack outputs for the annotation and the ReadRoleArn for integration.config.accountRoleArns.
initializePortResources: true
sendRawDataExamples: true
scheduledResyncInterval: 1440
integration:
identifier: my-aws-v3
type: aws-v3
eventListener:
type: POLLING
config:
accountRoleArns:
- READ_ROLE_ARN
podServiceAccount:
name: port-ocean-aws-v3
create: true
annotations:
"eks.amazonaws.com/role-arn": SERVICE_ACCOUNT_ROLE_ARN
Step 2: Create the Argo CD Application
Install the my-ocean-aws-v3-integration Argo CD Application by creating the following my-ocean-aws-v3-integration.yaml manifest. Replace YOUR_PORT_CLIENT_ID, YOUR_PORT_CLIENT_SECRET, and YOUR_GIT_REPO_URL. Multiple sources Argo CD documentation can be found here.Argo CD Application (click to expand)
Step 3: Verify the deployment
Run the following commands to verify the integration is running:
kubectl get pods -n port-ocean
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
The integration starts syncing AWS resources to Port. In Port, check your catalog to confirm resources are syncing.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
Deploy with Helm, Argo CD, or Docker. For Helm or Argo CD, use a machine with kubectl configured for your cluster. For Docker, use a host that can reach Port and AWS.
- Helm (Kubernetes)
- ArgoCD
- Docker
Step 1: Install the chart
helm repo add --force-update port-labs https://port-labs.github.io/helm-charts
helm upgrade --install aws-v3 port-labs/port-ocean \
--create-namespace --namespace port-ocean \
--set port.clientId="$PORT_CLIENT_ID" \
--set port.clientSecret="$PORT_CLIENT_SECRET" \
--set port.baseUrl="https://api.port.io" \
--set initializePortResources=true \
--set sendRawDataExamples=true \
--set scheduledResyncInterval=1440 \
--set integration.identifier="my-aws-v3" \
--set integration.type="aws-v3" \
--set integration.eventListener.type="POLLING" \
--set integration.config.awsAccessKeyId="$AWS_ACCESS_KEY_ID" \
--set integration.config.awsSecretAccessKey="$AWS_SECRET_ACCESS_KEY"
Step 2: Verify the deployment
kubectl get pods -n port-ocean
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
In Port, check your catalog to confirm resources are syncing.
Step 1: Create the values file
Create a values.yaml file in argocd/my-ocean-aws-v3-iam-integration in your git repository. Use your Port credentials and AWS access key credentials for the placeholders. Prefer storing AWS credentials in a Kubernetes secret and referencing them in values.yaml rather than committing them to git.
initializePortResources: true
sendRawDataExamples: true
scheduledResyncInterval: 1440
integration:
identifier: my-aws-v3
type: aws-v3
eventListener:
type: POLLING
config:
awsAccessKeyId: YOUR_AWS_ACCESS_KEY_ID
awsSecretAccessKey: YOUR_AWS_SECRET_ACCESS_KEY
Step 2: Create the Argo CD Application
Install the Argo CD Application by creating the following manifest. Replace YOUR_PORT_CLIENT_ID, YOUR_PORT_CLIENT_SECRET, and YOUR_GIT_REPO_URL. For multiple sources, see Argo CD documentation.Argo CD Application (click to expand)
Step 3: Verify the deployment
kubectl get pods -n port-ocean
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
In Port, check your catalog to confirm resources are syncing.
Step 1: Run the container
docker run -i --rm --platform=linux/amd64 \
-e OCEAN__PORT__CLIENT_ID="$PORT_CLIENT_ID" \
-e OCEAN__PORT__CLIENT_SECRET="$PORT_CLIENT_SECRET" \
-e OCEAN__PORT__BASE_URL="https://api.port.io" \
-e OCEAN__INITIALIZE_PORT_RESOURCES=true \
-e OCEAN__SEND_RAW_DATA_EXAMPLES=true \
-e OCEAN__EVENT_LISTENER='{"type": "ONCE"}' \
-e OCEAN__INTEGRATION__CONFIG__AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" \
-e OCEAN__INTEGRATION__CONFIG__AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" \
-e OCEAN__INTEGRATION__IDENTIFIER="my-aws-v3" \
-e OCEAN__INTEGRATION__TYPE="aws-v3" \
ghcr.io/port-labs/port-ocean-aws-v3:latest
Step 2: Verify the run
The container runs once and exits. Check Port's catalog to confirm resources synced successfully.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
-
Open the CloudFormation stack creation page in your integration account: Deploy the ECS CloudFormation stack ↗
-
Fill in the required parameters (see All stack parameters below for details).
-
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| PortClientId | — | Your Port client ID. |
| PortClientSecret | — | Your Port client secret. |
| VpcId | — | VPC where the ECS task runs (dropdown). |
| SubnetIds | — | Subnets for the ECS task; at least two recommended for high availability. |
| AccountRoleArn | — | ManagementAccountRoleArn output from the previous step (used to discover and sync member accounts). |
| PortBaseUrl | https://api.port.io | Port API endpoint. Use https://api.us.port.io for US region. |
| IntegrationIdentifier | my-aws-v3 | Unique identifier for this integration. |
| ResyncIntervalMinutes | 1440 | How often the integration rescans AWS (minutes); 1440 = once per day. |
| TaskSize | 256-1024 | Fargate task size (CPU-memory). |
| LogRetentionInDays | 30 | CloudWatch Logs retention in days. |
| EnableLiveEvents | false | When true, Ocean listens on port 8000 for EventBridge webhooks. Requires a public HTTPS URL and a second live events stack. |
| LiveEventsApiKey | (empty) | API key for webhook authentication. Required when EnableLiveEvents is true. |
| LiveEventsUrl | (empty) | Your public HTTPS URL for Ocean (for example, https://ocean-events.example.com). Required when EnableLiveEvents is true. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| ECS Cluster | Logical grouping for ECS tasks. |
| ECS Task Definition | Defines container image, resources, and IAM roles. |
| ECS Service | Keeps the task running continuously. |
| Execution Role | Allows ECS to pull images and write logs. |
| Task Role (PortOceanTaskRole) | Used by the ECS task; can assume PortOceanReadRole in member accounts. |
| Security Group | Allows outbound HTTPS to Port and AWS APIs. |
| CloudWatch Log Group | Stores container logs (30-day retention by default). |
Verify the deployment
- Wait for the stack status to show
CREATE_COMPLETE(typically 3–5 minutes).

- In the ECS console, open your cluster and the
port-ocean-aws-v3service. - Confirm the task is RUNNING.

-
Check the logs to confirm the integration is running without errors:
- In the ECS console, click the running task, then click the Logs tab to open the CloudWatch log stream.
- Alternatively, open the CloudWatch Logs console and find the log group
/ecs/port-ocean-aws-v3. - Wait for a log line indicating the initial sync has started (for example,
Starting resyncorFetching resources). Confirm there are no authentication errors (such asUnable to assume roleorAccessDenied) and no connection errors (such asConnection refusedortimeout).
-
In your Port catalog, confirm resources from your member accounts are appearing. A successful first sync may take a few minutes depending on the number of accounts and resources.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
-
Open the CloudFormation stack creation page in your integration account: Deploy the EC2 CloudFormation stack ↗
-
Fill in the required parameters (see All stack parameters below for details).
-
Check the I acknowledge that AWS CloudFormation might create IAM resources box, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| PortClientId | — | Your Port client ID. |
| PortClientSecret | — | Your Port client secret. |
| VpcId | — | VPC where the instance runs (dropdown). |
| SubnetId | — | Subnet for the instance (dropdown). |
| AccountRoleArn | — | ManagementAccountRoleArn output from the previous step. |
| PortBaseUrl | https://api.port.io | Port API endpoint. Use https://api.us.port.io for US region. |
| IntegrationIdentifier | my-aws-v3 | Unique identifier for this integration. |
| ResyncIntervalMinutes | 1440 | How often the integration rescans AWS (minutes); 1440 = once per day. |
| InstanceType | t3.medium | EC2 instance type. |
| EnableLiveEvents | false | When true, Ocean listens on port 8000 for EventBridge webhooks. Requires a public HTTPS URL and a second live events stack. |
| LiveEventsApiKey | (empty) | API key for webhook authentication. Required when EnableLiveEvents is true. |
| LiveEventsUrl | (empty) | Your public HTTPS URL for Ocean (for example, https://ocean-events.example.com). Required when EnableLiveEvents is true. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| EC2 Instance | Amazon Linux 2023 instance running the integration container. |
| IAM Role (PortOceanInstanceRole) | Attached to the instance profile; can assume PortOceanReadRole in member accounts. |
| Instance Profile | Links the instance role to the EC2 instance. |
| Security Group | Allows outbound traffic to AWS APIs and Port. |
| User Data Script | Installs Docker and runs the container as a systemd service. |
Verify the deployment
- Wait for the stack status to show
CREATE_COMPLETE(typically 3–5 minutes).

- In the EC2 console, find the instance named
{stack-name}-port-oceanand confirm it is running.

- Connect to the instance using Session Manager (no SSH key required) or SSH if you provided a key pair, then stream the container logs:
docker logs -f $(docker ps -q --filter name=port-ocean)
-
Wait for a log line indicating the initial sync has started (for example,
Starting resyncorFetching resources). Confirm there are no authentication errors (such asUnable to assume roleorAccessDenied) and no connection errors (such asConnection refusedortimeout). If the container is not yet running, the user data script may still be installing Docker; wait 2–3 minutes and retry. -
In your Port catalog, confirm resources from your member accounts are appearing. A successful first sync may take a few minutes depending on the number of accounts and resources.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
Deploy with Helm or ArgoCD. For both methods you need:
- ServiceAccountRoleArn from the EKS stack outputs (Set up EKS cluster step): the service account annotation value.
- ManagementAccountRoleArn from the IRSA stack outputs (Create IAM roles step): used as
integration.config.accountRoleArn.
- Helm
- ArgoCD
Run the following, replacing SERVICE_ACCOUNT_ROLE_ARN with the ServiceAccountRoleArn output and MANAGEMENT_ACCOUNT_ROLE_ARN with the ManagementAccountRoleArn output:
helm repo add --force-update port-labs https://port-labs.github.io/helm-charts
helm upgrade --install aws-v3 port-labs/port-ocean \
--create-namespace --namespace port-ocean \
--set port.clientId="$PORT_CLIENT_ID" \
--set port.clientSecret="$PORT_CLIENT_SECRET" \
--set port.baseUrl="https://api.port.io" \
--set initializePortResources=true \
--set sendRawDataExamples=true \
--set scheduledResyncInterval=1440 \
--set integration.identifier="my-aws-v3" \
--set integration.type="aws-v3" \
--set integration.eventListener.type="POLLING" \
--set podServiceAccount.name="port-ocean-aws-v3" \
--set podServiceAccount.create=true \
--set podServiceAccount.annotations."eks\.amazonaws\.com/role-arn"="SERVICE_ACCOUNT_ROLE_ARN" \
--set integration.config.accountRoleArn="MANAGEMENT_ACCOUNT_ROLE_ARN"
- Create a
values.yamlfile inargocd/my-ocean-aws-v3-integrationin your git repository. ReplaceSERVICE_ACCOUNT_ROLE_ARNwith the ServiceAccountRoleArn output andMANAGEMENT_ACCOUNT_ROLE_ARNwith the ManagementAccountRoleArn output.
initializePortResources: true
sendRawDataExamples: true
scheduledResyncInterval: 1440
integration:
identifier: my-aws-v3
type: aws-v3
eventListener:
type: POLLING
config:
accountRoleArn: MANAGEMENT_ACCOUNT_ROLE_ARN
podServiceAccount:
name: port-ocean-aws-v3
create: true
annotations:
"eks.amazonaws.com/role-arn": SERVICE_ACCOUNT_ROLE_ARN
- Install the
my-ocean-aws-v3-integrationArgoCD Application by creating the followingmy-ocean-aws-v3-integration.yamlmanifest. ReplaceYOUR_PORT_CLIENT_ID,YOUR_PORT_CLIENT_SECRET, andYOUR_GIT_REPO_URL. Multiple sources ArgoCD documentation can be found here.
ArgoCD Application (click to expand)
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: my-ocean-aws-v3-integration
namespace: argocd
spec:
destination:
namespace: port-ocean
server: https://kubernetes.default.svc
project: default
sources:
- repoURL: 'https://port-labs.github.io/helm-charts/'
chart: port-ocean
targetRevision: 0.9.5
helm:
valueFiles:
- $values/argocd/my-ocean-aws-v3-integration/values.yaml
parameters:
- name: port.clientId
value: YOUR_PORT_CLIENT_ID
- name: port.clientSecret
value: YOUR_PORT_CLIENT_SECRET
- name: port.baseUrl
value: https://api.port.io
- repoURL: YOUR_GIT_REPO_URL
targetRevision: main
ref: values
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
Verify the deployment
- Check that the pod is running:
kubectl get pods -n port-ocean
The pod should show Running with no restarts. If it shows CrashLoopBackOff or Error, check the logs in the next step before proceeding.
- Stream the logs and confirm the integration starts without errors:
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
Wait for a log line indicating the initial sync has started (for example, Starting resync or Fetching resources). Confirm there are no authentication errors (such as Unable to assume role or AccessDenied) and no connection errors (such as Connection refused or timeout). The absence of errors in the first 30–60 seconds of logs is a good signal that credentials, networking, and role assumptions are all working correctly.
- In your Port catalog, confirm resources from your member accounts are appearing. A successful first sync may take a few minutes depending on the number of accounts and resources.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
CloudFormation provisions the ECS task and starts the integration automatically. There is no separate "deploy integration" step once the stack is in CREATE_COMPLETE status, the integration is running.
Step 1: Wait for the stack to complete
Wait for the stack status to show CREATE_COMPLETE (typically 3–5 minutes).

Step 2: Confirm the ECS task is running
- In the ECS console, open your cluster and the
port-ocean-aws-v3service. - Confirm the task is RUNNING.

The integration starts syncing AWS resources to Port. In Port, check your catalog to confirm resources are syncing.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
CloudFormation provisions the EC2 instance and starts the integration automatically.
There is no separate "deploy integration" step, once the stack is in CREATE_COMPLETE status, the integration is running on the instance.
Step 1: Wait for the stack to complete
Wait for the stack status to show CREATE_COMPLETE (typically 3–5 minutes).

Step 2: Confirm the EC2 instance is running
In the EC2 console, find the instance named {stack-name}-port-ocean and confirm it is running.

The integration starts syncing AWS resources to Port. In Port, check your catalog to confirm resources are syncing.
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
Step 1: Set the live events API key
- In the Port integration form, set Live events API key to a secure random string (for example, generate one with
openssl rand -hex 32). - Keep this value handy. You will pass the same key to the CloudFormation stack in step 3.
The API key in Port and the LiveEventsApiKey CloudFormation parameter must be identical. EventBridge sends it in the x-port-aws-ocean-api-key header, and the integration rejects requests when the values differ.
Step 2: Choose AWS regions (optional)
In the AWS regions field, enter a comma-separated list of regions (for example, eu-west-1,us-east-1) where you want live events provisioned.
Leave the field empty to deploy EventBridge resources in every enabled region in the account. Port discovers enabled regions automatically during stack creation.
Step 3: Deploy the live events CloudFormation stack
- In the installation form, click Click here next to Set up live events with CloudFormation. This opens the AWS console with pre-configured parameters, including the live events URL.
- Review the parameters (see All stack parameters below for details).
- Check I acknowledge that AWS CloudFormation might create IAM resources with custom names.
- Click Create stack and wait until the stack reaches
CREATE_COMPLETE.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
| Regions | (empty) | Optional comma-separated regions (for example, eu-west-1,us-east-1). When empty, deploys to every enabled region in the account. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| CloudFormation StackSet | Deploys regional EventBridge resources to each target region in the account. |
| StackSet IAM roles | Administration and execution roles used by the StackSet to create regional resources. |
| Region discovery Lambda | Created only when Regions is empty. Discovers all enabled AWS regions in the account. |
| EventBridge Connection (per region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per region) | Allows EventBridge to call the API destination. |
Step 4: Verify live events
Create or modify a supported resource kind (for example, an S3 bucket) in a region where EventBridge was deployed. The matching entity in Port should update within a few minutes without triggering a manual resync.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
Step 1: Set the live events API key
- In the Port integration form, set Live events API key to a secure random string (for example, generate one with
openssl rand -hex 32). - Keep this value handy. You will pass the same key to the CloudFormation stack in step 3.
The API key in Port and the LiveEventsApiKey CloudFormation parameter must be identical. EventBridge sends it in the x-port-aws-ocean-api-key header, and the integration rejects requests when the values differ.
Step 2: Choose AWS regions (required)
Enter a comma-separated list of regions (for example, eu-west-1,us-east-1) where live events should be provisioned.
For multi-account setups, regions are required. EventBridge resources are created in these regions in every target account, including the management account.
Step 3: Deploy the live events CloudFormation stack
Deploy from your AWS Organizations management account.
- In the Port installation form, click Click here next to Set up live events with CloudFormation. This opens the AWS console with pre-configured parameters, including the live events URL, your OU, and account scope from the integration setup.
- Review the parameters (see All stack parameters below for details).
- Check I acknowledge that AWS CloudFormation might create IAM resources with custom names.
- Click Create stack and wait until the stack reaches
CREATE_COMPLETE.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| TargetOUIds | — | OU ID to target (for example, ou-abcd-xyz). |
| AccountScope | ALL | ALL, INTERSECTION, or DIFFERENCE. Controls which accounts in the OU receive live events. |
| TargetAccountIds | (empty) | Comma-separated account IDs. Required when AccountScope is INTERSECTION or DIFFERENCE. |
| Regions | — | Required. Comma-separated regions where EventBridge resources are provisioned in every target account and the management account. |
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| Service-managed StackSet | Deploys regional EventBridge resources to member accounts in the target OU. |
| Nested management account stack | Deploys the single-account live events template in the management account (StackSets cannot target the management account). |
| EventBridge Connection (per account and region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per account and region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per account and region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per account and region) | Allows EventBridge to call the API destination. |
The multi-account template deploys EventBridge resources to member accounts through a service-managed StackSet. Because StackSets cannot target the management account, the template also creates a nested single-account stack for the management account using the same region list.
Step 4: Verify StackSet operations
- Open the CloudFormation StackSets console.
- Select the StackSet named
port-le-<integration-identifier>-org(or the custom name you provided). - Confirm all operations show Succeeded.
Step 5: Verify live events
Create or modify a supported resource kind in a member account and region where EventBridge was deployed. The matching entity in Port should update within a few minutes without triggering a manual resync.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IAM Role (ECS) and IAM Role (EC2) deployments, live events are configured through the Ocean CloudFormation stack parameters and a second live events stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value for LiveEventsApiKey on both CloudFormation stacks.
Step 2: Set up HTTPS ingress
Provide a public HTTPS URL that routes to Ocean on port 8000 in your VPC. EventBridge posts to {LiveEventsUrl}/integration/webhook.
- Health check path:
/health - Webhook path:
/integration/webhook
Step 3: Enable live events on the Ocean stack
On your existing ECS or EC2 Ocean stack, set the following parameters (or include them when you first deploy the stack):
| Parameter | Value |
|---|---|
| EnableLiveEvents | true |
| LiveEventsApiKey | The API key from step 1. |
| LiveEventsUrl | Your public HTTPS URL (for example, https://ocean-events.example.com). Do not include /integration/webhook. |
These parameters set OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY and OCEAN__BASE_URL on the integration container and expose port 8000 for webhook traffic.
If the Ocean stack is already running, update it with these parameters and wait for the update to complete.
Step 4: Deploy the live events CloudFormation stack
Deploy a second stack in the same AWS account.
Deploy the single-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the OceanBaseUrl output from the Ocean stack as LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
| Regions | (empty) | Optional comma-separated regions (for example, eu-west-1,us-east-1). When empty, deploys to every enabled region in the account. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| CloudFormation StackSet | Deploys regional EventBridge resources to each target region in the account. |
| StackSet IAM roles | Administration and execution roles used by the StackSet to create regional resources. |
| Region discovery Lambda | Created only when Regions is empty. Discovers all enabled AWS regions in the account. |
| EventBridge Connection (per region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per region) | Allows EventBridge to call the API destination. |
Step 5: Verify live events
- Confirm
{LiveEventsUrl}/healthreturns a successful response. - Create or modify a supported resource kind in a deployed region.
- Check Ocean logs and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IAM Role (ECS) and IAM Role (EC2) deployments, live events are configured through the Ocean CloudFormation stack parameters and a second live events stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value for LiveEventsApiKey on both CloudFormation stacks.
Step 2: Set up HTTPS ingress
Provide a public HTTPS URL that routes to Ocean on port 8000 in your VPC. EventBridge posts to {LiveEventsUrl}/integration/webhook.
- Health check path:
/health - Webhook path:
/integration/webhook
Step 3: Enable live events on the Ocean stack
On your existing ECS or EC2 Ocean stack, set the following parameters (or include them when you first deploy the stack):
| Parameter | Value |
|---|---|
| EnableLiveEvents | true |
| LiveEventsApiKey | The API key from step 1. |
| LiveEventsUrl | Your public HTTPS URL (for example, https://ocean-events.example.com). Do not include /integration/webhook. |
These parameters set OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY and OCEAN__BASE_URL on the integration container and expose port 8000 for webhook traffic.
If the Ocean stack is already running, update it with these parameters and wait for the update to complete.
Step 4: Deploy the live events CloudFormation stack
Deploy a second stack in the same AWS account.
Deploy the single-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the OceanBaseUrl output from the Ocean stack as LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
| Regions | (empty) | Optional comma-separated regions (for example, eu-west-1,us-east-1). When empty, deploys to every enabled region in the account. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| CloudFormation StackSet | Deploys regional EventBridge resources to each target region in the account. |
| StackSet IAM roles | Administration and execution roles used by the StackSet to create regional resources. |
| Region discovery Lambda | Created only when Regions is empty. Discovers all enabled AWS regions in the account. |
| EventBridge Connection (per region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per region) | Allows EventBridge to call the API destination. |
Step 5: Verify live events
- Confirm
{LiveEventsUrl}/healthreturns a successful response. - Create or modify a supported resource kind in a deployed region.
- Check Ocean logs and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IRSA (EKS) and IAM User deployments, configure live events on the integration itself, then deploy the live events CloudFormation stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value in your integration configuration and in the live events CloudFormation stack.
Step 2: Configure the integration and ingress
Set the following Helm values (or equivalent environment variables):
integration:
config:
liveEventsApiKey: <your-api-key>
liveEvents:
baseUrl: https://<your-ocean-host>
Or with environment variables:
OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY=<your-api-key>
OCEAN__BASE_URL=https://<your-ocean-host>
liveEventsApiKey/OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY- EventBridge sends this value in thex-port-aws-ocean-api-keyheader.liveEvents.baseUrl/OCEAN__BASE_URL- Your public HTTPS URL where EventBridge can reach Ocean. EventBridge posts to{baseUrl}/integration/webhook.
Route your public HTTPS URL to the integration on port 8000. Use /health for health checks.
If you run high volumes of live events and need better reliability or horizontal scaling, you can optionally set up Port's live events at scale infrastructure with ocean-gateway and Redis Streams.
Step 3: Deploy the live events CloudFormation stack
Deploy in the AWS account where you want to receive live events.
Deploy the single-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the same values from steps 1 and 2 for LiveEventsApiKey and LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
| Regions | (empty) | Optional comma-separated regions (for example, eu-west-1,us-east-1). When empty, deploys to every enabled region in the account. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| CloudFormation StackSet | Deploys regional EventBridge resources to each target region in the account. |
| StackSet IAM roles | Administration and execution roles used by the StackSet to create regional resources. |
| Region discovery Lambda | Created only when Regions is empty. Discovers all enabled AWS regions in the account. |
| EventBridge Connection (per region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per region) | Allows EventBridge to call the API destination. |
Step 4: Verify live events
- Confirm your ingress routes HTTPS traffic to the integration on
/integration/webhook. - Create or modify a supported resource kind in a deployed region.
- Check integration logs for incoming webhook requests and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IRSA (EKS) and IAM User deployments, configure live events on the integration itself, then deploy the live events CloudFormation stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value in your integration configuration and in the live events CloudFormation stack.
Step 2: Configure the integration and ingress
Set the following Helm values (or equivalent environment variables):
integration:
config:
liveEventsApiKey: <your-api-key>
liveEvents:
baseUrl: https://<your-ocean-host>
Or with environment variables:
OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY=<your-api-key>
OCEAN__BASE_URL=https://<your-ocean-host>
liveEventsApiKey/OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY- EventBridge sends this value in thex-port-aws-ocean-api-keyheader.liveEvents.baseUrl/OCEAN__BASE_URL- Your public HTTPS URL where EventBridge can reach Ocean. EventBridge posts to{baseUrl}/integration/webhook.
Route your public HTTPS URL to the integration on port 8000. Use /health for health checks.
If you run high volumes of live events and need better reliability or horizontal scaling, you can optionally set up Port's live events at scale infrastructure with ocean-gateway and Redis Streams.
Step 3: Deploy the live events CloudFormation stack
Deploy in the AWS account where you want to receive live events.
Deploy the single-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the same values from steps 1 and 2 for LiveEventsApiKey and LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
| Regions | (empty) | Optional comma-separated regions (for example, eu-west-1,us-east-1). When empty, deploys to every enabled region in the account. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| CloudFormation StackSet | Deploys regional EventBridge resources to each target region in the account. |
| StackSet IAM roles | Administration and execution roles used by the StackSet to create regional resources. |
| Region discovery Lambda | Created only when Regions is empty. Discovers all enabled AWS regions in the account. |
| EventBridge Connection (per region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per region) | Allows EventBridge to call the API destination. |
Step 4: Verify live events
- Confirm your ingress routes HTTPS traffic to the integration on
/integration/webhook. - Create or modify a supported resource kind in a deployed region.
- Check integration logs for incoming webhook requests and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IAM Role (ECS) and IAM Role (EC2) deployments, live events are configured through the Ocean CloudFormation stack parameters and a second live events stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value for LiveEventsApiKey on both CloudFormation stacks.
Step 2: Set up HTTPS ingress
Provide a public HTTPS URL that routes to Ocean on port 8000 in your VPC. EventBridge posts to {LiveEventsUrl}/integration/webhook.
- Health check path:
/health - Webhook path:
/integration/webhook
Step 3: Enable live events on the Ocean stack
On your existing ECS or EC2 Ocean stack in the integration account, set the following parameters (or include them when you first deploy the stack):
| Parameter | Value |
|---|---|
| EnableLiveEvents | true |
| LiveEventsApiKey | The API key from step 1. |
| LiveEventsUrl | Your public HTTPS URL (for example, https://ocean-events.example.com). Do not include /integration/webhook. |
These parameters set OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY and OCEAN__BASE_URL on the integration container and expose port 8000 for webhook traffic.
If the Ocean stack is already running, update it with these parameters and wait for the update to complete.
Step 4: Deploy the live events CloudFormation stack
Deploy a second stack from your AWS Organizations management account.
Deploy the multi-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the OceanBaseUrl output from the Ocean stack as LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| TargetOUIds | — | OU ID to target (for example, ou-abcd-xyz). |
| AccountScope | ALL | ALL, INTERSECTION, or DIFFERENCE. Controls which accounts in the OU receive live events. |
| TargetAccountIds | (empty) | Comma-separated account IDs. Required when AccountScope is INTERSECTION or DIFFERENCE. |
| Regions | — | Required. Comma-separated regions where EventBridge resources are provisioned in every target account and the management account. |
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| Service-managed StackSet | Deploys regional EventBridge resources to member accounts in the target OU. |
| Nested management account stack | Deploys the single-account live events template in the management account (StackSets cannot target the management account). |
| EventBridge Connection (per account and region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per account and region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per account and region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per account and region) | Allows EventBridge to call the API destination. |
The multi-account template deploys EventBridge resources to member accounts through a service-managed StackSet. Because StackSets cannot target the management account, the template also creates a nested single-account stack for the management account using the same region list.
Step 5: Verify StackSet operations
- Open the CloudFormation StackSets console.
- Select the StackSet named
port-le-<integration-identifier>-org. - Confirm all operations show Succeeded.
Step 6: Verify live events
- Confirm
{LiveEventsUrl}/healthreturns a successful response. - Create or modify a supported resource kind in a member account and deployed region.
- Check Ocean logs and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IAM Role (ECS) and IAM Role (EC2) deployments, live events are configured through the Ocean CloudFormation stack parameters and a second live events stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value for LiveEventsApiKey on both CloudFormation stacks.
Step 2: Set up HTTPS ingress
Provide a public HTTPS URL that routes to Ocean on port 8000 in your VPC. EventBridge posts to {LiveEventsUrl}/integration/webhook.
- Health check path:
/health - Webhook path:
/integration/webhook
Step 3: Enable live events on the Ocean stack
On your existing ECS or EC2 Ocean stack in the integration account, set the following parameters (or include them when you first deploy the stack):
| Parameter | Value |
|---|---|
| EnableLiveEvents | true |
| LiveEventsApiKey | The API key from step 1. |
| LiveEventsUrl | Your public HTTPS URL (for example, https://ocean-events.example.com). Do not include /integration/webhook. |
These parameters set OCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY and OCEAN__BASE_URL on the integration container and expose port 8000 for webhook traffic.
If the Ocean stack is already running, update it with these parameters and wait for the update to complete.
Step 4: Deploy the live events CloudFormation stack
Deploy a second stack from your AWS Organizations management account.
Deploy the multi-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the OceanBaseUrl output from the Ocean stack as LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| TargetOUIds | — | OU ID to target (for example, ou-abcd-xyz). |
| AccountScope | ALL | ALL, INTERSECTION, or DIFFERENCE. Controls which accounts in the OU receive live events. |
| TargetAccountIds | (empty) | Comma-separated account IDs. Required when AccountScope is INTERSECTION or DIFFERENCE. |
| Regions | — | Required. Comma-separated regions where EventBridge resources are provisioned in every target account and the management account. |
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| Service-managed StackSet | Deploys regional EventBridge resources to member accounts in the target OU. |
| Nested management account stack | Deploys the single-account live events template in the management account (StackSets cannot target the management account). |
| EventBridge Connection (per account and region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per account and region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per account and region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per account and region) | Allows EventBridge to call the API destination. |
The multi-account template deploys EventBridge resources to member accounts through a service-managed StackSet. Because StackSets cannot target the management account, the template also creates a nested single-account stack for the management account using the same region list.
Step 5: Verify StackSet operations
- Open the CloudFormation StackSets console.
- Select the StackSet named
port-le-<integration-identifier>-org. - Confirm all operations show Succeeded.
Step 6: Verify live events
- Confirm
{LiveEventsUrl}/healthreturns a successful response. - Create or modify a supported resource kind in a member account and deployed region.
- Check Ocean logs and confirm the entity updates in Port.
Optional. Deploy a separate CloudFormation stack to receive real-time updates between resyncs. For how live events work and which resource kinds are supported, see Live events.
Complete the installation steps above before continuing.
For IRSA (EKS) deployments, configure live events on the integration itself, then deploy the live events CloudFormation stack.
Step 1: Generate a live events API key
Define a secret string that secures incoming webhook requests. For example:
openssl rand -hex 32
Use the same value in your integration configuration and in the live events CloudFormation stack.
Step 2: Configure the integration and ingress
Set the following Helm values (or equivalent environment variables):
integration:
config:
liveEventsApiKey: <your-api-key>
liveEvents:
baseUrl: https://<your-ocean-host>
integration.config.liveEventsApiKeysetsOCEAN__INTEGRATION__CONFIG__LIVE_EVENTS_API_KEY. EventBridge sends this value in thex-port-aws-ocean-api-keyheader.liveEvents.baseUrlsetsOCEAN__BASE_URL. EventBridge posts to{baseUrl}/integration/webhook.
Route your public HTTPS URL to the integration on port 8000. Use /health for health checks.
If you run high volumes of live events and need better reliability or horizontal scaling, you can optionally set up Port's live events at scale infrastructure with ocean-gateway and Redis Streams.
Step 3: Deploy the live events CloudFormation stack
Deploy from your AWS Organizations management account.
Deploy the multi-account live events stack ↗Fill in the required parameters (see All stack parameters below for details). Use the same values from steps 1 and 2 for LiveEventsApiKey and LiveEventsUrl.
Check I acknowledge that AWS CloudFormation might create IAM resources with custom names, then click Create stack.
All stack parameters (click to expand)
| Parameter | Default | Description |
|---|---|---|
| TargetOUIds | — | OU ID to target (for example, ou-abcd-xyz). |
| AccountScope | ALL | ALL, INTERSECTION, or DIFFERENCE. Controls which accounts in the OU receive live events. |
| TargetAccountIds | (empty) | Comma-separated account IDs. Required when AccountScope is INTERSECTION or DIFFERENCE. |
| Regions | — | Required. Comma-separated regions where EventBridge resources are provisioned in every target account and the management account. |
| OrgId | — | Your Port organization ID. Must match the integration configuration. |
| IntegrationIdentifier | — | Integration identifier. Must match the value in Port and your Ocean deployment. |
| LiveEventsUrl | — | Webhook base URL. EventBridge posts to {url}/integration/webhook. Hosted by Port: use the live events URL from the installation form. Self-hosted: use your public HTTPS URL or the OceanBaseUrl stack output. |
| LiveEventsApiKey | — | API key for webhook authentication. Must match the value configured on the integration. |
What the stack creates (click to expand)
| Resource | Purpose |
|---|---|
| Service-managed StackSet | Deploys regional EventBridge resources to member accounts in the target OU. |
| Nested management account stack | Deploys the single-account live events template in the management account (StackSets cannot target the management account). |
| EventBridge Connection (per account and region) | Stores the API key used to authenticate webhook requests to Port. |
| EventBridge API Destination (per account and region) | Forwards matching CloudTrail events to {LiveEventsUrl}/integration/webhook. |
| EventBridge Rule (per account and region) | Matches supported CloudTrail management events and invokes the API destination. |
| Invoke IAM role (per account and region) | Allows EventBridge to call the API destination. |
The multi-account template deploys EventBridge resources to member accounts through a service-managed StackSet. Because StackSets cannot target the management account, the template also creates a nested single-account stack for the management account using the same region list.
Step 4: Verify StackSet operations
- Open the CloudFormation StackSets console.
- Select the StackSet named
port-le-<integration-identifier>-org. - Confirm all operations show Succeeded.
Step 5: Verify live events
- Confirm your ingress routes HTTPS traffic to the integration on
/integration/webhook. - Create or modify a supported resource kind in a member account and deployed region.
- Check integration logs for incoming webhook requests and confirm the entity updates in Port.
You can control which AWS regions the integration queries using regionPolicy. See Querying resources from specific regions.
Account discovery
This section explains how the integration discovers accounts when you choose the multi-account self-hosted setup. It does not apply to single-account or Hosted by Port installations.
Account discovery is driven by AWS Organizations. The integration assumes a role in your management account to call the Organizations API, then assumes PortOceanReadRole in each discovered account to read and sync resources into your Port catalog. The account list is refreshed on every resync cycle and new accounts are picked up automatically, and removed accounts stop being synced.
How accounts are discovered depends on whether you provide a Target OU ID during installation:
Sync all accounts (default)
Leave the Target OU ID field empty to sync every active member account in your organization.
When to use: You want full organization-wide visibility with no account filtering.
How it works:
- The integration assumes a role in your management account.
- It calls the AWS Organizations
ListAccountsAPI to enumerate all active accounts in your organization. - It assumes
PortOceanReadRolein each account and syncs resources into your Port catalog.
Sync accounts in a specific OU
Set a Target OU ID (ou-xxxx-xxxxxxxx) during installation to scope discovery to a specific branch of your organization hierarchy. The integration will discover accounts in that OU and any nested sub-OUs.
When to use: You want to limit syncing to a subset of accounts. For example, only accounts in your production OU, or a single business unit's accounts.
How it works:
- The integration assumes a role in your management account.
- It calls
ListAccountsForParentwith your OU ID and recursively walks all nested sub-OUs to build the account list. - It assumes
PortOceanReadRolein each discovered account and syncs resources into your Port catalog.
Find your OU ID in the AWS Organizations console under Organizational structure (format: ou-xxxx-xxxxxxxx).
IAM role architecture
The integration uses read-only IAM roles to access your AWS resources. How those roles are created and trusted depends on your deployment option. Select a tab below to see the role architecture for your setup.
- Hosted by Port
- Self-hosted
AWS uses a strategically designed IAM role that provides comprehensive read-only access to all AWS services. The role is created automatically by the CloudFormation template and uses the AWS managed ReadOnlyAccess policy for future-proofing and operational simplicity.
We recommend keeping the IAM role and its permissions unchanged after deployment. The integration is designed to work with the full ReadOnlyAccess policy, which ensures:
- Complete resource discovery across all AWS services.
- Future compatibility when Port adds support for new AWS services.
- Reliable operation without permission-related issues.
If you prefer to create the IAM role manually rather than using the CloudFormation template, the following sections describe the setup we implement. This will help you understand the reasoning behind our design choices and adapt them if you decide to configure the role differently.
Role structure
For multi-account setups, the role structure is replicated across all target accounts.
OIDC identity provider
The CloudFormation template creates an OIDC identity provider that connects to Port's EKS cluster:
PortIntegrationOIDCProvider:
Type: AWS::IAM::OIDCProvider
Properties:
Url: 'https://oidc.eks.eu-west-1.amazonaws.com/id/56E5F51C07138118A9183ECEAA68FAF4'
ClientIdList:
- sts.amazonaws.com
Tags:
- Key: port:integration
Value: !Ref IntegrationIdentifier
Key details:
- EKS OIDC URL: Points to Port's production EKS cluster in EU-West-1.
- Client ID: Uses
sts.amazonaws.comfor IRSA authentication. - Reusable: Can be shared across multiple integrations in the same account.
- Optional: Can be disabled if you already have a Port OIDC provider.
Trust policy
The IAM role uses an OIDC (OpenID Connect) trust policy with IRSA (IAM Roles for Service Accounts) that allows Port's EKS cluster to assume the role:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::YOUR_ACCOUNT_ID:oidc-provider/oidc.eks.eu-west-1.amazonaws.com/id/56E5F51C07138118A9183ECEAA68FAF4"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"oidc.eks.eu-west-1.amazonaws.com/id/56E5F51C07138118A9183ECEAA68FAF4:aud": "sts.amazonaws.com",
"oidc.eks.eu-west-1.amazonaws.com/id/56E5F51C07138118A9183ECEAA68FAF4:sub": "system:serviceaccount:org-YOUR_ORG_ID-port-oidc-sa"
}
}
}]
}
Key security features:
- OIDC authentication: Role is tied to Port's specific EKS service account.
- Temporary credentials: All access uses short-lived tokens (typically 1 hour).
Permissions policy
The role uses the AWS managed ReadOnlyAccess policy, which provides comprehensive read-only access to all AWS services:
ManagedPolicyArns:
- arn:aws:iam::aws:policy/ReadOnlyAccess
Strategic benefits:
- Future-proof: Automatically includes new AWS services without CloudFormation updates.
- Operational simplicity: No need to redeploy when adding support for new services.
- Comprehensive coverage: Access to all AWS services with read-only permissions.
- AWS maintained: AWS manages and updates the policy as needed.
- Read-only security: Only read permissions, no write/delete/create access.
Security considerations
From a security view point the integration uses a read-only role. It can list/describe and read metadata/tags, but cannot create, modify, delete, or change any resource.
With self-hosted deployments you manage IAM resources directly; the hosted version manages them for you.
Role structure
In every deployment, the integration uses one read-only role, PortOceanReadRole, with the AWS ReadOnlyAccess policy. Who can assume that role depends on where you run the integration: an ECS task, an EC2 instance, or a pod using your EKS cluster's OIDC identity. Select a tab below to see the trust policy for that method.
In all cases, the integration process gets an identity (task role, instance role, or OIDC-backed service account). That identity is allowed to assume PortOceanReadRole. The read-only role has ReadOnlyAccess and is used to call AWS APIs.
- IAM Role (ECS)
- IAM Role (EC2)
- IRSA (EKS)
The integration runs in an ECS task and assumes the read-only role PortOceanReadRole to call AWS APIs. Two roles apply:
- Task role (PortOceanTaskRole) — Attached to the task; its only permission is
sts:AssumeRoleon PortOceanReadRole. - Read-only role (PortOceanReadRole) — Has the ReadOnlyAccess managed policy. Only the task role can assume it.
Flow — ECS injects the task role credentials into the container. The integration uses them to assume PortOceanReadRole, then calls AWS APIs with that role.
Read-only role trust policy. Only the task role can assume this role. Replace TASK_ROLE_ARN with your task role ARN:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"AWS": "TASK_ROLE_ARN"
},
"Action": "sts:AssumeRole"
}]
}
Key security features: AWS provides temporary credentials to ECS tasks automatically. The task role has only assume-role permission; the read-only role holds ReadOnlyAccess. AWS STS automatically rotates credentials. ECS tasks can assume roles in other AWS accounts when you configure cross-account access.
The integration runs on an EC2 instance and assumes the read-only role PortOceanReadRole to call AWS APIs. Two roles apply:
- Instance role (PortOceanInstanceRole) — Attached to the instance; its only permission is
sts:AssumeRoleon PortOceanReadRole. - Read-only role (PortOceanReadRole) — Has the ReadOnlyAccess managed policy. Only the instance role can assume it.
Flow — EC2 delivers the instance role credentials to the instance via the instance profile. The integration assumes PortOceanReadRole, then calls AWS APIs with that role.
Read-only role trust policy. Only the instance role can assume this role. Replace INSTANCE_ROLE_ARN with your instance role ARN:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"AWS": "INSTANCE_ROLE_ARN"
},
"Action": "sts:AssumeRole"
}]
}
Key security features: EC2 delivers temporary credentials to the instance via the instance profile. The instance role has only assume-role permission; the read-only role holds ReadOnlyAccess. AWS STS automatically rotates credentials.
With IRSA, the read-only role (PortOceanReadRole) trusts your EKS cluster's OIDC identity provider. There is no separate "task" or "instance" role; the pod receives a web identity token from the service account, and PortOceanReadRole trusts that token.
Flow — The pod uses a Kubernetes service account annotated with the IAM role ARN. EKS and the OIDC provider issue a short-lived token. The integration exchanges it for PortOceanReadRole credentials via AssumeRoleWithWebIdentity, then calls AWS APIs.
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::MEMBER_ACCOUNT_ID:oidc-provider/oidc.eks.YOUR_REGION.amazonaws.com/id/YOUR_OIDC_ID"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"oidc.eks.YOUR_REGION.amazonaws.com/id/YOUR_OIDC_ID:aud": "sts.amazonaws.com",
"oidc.eks.YOUR_REGION.amazonaws.com/id/YOUR_OIDC_ID:sub": "system:serviceaccount:YOUR_NAMESPACE:YOUR_SERVICE_ACCOUNT"
}
}
}]
}
Key security features: OIDC federation provides secure identity federation without shared secrets. Roles are tied to specific Kubernetes service accounts, and pods receive short-lived tokens for the role.
Permissions setup
In every deployment method, the integration calls AWS APIs using PortOceanReadRole. That role has the AWS managed ReadOnlyAccess policy attached, which gives read-only access to AWS services:
ManagedPolicyArns:
- arn:aws:iam::aws:policy/ReadOnlyAccess
Benefits: The policy automatically includes new AWS services so you do not need to redeploy when AWS adds services. AWS maintains and updates it. Access is read-only; create, modify, and delete actions are not allowed.
Security considerations
Self-hosted integrations use read-only access with carefully configured trust relationships. You can list and describe resources and read metadata and tags; you cannot create, modify, delete, or change any resource.
Troubleshooting
Select your deployment option to troubleshoot installation and sync issues. Use Interactive mode to be guided through diagnostic checks, or Quick reference to scan the full list of issues and fixes.
- Hosted by Port
- Self-hosted
What are you experiencing?
Select the issue that best matches your situation. We'll guide you through diagnosing and fixing it step by step.
For how the IAM role and permissions work, see the IAM role architecture section above (Hosted by Port tab).
Stack creation issues
Error: Stack creation failed: CREATE_FAILED
Solutions:
- Insufficient IAM permissions: Ensure your AWS user has CloudFormation and IAM permissions.
- OIDC provider already exists: Set Create OIDC Provider to
falseif you already have one.
No resources appearing in Port
- Confirm the Account Role Arn in Port matches the PortIntegrationRoleArn stack output.
- Verify the role has the ReadOnlyAccess policy attached.
- Check the integration's last sync status on the Connectors page for assume-role or permission errors.
- Single account
- Multi-account
What are you experiencing?
Select the issue that best matches your situation. We'll guide you through diagnosing and fixing it step by step.
For how authentication and IAM roles work, see the IAM role architecture section above (Self-hosted tab).
Stack creation failed (CREATE_FAILED)
- Insufficient IAM permissions: Ensure your AWS user has CloudFormation and IAM permissions to create the stack.
- Parameter mismatch: For IRSA (EKS), ensure the namespace and service account name in the stack match the values used in the Helm command.
- EKS unsupported availability zone: EKS does not support the control plane in all AZs (for example,
us-east-1e). If you see an error likeEKS does not support creating control plane instances in <AZ>, delete the failed stack and retry with subnets in supported AZs (the error message lists which AZs are supported for your region).
No resources discovered
- Verify the IAM user or role has the ReadOnlyAccess policy attached.
- Check that the regions you want to sync are not excluded by your region policy and that the integration has network access to AWS APIs.
Invalid credentials (IAM User only)
- Verify AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are correct and the IAM user has ReadOnlyAccess attached.
Role or authentication errors
- Verify the role ARN in Helm or your config matches the stack output. For IRSA, ensure the service account annotation and OIDC provider match the values used in the stack.
What are you experiencing?
Select the issue that best matches your situation. We'll guide you through diagnosing and fixing it step by step.
For how authentication and IAM roles work in multi-account setups, see the IAM role architecture section above (Self-hosted tab).
General checklist
Run through this list first whenever something is not working. Click each item to see how to verify it. Check both the IAM roles stack in the management account and the integration stack in the integration account. If either shows Open the CloudFormation StackSets console, select Verify The ManagementAccountRoleArn value used in the integration stack (or Helm/ArgoCD config) must exactly match the ManagementAccountRoleArn output from the IAM roles stack. Copy-paste errors are a common cause of assume-role failures. Compare the values character-by-character. The integration account ID supplied in IntegrationAccountId during the IAM roles stack setup must be the 12-digit account ID where the integration runs. A mismatch means the trust policy in member accounts will not allow the integration role to assume Verify AWS Organizations is enabled in your management account and that the target OUs or root ID are correct. Open the AWS Organizations console and confirm the OU IDs or root ID you provided match what you see in the console. Check that the integration container is running (see Find logs below) and not in a crash loop. Look for authentication or configuration errors in the first few log lines. If the container restarts repeatedly, there is likely a configuration or permission issue preventing it from starting successfully.1. Both CloudFormation stacks show CREATE_COMPLETE (click to expand)
CREATE_IN_PROGRESS, ROLLBACK_COMPLETE, or any state other than CREATE_COMPLETE, the deployment is incomplete or failed. Check the stack events in the CloudFormation console for error details.2. StackSet operations all succeeded in the management account (click to expand)
Port-Ocean-Member-ReadRoles (or Port-Ocean-Member-IRSA for IRSA), go to Operations, and confirm each operation shows Succeeded. If any operation failed, check the failure reason and the target accounts affected.3. PortOceanReadRole exists in every account you want to sync (click to expand)
PortOceanReadRole exists in the management account and in every member account. You can check this in the IAM console of each account by searching for the role name. If a role is missing from a member account, the StackSet may not have deployed successfully to that account.4. ManagementAccountRoleArn matches exactly between both stacks (click to expand)
5. IntegrationAccountId is correct in the IAM roles stack (click to expand)
PortOceanReadRole. Verify the account ID in the AWS account settings.6. AWS Organizations is enabled with correct OU/root IDs (click to expand)
7. The integration container is running without crash loops (click to expand)
Find logs
Use the logs to see what the integration is doing and to identify specific errors.
- IAM Role (ECS)
- IAM Role (EC2)
- IRSA (EKS)
The integration logs are written to CloudWatch Logs. The log group is created by the integration stack and named /ecs/port-ocean-aws-v3 by default.
- Open the CloudWatch Logs console.
- Find the log group
/ecs/port-ocean-aws-v3(or search forport-ocean). - Open the most recent log stream to see the integration output.
You can also view logs from the ECS console:
- Open the ECS console and select your cluster.
- Go to the Tasks tab and click the running task.
- Click Logs to view the CloudWatch log stream directly.
The integration runs as a Docker container managed by systemd on the EC2 instance. Connect to the instance using Session Manager (no SSH key needed) or SSH if you provided a key pair during stack creation.
View live logs with Docker:
docker logs -f $(docker ps -q --filter name=port-ocean)
View logs via systemd journal:
journalctl -u port-ocean -f
If the container has restarted, use docker logs with the container ID to see logs from a previous run:
docker ps -a --filter name=port-ocean
docker logs <container-id>
The integration runs as a pod in the port-ocean namespace. Use kubectl to view logs (ensure your kubeconfig is configured for the cluster — run the UpdateKubeconfigCommand from the EKS stack outputs if needed).
View live logs:
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean -f
List pods and check their status:
kubectl get pods -n port-ocean
Describe a pod for events and error details:
kubectl describe pod -n port-ocean -l app.kubernetes.io/name=port-ocean
If the pod is in CrashLoopBackOff, use --previous to see logs from the last crashed container:
kubectl logs -n port-ocean -l app.kubernetes.io/name=port-ocean --previous
Specific issues
If the checklist passes but you're still experiencing problems, expand the relevant symptom below.
Why is the integration not connecting to Port or AWS?
Answer (click to expand)
An incorrect VPC or subnet configuration does not always fail at stack creation time. The stack may complete successfully but the integration container will be unable to reach Port or AWS APIs, causing syncs to fail silently or the container to crash on startup.
Common causes and fixes:
- No outbound internet access: The subnets you selected must have a route to the internet. For public subnets, verify there is an internet gateway attached to the VPC and a route
0.0.0.0/0pointing to it. For private subnets, verify there is a NAT gateway and a route0.0.0.0/0pointing to it. Without outbound access, the integration cannot reachapi.port.ioor the AWS STS and service endpoints. - Security group blocking outbound HTTPS: The stack creates a security group that allows outbound HTTPS (
443). If you have VPC-level network ACLs that block outbound traffic, the integration cannot connect even if the security group is correct. Check your subnet network ACLs and ensure outbound port443is allowed. - Wrong subnet selected for EKS (IRSA): EKS does not support its control plane in all availability zones (for example,
us-east-1e). If you selected an unsupported AZ, the stack will fail during cluster creation. Delete the failed stack and redeploy using subnets in supported AZs (the error message in CloudFormation events will list which AZs are supported in your region). - EKS node group fails with
Ec2SubnetInvalidConfiguration: The EKS node group requires subnets that auto-assign public IP addresses to instances. If your subnets do not have this enabled you will see an error like:One or more Amazon EC2 Subnets does not automatically assign public IP addresses to instances launched into it. To fix this: go to VPC → Subnets, select each subnet, click Actions → Edit subnet settings, check Enable auto-assign public IPv4 address, and save. Then delete the failed stack (ROLLBACK_COMPLETEstacks must be deleted before retrying) and redeploy. - Only one subnet provided for ECS or EKS: ECS high availability and EKS both require at least two subnets in different availability zones. Providing a single subnet may cause the stack to fail or the service to be unable to place tasks.
If the container starts but immediately exits, check the logs (see Find logs above) for connection timeout or connection refused errors, which indicate a network reachability problem rather than an IAM or configuration issue.
How do I set up without management account access?
Answer (click to expand)
Ask someone with AWS Organizations management account access to run the IAM roles stack and share the ManagementAccountRoleArn output with you. If that is not possible, you can create PortOceanReadRole manually in each account and pass the ARNs via the AccountRoleArns parameter (or accountRoleArns in Helm/ArgoCD) instead of AccountRoleArn.
Why am I seeing "Unable to assume role" or "AccessDenied"?
Answer (click to expand)
- Verify the IAM role ARN is correct.
- For IAM Role (ECS/EC2): ensure the trust policy on member account
PortOceanReadRoleallows your integration account role (PortOceanTaskRoleorPortOceanInstanceRole) to assume it, and check that theexternalIdmatches on both sides if you use one. - For IRSA (EKS): ensure each member account has an OIDC provider pointing to your integration account's EKS OIDC issuer URL, and that
PortOceanReadRoletrusts that local OIDC provider with the correct:suband:audconditions.
The catalog is empty and the logs show "Not authorized to perform sts:AssumeRoleWithWebIdentity" (IRSA)
Answer (click to expand)
If Port shows a failed resync and the integration logs contain an error similar to:
Organizations health check failed: Cannot assume organization role: Failed to assume role with web identity:
Failed to refresh web identity credentials for role arn:aws:iam::ACCOUNT_ID:role/PortOceanReadRole:
An error occurred (AccessDenied) when calling the AssumeRoleWithWebIdentity operation:
Not authorized to perform sts:AssumeRoleWithWebIdentity
This means the pod's service account is not authorized to assume the role. The most common cause is a namespace mismatch: the IRSA trust policy on PortOceanReadRole locks the role to a specific Kubernetes namespace and service account name (set via the Namespace and ServiceAccountName parameters when you deployed the CloudFormation stack). If the integration is running in a different namespace, EKS injects a web identity token that does not match the trust policy condition, and AWS rejects the AssumeRoleWithWebIdentity call.
How to verify:
Run the following to see where the integration pod is currently running:
kubectl get pods -A | grep port-ocean
Then check the Namespace and ServiceAccountName parameter values from the CloudFormation stack outputs. The namespace in the pod list must match exactly.
How to fix:
If the namespaces do not match, uninstall the integration from the incorrect namespace and redeploy it to the namespace the stack expects:
helm uninstall aws-v3 --namespace <wrong-namespace>
kubectl delete namespace <wrong-namespace>
Then redeploy using the correct namespace and service account name (replace NAMESPACE and SERVICE_ACCOUNT_NAME with the values from the CloudFormation stack outputs):
helm upgrade --install aws-v3 port-labs/port-ocean \
--create-namespace --namespace NAMESPACE \
--set podServiceAccount.name="SERVICE_ACCOUNT_NAME" \
--set podServiceAccount.create=true \
# ... rest of your Helm values
If the namespaces already match, check that the service account name in your Helm values also matches the ServiceAccountName stack output exactly, as a mismatch in either value will produce the same error.
Why does the integration keep crashing or restarting?
Answer (click to expand)
The integration can run out of memory when syncing a large number of accounts or resources. How this appears depends on the deployment method:
- ECS: The task stops unexpectedly. In the ECS console, the stopped task's Stopped reason will say
Task failed container health checksor the container exit code will be137(killed by the OS). In CloudWatch Logs, the log stream ends abruptly with no error message. - EC2: The Docker container exits with code
137. Rundocker ps -a --filter name=port-oceanto see the exited container anddocker inspect <container-id> --format '{{.State.OOMKilled}}'to confirm it was OOM-killed. - IRSA (EKS): The pod shows
OOMKilledas the last state. Runkubectl describe pod -n port-ocean -l app.kubernetes.io/name=port-oceanand look forOOMKilled: truein the container state section.
To fix OOM issues:
- ECS: Redeploy the stack and increase the TaskSize parameter (for example, change from
256-1024to512-2048or1024-2048). - EC2: Update the Docker run command in the systemd unit file on the instance and increase the
--memorylimit, or redeploy the stack with a larger InstanceType. - IRSA (EKS): Increase the memory limit in your Helm values:
--set resources.limits.memory=2Gi.
Why do I see auth errors for a specific AWS region?
Answer (click to expand)
AWS has opt-in regions (such as ap-east-1, me-south-1, af-south-1) that are disabled by default. If the integration tries to call AWS STS or service APIs in a disabled region, you will see errors like InvalidClientTokenId or An error occurred (AuthFailure) in the logs for that region.
To fix this, either:
- Enable the region in the AWS account where you want to sync resources. Open Account Settings and enable the region under AWS Regions.
- Exclude the region from the integration's scope using the region filter in your integration configuration so the integration does not attempt to scan that region.
This error can appear in the management account or in any member account where the region is not enabled. If only some member accounts have the region enabled, enable it in the remaining accounts or exclude it globally.
Why are no resources appearing in my Port catalog?
Answer (click to expand)
- Verify the IAM roles in member accounts have the ReadOnlyAccess policy attached.
- Check that the regions you want to sync are not excluded by your region policy and that the integration has network access to AWS APIs.
Why am I getting "Access denied" for the Organizations API?
Answer (click to expand)
AccountRoleArn must point to a role in your management account (only the management account has access to the Organizations API).
- Verify
AccountRoleArnis set to the ManagementAccountRoleArn output from the IAM roles stack. - Verify AWS Organizations is enabled in your management account.