Updates
Learn how to safely update your self-hosted Prisme.ai platform
Keeping your Prisme.ai platform up to date ensures you have access to the latest features, security patches, and performance improvements. This guide covers the process for updating your self-hosted Prisme.ai installation safely and efficiently.
Update Strategy
Standard updates include minor version changes and patches that don’t require significant infrastructure modifications.
These updates typically include:
- Bug fixes
- Security patches
- Minor feature enhancements
- Performance optimizations
Standard updates include minor version changes and patches that don’t require significant infrastructure modifications.
These updates typically include:
- Bug fixes
- Security patches
- Minor feature enhancements
- Performance optimizations
Major updates involve significant version changes that may require database migrations, infrastructure changes, or configuration updates.
These updates often include:
- Architectural changes
- New product capabilities
- Database schema modifications
- Configuration structure changes
Pre-Update Checklist
Before proceeding with any update, complete the following checklist:
Backup Your Environment
Create complete backups of your client-managed databases and configurations.
See the Backup & Restore page for detailed instructions.
Review Release Notes
Carefully review the release notes for the target version to understand:
- Changes to Helm charts
- Terraform module updates
- Database schema changes
- Required infrastructure modifications
Release notes are available in the Prisme.ai customer portal and within the release artifacts.
Check System Requirements
Verify your infrastructure meets the requirements for the new version.
Update Terraform Modules
If you’re using Terraform for infrastructure management, update your modules to the versions compatible with the new Prisme.ai release.
Prepare Rollback Plan
Document a detailed rollback plan in case issues occur during the update.
Your rollback plan should include:
- Specific commands to restore databases from backup
- Helm rollback commands
- Terraform destroy/apply commands for affected resources
- Recovery time objectives
- Verification steps after rollback
Update Process
Update Helm Repository
Refresh your Helm repository to get the latest charts.
Review Chart Values
Compare your current values with the new chart’s default values to identify changes.
Upgrade Core Components
Update the core Prisme.ai components first.
The core components handle compute operations and must be updated before product modules.
Update Product Modules
After the core is updated, upgrade each product module.
Monitor Update Progress
Watch the deployment progress to ensure all pods are successfully updated.
Verify Connectivity to External Databases
Ensure all services can connect to your managed databases.
Update Helm Repository
Refresh your Helm repository to get the latest charts.
Review Chart Values
Compare your current values with the new chart’s default values to identify changes.
Upgrade Core Components
Update the core Prisme.ai components first.
The core components handle compute operations and must be updated before product modules.
Update Product Modules
After the core is updated, upgrade each product module.
Monitor Update Progress
Watch the deployment progress to ensure all pods are successfully updated.
Verify Connectivity to External Databases
Ensure all services can connect to your managed databases.
Update Terraform Provider Versions
Ensure your Terraform providers are compatible with the new Prisme.ai version.
Update Prisme.ai Terraform Modules
Modify your Terraform configuration to use the updated Prisme.ai modules.
Apply Infrastructure Changes
Run Terraform plan and apply to update your infrastructure.
Review the plan output carefully to understand what resources will be modified, created, or destroyed.
Update Helm Charts Through Terraform
If you’re managing Helm releases via Terraform, update those resources as well.
Database Compatibility Considerations
MongoDB / Compatible
- Recommended version: 4.4+
- Required indexes will be created automatically
- Schema migrations happen on startup
- Connection string format:
mongodb://username:password@host:port/database
Elasticsearch / OpenSearch
- Elasticsearch 7.10+ or OpenSearch 1.3+
- Check index mappings compatibility
- Some updates require reindexing
- Set
elasticsearch.existingUrl
in values.yaml
Redis
- Redis 6.0+ recommended
- Used for caching and message queuing
- Persistence configuration recommended
- Cluster mode supported in Prisme.ai v3.2+
Object Storage (S3)
- S3-compatible storage required
- Used for document storage
- Configure using
storage.s3.*
parameters - Verify bucket permissions after updates
Post-Update Tasks
After completing the update, perform these essential post-update tasks:
Verify Database Connectivity
Ensure all services can connect to your managed databases.
Run Database Optimization Tasks
Optimize database performance after the update.
Verify Product Functionality
Test each Prisme.ai product to ensure they work as expected:
- AI SecureChat
- AI Store
- AI Knowledge
- AI Builder
- AI Governance
- AI Insights
Check Resource Utilization
Monitor resource usage to ensure the system is functioning efficiently.
Rollback Procedure
If you encounter critical issues after an update:
Roll Back Helm Releases
Use Helm rollback to return to the previous version.
Restore Databases
If necessary, restore databases from your pre-update backups.
Revert Terraform Changes
If you used Terraform for the update, revert to the previous state.
Next Steps
Was this page helpful?