Skip to content

IAM — execution role and managed-EC2 operator

LMI splits IAM into two distinct role domains. Keep this separation explicit so application permissions and fleet-operator permissions are reviewed independently.

Role domainPrincipal using itScope
Function execution roleYour function runtimeApplication behavior: logs, service calls, data-plane access
Managed-EC2 operator roleLambda service on your behalfFleet operations for managed instances tied to capacity providers

The execution role answers what your function code can do at runtime. The operator role answers what the Lambda service can do in your account to create and operate capacity-provider fleet resources.

CheckpointWhat to validate
Trust policy separationThe runtime principal and Lambda operator principal are not conflated into one broad role
Least privilegeExecution role is limited to app/runtime needs; operator role is limited to managed-fleet operations
AuditabilityRole purpose and ownership are clear in IAM naming, tagging, and policy documentation
Operational boundaryManaged instances are Lambda-operated capacity, not general EC2 admin targets

For policy names, service-trust details, and release-specific behavior, use Lambda Managed Instances as the product reference.