Share a model with another account
After you fulfill the prerequisites, you can share a model. Choose the tab for your preferred method, and then follow the steps:
- Console
-
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/
. -
From the left navigation pane, choose Custom models under Foundation models.
-
Select the button next to the model that you want to share. Then, choose the three dots (
) and select Share.
-
In the Model sharing details section, do the following:
-
In the Name for shared model field, give the shared model a name.
-
In the Recipient account ID field, specify the ID of the account that will receive the model.
-
(Optional) To add tags, expand the Tags section. For more information, see Tagging Amazon Bedrock resources.
-
-
Choose Share model. The model will now appear in your recipient's list of custom models.
-
- API
-
To share a model, send a CreateResourceShare request with an AWS Resource Access Manager endpoint. Minimally, provide the following fields:
Field Use case Name To provide a name for the resource share. resourceArns To specify the ARNs of each model to share. principals To specify the principals to share the model with. The CreateResourceShare response returns a
resourceShareArn
that you can use to manage the resource share.The account receiving a model can check whether a model has been shared by sending a ListCustomModels request with an Amazon Bedrock control plane endpoint. Models that have been shared will show up with a
shared
status oftrue
.
After sharing the model, the recipient of the model must copy it into a region in order to use it. For more information, see Copy a model to use in a region.