Deployment Issues
CDK Bootstrap Errors
Insufficient storage space during deployment
Insufficient storage space during deployment
CDK deployment fails in unsupported region
CDK deployment fails in unsupported region
- US: us-east-1, us-east-2, us-west-1, us-west-2
- Asia Pacific: ap-south-1, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2
- Canada: ca-central-1
- Europe: eu-central-1, eu-west-1, eu-west-2, eu-south-2, eu-north-1
- South America: sa-east-1
Lambda SnapStart not supported in region
Lambda SnapStart not supported in region
enableLambdaSnapStart is trueCause: Lambda SnapStart for Python functions is not available in all regions.Solution:
Edit cdk.json and set enableLambdaSnapStart to false:CloudFormation Stack Issues
Subnet deletion failures during stack update
Subnet deletion failures during stack update
Resource handler returned message: "The subnet 'subnet-xxx' has dependencies and cannot be deleted."Cause: Network interfaces associated with the subnet are preventing deletion.Solution:- Navigate to AWS Console > EC2 > Network Interfaces
- Search for “BedrockChatStack”
- Delete all displayed network interfaces associated with this name
- Retry the CloudFormation stack update
CloudFormation output value conflicts during upgrade
CloudFormation output value conflicts during upgrade
- Log in as administrator
- Navigate to Admin > API Management
- Delete all published APIs
- Verify all
APIPublishmentStackXXXXstacks are removed from CloudFormation - Retry the deployment
Stack rollback due to Aurora cluster deletion
Stack rollback due to Aurora cluster deletion
- Delete all published bot APIs
- Remove any manual database connections
- Check for Lambda functions with VPC connections to the database
- Retry the deployment
Model Access Issues
Bedrock model not available
Bedrock model not available
- Navigate to Bedrock Model access
- Click “Manage model access”
- Check all models you wish to use
- Click “Save changes”
- Wait for access request to be approved (usually immediate)
bedrockRegion parameter in your deployment configuration.Model not appearing in dropdown
Model not appearing in dropdown
globalAvailableModels configuration.Solution:
Edit cdk.json to include the model:globalAvailableModels is an empty list, all models are enabled by default.Supported model IDs are listed in Configuration.Runtime Issues
Authentication and Access
Users unable to self-register
Users unable to self-register
cdk.json:User group changes not taking effect
User group changes not taking effect
- Log out of Bedrock Chat completely
- Clear browser cache/cookies (optional but recommended)
- Log back in
- Verify group membership in Cognito console
tokenValidMinutes in cdk.json).Users can't create bots
Users can't create bots
CreatingBotAllowed group.Solution:
Add user to the group:IP address blocked
IP address blocked
cdk.json:Bot and RAG Issues
Bot not using uploaded documents
Bot not using uploaded documents
- Check bot status in the UI
- Wait for “Synchronized” status
- Synchronization can take several minutes for large documents
- Check CloudWatch Logs for the embedding Step Functions
- Verify document format is supported (PDF, TXT, MD, etc.)
- Try re-uploading the document
- Questions may not match document content closely enough
- Try asking more specific questions
- Consider adjusting chunk size in bot configuration
Bot synchronization stuck or failing
Bot synchronization stuck or failing
- Navigate to AWS Console > Step Functions
- Find the EmbeddingStateMachine
- Check recent executions for errors
- Review CloudWatch Logs for detailed error messages
- Document too large (reduce size or split into multiple files)
- Invalid document format (ensure supported format)
- S3 bucket permissions issue
- Knowledge Base quota exceeded
Cannot share bot or bot not appearing in Bot Store
Cannot share bot or bot not appearing in Bot Store
Essential bot cannot be modified or deleted
Essential bot cannot be modified or deleted
- Log in as administrator (member of
Admingroup) - Navigate to Admin > Bot Management
- Unmark bot as essential
- Now you can modify or delete the bot
Performance Issues
Slow response times / High latency
Slow response times / High latency
- Larger models (e.g., Claude Opus) are slower than smaller models (e.g., Nova Lite)
- Consider using faster models for time-sensitive applications
- Knowledge Base searches add latency
- Consider disabling RAG for simple conversational bots
- Check
bedrockRegionmatches deployment region - Enable cross-region inference if needed:
Out of memory errors during migration
Out of memory errors during migration
- Run migration from EC2 instance with larger memory
- Consider using instance types like t3.large or t3.xlarge
- Migrate 5-10 users at a time
- Monitor memory usage during migration
API Issues
Published API returning 403 errors
Published API returning 403 errors
- Check
publishedApiAllowedIpV4AddressRangesincdk.json - Add your IP to the allowed ranges
- Generate new API key from API Management UI
- Update client applications with new key
API requests timing out
API requests timing out
- Send initial request - receives job ID
- Poll status endpoint with job ID
- Retrieve results when complete
Data and Migration Issues
Migration script fails to verify data
Migration script fails to verify data
- Review the generated report file in detail
- Look for specific error messages
- Identify which bots or conversations failed
DynamoDB backup fails
DynamoDB backup fails
- DynamoDB has limits on number of backups
- Delete old backups before creating new ones
- Verify table name is correct
- Check you’re in the correct region
Conversation history lost after migration
Conversation history lost after migration
Monitoring and Debugging
CloudWatch Logs
Key log groups to monitor:Useful CloudWatch Insights Queries
Find errors in Lambda logs:DynamoDB Monitoring
Check table size and item count:- Navigate to AWS Console > DynamoDB > Tables
- Select your table
- Check “Metrics” tab for throttling events
Getting Additional Help
If you can’t resolve your issue:- Check GitHub Issues: Bedrock Chat Issues
- Review Documentation: Refer to specific feature documentation
- AWS Support: For production issues, contact AWS Support
- Community: Engage with the Bedrock Chat community on GitHub
Reporting Issues
When reporting an issue, include:- Bedrock Chat version
- AWS region
- Error messages (sanitized)
- CloudWatch log excerpts
- Steps to reproduce
- Configuration (sanitize sensitive values)
Preventive Measures
Regular Maintenance
- Backup Schedule: Set up regular DynamoDB backups
- Update Regularly: Keep Bedrock Chat updated to latest stable version
- Monitor Costs: Review AWS Cost Explorer regularly
- Review Logs: Periodically check CloudWatch for warnings
Best Practices
- Test in Dev First: Always test updates in a development environment
- Document Changes: Keep track of configuration modifications
- User Communication: Notify users before scheduled maintenance
- Capacity Planning: Monitor usage trends and plan capacity accordingly