Prerequisites for importing custom model
Before you can start a custom model import job, you need to fulfill the following prerequisites:
-
If you are importing your model from Amazon S3 bucket, prepare your model files in the Hugging Face weights format. For more information see, Import source.
-
Amazon Bedrock Custom Model Import does not support cross-account Amazon S3 or KMS key. If you are using cross-account Amazon S3 or KMS keys, make sure to give Amazon Bedrock access to your AWS account's Amazon S3 or KMS key.
-
(Optional) Create a custom AWS Identity and Access Management (IAM) service role with the proper permissions by following the instructions at Create a service role for model import to set up the role. You can skip this prerequisite if you plan to use the AWS Management Console to automatically create a service role for you.
-
(Optional) Set up extra security configurations.
-
You can encrypt input and output data, import jobs, or inference requests made to imported models. For more information see Encryption of custom model import.
-
You can create a virtual private cloud (VPC) to protect your customization jobs. For more information, see (Optional) Protect custom model import jobs using a VPC.
-