Nils Durner's Blog Ahas, Breadcrumbs, Coding Epiphanies

Amazon Nova foundation model release

Since there’s community interest in how to set up AWS to use the new Amazon Nova models, here’s a step-by-step guide to get everyone started:

  1. Ensure you have model access:
    1. open Bedrock in us-west-2 region, scroll down in the menu on the left, and hit Model Access: Image
    2. Check model selection (green arrow), request models if access not yet granted (red arrow) Image
  2. Open IAM -> Create user Image
  3. Name user Image
  4. Attach policy directly, create new policy Image
  5. Switch to JSON view, paste pre-made policy (JSON code block below at the end of this post): Image
  6. Hit Next Image
  7. Name policy, hit Create Policy Image
  8. Close this tab, return to IAM user creation tab
  9. Refresh table, search for newly created policy, tick box, hit Next Image
  10. Hit Create User Image
  11. Open new IAM user by clicking its link Image
  12. Create Access Key Image
  13. Choose “Local Code”, Confirm “I understand…”, Hit Next Image
  14. Create Access Key Image
  15. Copy both values - these are your access credentials Image
  16. Visit my Amazon Bedrock Chat space on HuggingFace, paste Credentials, choose Nova Pro model Image
    1. Source code also available on Github
  17. Enjoy Image

Policy JSON:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "bedrock:GetUseCaseForModelAccess",
                "bedrock:GetFoundationModelAvailability",
                "bedrock:InvokeModel",
                "bedrock:ListCustomModels",
                "bedrock:ListFoundationModelAgreementOffers",
                "bedrock:GetFoundationModel",
                "bedrock:InvokeModelWithResponseStream",
                "bedrock:GetCustomModel",
                "bedrock:ListFoundationModels"
            ],
            "Resource": "*"
        }
    ]
}

Other notes: