Skip to content

Bedrock Model Access

The demo uses two Bedrock
Amazon Bedrock — a fully managed service for accessing foundation models (embedding and LLM) via a unified API.
models:

PurposeModel IDOutput
Embeddingsamazon.titan-embed-text-v2:01024-dimensional float32 vector
LLM (answer generation)au.anthropic.claude-sonnet-4-5-20250929-v1:0Structured markdown text
  1. Open the Amazon Bedrock console
  2. Select your deployment region
  3. Navigate to Model access in the left sidebar
  4. Click Manage model access
  5. Enable:
    • AmazonTitan Text Embeddings V2
    • AnthropicClaude Sonnet 4.5 (or your chosen model)
  6. Click Request model access
  7. Wait for status to show Access granted
Terminal window
./scripts/check-bedrock-access.sh

Or manually:

Terminal window
aws bedrock get-foundation-model \
--model-identifier amazon.titan-embed-text-v2:0 \
--region ap-southeast-2 \
--query 'modelDetails.modelId' \
--output text

The LLM model ID (au.anthropic.claude-sonnet-4-5-20250929-v1:0) is an AU cross-region inference profile. This routes requests to the nearest available region (ap-southeast-2 or ap-southeast-4) for lower latency.

IAM permissions must cover both:

  • The inference profile ARN: arn:aws:bedrock:{region}:{account}:inference-profile/{profile_id}
  • The underlying foundation model ARNs for each routing region