Skip to Content

AWS RAM

Share AWS resources such as subnets, transit gateways and Resolver rules with other accounts, instead of duplicating them.

Not in the course slides

AWS Resource Access Manager is on the exam's in-scope list. The slides only mention it when sharing a Transit Gateway, so this page is written from the AWS documentation.

What it is

AWS Resource Access Manager (RAM) lets an account share resources it owns with other AWS accounts: inside its organization, with specific OUs, with individual accounts, and for some resource types with IAM roles and users.

It exists because many resources are expensive or awkward to duplicate. A company with 30 accounts doesn't want 30 transit gateways or 30 copies of the same DNS rules. With RAM, one account owns the resource and the others use it.

RAM has no extra charge. The owner pays for the resource as usual.

How it works

  1. The owner creates a resource share, adds resources to it, and names the principals to share with (accounts, OUs, the whole organization).
  2. Inside an organization with sharing turned on, the share works straight away, with no invitation. Outside the organization, each account must accept an invitation.
  3. The participants see the shared resources in their own account and use them, within the limits of the resource type.

What can be shared

Some of the resource types RAM can share:

  • VPC subnets (only within the organization) — the basis of VPC sharing.
  • Transit gateways, prefix lists, IPAM pools.
  • Route 53 Resolver rules — share forwarding rules for on-premises DNS once with every account.
  • License Manager configurations.
  • Aurora DB clusters — for cloning across accounts.
  • EC2 capacity reservations, dedicated hosts, placement groups.
  • AWS Network Firewall policies, AWS Backup vaults, EventBridge event buses and more.

VPC sharing

The most tested use of RAM. A central networking account owns a VPC and shares some of its subnets with other accounts in the organization.

  • Participants launch their own resources (EC2 instances, RDS databases, Lambda functions) into the shared subnets.
  • Participants can't see, change or delete resources that belong to the owner or to other participants.
  • The owner manages the VPC itself: subnets, route tables, gateways, network ACLs.
  • Resources in the shared subnets talk to each other over private IPs, as in one VPC, without peering.

Why: fewer VPCs to manage, less IP address space used, and one central team controls the network while app teams keep their own accounts and bills.

Real-world examples

  • A networking team owns one transit gateway and shares it through RAM with all 50 accounts, which attach their VPCs to it.
  • A central DNS team shares Route 53 Resolver rules that forward corp.example.com queries to on-premises DNS, so every account resolves internal names.

Exam tips

  • "Share subnets / a VPC with other accounts in the organization" → VPC sharing with AWS RAM.
  • "Share a transit gateway, Resolver rules or License Manager configurations across accounts" → AWS RAM.
  • "Avoid creating duplicate resources in every account" → share them with RAM.

Common traps

  • "Participants can modify the shared VPC's route tables." Only the owner manages the VPC and subnets.
  • "VPC subnets can be shared with any AWS account." Only with accounts in the same organization.

Check yourself

Sharing needs at least two accounts, so instead of a lab:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt