Lesson 2 of 3 Multi-Account Provisioning and Resource Sharing

Sharing Resources Across Accounts with AWS RAM

This lesson explains how AWS Resource Access Manager (AWS RAM) shares resources owned by one account with others, with shared networking the most common use in exam scenarios.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe resource shares and managed permissions.
  • Identify commonly shared resources.
  • Explain responsibilities in VPC sharing.

How sharing works

A resource share lists resources, principals (accounts, OUs, the whole organisation, or for some resource types IAM roles and users) and managed permissions that define what the principals may do. With sharing within AWS Organizations enabled (from the management account), shares to accounts in the organisation take effect immediately; otherwise each account must accept an invitation. The owner keeps ownership and billing of the resource, and the share is Regional.

Commonly shared resources

The following table lists resources often shared through RAM and the typical reason.

ResourceTypical use
VPC subnetsVPC sharing: participants launch resources into a central network account's subnets
Transit gatewaysAttach VPCs from many accounts to one transit gateway
Route 53 Resolver rules and query log configsConsistent hybrid DNS and logging in all VPCs
Managed prefix listsShared IP lists for security groups and routes
IPAM poolsDelegate CIDR allocation to accounts
License Manager configurationsTrack licences across accounts
Aurora DB clustersClone a database into another account
EC2 Capacity Reservations, dedicated hostsShare reserved capacity
Select all that apply

Shareable with AWS RAM

Exam skills 3.1.4

Identify resources that can be shared with AWS RAM.

Log in to try this activity Interactive activities are free with an account.

VPC sharing in detail

In VPC sharing, the network account owns the VPC, subnets, route tables, NACLs, gateways and endpoints, and shares subnets with participant accounts. Participants launch EC2 instances, RDS databases, Lambda functions and load balancers into the shared subnets but cannot modify the VPC components or see other participants' resources; they manage their own security groups and can reference security groups of other participants in the same VPC. This centralises network management and IP planning and reduces the number of VPCs, peering connections and NAT gateways. Shared subnets consume IPs for all participants, so subnet sizing must account for them.

The following diagram shows a VPC owned by a network account and shared with two participants.

VPC sharing with AWS RAM. The network account owns the VPC, subnets, route tables, NACLs, gateways and endpoints and shares subnets with participant accounts. Participants launch their own instances, databases and load balancers into the shared subnets and manage their own security groups, but cannot change the network or see other participants' resources.
Centralising the VPC reduces the number of VPCs, peering connections and address ranges to manage.
Sort into groups

Owner or participant?

Exam skills 3.1.4 · 5.1.1

Decide who manages each part of a shared VPC.

Log in to try this activity Interactive activities are free with an account.
Worked example

A central network account

A networking team wants application teams in 15 accounts to deploy into standard production subnets without each team building VPCs. It enables RAM sharing within the organisation, creates a resource share containing the private and public subnets of the production VPC and shares it with the Prod OU. It also shares the Route 53 Resolver forwarding rules for the on-premises domain with the same OU. Application accounts see the subnets immediately and deploy their ALBs and ECS services into them, while route tables, NAT gateways and endpoints remain under the network team's control.

Check yourself

In a shared VPC, can participant accounts change route tables?

Show answer

No. They launch resources in shared subnets, but only the owner changes VPC components.

Exam Tips

Remember for the exam

  • AWS RAM shares subnets, transit gateways, Resolver rules, prefix lists and IPAM pools.
  • Enable sharing within Organizations to skip invitations.
  • VPC sharing: participants launch resources but cannot change VPC components.
  • Owners keep ownership and billing of shared resources.