Skip to main content
When you onboard AWS to Aviatrix PaaS, Aviatrix creates a policy and roles needed to access your AWS resources. Aviatrix PaaS follows the best practice of least privilege when creating the IAM policy and roles. This means that the policy grants only the permissions required for Aviatrix PaaS to manage AWS resources effectively, without granting excessive permissions that could lead to security vulnerabilities.

Aviatrix IAM Policy and Roles

When you onboard AWS, Aviatrix creates IAM policies and roles with the following names:
  • aviatrix-role-app The role that allows Aviatrix PaaS to perform actions in your AWS account.
  • aviatrix-platform-app-policy The policy attached to the aviatrix-role-app role.
  • aviatrix-role-ec2 Minimal IAM role for EC2 instances deployed by Aviatrix. The name of the role must match AviatrixPrincipalArn, so the name is extracted from the ARN.
The IAM policy is designed to provide the minimum necessary permissions for Aviatrix PaaS to manage AWS resources effectively. The policy ensures that management permissions only apply to Aviatrix-created networking resources, preventing any impact on your existing AWS resources. It includes permissions for the following actions:
  • Assume Role: Use STS to assume a role in your AWS account
  • Discover Resources: Enumerate and list compute, networking, and quota information
  • Manage Network Infrastructure: Create and configure VPCs, transit gateways, and more
  • Manage EC2 Instances: Deploy and configure Aviatrix gateways
  • Tag Resources: Apply “Aviatrix-Created-Resource” tag to all infrastructure it creates

Example IAM Policy

The following is an example of the IAM policy created by Aviatrix when you onboard AWS. This policy grants read-only access to discovery actions and allows management of Aviatrix-created networking components, EC2 instances, and tagging resources.