Skip to content

Amazon Bedrock Workshop - [Bug] - 04_Image_and_Multimodal lab - wrong region for Nova canvas and Nova reel model IDs #341

@johngiles12345

Description

@johngiles12345

Describe the bug
Running the nova-canvas-notebook.ipynb and nova-reel-notebook.ipynb notebooks from a workshop event JupyterLab fails with "The provided model identifier is invalid".
This is because nova canvas and reel models are not available in the default region (us-west-2).
You have to switch regions to us-east-1 on the Bedrock console page, request nova canvas and reel access. Then in the notebooks, modify the client for region_name = 'us-east-1', then it will work.

To Reproduce
Steps to reproduce the behavior (or some version of this):

  1. Create a workshop event for amazon-bedrock-workshop using the default region us-west-2
  2. In the 04_Image_and_Multimodal module, run either of the notebooks nova-canvas-notebook.ipynb or nova-reel-notebook.ipynb
  3. Invoke the model, see the error: "The provided model identifier is invalid"

Expected behavior
The prerequisite steps should have you enable Nova models in us-east-1 via the Bedrock console also. The notebooks should explicitly specify region "us-east-1" for the bedrock-runtime client.

! Additional context !

  • Sagemaker Studio JupyterLab with Python 3 Kernel used
  • Default region used us-west-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions