

# Entitlement sharing in Oracle Database@AWS
<a name="entitlement-sharing"></a>

With Oracle Database@AWS, you can share AWS Marketplace entitlements for Oracle Database@AWS across AWS accounts in the same AWS organization. This allows other accounts to provision their own Oracle Exadata infrastructure and ODB network resources using your subscription.

## Sharing methods
<a name="sharing-methods"></a>

Oracle Database@AWS supports two methods for sharing:

### Entitlement sharing with AWS License Manager
<a name="entitlement-sharing-method"></a>
+ Grant other accounts the ability to provision their own Oracle Exadata infrastructure and ODB network resources
+ Each account operates independently with full resource lifecycle control
+ Best for enabling self-service provisioning across teams or business units

### Resource sharing with AWS Resource Access Manager (AWS RAM)
<a name="ram-sharing-method"></a>
+ Share already provisioned Oracle Exadata infrastructure and ODB network resources
+ Centralize infrastructure management while allowing recipient accounts to create VM clusters
+ Optimize costs by having multiple accounts use the same infrastructure

You can use both sharing methods simultaneously based on your organizational needs.

## Limitations for Oracle Database@AWS entitlement sharing
<a name="limitations"></a>

When sharing Oracle Database@AWS entitlements, keep the following limitations in mind:
+ You can only share with AWS accounts within your AWS organization
+ You cannot share with an entire organizational unit (OU) or the entire organization
+ An account can receive entitlements from only one buyer account (from one private offer)
+ A buyer account cannot share entitlements with another buyer account
+ Recipient accounts must initialize the Oracle Database@AWS service before they can use the shared entitlement
+ Entitlement grant operations can only be performed from the US East (N. Virginia) Region

# Sharing Oracle Database@AWS entitlements across accounts
<a name="sharing-entitlement-task"></a>

To enable collaboration while optimizing costs, share Oracle Database@AWS entitlements with other AWS accounts within the same AWS organization. This topic explains how to share entitlements using AWS License Manager.

## Prerequisites for sharing entitlements
<a name="sharing-entitlements-prerequisites"></a>

Before you share Oracle Database@AWS entitlements, make sure that you have the following:
+ An active Oracle Database@AWS subscription (you must be the buyer account that accepted the private offer through AWS Marketplace)
+ The IDs of the AWS accounts in your organization that you want to share entitlements with
+ Necessary permissions for grantor and grantee to use AWS License Manager resources and operations (for more information, see [Identity and access management for License Manager](https://docs.aws.amazon.com/license-manager/latest/userguide/identity-access-management.html) in the *AWS License Manager User Guide*)
+ Permissions listed below for you (grantor) and entitlement recipient (grantee)

## Permissions required for entitlement sharing
<a name="sharing-entitlements-permissions"></a>

In addition to AWS License Manager permissions, Oracle Database@AWS requires the following permissions:

### Grantor permissions
<a name="sharing-entitlements-permissions-grantor"></a>
+ `odb:CreateGrantShare`
+ `odb:UpdateGrantShare`
+ `odb:DeleteGrantShare`

### Grantee permissions
<a name="sharing-entitlements-permissions-grantee"></a>
+ `odb:UpdateGrantShare`
+ `odb:DeleteGrantShare`

## Sharing Oracle Database@AWS entitlements with another account using AWS License Manager
<a name="sharing-entitlements"></a>

To share entitlements with another AWS account, you create a grant using AWS License Manager. For more information, see [Distribute License Manager entitlements](https://docs.aws.amazon.com/license-manager/latest/userguide/distribute-entitlement.html) in the *AWS License Manager User Guide*.

After you create the grant, the recipient (grantee) must:
+ Accept and activate the grant. For more information, see [ Grant acceptance and activation in License Manager](https://docs.aws.amazon.com/license-manager/latest/userguide/grant-acceptance.html) in the *AWS License Manager User Guide*.
+ Follow the [initialization instructions](https://docs.aws.amazon.com/odb/latest/UserGuide/initialize-service-task.html#initialize-service-overview) for Oracle Database@AWS.

After initialization completes, the grantee can provision Oracle Database@AWS resources using the shared entitlement.