Success factors
Migration process
Follow these steps in the exact order specified to ensure a successful migration:1
Prerequisites
Data migration
Migrate existing Elasticsearch data to support the new workspace-based architecture.Installing new third parties
New mandatory infrastructure components:- SpiceDB - Authorization and permission management backend
- DGraph - Graph-based data operations and relationships
Upgrading existing third parties
Update existing infrastructure to the new supported versions:- Kafka 3.8+, Redis 7.4+, Elasticsearch 8+, Keycloak 26+
Organization admin user
Configure the organization admin user before deploying the authorization-system service.Service accounts
AssignSA_FLOWX role to all service accounts used by FlowX services.Prerequisites
See the details on prerequisites for migration
2
Installing new services
Deploy new FlowX.AI 5.0 services in the correct order to ensure proper startup and dependency validation.Required installation sequence:
- Authorization System (CAS) - Must be installed first to validate SpiceDB connection
- NoSQL DB Runner - Backend service for FlowX.AI Database
Install services
Step-by-step installation with validation procedures
Installing Authorization System first allows you to validate all critical configurations before proceeding.
3
Update environment variables
Update environment variable configurations for all existing FlowX.AI services to support version 5.0 compatibility.Configuration updates include:
- New Kafka topics and consumer groups
- Updated Elasticsearch settings and index configurations
- Enhanced security and authorization parameters
- New service integration endpoints
Update environment variables
Update environment variables for all existing FlowX.AI services
4
Install new versions for existing services
Upgrade all existing FlowX.AI services to version 5.0 after completing environment variable updates.
5
Container apps (Renderers SDKs)
6
Post-deployment steps
Perform the post deployment steps:
- Validate data-sync migrations
- Clear cache with endpoint
- Remove deprecated configuration roles (optional)
- Add users to default workspace
Validate data-sync migrations
Verify that all data synchronization processes completed successfully and perform additional system checks.Clear cache with endpoint
Required: Clear Redis cache using the dedicated endpoint with organization admin token.Remove deprecated configuration roles (optional)
Clean up legacy roles from Keycloak or other authentication servers that are now managed by CAS.Add users to default workspace
Process:- User Re-login: Existing configurators must log into FlowX.AI Designer once to create user references in FlowX.AI database
- Workspace Assignment: Organization admin assigns users to the default workspace to reestablish access to existing assets and resources
Post-deployment configuration
Complete post-deployment procedures and validation

