Prerequisites for importing custom model - Amazon Bedrock

Prerequisites for importing custom model

Before you can start a custom model import job, you need to fulfill the following prerequisites:

  1. 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.

  2. If you are using cross-account Amazon S3 or KMS keys, make sure to grant access to Amazon S3 bucket or the KMS key. For more information, see Cross-account access to Amazon S3 bucket for custom model import jobs.

  3. (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.

  4. (Optional) Set up extra security configurations.