Skip to Content
Asterrr's Handbook
Service cheat sheetsSecurity and identity cheat sheets

AWS Resource Access Manager

Share resources across accounts, OUs or an organization without duplicating them.

RAM lets the owning account share a resource once. Consumers see it as if it were native. The owner keeps ownership. Sharing costs nothing.

create shareno invitationinvitationIAM policyOwner accountResource shareOU or whole orgOutside accountConsumer IAMrole
A resource share ties resources, principals and a managed permission together. Consumers still need their own IAM allow.

Core facts

ItemWhat to remember
Resource shareNames the resources, the principals and one managed permission per resource type.
PrincipalsAccounts, OUs, the whole organization, and for some types individual IAM roles and users.
Inside the organizationAfter you enable sharing with Organizations, no invitation is needed.
Outside the organizationThe recipient gets an invitation and must accept.
PermissionsThe share's managed permission is the maximum. Consumers still need identity-based policies. SCPs still apply.
RegionsA share holds Regional resources from its own Region. Global resources need the share in us-east-1.
Stop sharingDelete the share or remove the resource or principal.
VisibilityShared resources appear in the consumer's service console and API. Resource-policy sharing does not.
AuditCloudTrail and CloudWatch show usage.

RAM vs resource-based policy

RAMResource-based policy
Share to OU or organizationYes, no account listNeeds account IDs or an org condition
Appears natively in consumer accountYesNo, refer by ARN
Owner sees who has accessYesYou read the policy

Exam signal

"Share one resource, such as a VPC subnet, with every account in the organization without copies" is RAM.

Exam trap

Sharing with an organization needs the Organizations sharing option turned on first. Accounts outside the organization always go through an invitation.

Organizations quick reference

Further reading

On this page