AWS Resource Access Manager (AWS RAM)
Cloud service · AWS · Updated

AWS Resource Access Manager (AWS RAM)

In short

AWS Resource Access Manager (AWS RAM) is a service that enables you to easily and securely share AWS resources with any AWS account or within your AWS Organization.

Cloud Services Hub →

6 key features of AWS Resource Access Manager (AWS RAM)

AWS Resource Access Manager (AWS RAM) facilitates secure, efficient sharing of AWS resources across accounts, with features like centralized management, fine-grained permissions, and support for multiple resource types, simplifying cross-account collaboration and billing.

01
Share Resources Across AWS Accounts

AWS Resource Access Manager allows you to share your AWS resources with any AWS account or through AWS Organizations, enabling you to collaborate efficiently and securely across your organization.

02
Central Management

With AWS RAM, you can centrally manage shared resources from a single account, simplifying resource sharing and ensuring a unified view of shared resources.

03
Cross-Account Resource Access

Enable secure access to shared resources in other accounts, minimizing the need to duplicate resources across accounts and reducing costs.

04
Fine-Grained Permissions

AWS RAM integrates with AWS Identity and Access Management (IAM), allowing you to define detailed permissions for shared resources, ensuring that only authorized users can access them.

05
Simplified Billing

Billing for shared resources depends on the underlying service. For shared VPC subnets, participating accounts pay for application resources they create, while the VPC owner pays for owner-managed resources and applicable networking charges. This streamlines billing management and maintains cost allocation simplicity.

06
Support for Multiple Resource Types

AWS RAM supports a wide range of AWS resource types, including Subnets, Transit Gateways, and License configurations, making it versatile for different sharing scenarios.

Where AWS Resource Access Manager (AWS RAM) is used

AWS RAM enhances resource sharing and management across multiple AWS accounts, centralizes resource control, facilitates collaboration with third parties, improves development and testing workflows, and supports multi-account strategies.

  1. 01
    Cross-Account Resource Sharing

    AWS Resource Access Manager (AWS RAM) facilitates the sharing of AWS resources like Amazon VPC subnets and AWS Transit Gateways across multiple AWS accounts, eliminating the necessity to duplicate resources across accounts, which in turn optimizes the costs and simplifies the management of shared resources.

  2. 02
    Centralizing Resource Management

    Organizations can leverage AWS RAM to centralize the management of their resources. By sharing resources from a central account, AWS RAM allows for a cleaner architecture, reducing the operational overhead of managing resources in each individual AWS account.

  3. 03
    Simplifying Collaboration with External Parties

    AWS RAM facilitates collaboration with external parties (like partners, clients, or other third parties) by allowing to securely share specific AWS resources. This is especially useful for scenarios where data and resources need to be accessible to stakeholders outside the immediate AWS organization, ensuring that only necessary resources are shared and each party has the required level of access.

  4. 04
    Streamlining Development and Testing Environments

    Developers and testers can benefit from AWS RAM as it allows for the easy sharing of development and testing environments. This ensures consistency, reduces setup times, and improves efficiency as resources can be shared across accounts used by different teams for development, testing, and production.

  5. 05
    Enable Multi-Account Strategies

    For organizations utilizing multi-account AWS environments to segregate their business units or project environments, AWS RAM enables the efficient use of resources across these accounts. This helps in maintaining a separation of concerns, while still allowing for efficient resource utilization and collaboration across accounts.

How AWS Resource Access Manager (AWS RAM) is priced

AWS RAM is free to use, with costs based only on the underlying resource usage and not for the sharing functionality it provides.

Cost of Using AWS Resource Access Manager

AWS Resource Access Manager (AWS RAM) itself does not incur any additional charge. Users pay for the AWS resources they share and their usual consumption without any extra fees for using AWS RAM to share these resources across accounts.

Services AWS Resource Access Manager (AWS RAM) works with

Amazon VPCAmazon VPC

Allows sharing of subnets to enable centralized control of your VPC resources.

Amazon API GatewayAmazon API Gateway

AWS RAM shares API Gateway private custom domain names with other AWS accounts. Receiving accounts can create domain name access associations so their VPC endpoints can access private APIs through the shared domain.

Amazon AuroraAmazon Aurora

AWS RAM shares Aurora DB clusters with other AWS accounts for cross-account cloning. Recipients can create their own clones without the owner transferring a full database copy.

Amazon Aurora ServerlessAmazon Aurora Serverless

AWS RAM supports sharing Aurora clusters that use Serverless v2 for cross-account cloning. A receiving account can create a separate clone of the shared cluster.

Amazon Bedrock

AWS RAM shares supported Amazon Bedrock custom models across AWS accounts. Recipients can use shared models without separately repeating the model customization process.

Amazon CloudWatchAmazon CloudWatch

AWS RAM resource-share changes can be detected using Amazon CloudWatch Events rules. These rules can trigger notifications or automated responses when sharing permissions or associations change.

Amazon DataZone

AWS RAM shares Amazon DataZone domains with other AWS accounts as part of domain association. This lets multiple accounts participate in a centrally managed data discovery and governance environment.

Amazon EC2Amazon EC2

AWS RAM shares EC2 resources such as Capacity Reservations, Dedicated Hosts, and placement groups across accounts. For example, an infrastructure account can make reserved capacity available to application accounts without transferring ownership.

Amazon EventBridgeAmazon EventBridge

AWS RAM API activity recorded by CloudTrail can be matched by EventBridge rules. Rules can react to actions such as creating resource shares or changing their associated principals.

What is AWS Resource Access Manager (AWS RAM)

3 min read

AWS Resource Access Manager (RAM) is a service that facilitates the seamless sharing of AWS resources between AWS accounts within an organization, or with external AWS accounts, aiming to reduce complexity and enhance collaboration across various teams and applications. This service is instrumental in environments where resources need to be shared among different projects or departments, eliminating the need to create duplicate resources in each account, which can lead to increased costs and operational inefficiencies. By leveraging AWS RAM, organizations can not only optimize their resource utilization but also maintain a cleaner, more manageable, and more secure infrastructure. Understanding how AWS RAM works provides insight into its value. 

When a resource is shared by one AWS account (the owning account) with another AWS account (the participating account), AWS RAM handles the permissions and policies that allow the participating account to access the resource as if it were their own, without physically copying or transferring the resource. This includes a wide variety of resources such as subnets, transit gateways, AWS License Manager configurations, and more, enabling a broad spectrum of use cases from network setups to software license management. 

Sharing outside your AWS organization initiates an invitation process: the recipient must accept the invitation before access to the resources is granted.

Each resource share supports at most 5,000 resource associations and 5,000 principal associations; neither per-share limit is adjustable.

A key component of AWS RAM is its integration with AWS Organizations, which allows for streamlined sharing of resources across all accounts within an organization, simplifying the process significantly. For example, instead of having to share resources with each account individually, a single share can encompass all accounts within an organization, automatically including new accounts as they are added. This automatic inclusion facilitates ease of scaling and operational flexibility as organizations grow and evolve. Security and governance are paramount in AWS RAM. The service ensures that shared resources are accessed only by accounts that have been explicitly given permission, maintaining strict access control. 

Resource shares can also target specific organizational units (OUs), and supported resource types can be shared directly with specified IAM roles and users.

Invitations are not used between accounts in the same AWS Organization when resource sharing within that organization is turned on.

Furthermore, AWS RAM works in conjunction with other AWS services like AWS Identity and Access Management (IAM) to provide fine-grained permissions and control over who can share and access resources, ensuring adherence to the principle of least privilege and compliance requirements. 

Managed permissions define the maximum actions consumers can perform on shared resources.

Moreover, AWS RAM enables cost efficiency and operational simplicity by allowing shared resources to be centrally managed. Instead of replicating resources across multiple accounts  which not only increases costs but also administrative burden resources can be maintained in a single account. This setup simplifies updates and patches, ensuring consistency across an organizations' resources, and helps in avoiding configuration drift. 

In conclusion, AWS Resource Access Manager is a robust service designed to aid organizations in efficiently managing and sharing AWS resources. Its integration with AWS Organizations, coupled with its emphasis on security and governance, makes it an essential tool for businesses looking to optimize their infrastructure for simplicity, security, and cost-effectiveness. With AWS RAM, companies can foster a collaborative environment that promotes resource sharing while maintaining stringent control over accessibility and usage, propelling operational efficiency and innovation.

AWS Resource Access Manager (AWS RAM) exam questions

Real practice exam questions on AWS Resource Access Manager (AWS RAM), with the correct answer and its explanation. Answer them with every option in the exam simulator.

SOA-C03

A central configuration account shares an advanced-tier AWS Systems Manager Parameter Store String parameter with an application account through AWS Resource Access Manager (AWS RAM). The parameter has several versions. The application can retrieve the current value, but a new rollback-validation process receives AccessDeniedException when calling GetParameterHistory.

The application's IAM role explicitly allows ssm:GetParameter and ssm:GetParameterHistory on the shared parameter ARN. No policies explicitly deny these operations. The resource share uses a read-only managed permission that allows retrieving current values but does not include GetParameterHistory.

The validation process must read historical values directly by using its existing application-account role, without assuming a role in the configuration account or copying parameter values.

Which change will meet this requirement?

Show answerCORRECT ANSWER

In the configuration account, replace the resource share's Parameter Store managed permission with the AWS RAM read-only managed permission that includes parameter history access.

AWS RAM managed permissions define which operations recipients can perform on shared resources. Parameter Store provides a read-only managed permission with history access. Associating that permission with the share supplies the missing cross-account authorization while the application continues using its existing role.

SAP-C03

A company has a network account and a connectivity tooling account in AWS Organizations. The network account owns a transit gateway and shares it with the tooling account through AWS RAM. An onboarding workflow runs in the tooling account.

The workflow must give selected vendor accounts outside the company's organization access to the same transit gateway so that the vendors can request VPC attachments. The vendor accounts must remain outside the organization. Governance requires the network account to retain ownership of the gateway. The workflow may assume a narrowly scoped role in the network account, but it must not receive general network administration permissions. The vendors will accept any required sharing invitations.

Which solution should a solutions architect recommend?

Show answerCORRECT ANSWER

Have the workflow assume a role in the network account with permissions limited to managing the required AWS RAM share. Create an external-enabled resource share there for the transit gateway and associate the approved vendor account IDs.

Only the resource-owning account can share the transit gateway through AWS RAM. Assuming a narrowly scoped role in the network account lets the centralized workflow create and manage the share in the owner's account without transferring ownership or granting general network administration access. The external vendors accept their invitations before using the shared gateway.

DEA-C01

A retail company governs an Amazon S3 data lake with AWS Lake Formation. The company grants SELECT and DESCRIBE permissions with grant option on a catalog table to a supplier's AWS account by using Lake Formation named-resource sharing. The accounts belong to different AWS Organizations organizations. The producer's cross-account sharing settings are configured correctly, and the grant succeeds.

A data lake administrator in the supplier account must make the shared table available through a resource link in the supplier's Data Catalog. The administrator has the required IAM and Lake Formation administrative permissions, but no one in the supplier account has completed the resource-sharing setup. The producer's catalog must remain authoritative, and the table metadata must not be copied.

What should the administrator do next?

Show answerCORRECT ANSWER

Accept the resource share invitation in AWS Resource Access Manager in the supplier account, and then create a resource link to the shared table.

Lake Formation uses AWS RAM for this cross-account sharing workflow. A recipient outside the producer's organization must accept the resource share invitation. The administrator can then create a resource link that references the producer's table without copying its metadata.

Practice AWS Resource Access Manager (AWS RAM) in a full exam

Questions on AWS Resource Access Manager (AWS RAM) in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Resource Access Manager (AWS RAM) in lessons

8 short lessons on AWS Resource Access Manager (AWS RAM) in 5 certification courses.

and 2 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.